Page 1 of 1

Linux

Posted: Thu Feb 08, 2007 9:18 pm
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?

Re: Linux

Posted: Thu Feb 08, 2007 9:41 pm
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).

Re: Linux

Posted: Thu Feb 08, 2007 10:20 pm
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.

Re: Linux

Posted: Thu Feb 08, 2007 10:36 pm
by amitst
Thanks, thats all I need to know. If it works in wine then it works equal to or better in cedega afaik

Re: Linux

Posted: Thu Feb 08, 2007 10:56 pm
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.

Re: Linux

Posted: Sat Feb 10, 2007 5:48 pm
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.

Re: Linux

Posted: Sun Feb 11, 2007 4:00 pm
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.