I'm going to write here a fresh how-to based on my experience of setting up and running Ryzom on Linux. Also noting all the issues I've encountered and how to fix them.
Prerequisities
- An NVIDIA graphics card. ATI might also work (Radeon 9550 is known to work at least with Wine v0.9.15-1, Xorg 7, all graphics settings low/disabled, AGP forced to 4x in BIOS, and Ryzom set to OpenGL).
- Driver for your graphics card. Probably "nvidia-glx" for NVIDIA and v8.26.18 ATI.
- Wine v0.9.17
Obtaining and setting up Wine
- Download v0.9.17 from http://winehq.com (this version is known to work with Ryzom as of the date of this post).
- After installing Wine, type winecfg in the terminal.
- In the Audio tab, uncheck everything. This will disable sound (see issues).
- In the Drives tab, make sure there is a "C:" set up. Note that you will (probably) be able to browse Wine's "C drive" by going to ~/.wine/dosdevices/c:
- In Libraries tab, add the following so that they are listed as (native,builtin):
mfc42d
msvcp60
msvcp60d
msvcrt
- In Applications tab, set the Windows version to Windows 98 (see issues).
Obtaining and installing Ryzom itself
- I installed Ryzom by copying all the files from an existing installation on a Windows computer to my Linux computer.
- If you don't have the option of copying from an existing Windows install, you can download the game here. The unpacker should run fine in a default Wine installation. Once you have the files unpacked, however, you'll need the MSI Installer to run setup.exe. I'm not sure how well this works as I haven't tried it.
Tweaking Ryzom to run correctly
- You need to make sure Ryzom is running in OpenGL mode instead of Auto or Direct3D, else you'll see blank buttons and other such graphical glitches. So open client.cfg and add to the bottom:
- Also make sure that HardwareCursor in client.cfg is set to 1, and SoundOn is set to 0.
Making a launcher script
- So you don't have to type in terminal every time you want to start Ryzom, and so that you have something to add to your applications menu if you want, create a blank file and give it a name with a *.sh extension, like "launchryzom.sh"
Code: Select all
cd ~/.wine/dosdevices/c:/Program\ Files/Ryzom
SETREPEAT="50 37 64 62 109 113"
for k in $SETREPEAT; do
xset r $k
done
wine client_ryzom_rd.exe
The first line obviously navigates to the location Ryzom is installed in. You may have to modify this to match the actual location on your filesystem, if it differs.
The next four lines fix the problem with holding down certain keys outputting garbage into chat windows (see issues).
The last line starts Ryzom with Wine.
Patching
- Create a file called patch.pl in the Ryzom folder:
Code: Select all
#!/usr/bin/perl
open(INFILE, "updt_nl.bat") or die("$!");
while(<INFILE>){
if(/^del/){
s/\\/\//g;
s/^del //g;
unlink $_;
}else{
if(/^move/){
s/\\/\//g;
s/^move/mv/;
system("$_");
}
}
}
- Make sure the file is executable by typing this into terminal: chmod 0754 patch.pl
- Run this file after a patch. More detail about this issue here.
Issues
Holding down CTRL, SHIFT, or ALT keys outputs garbage into chat windows.
Fix: Add the following to your launcher script, after cd'ing to the Ryzom folder and before starting Ryzom:
Code: Select all
SETREPEAT="50 37 64 62 109 113"
for k in $SETREPEAT; do
xset r $k
done
Thank you blaah for this fix.
Lag spikes every few seconds.
Fix: Set the Windows version to Windows 98 in the Applications tab of winecfg. This might have something to do with other versions emulating (or trying to emulate) NTFS instead of FAT32 for disk access.
Thank you Drakfot for this fix.
Ryzom cannot patch itself normally because the commands in the batch file it uses for updating are not Linux BASH commands.
Fix: See "Patching" section.
Thank you Vasilli for this fix.
Minimizing the Ryzom window causes the positions of the windows in the game interface to become inverted.
Fix: In the Graphics tab of winecfg, check "Emulate a virtual desktop." Set Ryzom to fullscreen. You'll then be able to minimize the wine desktop without messing up Ryzom's interface.
Thank you blaah for this fix.
ryzom_configuration_rd.exe does not work.
Fix: If you can get a hold of Windows' mfc42.dll, place it in the Ryzom folder and then run ryzom_configuration_rd.exe.
Thank you zyrom for this fix.
In case that doesn't work, you'll have to use client.cfg or the ingame System Configuration window to modify settings. You can look in client_default.cfg for settings that might not be present in client.cfg, but you cannot modify client_default.cfg. Instead, if you see a setting that isn't in client.cfg, simply add it to the bottom of client.cfg. That's what I did to force OpenGL (see "Tweaking Ryzom to run correctly" section).
Warning: Modifying configuration files by hand may void your eligibility for support.
Sound does not work. Either it causes a disconnection after a few seconds of being enabled, or it doesn't work at all. In any case, it is currently best to simply disable it.
Fix: Unknown / none.
[/color]