First, you need to download all these files:
If you want to compile 64 bits versions you'll also need :
Install Microsoft Visual C++ 2008 Express, Microsoft DirectX SDK, CMake, Tortoise Hg and 7-Zip in your desired locations. If you don't use the default path, you'll have to put your specific path in the following commands.
If you have problems installing the .net framework you may have other installations of the .net framework installed
which are preventing you.Use the .net cleanup tool at the bottom of this page if this is the case.
If you plan to use CMake from command line check this option:
Decompress downloaded external_vc9.7z or external_vc10.7z inside C:\ryzom\.
After that, you can delete external_vc9.7z or external_vc10.7z.
You should have this structure :
C:\ | +-- Ryzom | +-- code | | | +-- nel | | | +-- ryzom | | | +-- ... | +-- external | +-- bin | +-- bin64 | +-- include | +-- lib | +-- lib64
In Start Menu -> All Programs -> Microsoft Visual C++ 2008 Express Edition -> Visual Studio Tools, launch Visual Studio 2008 Command Prompt
In the command line, type:
c: cd \ md ryzom cd ryzom hg clone http://ryzom.hg.sourceforge.net:8000/hgroot/ryzom/ryzom .
See Getting Source for more details if necessary.
Put the downloaded external_vc9.7z inside C:\ryzom\ and in the command line, type:
Just replace all vc9 occurences by vc10 if you're using VC++ 2010 |
"c:\Program Files\7-Zip\7z.exe" x external_vc9.7z -oexternal del external_vc9.7z
Download Jom from Nokia FTP.
Put the downloaded jom.zip inside C:\ryzom\ and in the command line, type:
"c:\Program Files\7-Zip\7z.exe" x jom.zip -oexternal\bin del jom.zip set PATH=%PATH%;C:\ryzom\external\bin
You will need to set FINAL_VERSION to OFF to build the client and add PatchWanted = 0; in client.cfg or you would receive an error.
Alternatively, you could edit code\ryzom\client\src\client_cfg.cpp. Change PatchWanted to false where it says "only force patching under Windows by default" (around line 422).
You should launch CMake (cmake-gui) which is located in your Start menu in CMake sub-menu.
Fill in required fields:
Now click on Configure, it will ask you to choose a generator, select Visual Studio 9 2008 and click on Finish.
Other generators could work too such as: Visual Studio 9 2008 Win64 (if you installed Windows SDK 64 bits compilers) or other versions of Visual Studio.
If there is any error (text in red in the text area), check it in the text area at the bottom and try to fix it, if there is no error, click again on Configure, the Generate button should be enabled now, finally click on Generate.
If you want to enable or disable options, you will need to click again on Configure and Generate.
The solution C:\ryzom\code\build\RyzomCore.sln has been generated, you can double-click to open it in Visual C++ and press F7 to compile all projects.
In the command line, type:
cd code md build cd build cmake .. nmake
In the command line, type:
cd code md build cd build cmake .. -G "NMake Makefiles JOM" jom
This needs to be refactored |
For connecting to a running game-server you have to install apache and mysql, as in Configure Linux Server and thereafter.
Please note that the first part of that page about compiling etc. is outdated, ignore it, until the wiki is corrected.
See CMake Options for additional options.
install http://get.qt.nokia.com/qt/source/qt-win-opensource-4.7.0-vs2008.exe
replace c:\qt\4.7.0 with https://docs.google.com/leaf?id=0B3LX3q7MsUEGMWFkN2FlYjEtMTAwOC00YmZjLWI5Y2ItNWQ4MDFmODJlMjdl