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:shard [2016/12/20 12:31] – [Compiler sheet_id.bin] Domperssen:shard [2021/12/03 18:19] (current) – external edit 127.0.0.1
Line 23: Line 23:
   * Windows (unfinished tutorial)   * Windows (unfinished tutorial)
 ==== Updating information and packages for linux: ==== ==== Updating information and packages for linux: ====
 +
 +<WRAP center round tip 60%>
 +To use php7 (7.3) you need to manually install mcrypt additionally, which is very well explained on: [[https://serverpilot.io/docs/how-to-install-the-php-mcrypt-extension|Tutorial for mcrypt on php7.3 or php7.2]]
 +</WRAP>
 +
 +
 <code> <code>
 sudo apt-get update sudo apt-get update
Line 48: Line 54:
 ===Debian 8=== ===Debian 8===
 <code> <code>
-sudo apt-get install git libcurl4-openssl-dev libluabind-dev libfreetype6-dev libx11-dev libgl1-mesa-dev libxxf86vm-dev libxrandr-dev libxrender-dev libopenal-dev libogg-dev libvorbis-dev libxml2-dev cmake build-essential libpng12-dev libjpeg62-turbo-dev rrdtool bison libxmu-dev autoconf automake libmysqlclient-dev libgif-dev libgif-dev cpputest libssl-dev liblzma-dev unzip+udo apt-get install git libcurl4-openssl-dev libluabind-dev libfreetype6-dev libx11-dev libgl1-mesa-dev libxxf86vm-dev libxrandr-dev libxrender-dev libopenal-dev libogg-dev libvorbis-dev libxml2-dev cmake build-essential libpng12-dev libjpeg62-turbo-dev rrdtool bison libxmu-dev autoconf automake libmysqlclient-dev libgif-dev cpputest libssl-dev liblzma-dev unzip
 </code> </code>
  
Line 77: Line 83:
   *[[http://www.7-zip.org/|7-Zip]]   *[[http://www.7-zip.org/|7-Zip]]
   *[[http://www.microsoft.com/en-us/download/details.aspx?id=6812|Installer le DirectX SDK]]   *[[http://www.microsoft.com/en-us/download/details.aspx?id=6812|Installer le DirectX SDK]]
-  *[[http://download.microsoft.com/download/1/E/5/1E5F1C0A-0D5B-426A-A603-1798B951DDAE/VS2010Express1.iso|Installer le Visual c++ 2010]]+  *[[https://www.microsoft.com/en-us/download/details.aspx?id=48146|Installer le Visual 2015]]
   *[[https://tortoisegit.org/|Tortoise Git]]   *[[https://tortoisegit.org/|Tortoise Git]]
   *[[https://cmake.org/download/|CMake]]   *[[https://cmake.org/download/|CMake]]
-  *[[http://download.qt-project.org/official_releases/qt/4.8/4.8.6/qt-opensource-windows-x86-vs2010-4.8.6.exe|Qt 4.8.6 pour VC++ 2010]] +  *[[https://www.qt.io/download-open-source/|Qt 5]] 
- +
  
 ==== Download ryzom source code and data: ==== ==== Download ryzom source code and data: ====
 <code> <code>
  
-git clone https://git.khaganat.net/khaganat/khanat-code.git +git clone https://git.khaganat.net/khaganat/mmorpg_khanat/khanat-opennel-code.git 
-cd khanat-code+
  
-git clone https://git.khaganat.net/khaganat/khanat-ressources.git+git clone https://git.khaganat.net/khaganat/mmorpg_khanat/khanat-ressources.git
 </code> </code>
 For additional windows: \\ For additional windows: \\
 Download Download
-  *[[http://sourceforge.net/projects/ryzom/files/external_vc10.7z/download|External_vc10]]+  *[[https://sourceforge.net/projects/ryzom/files/external_vc14.7z/download|External_vc14]]
 <code> <code>
  +-- code  +-- code
Line 119: Line 125:
 Variables to put in your script: Variables to put in your script:
 <code> <code>
-export RYHOME=/home/compil/khanat-code/code +export RYHOME=/home/compil/khanat-opennel-code/code 
-export RYZOM_PATH=/home/compil/khanat-code/code/ryzom +export RYZOM_PATH=/home/compil/khanat-opennel-code/code/ryzom 
-export PATH=$PATH:/home/compil/khanat-code/code/ryzom/tools/scripts/linux+export PATH=$PATH:/home/compil/khanat-opennel-code/code/ryzom/tools/scripts/linux
 export RYDATA=/home/compil/khanat-ressources export RYDATA=/home/compil/khanat-ressources
 </code> </code>
Line 152: Line 158:
 <code> <code>
 Launch Cmake: Launch Cmake:
-  * Code source : C:/khanat-code/code +  * Code source : C:/khanat-opennel-code/code 
-  * Build binaries: C:/khanat-code/code/build +  * Build binaries: C:/khanat-opennel-code/code/build 
-  * Configure for visual c++ 2010+  * Configure for visual c++ 2015
    * Configure    * Configure
    * Change options    * Change options
Line 167: Line 173:
 For Windows : For Windows :
 <code> <code>
-Run C:\khanat-code\code\build\RyzomCore.sln that was generated+Run C:\khanat-opennel-code\code\build\RyzomCore.sln that was generated
 By choosing Visual C++,  press F7 to compile. By choosing Visual C++,  press F7 to compile.
 </code> </code>
Line 180: Line 186:
 ln -s $RYDATA/continents $RYZOM_PATH/server/ ln -s $RYDATA/continents $RYZOM_PATH/server/
 ln -s $RYDATA/common $RYZOM_PATH/server/ ln -s $RYDATA/common $RYZOM_PATH/server/
 +ln -s $RYDATA/shard/su/dev_gm_names.xml $RYZOM_PATH/server/data_shard
 +ln -s $RYDATA/shard/su/invalid_entity_names.txt $RYZOM_PATH/server/data_shard
 +ln -s $RYDATA/shard/su/reserved_names.xml $RYZOM_PATH/server/data_shard
 +ln -s $RYDATA/shard/egs/game_event.txt $RYZOM_PATH/server/data_shard
 +ln -s $RYDATA/shard/egs/mission_queues.txt $RYZOM_PATH/server/data_shard
 +ln -s $RYDATA/shard/egs/named_items.txt $RYZOM_PATH/server/data_shard
  
-To check(Maybe you can copy these files instead.. or perhaps a better solution)? 
-ln -s $RYDATA/shard $RYZOM_PATH/server/data_shard/ 
 </code> </code>
  
Line 189: Line 199:
 <WRAP center round important 60%> <WRAP center round important 60%>
 These steps(recompiling the datasheets) require some in depth knowledge of the process and how to manage the files. \\ These steps(recompiling the datasheets) require some in depth knowledge of the process and how to manage the files. \\
-If you are an beginner, you can/should safely ignore the steps for know!! +If you are an beginner, you can/should safely ignore the steps for know and just jump to the "Configure server" part in the guide!! 
  
 Note: Zatalyz and scoui had success. Note: Zatalyz and scoui had success.
Line 198: Line 208:
 ./make_sheet_id -o$RYDATA/leveldesign/game_elem/sheet_id.bin $RYDATA/leveldesign/game_elem $RYDATA/leveldesign/game_element $RYDATA/leveldesign/world $RYDATA/leveldesign/ecosystems $RYDATA/sound ./make_sheet_id -o$RYDATA/leveldesign/game_elem/sheet_id.bin $RYDATA/leveldesign/game_elem $RYDATA/leveldesign/game_element $RYDATA/leveldesign/world $RYDATA/leveldesign/ecosystems $RYDATA/sound
 </code> </code>
-===Compiler visual_slot.tab===+=== Compiling the visual_slot.tab file ===
  
 First, verify that the paths to the directorys containing the ''leveldesign'', ''primitives'' and the ''common'' files(for the server and the client) are correctly found in the configuration file: First, verify that the paths to the directorys containing the ''leveldesign'', ''primitives'' and the ''common'' files(for the server and the client) are correctly found in the configuration file:
Line 445: Line 455:
 Mdp = your passwords Mdp = your passwords
 </code> </code>
-{{Tag> computer server shard tuto}}+{{Tag>computer server shard tutorial}}
CC Attribution-Share Alike 4.0 International Driven by DokuWiki
en/shard.1482237095.txt.gz · Last modified: (external edit)

Licences Mentions légales Accueil du site Contact Inclusion