Page 12 of 37

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

Posted: Fri Jan 06, 2006 6:25 pm
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...

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

Posted: Sat Jan 07, 2006 2:51 am
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

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

Posted: Thu Jan 12, 2006 8:59 pm
by zyrom
patch 118 .... still does'nt work

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

Posted: Sat Jan 14, 2006 12:17 am
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.

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

Posted: Sat Jan 14, 2006 3:00 am
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

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

Posted: Sat Jan 14, 2006 1:28 pm
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...

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

Posted: Sat Jan 14, 2006 2:50 pm
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.

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

Posted: Sat Jan 14, 2006 4:20 pm
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

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

Posted: Sat Jan 14, 2006 4:56 pm
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 ?

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

Posted: Sat Jan 14, 2006 9:06 pm
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)