[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
khyle
Posts: 466
Joined: Sun Feb 06, 2005 9:53 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by khyle »

malsehn wrote:ok.... one moment please... ;)

can you tell me the correct lines to disable the client_default.cfg and how the line to enable openGL ?

i run it in console, mit got no dll failure.... i will post it as soon as i can ;)
You don't want to disable client_default.cfg, you only add those lines to your client.cfg, thereby overwriting the default settings in client_default.cfg.

The setting for the 3D driver is

Code: Select all

Driver3D="Auto"; // Valid values are "Auto" or "0", "OpengGL" or "1",
                 // "Direct3D" or "2"
You want "OpenGL" or "1", so in your client.cfg it looks like

Code: Select all

Driver3D="OpenGL"

Again, don't touch client_default.cfg, it is protected and will result in lengthy patch sessions.
The only MMORPG in which you bash each other with wooden swords exclusively.
User avatar
malsehn
Posts: 40
Joined: Sun Nov 12, 2006 7:06 pm

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by malsehn »

maybe i want, because when i change the 3d mode in client.cfg to OpenGL, ryzom starts the patcher, changes back to direct3d and i got my terxture bugs back...

EDIT: Sorry cant read ;) i just want to know how i can enable OpenGL so that ryzom cant change it back to direct3d
Ryzom on Slackware current with various wine versions :)
blaah
Posts: 1333
Joined: Tue Dec 14, 2004 7:43 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by blaah »

malsehn wrote:maybe i want, because when i change the 3d mode in client.cfg to OpenGL, ryzom starts the patcher, changes back to direct3d and i got my terxture bugs back...

EDIT: Sorry cant read ;) i just want to know how i can enable OpenGL so that ryzom cant change it back to direct3d
download client.cfg and move it to your ryzom directory overwriting the client.cfg already there.
(sound will be disabled and it will run in windowed mode, but these two you can easily change in game if you want)
User avatar
malsehn
Posts: 40
Joined: Sun Nov 12, 2006 7:06 pm

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by malsehn »

Ok... strange thing...... i done a reinstall of LinuxMint 4.0 because windows Vista likes to restore my bootrecoord after some patches... now with wine 0.9.49 there is no problem anymore... Configuration too works, textures are ok (since i was able not to switch to OpenGL.....

i dont ask me the question how and why because since 7 years with Linux many things happend noone can explain ;)


Tahnks for that amazing threat guys :)
Ryzom on Slackware current with various wine versions :)
User avatar
23857628
Posts: 43
Joined: Sun Feb 04, 2007 11:12 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by 23857628 »

The working configurator isn't in wine for that long yet. I think it worked with the version I used for the guide though.

Grats on getting it to work :)
Zoine
The Crazy Digger Girl
User avatar
thurmar
Posts: 37
Joined: Tue Aug 14, 2007 3:44 pm

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by thurmar »

dealing with "another" game in linux a fix was brought up to almost double fps by doing the following.. anyone care to try it with ryzom?
Open a terminal window, (konsole/terminal/x terminal etc..) and type regedit. This will start the wine server
and the wine equivalent of the windows registry editor will be displayed. If your familiar with using the registry
editor under windows then this is pretty much the same.
Find HKEY_CURRENT_USER\Software\Wine\

Highlight the wine folder in the left hand pane by clicking left on it. The icon should change to an open folder

Click right on the wine folder and select [NEW] then [KEY]

Replace the text "New Key #1" with OpenGL

Click right in the right hand pane and select [NEW] then [String Value]

Replace "New Value #1" with "DisabledExtensions"
(Notice it's case sensitive)

Then double click anywhere on the line, a dialog box will open.
In the value field type "GL_ARB_vertex_buffer_object" (without the quotes).
Thurmar
Veteran Guide - English Community
camlost2
Posts: 203
Joined: Sat Apr 09, 2005 11:23 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by camlost2 »

Since I did a reinstall of my Kubuntu, I tried Ryzom with Wine 0.9.50 at the same time. Background downloader now works, and your in-game windows and tabs no longer gets messed up when alt-tabbing in and out of Ryzom in full screen mode with no virtual desktop.

Edit: This ofcourse means the Ryzom now runs pretty smoothly and almost straight out of the box, no changes to client.cfg needed. You will have to add msvcrt.dll (as of the patch that introduced the cute little runtime error :) ) under Libraries in winecfg, and set Wine to use to native Windows version. msvcrt.dll is already present in the Ryzom directory so no need to copy any files.
Last edited by camlost2 on Fri Dec 21, 2007 9:30 pm, edited 1 time in total.


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

"You cannot win, if someone lost!"
User avatar
katriell
Posts: 2479
Joined: Mon May 16, 2005 1:36 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by katriell »

camlost2 wrote:your in-game windows and tabs no longer gets messed up when alt-tabbing in and out of Ryzom in full screen mode with no virtual desktop.
Does it still mess up when you minimise Ryzom in windowed mode with no virtual desktop?
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
camlost2
Posts: 203
Joined: Sat Apr 09, 2005 11:23 am

Re: [FAQ] Ryzom in Linux (Reloaded)

Post by camlost2 »

katriell wrote:Does it still mess up when you minimise Ryzom in windowed mode with no virtual desktop?
Just tried it and seems to work ok for me. I also copied over my ooold interface configs and map markers :)

Note that after I wrote my previous post, the tabs and windows did get messed up once, unknown for what reason. I've been alt-tabbing quite a lot already and haven't been able to reproduce it yet. If it happens more I may be able to track down the issue!

Edit: Oh, it's reproducable indeed! :D To trigger it, I need to alt-tab out of Ryzom, click the Desktop button (on my KDE taskbar), then go back into Ryzom. Strange behaviour indeed.

Edit 2: Oh wait, I misread your post at first. Minimizing from windowed mode triggers it too. Guess we are back to square one.. Though, note that alt-tabbing from windowed mode works ok.


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 »

this will fix minimizing ryzom / switching linux desktops problem. in both cases, ryzom window will be resized to 32x32 icon. this will disable that.
because this is hack and not a proper fix, you need to recompile wine from source to apply this ;-)
(i haven't seen any sideeffects in other programs with this patch)

Code: Select all

diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c
index baee122..3061a2a 100644
--- a/dlls/winex11.drv/winpos.c
+++ b/dlls/winex11.drv/winpos.c
@@ -797,10 +797,12 @@ void X11DRV_UnmapNotify( HWND hwnd, XEvent *event )

         EndMenu();
         SendMessageW( hwnd, WM_SHOWWINDOW, SW_MINIMIZE, 0 );
+        /* Disabled for Ryzom
         data->lock_changes++;
         SetWindowPos( hwnd, 0, 0, 0, GetSystemMetrics(SM_CXICON), GetSystemMetrics(SM_CYICON),
                       SWP_NOMOVE | SWP_NOACTIVATE | SWP_NOZORDER | SWP_STATECHANGED );
         data->lock_changes--;
+        */
     }
     else WIN_ReleasePtr( win );
 }

there is second place in same file where window will be resized to 32x32 icon size, but that will be triggered when Ryzom asks to be minimized (like playing in fullscreen and crashing ;-) . not that important, so no patch
Post Reply

Return to “Technical Support”