[FAQ] Ryzom in Linux (The Unofficial HOW-TO)
Posted: Tue Dec 21, 2004 12:22 pm
Greetings...I'll skip over my life story I normally give and get right to the juicy stuff as that's why you are reading this! :0)
Before I start, my machine's specs:
AMD Athlon 2600+
1 GB PC2700 RAM
GeForce FX 5900SE
Linux kernel 2.6.5
Cedega 4.2
FPS: 25+
1. Installation
--------------------------------------------
DO NOT USE Point2Play to install Ryzom. The icons/shortcuts will not show up and if you REALLY want to use Point2Play you will have to add them in manually...we *should* all be pretty familiar with simple command line.
Another important note...Ryzom config, client, and installations should be executed from within the directory containing them.
a. Windows Installer
--------------------------------------------
In case your version of cedega does not support Windows Installer, download the windows installer (instmsia.exe) and run with cedega. I believe all versions of cedega already support .msi installations. It's very easy to find and install with a simple Google search.
$ cedega instmsia.exe
b. Copy installation files to /tmp
--------------------------------------------
I had troubles with CD swapping and installation initially, so this will avoid that problem: Copy all of the .cab and setup files to /tmp/Ryzom directory off of the CD's (or the downloadable client, which I am not familiar with how it is set up)
$ cp /path/to/files /tmp/Ryzom
$ cd /tmp/Ryzom
$ cedega setup.exe
Note: after the setup completes, it may appear to "hang" for a bit. But if you check your terminal you will see that the game has executed "ryzom_recover.exe" which does some preliminary patching. Wait until this has completed, the background installation splash screen WILL close afterwhich it is safe to continue.
c. Symlink your .cfg and .log files
--------------------------------------------
This is a lazy workaround for problems with Cedega looking in your /home/user for the .cfg files when accessing them, rather than the Ryzom path. Also should problems arise it's easier (for me) to hunt down the log files in /home.
$ ln -s /path/to/Ryzom/client.cfg ~/client.cfg
$ ln -s /path/to/Ryzom/client_default.cfg ~/client_default.cfg
$ ln -s /path/to/Ryzom/client.log ~/client.log
$ ln -s /path/to/Ryzom/log.log ~/log.log
Some of the files may not exist until you have already started Ryzom.
2. Configuration
--------------------------------------------
Please review these configuration changes carefully as they will help to increase performance in the game.
a. Configure Cedega
--------------------------------------------
Before you begin playing or even configuring the client, open the transgaming config with your favorite text editer (in my example I use joe) and modify it to reflect the following changes for better performance:
$ joe ~/.transgaming/config
=====[Clipped from file]=====
; How much Video RAM does your card have?
"VideoRam" = "128"
; How much AGP memory should be used for vertex data (about 1/2 your AGP aperature size)
"AGPVertexRam" = "0"
=====[Clipped from file]=====
b. Configure Ryzom
--------------------------------------------
Find the ryzom configuration utility in your installation path and execute it with cedega.
$ cd /path/to/Ryzom
$ cedega ryzom_configuration_rd.exe
The only areas you want to change in the Ryzom Configuration are under General and Display. FORCE OpenGL! Change "Display Details" to suit your machine's setup, my client uses the following settings:
Disclaimer: These changes are VERY unofficial and NOT supported or condoned by the GM or developers. These client.cfg modifications are here for educational and experimental purposes only! That having been said, the following can be added to the bottom of client.cfg:
DisableDirectInput - this is a fix for the Ctrl/Alt/Shift spitting out a garbage string like "@$$!@#6". It allows direct input for keyboard and I believe the mouse as well. If not, there is a game setting that allows hardware mouse.
Now your client is ready for the first run, and to begin patching! :0D
3. Playing Ryzom
--------------------------------------------
Remember to execute all game files from within the path they reside!
a. Executing the game
--------------------------------------------
Every time you are ready to play Ryzom, open your favorite terminal, navigate to the game path and enjoy!
$ cd /path/to/Ryzom
$ cedega client_ryzom_rd.exe
b. Patching the game
--------------------------------------------
Because the Ryzom client itself gets patched, Nevrax provides a nifty (and non-working through cedega) batch file which after the client downloads and extracts files; it generates the batch file with what files to place where, as well as restarts the client. When the batch file is generated, on screen will be displayed "Press 'Relaunch' to relaunch the game". Pressing "relaunch" will crash the client causing a c++ runtime error. The workaround for us is that we must manually place the patch files in the proper locations. Vasilli from in the game has provided a [url=ryzom.vx3lan.com/patch.pl]perl script[/url] which goes through the batch file, modifies the move and del batch commands to unix commands, then executes the batch file line. Feel free to download the [url=ryzom.vx3lan.com/patch.pl]perl script[/url] and place it in your Ryzom game directory. Be sure it's executeable. :0P
$ cd /path/to/Ryzom
$ chmod 0754 patch.pl
Patch game first...client will crash with a c++ error when you press "relaunch game". Execute our patch.pl script, then restart Ryzom.
$ cedega client_ryzom_rd.exe (game patches, press "relaunch", c++ runtime error)
$ cd /path/to/Ryzom
$ ./patch.pl
$ cedega client_ryzom_rd.exe
c. Known issues
--------------------------------------------
Once you've patched and are in the game for the first time, you may notice the mouse is "sticky" and doesn't move properly (if you didn't edit the client.cfg with "DisableDirectInput" setting). You may also notice that when you press Shift/Alt/Ctrl in a text box, you will get a garbage string "@6!%@" or something similar.
To fix the mouse issue: Login and select your character, open the game configuration panel (Default key: U) and navigate to the Inputs>Mouse settings. Enable "Hardware Mouse".
The only way to fix the keyboard issue is to edit the client.cfg with the "DisableDirectInput" setting change described above.
Also sometimes the game may not exit completely when you log out. If this should happen, wait approximately 30 seconds for the game to save your config and panel layout then kill the processes "wine" and "wineservers".
4. Final Notes
--------------------------------------------
Thanks for reading this Unofficial Linux HOW-TO and I hope that it helps you get Ryzom working under Linux.
The official Ryzom chat support program is Klients, which uses an MTP/telnet based protocol that runs on a private server located in France. Klients does not work under Wine or Cedega, however you can fire up your terminal and telnet directly into the ryzom chat support.
Ryzom server: chat.ryzom.com
Port: 6004
$ telnet chat.ryzom.com 6004
[Edit: This used to be a reference to QNet which is a graphical alternative to klients, however I personally find good old telnet to be a much better solution. Why I originally didn't try telnet is beyond me...sometimes the oldies but goodies escape me. :0P]
This pretty much covers my progress so far with Ryzom and Linux.
Be sure to check out my Linux Client Request thread.
Good luck and be safe in your ventures. :0D
The following is for the Google webcrawler in case anyone else is looking for an mmorpg that runs (kinda) on linux :0)...Google is the reason I'm here playing Ryzom, hehe :
<!-- Begin webcrawler keywords -->
linux google ryzom mmorpg massive massively multiplayer multi-player online on-line roleplay roleplaying role play role playing role-play role-playing game mass combat RAID dynamic NeL nevrax mmo rpg linux debian suse redhat yellowdog fedora mandrake gentoo apt-get rpm install emerge knoppix kernel 2.6.x 2.6.10 2.4.20 2.4.21 linux games gcc wine winex cedega transgaming support mmorpg and finally mmorpg in linux
<!-- End webcrawler keywords -->
Before I start, my machine's specs:
AMD Athlon 2600+
1 GB PC2700 RAM
GeForce FX 5900SE
Linux kernel 2.6.5
Cedega 4.2
FPS: 25+
1. Installation
--------------------------------------------
DO NOT USE Point2Play to install Ryzom. The icons/shortcuts will not show up and if you REALLY want to use Point2Play you will have to add them in manually...we *should* all be pretty familiar with simple command line.
Another important note...Ryzom config, client, and installations should be executed from within the directory containing them.
a. Windows Installer
--------------------------------------------
In case your version of cedega does not support Windows Installer, download the windows installer (instmsia.exe) and run with cedega. I believe all versions of cedega already support .msi installations. It's very easy to find and install with a simple Google search.
$ cedega instmsia.exe
b. Copy installation files to /tmp
--------------------------------------------
I had troubles with CD swapping and installation initially, so this will avoid that problem: Copy all of the .cab and setup files to /tmp/Ryzom directory off of the CD's (or the downloadable client, which I am not familiar with how it is set up)
- Data11.cab
- Data1.cab
- Data2.cab
- remove.bat
- Ryzom.msi
- setup.exe
$ cp /path/to/files /tmp/Ryzom
$ cd /tmp/Ryzom
$ cedega setup.exe
Note: after the setup completes, it may appear to "hang" for a bit. But if you check your terminal you will see that the game has executed "ryzom_recover.exe" which does some preliminary patching. Wait until this has completed, the background installation splash screen WILL close afterwhich it is safe to continue.
c. Symlink your .cfg and .log files
--------------------------------------------
This is a lazy workaround for problems with Cedega looking in your /home/user for the .cfg files when accessing them, rather than the Ryzom path. Also should problems arise it's easier (for me) to hunt down the log files in /home.
$ ln -s /path/to/Ryzom/client.cfg ~/client.cfg
$ ln -s /path/to/Ryzom/client_default.cfg ~/client_default.cfg
$ ln -s /path/to/Ryzom/client.log ~/client.log
$ ln -s /path/to/Ryzom/log.log ~/log.log
Some of the files may not exist until you have already started Ryzom.
2. Configuration
--------------------------------------------
Please review these configuration changes carefully as they will help to increase performance in the game.
a. Configure Cedega
--------------------------------------------
Before you begin playing or even configuring the client, open the transgaming config with your favorite text editer (in my example I use joe) and modify it to reflect the following changes for better performance:
$ joe ~/.transgaming/config
=====[Clipped from file]=====
; How much Video RAM does your card have?
"VideoRam" = "128"
; How much AGP memory should be used for vertex data (about 1/2 your AGP aperature size)
"AGPVertexRam" = "0"
=====[Clipped from file]=====
b. Configure Ryzom
--------------------------------------------
Find the ryzom configuration utility in your installation path and execute it with cedega.
$ cd /path/to/Ryzom
$ cedega ryzom_configuration_rd.exe
The only areas you want to change in the Ryzom Configuration are under General and Display. FORCE OpenGL! Change "Display Details" to suit your machine's setup, my client uses the following settings:
- Landscape [Normal]
- Characters [Normal]
- FX [Normal]
- Textures [64 MB]
Disclaimer: These changes are VERY unofficial and NOT supported or condoned by the GM or developers. These client.cfg modifications are here for educational and experimental purposes only! That having been said, the following can be added to the bottom of client.cfg:
DisableDirectInput - this is a fix for the Ctrl/Alt/Shift spitting out a garbage string like "@$$!@#6". It allows direct input for keyboard and I believe the mouse as well. If not, there is a game setting that allows hardware mouse.
Now your client is ready for the first run, and to begin patching! :0D
3. Playing Ryzom
--------------------------------------------
Remember to execute all game files from within the path they reside!
a. Executing the game
--------------------------------------------
Every time you are ready to play Ryzom, open your favorite terminal, navigate to the game path and enjoy!
$ cd /path/to/Ryzom
$ cedega client_ryzom_rd.exe
b. Patching the game
--------------------------------------------
Because the Ryzom client itself gets patched, Nevrax provides a nifty (and non-working through cedega) batch file which after the client downloads and extracts files; it generates the batch file with what files to place where, as well as restarts the client. When the batch file is generated, on screen will be displayed "Press 'Relaunch' to relaunch the game". Pressing "relaunch" will crash the client causing a c++ runtime error. The workaround for us is that we must manually place the patch files in the proper locations. Vasilli from in the game has provided a [url=ryzom.vx3lan.com/patch.pl]perl script[/url] which goes through the batch file, modifies the move and del batch commands to unix commands, then executes the batch file line. Feel free to download the [url=ryzom.vx3lan.com/patch.pl]perl script[/url] and place it in your Ryzom game directory. Be sure it's executeable. :0P
$ cd /path/to/Ryzom
$ chmod 0754 patch.pl
Patch game first...client will crash with a c++ error when you press "relaunch game". Execute our patch.pl script, then restart Ryzom.
$ cedega client_ryzom_rd.exe (game patches, press "relaunch", c++ runtime error)
$ cd /path/to/Ryzom
$ ./patch.pl
$ cedega client_ryzom_rd.exe
c. Known issues
--------------------------------------------
Once you've patched and are in the game for the first time, you may notice the mouse is "sticky" and doesn't move properly (if you didn't edit the client.cfg with "DisableDirectInput" setting). You may also notice that when you press Shift/Alt/Ctrl in a text box, you will get a garbage string "@6!%@" or something similar.
To fix the mouse issue: Login and select your character, open the game configuration panel (Default key: U) and navigate to the Inputs>Mouse settings. Enable "Hardware Mouse".
The only way to fix the keyboard issue is to edit the client.cfg with the "DisableDirectInput" setting change described above.
Also sometimes the game may not exit completely when you log out. If this should happen, wait approximately 30 seconds for the game to save your config and panel layout then kill the processes "wine" and "wineservers".
4. Final Notes
--------------------------------------------
Thanks for reading this Unofficial Linux HOW-TO and I hope that it helps you get Ryzom working under Linux.
The official Ryzom chat support program is Klients, which uses an MTP/telnet based protocol that runs on a private server located in France. Klients does not work under Wine or Cedega, however you can fire up your terminal and telnet directly into the ryzom chat support.
Ryzom server: chat.ryzom.com
Port: 6004
$ telnet chat.ryzom.com 6004
[Edit: This used to be a reference to QNet which is a graphical alternative to klients, however I personally find good old telnet to be a much better solution. Why I originally didn't try telnet is beyond me...sometimes the oldies but goodies escape me. :0P]
This pretty much covers my progress so far with Ryzom and Linux.
Be sure to check out my Linux Client Request thread.
Good luck and be safe in your ventures. :0D
The following is for the Google webcrawler in case anyone else is looking for an mmorpg that runs (kinda) on linux :0)...Google is the reason I'm here playing Ryzom, hehe :
<!-- Begin webcrawler keywords -->
linux google ryzom mmorpg massive massively multiplayer multi-player online on-line roleplay roleplaying role play role playing role-play role-playing game mass combat RAID dynamic NeL nevrax mmo rpg linux debian suse redhat yellowdog fedora mandrake gentoo apt-get rpm install emerge knoppix kernel 2.6.x 2.6.10 2.4.20 2.4.21 linux games gcc wine winex cedega transgaming support mmorpg and finally mmorpg in linux
<!-- End webcrawler keywords -->