Linux

Got a problem getting things to work? Drop us a line here and you'll find all the help you need.
Post Reply
amitst
Posts: 811
Joined: Thu Sep 23, 2004 4:03 pm

Linux

Post by amitst »

I know there is a long thread up there but its full of pure linux complication. For a while I ran a windows machine and a linux machine. I would patch on the windows and copy over the folder to linux, then run from there
a patch several months ago made Ryzom stop working in Linux, but I hear people still use Linux now so I suppose that was fixed.

So my yes/no question is... If I install Ubuntu with all the right sound and video drivers, and cedega, and copy my game folder from my windows machine, would you expect it to work straight up like it use to?
saoirse
blaah
Posts: 1333
Joined: Tue Dec 14, 2004 7:43 am

Re: Linux

Post by blaah »

amitst wrote:So my yes/no question is... If I install Ubuntu with all the right sound and video drivers, and cedega, and copy my game folder from my windows machine, would you expect it to work straight up like it use to?
cedega... dont know, dont have it.

latest wine... yes for game, sound depends what sound card you have. it depends if wine can use hardware mixer (works) or does it run in software mode (not so good).
User avatar
katriell
Posts: 2479
Joined: Mon May 16, 2005 1:36 am

Re: Linux

Post by katriell »

I haven't really messed with getting sound to work, so this is a simplified guide to running Ryzom without sound.
  • Get the recommended packages for Wine, then get Wine. v0.9.27 works well. Compile and install Wine; consult Wine's readme if you need further instructions on this.
  • After installing Wine, type winecfg into terminal.
    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/drive_c or ~/.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.
    Disable any attempt to use sound (it won't work in this method) by unchecking everything in the Audio tab.
  • Copy the Ryzom files from Windows into (probably) ~/.wine/dosdevices/c:/Program Files
  • Open client.cfg in Ryzom's folder:
    add:

    Code: Select all

    Driver3D = "OpenGL";
    HardwareCursor = 1;
    edit:

    Code: Select all

    SoundOn = 0;
  • Create a Perl script in Ryzom's folder called patch.pl:

    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("$_"); 
     } 
     } 
    }
    Do this to patch.pl in the terminal:
    chmod 0754 patch.pl
  • Create script to launch Ryzom, for example, ryzomlauncher.sh:

    Code: Select all

    cd ~/.wine/drive_c/Program\ Files/Ryzom
    
    # Check if there is a updt_nl.bat file, if so, we need to run the patch script.
    if [ -f updt_nl.bat ]
    then
      echo "Patch file found"
      ./patch.pl
    fi
    
    nvidia-settings  -l
    
    export LANG=en_US
    for k in 50 37 64 62 109 113; do xset r $k; done
    
    wine client_ryzom_rd.exe
    
    sleep 20
    for k in 50 37 64 62 109 113; do xset r $k; done
    Remove the nvidia-settings line if you use ATI. I don't know how well it'll work with an ATI card though.
    Do this to the in the terminal:
    chmod +x ryzomlauncher.sh
Now you should be able to simply double-click on ryzomlauncher.sh and click Run to play Ryzom.
Last edited by katriell on Sun Feb 11, 2007 5:15 pm, edited 1 time in total.
Jelathnia, Kasarinia, KianShi, Maethro, ShuaLi, and OPaxie (Arispotle)
TeiJeng (Leanon)

ï = ALT+0239 | advice for mission design | Zoraï masks
long-distance communication | some foods and drinks | Zoraï pictograms
"Ryzom: We dare to be different. Do you dare to adapt?" - Acridiel
amitst
Posts: 811
Joined: Thu Sep 23, 2004 4:03 pm

Re: Linux

Post by amitst »

Thanks, thats all I need to know. If it works in wine then it works equal to or better in cedega afaik
saoirse
User avatar
katriell
Posts: 2479
Joined: Mon May 16, 2005 1:36 am

Re: Linux

Post by katriell »

amitst wrote:Thanks, thats all I need to know. If it works in wine then it works equal to or better in cedega afaik
No, not necessarily. They don't have exactly the same development. Unless something has changed recently, Ryzom doesn't work in Cedega.
Jelathnia, Kasarinia, KianShi, Maethro, ShuaLi, and OPaxie (Arispotle)
TeiJeng (Leanon)

ï = ALT+0239 | advice for mission design | Zoraï masks
long-distance communication | some foods and drinks | Zoraï pictograms
"Ryzom: We dare to be different. Do you dare to adapt?" - Acridiel
User avatar
japamala
Posts: 131
Joined: Mon Oct 30, 2006 10:07 pm

Re: Linux

Post by japamala »

Well, using this method, I get to the nevrax logo.

but it seems to be stalling....

[edit] ok, it got to the login screen, but no text is showing.

after logging in, I get a blank update window.
Characters in Ryzom:

Japa,
Mayadanava
Vishvakarma
blaah
Posts: 1333
Joined: Tue Dec 14, 2004 7:43 am

Re: Linux

Post by blaah »

japamala wrote:but it seems to be stalling....
[edit] ok, it got to the login screen, but no text is showing.
stalling - you probably dont have msvcrt.dll in ryzom or windows/system32 directory and/or you did not tell wine to use native msvcrt.dll in winecfg/libraries tab. check winecfg.
if you already in winecfg, check that you have Windows98 in applications tab or you get no mouse cursor in hardware mode (well, there is workaround for it but win98 is just fine for most ppl)

no text showing - you most probably running in direct3d mode. check client.cfg Driver3D value (should be OpenGL)
blank patch window, is related to no text showing.
Post Reply

Return to “Technical Support”