maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Maemo 5] Little Big Adventure (https://talk.maemo.org/showthread.php?t=83654)

NerdKnight 2012-04-26 20:45

Re: [Maemo 5] Little Big Adventure
 
Quote:

Originally Posted by sakya (Post 1192498)
No, the layout is hard coded, sorry.
I can try to make it configurable with a config file.

did you made some progress whit this? I've been working with the keymapping and I have it almost done, as soon as I finish some details I'll post the code.

sakya 2012-04-26 21:09

Re: [Maemo 5] Little Big Adventure
 
Quote:

Originally Posted by NerdKnight (Post 1198016)
did you made some progress whit this?

No, it's just in my "todo list" :)
If you post a patch I'll upload the updated package (or do it yourself), many thanks.

NerdKnight 2012-04-26 22:30

Re: [Maemo 5] Little Big Adventure
 
Here is the patch file: lba_keymappings.patch

List of changes:
  • The configuration file is stored in /home/user/.littlebigadventure/lba.ini. The directory is created during the package installation and the file is created (if it doesn't exist) the fist time the game runs with the keymappings sakya defined.
  • I used iniParser to parse the config file, I included the source in the patch.
  • I added rm -f twin-e to the clean section of Makefile.maemo

Sakya, let me know if there is something to fix before uploading this patch or if you want me to upload it, thanks

sakya 2012-04-28 12:57

Re: [Maemo 5] Little Big Adventure
 
Uploaded the new package now, I just changed the path of the config file to /home/user/MyDocs/.lba/lba.ini (why create another directory for the config file if we have one ready for it?). :)

daniel_m 2012-04-28 13:55

Re: [Maemo 5] Little Big Adventure
 
Great idea with lba.ini!
For some reason I cannot update because post-installation script exits with "error status 2". The line before in FAPMAN's error log says "unable to execute post-installation script: no such file or directory". LBA is working well so I don't know why I can't update. Maybe it's just my phone ...

sakya 2012-04-28 14:13

Re: [Maemo 5] Little Big Adventure
 
Ops, I forgot to remove the postinst script.
Uploaded now a fix release, it should work now.

daniel_m 2012-05-14 12:39

Re: [Maemo 5] Little Big Adventure
 
Ini file works great and helps a lot. But somehow I didn't manage to get my function key (the green arrow between Ctrl and Shift) to work in the game.

Estel 2012-05-14 20:44

Re: [Maemo 5] Little Big Adventure
 
Blue arrow? It's seen as Alt_Gr (right alt). I don't know, if it's bindable for LBA, but You can try.

daniel_m 2012-05-14 22:59

Re: [Maemo 5] Little Big Adventure
 
Ah, Alt_Gr :-)
Unfortunately doesn't work. Just thought it would be nice to be able to use the left row of keys ...


All times are GMT. The time now is 09:15.

vBulletin® Version 3.8.8