Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:mises_a_jour_des_donnees_de_jeu [2016/11/18 17:48] – Domperss | en:mises_a_jour_des_donnees_de_jeu [2021/12/03 18: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: | ||
| {{ : | {{ : | ||
| - | To simplify the deployment of new data for the client(image, | + | To simplify the deployment of new data for the client(image, |
| 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/ | 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/ | ||
| - | The architecture on which these scripts are based is the architecture detailed in [[en:installation_d_un_server_de_patchs]]. All names begin with '' | + | The architecture on which these scripts are based is the architecture detailed in [[en:installation_d_un_serveur_de_patchs]]. All names begin with '' |
| With these scripts, we can: | With these scripts, we can: | ||
| * [[# | * [[# | ||
| - | * [[#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, |
| Line 38: | Line 38: | ||
| - | # | + | #-------------------------------------------------------------# |
| - | # Retrieve the latest | + | # Retrieve the latest data repository |
| - | # | + | #-------------------------------------------------------------# |
| cd ~/ | cd ~/ | ||
| git pull | git pull | ||
| Line 54: | Line 54: | ||
| # Copy the recovered data: # | # Copy the recovered data: # | ||
| # | # | ||
| - | For the folder in ~/ | + | for folder in ~/ |
| do cp -R $folder/ | do cp -R $folder/ | ||
| done | done | ||
| Line 63: | Line 63: | ||
| for folder in ~/ | for folder in ~/ | ||
| - | |||
| do cp -R $folder/ | do cp -R $folder/ | ||
| done | done | ||
| Line 84: | Line 83: | ||
| rm -Rf patch_lirria/ | rm -Rf patch_lirria/ | ||
| - | #--------------------------------------------# | + | # |
| - | # Let's go back to " | + | # Going back to " |
| - | #--------------------------------------------# | + | # |
| cd ~ | cd ~ | ||
| Line 109: | Line 108: | ||
| set -o verbose | set -o verbose | ||
| - | # =================== | + | # ======================= |
| - | # You just only to increment the " | + | # You only need to increment the " |
| - | # This is automatically offered | + | # This is automatically offered |
| - | # the Patch-release | + | # the modifications is done to the patch-release |
| - | # ================================================== | + | # ========================================================== |
| ### VERIFY THAT ALL NEW BNPs ARE LISTED IN " | ### VERIFY THAT ALL NEW BNPs ARE LISTED IN " | ||
| ### IF DECIDED TO PATCH OTHER BNP's THAN THOSE AUTOMATICALLY GENERATED BY | ### IF DECIDED TO PATCH OTHER BNP's THAN THOSE AUTOMATICALLY GENERATED BY | ||
| Line 124: | Line 123: | ||
| # Line added for server data: <_Files type=" | # Line added for server data: <_Files type=" | ||
| - | # Let's move to the right directory: | + | # |
| + | # Let's move to the right directory: | ||
| + | # | ||
| cd ~/ | cd ~/ | ||
| - | # Generate a new patch: | + | # |
| + | # Generate a new patch: | ||
| + | # | ||
| patch_gen updateProduct patch_game/ | patch_gen updateProduct patch_game/ | ||
| - | # You can now(if you want to)edit the release notes | + | # |
| + | # You can now(if you want to)edit the release notes # | ||
| + | # | ||
| nano patch_game/ | nano patch_game/ | ||
| - | # To enable the patch, simply increment the two digits of the Lirria.version file by 1 <-- " | + | # |
| + | # To enable the patch, simply increment the two digits of the Lirria.version file by 1 <-- " | ||
| + | # | ||
| nano patch_game/ | nano patch_game/ | ||
| - | # Going back " | + | # |
| + | # Going back to " | ||
| + | # | ||
| cd ~ | cd ~ | ||
| </ | </ | ||
| Line 144: | Line 153: | ||
| - | ===== Creating and patching | + | ===== Creating and patching |
| This script performs the same operation as the [[# | This script performs the same operation as the [[# | ||
| Line 168: | Line 177: | ||
| # | # | ||
| # It is used to re-calculate packed_sheets, | # It is used to re-calculate packed_sheets, | ||
| - | # Visual_slot.tab files, after the changes to datasheets in | + | # Visual_slot.tab files, |
| - | # Khaganat-data | + | # datasheets in the Khaganat-data |
| - | # 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 |
| # | # | ||
| - | # You just need to increment the index 1 as usual | + | # You just need to increment the index of 1 as usual |
| # | # | ||
| - | # This is automatically offered | + | # This is automatically offered |
| - | # the possible | + | # the modifications is done to the patch-release |
| # | # | ||
| # ------------- Edit these variables --------------- | # ------------- Edit these variables --------------- | ||
| Line 207: | Line 216: | ||
| # Regenerate the file sheet_id.bin: | # Regenerate the file sheet_id.bin: | ||
| - | |||
| cd $RYZOM_HOME/ | cd $RYZOM_HOME/ | ||
| ./ | ./ | ||
| Line 231: | Line 239: | ||
| # This includes translation files. | # This includes translation files. | ||
| ### OBS: VERIFY THAT ALL NEW BNPs ARE LISTED IN $PATCH_CLIENT_SYSTEM/ | ### OBS: VERIFY THAT ALL NEW BNPs ARE LISTED IN $PATCH_CLIENT_SYSTEM/ | ||
| - | # Nano $PATCH_CLIENT_SYSTEM/ | + | # nano $PATCH_CLIENT_SYSTEM/ |
| - | # Line added for server data: | + | # Line added for server data: <_Files type=" |
| - | # <_Files type=" | + | |
| # Generate a new patch | # Generate a new patch | ||
| - | Patch_gen | + | patch_gen |
| # Edit the release notes: | # Edit the release notes: | ||
| - | Nano patch_game/ | + | nano patch_game/ |
| # Enable the patch | # Enable the patch | ||
| # Simply increment the two digits of the Lirria.version file by (1). | # Simply increment the two digits of the Lirria.version file by (1). | ||
| - | Nano patch_game/ | + | nano patch_game/ |
| # Shard restart | # Shard restart | ||
| Line 257: | Line 264: | ||
| bnp_make /p $PATCH_CLIENT_SYSTEM/ | bnp_make /p $PATCH_CLIENT_SYSTEM/ | ||
| rm $PATCH_CLIENT_SYSTEM/ | rm $PATCH_CLIENT_SYSTEM/ | ||
| - | Mv dataserver.bnp $PATCH_CLIENT_SYSTEM/ | + | mv dataserver.bnp $PATCH_CLIENT_SYSTEM/ |
| # Optionally, you can add extra .bnp files in the $PATCH_CLIENT_SYSTEM/ | # Optionally, you can add extra .bnp files in the $PATCH_CLIENT_SYSTEM/ | ||
| - | to also be patched. | + | # to also be patched. |
| shard start | shard start | ||





