[FAQ] Ryzom in Linux (Reloaded)

Got a problem getting things to work? Drop us a line here and you'll find all the help you need.
Post Reply
User avatar
23857628
Posts: 43
Joined: Sun Feb 04, 2007 11:12 am

[FAQ] Ryzom in Linux (Reloaded)

Post by 23857628 »

Machine specifications:
AMD Athlon64 X2 5000+
2 GB RAM
XFX GeForce 8600 GT Fatal1ty (256MB)
Sound Blaster Live! 5.1 Digital
Linux kernel 2.6.22.6
Wine 0.9.44
nVidia 100.14.11 release
alsa-lib 1.0.14 with alsa-driver from kernel

1. Installation

a. The Windows way
Copy the Ryzom installation from a local Windows partition and ensure the user running wine has sufficient rights (reading and writing) to access it. When trying to run wine ryzom_configurator_rd.exe it complains about a missing mfc42.dll. Get it from a Windows installation or search the web for it. Put it inside your Ryzom directory.

b. Big installer (http://dl1.gfsrv.net/ryzom-installer_060928.exe)
Extract the self-extracting exe to a temporary directory on your drive and execute wine setup.exe from inside it. After the installation quits successfully wine tries to run ryzom_configurator_rd.exe which will fail due to the missing mfc42.dll. Read under a. The Windows way...

c. Small installer
Not working at the moment. If anybody is successfully using it to install Ryzom please report what you did to get it working.

d. Using a shell script (untested by me)
blaah hacked together a script that can download all files (~3GB download the first time). You can get it at his site.

2. Configuration

a. winecfg

Applications:

Windows -> Win2000, WinXP or Vista (for HardwareCursor to display correctly)

Graphics:
[X] Allow DirectX apps to stop the mouse leaving their window
[X] Allow the window manager to control the windows
Vertex Shader Support -> Hardware
[X] Allow Pixel Shader

Audio:

[X] Alsa Driver
Uncheck other drivers
Hardware Acceleration -> Full
Default Sample Rate -> 44100
Default Bits Per Pixel -> 16
Software Emulation is disabled

b. Ryzom
Ensure you followed the instructions under either 1.a or 1.b and run wine ryzom_configurator_rd.exe.Display:
(*) OpenGL
(*) Fullscreen (choose a resolution)

Display Details:
Adjust to your liking (can be done ingame too)

Display Advanced:
Leave alone

Sound:
[X] Activate Sound
[ ] Enable EAX
[X] Software Sound
Sound Tracks -> Leave it at 32 for best quality

3. Patching and playing Ryzom
Execute wine client_ryzom_rd.exe. After logging in follow the instructions to patch Ryzom and click to restart the game if asked. If it doesn't restart locate the little tray icon of the patcher and close it from it's right-click menu. This should get the game up and running. Accept the license and start playing by creating or selecting a character in the selection view.

Skip the patching instructions if you copied a recent installation from Windows. It should be up-to-date already.

Additional Configuration (various sources)


These tweaks and editing the client.cfg file by hand isn't supported by the devs and you may lose the right for support if you do so! Use at your own risk!

Add/Change the following inside your client.cfg file:
HardwareCursor = 1; (can be set inside the game too; needed for the native Ryzom look of the mouse cursor)
BackgroundDownloader = 0;
(disable the newly added graphical updater that can steal focus and make sound not work sometimes)
ProcessPriority = 2; (can't confirm a performance gain, but doesn't hurt to have it set)

Startup Script (Thank you, Drakfot for the script and blaah for the input)

Name it as you like and save it to /usr/bin or any other directory in your path. Don't forget to make it executable! (chmod +x)

Code: Select all

#!/bin/bash 

#Edited by me for simplicity and to remove even more debugging output
#It's easy to adapt the script to other games now, by just changing the variables :)

#Set game name
GameName="Ryzom"
#Set game path and executable
GameExePath="/path/to/ryzom/"
GameExeFile="client_ryzom_rd.exe"; 

echo "Starting $GameName!"
cd $GameExePath
case "$1" in 
    debug) 
         nice -n 19 wine $GameExeFile; 
         ;; 
    *) 
         WINEDEBUG=-all nice -n 19 wine $GameExeFile > /dev/null; 
         ;; 
