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

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

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

Post by maryen »

the alpha for the installer is on my downloads at sourceforge.

this is barely working right now (only cabextract install is working on the current download), but I would appreciate it if someone would download it and tell me any errors it gives you.

Also, to get it working, you will need your distro's PyQt packages installed. if there are -dev versions of the package I would suggest that. Do not install PyQt4, as this is not compatible with the Qt4 libraries.
Last edited by maryen on Fri Mar 30, 2007 11:53 pm, edited 1 time in total.
User avatar
ptitmain
Posts: 63
Joined: Thu Jun 16, 2005 8:58 am

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

Post by ptitmain »

I was not able to use the V2.0 version. I obtained:

cavalier@cavalier:~/swap/Rally_v2.0.0$ ./Rally.py
./Rally.py: line 1: import: command not found
from: can't read /var/mail/qt
from: can't read /var/mail/Install
from: can't read /var/mail/progress
from: can't read /var/mail/form21
from: can't read /var/mail/Ryzom
./Rally.py: line 9: syntax error near unexpected token `('
./Rally.py: line 9: `location['home'] =commands.getoutput('$HOME')[4:-16]'

I should post a bug report in sourceforge. Maybe we should continue the discussion elsewhere than in this thread...

I am currently testing the V1.2 version, which seems in text mode. The installer is downloading the client right now... Personally, I think you should keep a text version of the installer because GUI is probably not so useful and dependencies can be difficult to satisfy.
--- Ingmar.
User avatar
akicks
Posts: 481
Joined: Wed Oct 27, 2004 6:10 pm

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

Post by akicks »

ptitmain wrote:I should post a bug report in sourceforge. Maybe we should continue the discussion elsewhere than in this thread...
This thread is the perfect place to discuss issues with installing ryzom on linux. Where else will you find all of the people that play ryzom on linux?
User avatar
kaetemi
Posts: 1547
Joined: Tue Sep 21, 2004 6:33 pm

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

Post by kaetemi »

Oookay, since there are obviously people here who know how to do stuff, i'll post it here ^^

http://kaetemi.be/ryzom/ryzom_install.zip
This file contains the code of an experimental Ryzom Downloader written in C#. It might actually just work in mono, but since it's not really useful yet for anything, other than downloading the files and placing them in the right location, you shouldn't really try to use it for anything other than researching stuff.

