Logo Khaganat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:mises_a_jour_des_donnees_de_jeu [2016/11/18 18:58] Domperssen:mises_a_jour_des_donnees_de_jeu [2021/12/03 19:19] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Game data updates for the Lirria server ======+====== Game-data updates for the Lirria server ======
  
 <WRAP center round alert 60%> <WRAP center round alert 60%>
Line 8: Line 8:
 {{ :fr:200px-system-software-update.svg.png?direct&200 |}} {{ :fr:200px-system-software-update.svg.png?direct&200 |}}
  
-To simplify the deployment of new data for the client(image, sound files)or the server(some primitives) or both(translation files, datasheets), it can then be wise to create scripts that do the operations quickly for your setup.+To simplify the deployment of new data for the client(image, sound files)or the server(some primitives) or both(translation files, datasheets), it can then be wise to create scripts that do the operations quickly for you.
  
 This is how we have done it with our own servers(by using three scripts that handle several scenarios). OBS: Be cautious, these are only presented as a reference, as they may need to be adapted to your needs/environment. This is how we have done it with our own servers(by using three scripts that handle several scenarios). OBS: Be cautious, these are only presented as a reference, as they may need to be adapted to your needs/environment.
  
-The architecture on which these scripts are based is the architecture detailed in [[en:installation_d_un_server_de_patchs]]. All names begin with ''script_'' so that they easily are listed next to each other.+The architecture on which these scripts are based is the architecture detailed in [[en:installation_d_un_serveur_de_patchs]]. All names begin with ''script_'' so that they easily are listed next to each other.
  
 With these scripts, we can: With these scripts, we can:
      * [[#preparation_of_drive_clients_lirria_pour_un_patch_futur|create the file]] ''patch_lirria.bnp'' which will be provided in a future patch;      * [[#preparation_of_drive_clients_lirria_pour_un_patch_futur|create the file]] ''patch_lirria.bnp'' which will be provided in a future patch;
-     * [[#creation_and_patch_activation|create a patch and enable it]] with client data; +     * [[#creation, patch_activation|create a patch and enable it]] with client data; 
-     * [[# create_pattern_data_server_patch_and_activate_of_this_prepare a patch]] with new client and server data.+     * [[# create pattern_data, server_patch AND preparing_the_patch]] with new client and server data.
  
  
Line 38: Line 38:
  
  
-#-------------------------------------------------------# +#-------------------------------------------------------------# 
-# Retrieve the latest repository data in the directory: # +# Retrieve the latest data repository in the right directory: # 
-#-------------------------------------------------------#+#-------------------------------------------------------------#
 cd ~/patch_service/khanat-data-client cd ~/patch_service/khanat-data-client
 git pull git pull
Line 63: Line 63:
  
 for folder in ~/patch_service/khanat-data-client/data/ for folder in ~/patch_service/khanat-data-client/data/
- 
     do cp -R $folder/ryz/* patch_lirria/     do cp -R $folder/ryz/* patch_lirria/
     done     done
Line 84: Line 83:
 rm -Rf patch_lirria/* rm -Rf patch_lirria/*
  
-#--------------------------------------------# +#-----------------------------------------# 
-Let's go back to "root" of home directory: # +Going back to "root" of home directory: # 
-#--------------------------------------------#+#-----------------------------------------#
 cd ~ cd ~
  
Line 111: Line 110:
 # =======================  IMPORTANT ======================= # =======================  IMPORTANT =======================
 # You only need to increment the "index value" of 1 as usual. # You only need to increment the "index value" of 1 as usual.
-# This is automatically offered at the end, after +# This is automatically offered in the end, after 
-# the Patch-release+# the modifications is done to the patch-release
 # ========================================================== # ==========================================================
 ### VERIFY THAT ALL NEW BNPs ARE LISTED IN "$PATCH_CLIENT_SYSTEM/patchgame/ryzom.xml". ### VERIFY THAT ALL NEW BNPs ARE LISTED IN "$PATCH_CLIENT_SYSTEM/patchgame/ryzom.xml".
Line 144: Line 143:
 nano patch_game/patch/Lirria.version nano patch_game/patch/Lirria.version
  
-#--------------------------------------# +#-----------------------------------------# 
-# Going back "root" of home directory: # +# Going back to "root" of home directory: # 
-#--------------------------------------#+#-----------------------------------------#
 cd ~ cd ~
 </code> </code>
Line 154: Line 153:
  
  
-===== Creating and patching server's patch data =====+===== Creating and patching of the server =====
  
 This script performs the same operation as the [[#creation_et_activation_d_un_patch|Creating and Activating a Patch]] script, but performs the update of the data at a "server level" and also any "data common files" to the client and the server. This script performs the same operation as the [[#creation_et_activation_d_un_patch|Creating and Activating a Patch]] script, but performs the update of the data at a "server level" and also any "data common files" to the client and the server.
Line 178: Line 177:
 # #
 # It is used to re-calculate packed_sheets, sheet_id.bin and # It is used to re-calculate packed_sheets, sheet_id.bin and
-# Visual_slot.tab files, after the changes to datasheets in +# Visual_slot.tab files, and this after the changes to 
-# Khaganat-data... have been pulled. +datasheets in the Khaganat-data directory HAVE BEEN PULLED!! 
-# It is therefore necessary to make a patch client +# It is therefore necessary to have the "patch client" 
-that is automatically set up at the end of the script+# automatically "set upat the end of the script
 # #
 # You just need to increment the index of 1 as usual # You just need to increment the index of 1 as usual
 # #
-# This is automatically offered at the end, after +# This is automatically offered in the end, after 
-# the possible modifications is done to the patch-release+# the modifications is done to the patch-release
 # #
 # ------------- Edit these variables --------------- # ------------- Edit these variables ---------------
Line 244: Line 243:
  
 # Generate a new patch # Generate a new patch
-patch_gen updateProduct patch_game / ryzom.xml+patch_gen updateProduct patch_game/ryzom.xml
  
 # Edit the release notes: # Edit the release notes:
CC Attribution-Share Alike 4.0 International Driven by DokuWiki
en/mises_a_jour_des_donnees_de_jeu.1479491887.txt.gz · Last modified: 2021/12/03 19:18 (external edit)

Licences Mentions légales Accueil du site Contact