esac

Desktop Icon (Thank you, blaah!)
To install a Ryzom icon on desktop or in the menu manually (use --menu or --desktop according to your needs):
export RYZOM_HOME="/path/to/ryzom/dir"
wineshelllink --menu/--desktop --workdir "$RYZOM_HOME" --path client_ryzom_rd.exe --descr "The Saga of Ryzom" --icon "$RYZOM_HOME/Ryzom6.ico" --link Ryzom

Trouble
ATi users might have a hard time (the closed source Linux drivers are yet lacking many functionalities)

Klients
Use these instructions to get the wxmtpchat program running and configured. You can also try running the original Klients in wine, which has proven to be a tad unstable for me.

Ingame screens getting messed up by switching desktops

In Section "Device" of your xorg.conf file you should check that Option DynamicTwinView "true" is set. In section screen you should set your resolution and RefreshRate by just adding the line Option metamodes "1280x1024_75 +0+0; 1280x1024 +0+0" (modify to your needs - this line is for a 17" flat panel).

You'll notice that every app that uses xrandr extension to read and set resolution will have the values all messed up, but that's a known issue and it still works well. Set Ryzom to use the new RefreshRate by selecting it in ryzom_configuration_rd.exe.

If it's not already done otherwise, start nvidia-settings after every reboot to ensure the settings of it are loaded correctly.


Post your success stories!
Last edited by 23857628 on Mon Sep 17, 2007 9:44 am, edited 1 time in total.
Zoine
The Crazy Digger Girl
blaah
Posts: 1333
Joined: Tue Dec 14, 2004 7:43 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by blaah »

Nice, how-to, but Startup Script does not seems to be right. it misses "cd /path/to/ryzom" just after "echo 'Starting Ryzom'".

To install ryzom icons on desktop/menu manually:
Replace RYZOM_HOME with real ryzom location.
wineshelllink --menu --workdir "$RYZOM_HOME" --path client_ryzom_rd.exe --descr "The Saga of Ryzom" --icon "$RYZOM_HOME/Ryzom6.ico" --link Ryzom
(or change --menu with --desktop)
will install ryzom icon to menu or desktop (tested on Gnome)

c. Small installer
yeah, it's sad that this one dont work ;-(
i have had little success with it when running it under "strace -o /dev/null -f -F wine client_background_downloader_rd.exe" (there seems to be deadlock on threads and strace seems to "slow" it down enough)

link for big installer is
http://dl1.gfsrv.net/ryzom-installer_060928.exe
(also dl2.gfsrv.net)
User avatar
23857628
Posts: 43
Joined: Sun Feb 04, 2007 11:12 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by 23857628 »

The script is working in it's current version, but adding a cd /to/ryzom/dir won't hurt. :)

Thank you for the input!
Zoine
The Crazy Digger Girl
blaah
Posts: 1333
Joined: Tue Dec 14, 2004 7:43 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by blaah »

Ok, i was b@w, so i made quick and dirty (and dumb) Ryzom linux installer...

you can get it from http://atys.pri.ee/linux/
trying to keep it updated if i can, tho it does use Kaetemis trick on checking every version starting from latest patch version if it dont find some file.

some info on that page about linux/ryzom/klients too.
camlost2
Posts: 203
Joined: Sat Apr 09, 2005 11:23 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by camlost2 »

Got it running on Kubuntu Feisy Fawn 7.04/Wine 0.9.41 without problems using this Howto.

One issue with Ryzom however. Each time I swith to another desktop or program and then going back to Ryzom all the windows in Ryzom are messed up. I believe this is an old problem with Ryzom and Linux, so am wondering if anyone ever found a workaround for this?

Another note:
23857628 wrote:ryzom_configurator_rd.exe
In the english version this file is named ryzom_configuration_rd.exe


Spiritual guardian of Atys Ghosts -/- Ryzom on Linux -/- Ryzom Maps

"You cannot win, if someone lost!"
blaah
Posts: 1333
Joined: Tue Dec 14, 2004 7:43 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by blaah »

