[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
zyrom
Posts: 230
Joined: Wed Mar 02, 2005 2:48 am

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

Post by zyrom »

nofftz wrote:Here is the official statement:
....
[/i]
Right, then lets just hope that they get their act together and recode it . The concensus around seems to be that you should stay away from fibers, if there had been and old map of the code a prominent "Beware here be dragons" would have been posted...
Fibers where not designed to solve the problem of coroutines but to solve some very spesific problems some MS customers had with huge MS-SQL installations.

This article discusses the issues with fibers and have some excelent links.

To conclud, if i has a programmer had contemplated using fibers and read that before hand, i would shy the idea like the plague...
You cannot achieve the impossible without attempting the absurd.

Ryzom_on_linux_wiki
nofftz
Posts: 29
Joined: Sun Oct 17, 2004 5:42 pm

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

Post by nofftz »

OK, today I get a bill for a work I cannot use. I actually pay 12,90€ for NOTHING because the game isn't usabe for me. This is the last chance I see. For my opinion I don't care if Nevrax get into insolvency but it seems that that try to even stay there. Very nice!

Very angry,
Alexander Nofftz
User avatar
zyrom
Posts: 230
Joined: Wed Mar 02, 2005 2:48 am

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

Post by zyrom »

patch 118 .... still does'nt work
You cannot achieve the impossible without attempting the absurd.

Ryzom_on_linux_wiki
blaah
Posts: 1333
Joined: Tue Dec 14, 2004 7:43 am

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

Post by blaah »

zyrom wrote:patch 118 .... still does'nt work
just for fun, booted to linux, got latest wine from cvs, patched ryzom and it's working (sort of)
shift/alt/ctrl still gives trouble ;-( (have not tried DisableDirectInput=1 in client.cfg)

sound !! started to work, when i used "nice -n 19" on wine ;-)

it has small lock ups... like when remaping keys, need to wait few sec for every key lol
have no idea what causes this, probably memory handling in wine (some previous versions made kswapd mad when running ryzom)

Amd 1.8Ghz (Barton), 1G RAM, (slow) HDD
GForce 3 Ti200, Xorg, Wine from CVS (2006-14-01)
edit: graphic driver "NVIDIA 71.74"

long story short...
---
export CVSROOT= :p server:cvs@cvs.winehq.com:/home/wine
cvs login
cvs -z 3 checkout wine
cd wine
./configurure --prefix=/usr/local/wine
make depend && make
sudo make install
~/bin/ryzom

-- ~/bin/ryzom : cut here --
WINE=/usr/local/wine
export LD_LIBRARY_PATH=$WINE/lib:$LD_LIBRARY_PATH
cd ~/c/Ryzom
[ -f updt_nl.bat ] && (
fromdos updt_nl.bat && (
cat updt_nl.bat | \
egrep "^move.*" | \
sed -e 's/move\ /mv\ /' | \
sed -e 's/\\/\//g' \
> updt_nl.sh
pwd
sh updt_nl.sh
mv updt_nl.bat "updt_bl-`date +"%Y-%m-%d"`.bat"
)
)
nice -n 19 $WINE/bin/wine client_ryzom_rd.exe
-- cut here --

in client.cfg,
--
RootConfigFilename = "client_default.cfg";
Driver3D = "OpenGL";
Frequency = 85;
FullScreen = 1;
Width = 1024;
Height = 768;
SoundOn = 1;
PositionX = -12;
PositionY = -17;
DisableVtxProgram = 0;
DisableVtxAGP = 0;
DisableTextureShdr = 0;
ProcessPriority = -1;
--
.. and some others less important stuff.
if it complains missing conf params (it did for me ;-) , then just add them to client.cfg with "" (empty sting with quotes) as value.
Last edited by blaah on Sat Jan 14, 2006 12:43 am, edited 1 time in total.
blaah
Posts: 1333
Joined: Tue Dec 14, 2004 7:43 am

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

Post by blaah »

finally...

it seems that cure for shift/ctrl/alt garbage, is putting those 3 to autorepeat mode.

--
# Left Shift/Ctrl/Alt / Right Shift/Ctrl/Alt
SETREPEAT="50 37 64 62 109 113"
for k in $SETREPEAT; do
xset r $k
done
--
add that to your ryzom startup script
User avatar
zyrom
Posts: 230
Joined: Wed Mar 02, 2005 2:48 am

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

Post by zyrom »

well i was refering to "not working under Cedega"... it "works" if you can call it that under wine, but it leaves a hole lot to be desiered...
You cannot achieve the impossible without attempting the absurd.

Ryzom_on_linux_wiki
User avatar
zyrom
Posts: 230
Joined: Wed Mar 02, 2005 2:48 am

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

Post by zyrom »

blaah wrote:finally...
...
it seems that cure for shift/ctrl/alt garbage, is putting those 3 to autorepeat mode.
....
Hmm doesnt work for me, shift,ctrl,alt still spews out garbage when direct input is enabled... this becouse i think dinput dont give a hoot about what the repeat is set to in X, it does its own repeat.

The workaround is to be avare that the garbage only comes if you hold either of the keys down long enough for them to autorepeat, if you press / release anothe key while holding shif/crtl/alt down there is no garbadge.
You cannot achieve the impossible without attempting the absurd.

Ryzom_on_linux_wiki
blaah
Posts: 1333
Joined: Tue Dec 14, 2004 7:43 am

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

Post by blaah »

zyrom wrote:Hmm doesnt work for me, shift,ctrl,alt still spews out garbage when direct input is enabled... this becouse i think dinput dont give a hoot about what the repeat is set to in X, it does its own repeat.
it's actually x11drv (in wine) what handles that (or i think it is)
running wine with ...
WINEDEBUG=+keyboard ~/bin/ryzom | grep "keyboard"
... will give this.
--
trace:keyboard :X 11DRV_ToUnicodeEx ShiftMask = 0001
trace:keyboard :X 11DRV_ToUnicodeEx AltGrMask = 0000
trace:keyboard :X 11DRV_ToUnicodeEx Found keycode 50 (0x32)
trace:keyboard:KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ffe1
trace:keyboard :X 11DRV_ToUnicodeEx ShiftMask = 0001
trace:keyboard :X 11DRV_ToUnicodeEx AltGrMask = 0000
trace:keyboard :X 11DRV_ToUnicodeEx Found keycode 50 (0x32)
trace:keyboard:KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ffe1
trace:keyboard :X 11DRV_ToUnicodeEx ShiftMask = 0001
trace:keyboard :X 11DRV_ToUnicodeEx AltGrMask = 0000
warn:keyboard :X 11DRV_ToUnicodeEx Unknown virtual key A0 !!!
--
by enabling shift/alt/ctrl autorepeat, it does not happen (for me anyway)
Using window manager (WindowMaker for me) hotkeys (Alt-1 to change desktop), still gives garbage tho

been running ryzom for some 4 hours straight and using shift/alt/ctrl successfully

running Xorg 6.9.0
User avatar
zyrom
Posts: 230
Joined: Wed Mar 02, 2005 2:48 am

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

Post by zyrom »

hmm intersting, the difference being that you are running the CVS version of wine and a 6.9 Xorg, in running wine 0.9.5... if you hold down any of the shift ctlrl alt key long enough, will the winedbug repeating keys ?
You cannot achieve the impossible without attempting the absurd.

Ryzom_on_linux_wiki
blaah
Posts: 1333
Joined: Tue Dec 14, 2004 7:43 am

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

Post by blaah »

zyrom wrote:if you hold down any of the shift ctlrl alt key long enough, will the winedbug repeating keys ?
yep, if i hold down shift/alt/ctrl key, wine shows that it gets repeated.

for left shift, this:
---
trace:keyboard :X 11DRV_ToUnicodeEx ShiftMask = 0001
trace:keyboard :X 11DRV_ToUnicodeEx AltGrMask = 0000
trace:keyboard :X 11DRV_ToUnicodeEx Found keycode 50 (0x32)
trace:keyboard:KEYBOARD_MapDeadKeysym no character for dead keysym 0x0000ffe1
---

Ryzom seems to be happy with that (dont think x11drv will pass shift/alt/ctrl keycodes to app, only flags probably)
Post Reply

Return to “Technical Support”