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)

sakya 2012-04-15 14:05

[Maemo 5] Little Big Adventure
 
Hi!

I ported Little Big Adventure engine to Maemo 5.

This is _JUST_ the engine, you will need to original data files in order to play.
Once obtained, create a folder /home/user/MyDocs/.lba/ and copy the files to that dir.

Screenshots:
http://s16.postimage.org/sgv5816xh/screenshot_1.png

http://s15.postimage.org/7wvs2i1xn/screenshot.png

Commands:
Code:

  Arrows    :  Movement
  CTRL      :  Behavior
  Space    :  Menu
  Z        :  Select/Action
  X        :  Action 2
  Q        :  Exit
  A        :  Use weapon
  I        :  Inventory
  P        :  Pause
  H        :  Holomap
  J        :  Protopack

Package: http://maemo.org/packages/view/littlebigadventure/

Acidspunk 2012-04-15 14:31

Re: [Maemo 5] Little Big Adventure
 
Thank you! :)

toxaris 2012-04-15 18:22

Re: [Maemo 5] Little Big Adventure
 
Is there a way to change keylayout?
I would like to play with GameGripper.

sakya 2012-04-15 18:35

Re: [Maemo 5] Little Big Adventure
 
Quote:

Originally Posted by toxaris (Post 1192496)
Is there a way to change keylayout?
I would like to play with GameGripper.

No, the layout is hard coded, sorry.
I can try to make it configurable with a config file.

ivgalvez 2012-04-15 18:36

Re: [Maemo 5] Little Big Adventure
 
Indeed, the Game Gripper is the best complement for the N900.

sakya 2012-04-15 18:44

Re: [Maemo 5] Little Big Adventure
 
Quote:

Originally Posted by ivgalvez (Post 1192499)
Indeed, the Game Gripper is the best complement for the N900.

I ordered it some days ago but I think it's still not available, I'm waiting for it. :)

szopin 2012-04-15 23:55

Re: [Maemo 5] Little Big Adventure
 
Hmm, kind of strange. The binary that was installed segfaults right after initiating audio. The binary that was left in source strangely enough runs (no voices, but movies and sound effects play ok). Your source compiled on-device behaves like the leftover binary in source. One strange behaviour I noticed: in combat mode attacking turns you left some 90 degrees so fighting is very hard.

toxaris 2012-04-16 07:24

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.

Yea if you got the time, it would be great.

sakya 2012-04-16 07:24

Re: [Maemo 5] Little Big Adventure
 
Quote:

Originally Posted by szopin (Post 1192598)
The binary that was installed segfaults right after initiating audio.

Stranger than this: on my system the package from extras devel works (no crash).
Could it be related to sdl-mixer (I have version 1.2.6-5+0m5 installed)?

Quote:

in combat mode attacking turns you left some 90 degrees so fighting is very hard.
I see, I'll try to fix this, thanks.

santiago 2012-04-16 11:26

Re: [Maemo 5] Little Big Adventure
 
doesnt work as well in mine.
Sound seems to be corrupted, in the keyboard just ctrl, z and p, worked fine. Other keys dont. Anyway, i downloaded the lba HQ for dos, i renamed all the files becouse your executable search for downcase names, i renamed all from the upper in downcase.

sakya 2012-04-16 12:02

Re: [Maemo 5] Little Big Adventure
 
Quote:

Originally Posted by santiago (Post 1192729)
doesnt work as well in mine.

Does it crash?

Quote:

Anyway, i downloaded the lba HQ for dos, i renamed all the files becouse your executable search for downcase names, i renamed all from the upper in downcase.
I din't try it with lba HQ, but with lba (the one I downloaded has downcase names and it's the original TwinEngine that works this way).

sakya 2012-04-16 18:56

Re: [Maemo 5] Little Big Adventure
 
Quote:

Originally Posted by szopin (Post 1192598)
in combat mode attacking turns you left some 90 degrees so fighting is very hard.

I fixed this but this wasn't a bug, it was "by design"...only in auto mode.
I cannot remember if the original game had such a behavior (maybe it's to make auto mode less easy?).
Surely this makes fighting too difficult on a mobile device as the n900...

szopin 2012-04-16 23:55

Re: [Maemo 5] Little Big Adventure
 
No, ran this on vista box, 90 degree turn is not part of standard package. Run it in dosbox on desktop and compare, there is lag. Additional awkwardness is useless

sakya 2012-04-17 07:14

Re: [Maemo 5] Little Big Adventure
 
Ok, I'll update the source with this bug fixed, thanks.

kp_welch 2012-04-20 12:44

Re: [Maemo 5] Little Big Adventure
 
hi..can you give detailed instruction on what to copy to .lba folder?
because i have the data files in .zip format,then i unpack it..theres few folder and files there..one of the folder is called LBA..
i create .lba in MyDocs, then i copied the whole folder and files to .lba..but when i start the game, it went back to home screen..
im not sure which to copy or i downloaded the wrong data files?

sakya 2012-04-20 12:53

Re: [Maemo 5] Little Big Adventure
 
In my .lba folder I don't have any subdirectory.
Files are named *.HQR, *.LBA, *.DLL (probably DLLs aren't needed).

sakya 2012-04-20 18:19

Re: [Maemo 5] Little Big Adventure
 
Uploaded an update to fix the "auto fight issue". ;)

NerdKnight 2012-04-21 14:30

Re: [Maemo 5] Little Big Adventure
 
The game doesn't run from the menu icon, but if I excute from terminal /opt/maemo/usr/games/twin-e it runs well. Does this happens to anyone else?

sakya 2012-04-21 17:41

Re: [Maemo 5] Little Big Adventure
 
Yes, I tried now and the menu icon does not work also for me.
Strange, it's just executing the same command.
I'll investigate this issue, thanks.

sakya 2012-04-21 19:50

Re: [Maemo 5] Little Big Adventure
 
Uploaded version 1.0.2 fixing the icon issue. ;)

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 14:25.

vBulletin® Version 3.8.8