camlost2 wrote:One issue with Ryzom however. Each time I swith to another desktop or program and then going back to Ryzom all the windows in Ryzom are messed up. I believe this is an old problem with Ryzom and Linux, so am wondering if anyone ever found a workaround for this?
only workaround i know is to run wine in "desktop mode".
from command line
"wine explorer.exe /desktop=ryzom,1024x768 client_ryzom_rd.exe"
or something like that. (in ryzom, full screen mode can be used then)
User avatar
23857628
Posts: 43
Joined: Sun Feb 04, 2007 11:12 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by 23857628 »

In Section "Device" of your xorg.conf file you should check that Option DynamicTwinView "true" is set. In section screen you should set your resolution and RefreshRate by just adding the line Option metamodes "1280x1024_75 +0+0; 1280x1024 +0+0" (modify to your needs - this line is for a 17" flat panel).

You'll notice that every app that uses xrandr extension to read and set resolution will have the values all messed up, but that's a known issue and it still works well. Set Ryzom to use the new RefreshRate by selecting it in ryzom_configurator_rd.exe.

If it's not already done otherwise, start nvidia-settings after every reboot to ensure the settings of it are loaded correctly.

This should fix your problem with the windows to mess up in Ryzom. :cool:

Edit: Added it to the first post
Zoine
The Crazy Digger Girl
camlost2
Posts: 203
Joined: Sat Apr 09, 2005 11:23 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by camlost2 »

23857628 wrote:In Section "Device" of your xorg.conf file you should check that Option DynamicTwinView "true" is set.
Nope, this broke KDE (and everything else that uses X I would take it) as DynamicTwinView is not a valid option in xorg.conf. Also, I doubt adding more metamodes to the config would solve anything.. unless you can paste here how you implemented these 2 options to your xorg.conf.

After editing my file it looked something like this:

Code: Select all

Section "Device"
	Identifier	"Standard videokort"
	Driver		"nvidia"
	BusID		"PCI:3:0:0"
	DynamicTwinView	"True"
EndSection
Also, in the english installation of Ryzom there doesn't exist any file called ryzom_configurator_rd.exe so you may want to add ryzom_configuration_rd.exe as an option :p


Spiritual guardian of Atys Ghosts -/- Ryzom on Linux -/- Ryzom Maps

"You cannot win, if someone lost!"
User avatar
23857628
Posts: 43
Joined: Sun Feb 04, 2007 11:12 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by 23857628 »

My config:

Code: Select all

Section "Device"
    Identifier      "GeForce"
    Driver          "nvidia"
    VendorName      "nVidia Corporation"
    BoardName       "GeForce 6800 GS"
    BusID           "PCI:1:0:0"
    Option          "DynamicTwinView" "true"
    Option          "AllowGLXWithComposite" "true"
    Option          "NvAgp" "1"
    Option          "RenderAccel" "true"
    Option          "NoLogo"
EndSection

Section "Screen"
    Identifier     "Screen"
    Device         "GeForce"
    Monitor        "SyncMaster"
    Option         "metamodes" "1280x1024_75 +0+0; 1280x1024 +0+0"
EndSection


Thank you for pointing out the typo :)
Zoine
The Crazy Digger Girl
camlost2
Posts: 203
Joined: Sat Apr 09, 2005 11:23 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by camlost2 »

23857628 wrote:My config:

...

Thank you for pointing out the typo :)


Oh, silly me. That explains a lot hehe. Thank you for posting the config :)

The typo I encountered pretty quick as I pasted it into my terminal and it didn't work out exactly how I expected it to :D

Edit: After the patch I haven't been able to play at all. It crashes at the loading picture after selecting character.I patched the client without problems, and thus deleting the string_client.pack as stated elsewhere does not work for me. Other linux users having the same problem?
Last edited by camlost2 on Mon Jul 23, 2007 2:51 pm, edited 1 time in total.


Spiritual guardian of Atys Ghosts -/- Ryzom on Linux -/- Ryzom Maps

"You cannot win, if someone lost!"
Post Reply

Return to “Technical Support”