09-01-2009, 01:50 PM | #11 |
Pledge
Join Date: Jan 2009
Location: Sochi, Russia
Posts: 12
|
Very nice solution!
I use nostromo speedpad for RO and bind all actions as i want, but it will be good if NGD realize free keys bind mapping and separate floating shotcuts pannels.
__________________
Horus/Alsius taucuu/barb as easy frag |
09-01-2009, 02:23 PM | #12 |
Baron
Join Date: Nov 2007
Location: Not where it looks like, to either of us.
Posts: 706
|
The LD_PRELOAD will only affect apps that launch it with that environment set.
Should also point out that if you do it like this (which is slightly wasteful IMO) you don't need to preload, simply set LD_LIBRARY_PATH to the .libs directory you compiled in.
__________________
If you can't detect sarcasm yourself, please pay attention when it's pointed out to you.
Arathael :: Wyrd Sceote :: Gwn M'ger — Soul Taker, Imperial Guard of Ignis |
09-01-2009, 04:23 PM | #13 |
Count
Join Date: Jun 2009
Location: France
Posts: 1,024
|
How did you configure the nostromo speedpad under Linux ?
__________________
Annavilya / War-Luck (Haven)
|
09-02-2009, 04:30 PM | #14 |
Apprentice
Join Date: Jun 2007
Posts: 73
|
If you like to, do it, but i would only include the "not Sticking" patch.
The rest is based on user preference and should not be applied to all users. I will make a trimmed down version later if you need it.
__________________
Regnum: It's Highly Addictive! |
09-03-2009, 09:18 PM | #15 |
Master
Join Date: Feb 2009
Location: France
Posts: 414
|
Hello Zas_
I have tried to apply your patch to my RO on Ubuntu Jaunty, but I got an error :
I don't know what I have to do now. So, if you can help me, it would be nice.
__________________
Nel's VidZ |
09-04-2009, 08:59 AM | #16 | |||
Count
Join Date: Jun 2009
Location: France
Posts: 1,024
|
Quote:
Quote:
Quote:
Code:
apt-get install python-xcbgen After those steps it should work. I'm using a small script to ease the launch (attached). I improved the patch a bit (attached). So to apply: Code:
cd ~ wget http://xcb.freedesktop.org/dist/libxcb-1.4.tar.bz2 tar xjvf libxcb-1.4.tar.bz2 cd libxcb-1.4 patch -p1 < ~/regnum_hack_v0.5.zas.patch.txt ./autogen.sh make ~/ro.sh 2009-11-18 edit: New version 0.5 of the hack, it adds the possibility to map mouse buttons 8 and 9 (tested on Logitech G5) to keyboard keys. By default, i mapped: - spacebar to keypad 0 (same effect) - button UP on mouse to keypad 8 (cast spell 8) - button DOWN on mouse to keypad 9 (cast spell 9) 2009-11-23 edit: Version 0.6 of the patch which is more clean and solve an issue when you click on chat dialog entry instead of using enter. You have to modify hack.h to suit your needs, especially HACK_RES_Y and HACK_CHAT_WIDTH. Thanks to Nel for tests and bug reports.
__________________
Annavilya / War-Luck (Haven)
Last edited by Zas_; 11-23-2009 at 08:18 PM. Reason: Updated patch (mouse buttons 8 and 9 can be remapped) |
|||
09-04-2009, 05:19 PM | #17 |
Master
Join Date: Feb 2009
Location: France
Posts: 414
|
Impeccable !!!
It works really fine.
__________________
Nel's VidZ |
09-04-2009, 08:41 PM | #18 |
Count
Join Date: Jun 2009
Location: France
Posts: 1,024
|
Thanks to Eli2
BTW, use Enter -> Backspace -> Enter sequence to re-activate the keyboard hack if you clicked on chat dialog, because entering in it by mouse is not counted. I hope NGD will make this hack useless soon. Controls should be fully configurable in-game.
__________________
Annavilya / War-Luck (Haven)
|
09-07-2009, 12:53 AM | #19 | |
Master
Join Date: Jul 2008
Location: South Central USA
Posts: 260
|
Quote:
Sure, please do. Just a trimmed down version of the patch would be fine.. I think is OK to include the arrow keys as well. They are dead in RO right now so even as a user preference it will not matter if you dont use them. I'll compile and test and get it included by the next update. Looking at Zas patch while it is certainly nice work is abit too much for a repo candidate... I really must say this is excellent work from all of you - I've thought of doing this myself by havnt had the time. Not much time for RO in general lately lol, I just got a new laptop (YAAAYY!!!! No more crappy chroot hack) and have been spending my time getting it tweaked "just so"
__________________
RA/Syrtis Hunter LVL50: Elusis RA/Syrtis Barba LVL50: Artemisia RA/Syrtis Conju Lvl45: Nellas Miriel Last edited by onemyndseye; 09-07-2009 at 01:05 AM. |
|
09-09-2009, 01:53 PM | #20 |
Count
Join Date: Oct 2008
Location: Sofia, Bulgaria
Posts: 1,374
|
I tried to build libxcb in debian lenny, but ./configure fails because xcb-proto is version 1.1 there and is rather old compared to 1.4, 1.5 version needed to build.
Can someone upload prebuild library if it will work or give me some hints how make this configure and build. I'm really not so good at linux stuff
__________________
RA | Ignis | Lilla My | Conjurer | EVIL IGNIS ROCK Horus | Syrtis | ieti | Conjurer | INQUISITION | LONG GONE |
|
|