So what it basically does is the following:
- Ask where to put the resulting files.
- Get the url to the patch server (which they put in an xml file that you can get at another url).
- List all IPs of the host of that url, and allow the user to choose one.
- Check which version there is available.
- Then for each file it wants to download... It just tries to find which is the latest version by attempting to download the compressed lmza until it doesn't get error 404 (all the way from the current ryzom version to 0).
- It then extracts each lzma compressed datafile right after it has downloaded it.
- Places it where it's needed, and extracts the bnp if needed.
(i'll be posting a few needed changes later...)

Since this is not really a decent way to do things, I'm only putting this here to give you all somewhere to start, so that eventually a fully working installer/downloader for Linux could be made.
- Kaetemi [Kami] [Fyros] [Elder of Atys] [NeL Developer]
Rebuild the Kami faction and save Atys from the Karavan! Join the Kami Alliance! Freedom to the Players!
User avatar
kaetemi
Posts: 1547
Joined: Tue Sep 21, 2004 6:33 pm

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

Post by kaetemi »

Since i'm not planning to figure out the format of the .idx files (which contain the patch info), I suggest that, instead of brute-forcing for the latest version each time, a tool be made which does that once after every patch and outputs an xml file like this, which would be served on someone's webhost: (more suggestions within xml)

Code: Select all

<install>
	<!-- First the installer downloads the patch location from the url, as usual. It won't be provided in this file. -->
	<!-- And ofc asks the usual installation questions. -->
	<types>
		<!-- Then the user is asked how much of the client he wants to install. -->
		<type level="0" name="Main files only (less than 150MB download)" />
		<type level="1" name="Ruins of Silan (blahblahblah)" />
		<type level="2" name="Full Installation (lots of dl)" />
	</types>
	<files>
		<!-- All files with a level lower or equal than the install type level are downloaded -->
		<!-- The lmza files should be stored in a folder name containing the version number, for easy re-use if needed -->
		<lzma level="0" version="00500" bnp="cfg.bnp" />
		<lzma level="0" version="00620" bnp="exedll.bnp" />
		<lzma level="0" version="00620" bnp="fonts.bnp" />
		<lzma level="0" version="00607" bnp="construction.bnp" />
		<lzma level="0" version="00613" bnp="data_common.bnp" />
		<lzma level="0" version="00618" bnp="gamedev.bnp" />
		<!-- ... etc etc etc -->
	</files>
	<actions>
		<!-- All actions with a level lower or equal than the install type level are done -->
		<!-- This could be done multi-threaded while downloading; for each action, the thread would then wait until the required bnp is downloaded. -->
		<extract level="0" bnp="cfg.bnp" to="cfg/" />
		<move level="0" bnp="cfg.bnp" to="unpack/" />
		<extract level="0" bnp="exedll.bnp" to="" />
		<move level="0" bnp="exedll.bnp" to="unpack/" />
		<extract level="0" bnp="fonts.bnp" to="data/fonts/" />
		<move level="0" bnp="fonts.bnp" to="unpack/" />
		<move level="0" bnp="construction.bnp" to="data/" />
		<move level="0" bnp="data_common.bnp" to="data/" />
		<move level="0" bnp="gamedev.bnp" to="data/" />
		<!-- ... etc etc etc -->
	</actions>
</install>
Reading the source of my installer might help you understand everything in there ^^
- Kaetemi [Kami] [Fyros] [Elder of Atys] [NeL Developer]
Rebuild the Kami faction and save Atys from the Karavan! Join the Kami Alliance! Freedom to the Players!
User avatar
kaetemi
Posts: 1547
Joined: Tue Sep 21, 2004 6:33 pm

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

Post by kaetemi »

Got Ryzom running on an AMD Duron 800 MHz with 256 MB RAM and a GeForce 2 MX 440 (32 MB RAM) graphics card, running Ubuntu 7.04 and Wine 0.9.33, at an average of about 8 frames per second for over 7 hours and a half without crashing. ^^
- Kaetemi [Kami] [Fyros] [Elder of Atys] [NeL Developer]
Rebuild the Kami faction and save Atys from the Karavan! Join the Kami Alliance! Freedom to the Players!
User avatar
scope006
Posts: 19
Joined: Mon Dec 18, 2006 9:55 pm

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

Post by scope006 »

How does Ryzom run for you guys in linux using wine? I would assume pretty well seeing that OpenGL is an option for this game. As of this date/time, what is the prefered method of getting the game running in linux? I run ubuntu and am interested in trying to play from linux. Thanks.
User avatar
kaetemi
Posts: 1547
Joined: Tue Sep 21, 2004 6:33 pm

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

Post by kaetemi »

Well, I copied the installation folder from my win pc to my linux machine, and put it in the wine drive c program files folder. Some required DLL files for your wine drive c windows folder, can be downloaded from here http://support.microsoft.com/kb/259403/en. Then just try to launch it and play a bit with the wine settings...
- Kaetemi [Kami] [Fyros] [Elder of Atys] [NeL Developer]
Rebuild the Kami faction and save Atys from the Karavan! Join the Kami Alliance! Freedom to the Players!
User avatar
23857628
Posts: 43
Joined: Sun Feb 04, 2007 11:12 am

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

Post by 23857628 »

Ryzom runs very well, if not even better than on Windows, on a recent version of wine. I'm myself using the latest git version (developement version) of wine compiled from source.

Recently the Alsa Sound System has gotten some love from the wine-devs. As it is now the de facto standard "sounddriver" in most distributions you can even have nice sound, without having to run wine in "OSS" emulation mode.

You should set your wineversion to winxp or win2000 for the mousecursor of Ryzom to display correctly. After that you should set HardwareCursor = 1; inside your client.cfg.

For ryzom_configuration_rd.exe to run you still need an mfc42.dll from your windows installation or you could google for it on the web.

The installer of the game may still crash near the end but you can safely ignore that, as all has been set up by that point. (have not tested the installer recently, so it might well work now, as the InstallShield support was also heavily improved lately)

For more in-detail questions and problems about running Ryzom on Linux I'm happy to receive your mails or you could contact me on Icq. Please don't abuse it! ;)
Last edited by 23857628 on Sat Jul 07, 2007 8:45 pm, edited 1 time in total.
Zoine
The Crazy Digger Girl
User avatar
scope006
Posts: 19
Joined: Mon Dec 18, 2006 9:55 pm

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

Post by scope006 »

I installed the latest wine version for ubuntu from the official wine repositories, and then grabbed a few winxp dll and made a regedit tweak for OpenGL in the wine registry editor. Next I made sure I tweaked a couple things for my ATI vid card. Finally I downloaded the installer and ran "wine ryzominstaller.exe" and BAM it ran the whole install, the game ran, and the updater actually runs in the system tray too!

The only issues I have seen are:
1) no sound
2) no frill/vegetation on the ground at all. If I enable pixel shaders and log in I see all the extra vegetation but the game suddenly freezes.

Any pointers?

Also if it would be helpful I can write a guide to getting the game installed; borrowing from the Ubuntu guides for WoW I based it off of.
Sarc
<The Pyr Militia>
Fyros Elementalist
Post Reply

Return to “Technical Support”