Page 1 of 37

[FAQ] Ryzom in Linux (The Unofficial HOW-TO)

Posted: Tue Dec 21, 2004 12:22 pm
by grandma
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)
  • Data11.cab
  • Data1.cab
  • Data2.cab
  • remove.bat
  • Ryzom.msi
  • setup.exe
$ mkdir /tmp/Ryzom
$ 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 perl script 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 perl script 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 -->

Re: Ryzom in Linux (The Unofficial HOW-TO)

Posted: Tue Dec 21, 2004 3:26 pm
by fadin
Hi everyone,

I wanted to sticky this as a service to the Linux community.

Please understand, we do *not* support Linux in any way. We cannot offer email, in-game or any type of technical support for anyone deciding to run Ryzom under a Linux OS. This is done at your own risk and anything resulting from you changing over to Linux is your responsibility.

Anyway, disclaimer done.... Here is Grandma's Unofficial Linux HOW-TO

Regards,

Re: Ryzom in Linux (The Unofficial HOW-TO)

Posted: Wed Dec 22, 2004 2:07 am
by grandma
(yet) :0D

Re: Ryzom in Linux (The Unofficial HOW-TO)

Posted: Thu Dec 23, 2004 2:04 pm
by snspy
All right. But on the begining, at the beta tester time (focus and other) Nevrax said that it would be a release for a GNU/Linux Client. Your servers are on debian, and you use the benefit of the community. I really know that's not for free, because u give an application. So, have u seen, and have you done a request about how many persons want to have the GNU/Linux Client?

Re: Ryzom in Linux (The Unofficial HOW-TO)

Posted: Sat Jan 01, 2005 2:40 pm
by toelke
Hello,

i'm trying to install ryzom under my linux system.... it's the german version of the game.
and i get teh following error message:



sh-3.00$ cedega setup.exe
sh-3.00$ Fehler bei der Anwendung von Transformen. Stellen Sie sicher, dass dieangegebenen Transformpfade gültig sind.

0x9004fc20:1: Event manual=1 signaled=0 name=""
0x9004fe14:2: Thread 0004 unix tid=9755 teb=0xb7fe6d60 state=1 process=0003
0x9004fd9c:1: Token owned by 0x9004fcd8
0x9004fcd8:1: Process 0003 next=0x90008e10 prev=(nil) handles=(nil)
0x90002304:1: Event manual=1 signaled=0 name=""
0x900022d4:1: Token owned by 0x90008e10
0x90008e10:1: Process 0001 next=(nil) prev=0x9004fcd8 handles=(nil)




has anyone experienced the same problem or... has anyone an idea what i can do?

my system ist a Athlon XP2000, Debian Linux, Kernel 2.6.10

Toelke

Re: Ryzom in Linux (The Unofficial HOW-TO)

Posted: Sun Jan 09, 2005 12:16 am
by grandma
toelke wrote:Hello,

sh-3.00$ cedega setup.exe
sh-3.00$ Fehler bei der Anwendung von Transformen. Stellen Sie sicher, dass dieangegebenen Transformpfade gültig sind.

0x9004fc20:1: Event manual=1 signaled=0 name=""
0x9004fe14:2: Thread 0004 unix tid=9755 teb=0xb7fe6d60 state=1 process=0003
0x9004fd9c:1: Token owned by 0x9004fcd8
0x9004fcd8:1: Process 0003 next=0x90008e10 prev=(nil) handles=(nil)
0x90002304:1: Event manual=1 signaled=0 name=""
0x900022d4:1: Token owned by 0x90008e10
0x90008e10:1: Process 0001 next=(nil) prev=0x9004fcd8 handles=(nil)

Toelke
I'm not sure what error that is. can't read german :0(
I've had many errors installing/patching Ryzom in linux which I believe I've covered every ground with the above HOW-TO, have you tried following my HOW-TO step by step (even if you know 100% what you're doing in linux)?

What version of cedega?

Re: Ryzom in Linux (The Unofficial HOW-TO)

Posted: Wed Jan 12, 2005 1:38 pm
by thlau
There currently is no fix for the keyboard shift/ctrl/alt issue. There was in beta a method that involved editing the config, however the config file is now checked every run of Ryzom and replaced if it has been modified.
Since the client_default.cfg didn't work on my system, I had to use my own hand edited version of the client.cfg. Though it would be nice, if you could give a hint, what is required to fix the shift/ctrl/alt issue.

Thanks,
thlau

Re: Ryzom in Linux (The Unofficial HOW-TO)

Posted: Thu Jan 13, 2005 5:26 am
by grandma
the fix during beta was to change the line called "DisableDirectInput 0" to "DisableDirectInput 1" or something similar (which is no longer even an option to change in the config that I can see.)

During beta this fixed BOTH the mouse jerky issues AND the keyboard "@!%#@" issue in one shot.

When retail first launched, the config option was there and I had edited it to what I was used to doing with beta, but in retail client, the game checks your client_default.cfg (where the setting was located) and if it is "unacceptable" then it is replaced as a "mandatory patch" from the patch/file checker.

For a while after retail launched, there wasn't even a "Hardware mouse" option. So all we need now is the Hardware keyboard option and we'll be good to go! (send a ticket, hehe)

Re: Ryzom in Linux (The Unofficial HOW-TO)

Posted: Fri Jan 14, 2005 11:25 am
by thlau
grandma wrote:the fix during beta was to change the line called "DisableDirectInput 0" to "DisableDirectInput 1" or something similar (which is no longer even an option to change in the config that I can see.)

Thanks for the hint.
I copied client_default.cfg to client_myconfig.cfg and changed the include statement in the client.cfg.
After the next start, I had a new copy with my configuration in the client.cfg.
Then I appeded a "DisableDirectInput = 1;" to the client.cfg and it works.
shift/contrl/alt now work as expected in the chat window.

Re: Ryzom in Linux (The Unofficial HOW-TO)

Posted: Thu Jan 20, 2005 2:26 pm
by thlau
A like to add some information to this thread, which may help you, if you encounter problems with the Installation on linux.

1. I use the free trial download client
The first problem I encountered, was that cedega hang after calling the
selfextracting archive, and left much garbage data on my disk.
But it was no problem to unpack the files with unrar.

2. I can not run ryzom_configuration_rd.exe
So i had to edit the client.cfg manually

3. The client needs much main memory. 512 MB RAM is not enough
So I added 1GB additional memory to my system.

4. Client doesn't work with kernel 2.4.20
I use a 2.6.8 kernel now.