maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [OS2008] New Port: Jagged Alliance 2 Engine (https://talk.maemo.org/showthread.php?t=16138)

Bundyo 2008-02-10 00:15

Re: New Port: Jagged Alliance 2 Engine
 
@cyber, what fs do you have on mmc1?

ukki 2008-02-10 00:20

Re: New Port: Jagged Alliance 2 Engine
 
Quote:

Originally Posted by cyberbillp (Post 140382)
I'm not having any luck, (even as root) changing the group of ja2data to "users".

I keep getting operation not permitted. Any one have any ideas?

You don't need to chown the data on memory card, it's a fat-partition and doesn't support it. Is there a directory named Data inside your ja2data directory? If so, make sure to chown the preferences dir to user if you have started the game as root at some point.

chown -R user:users /home/user/.ja2

Then try to start the game from xterm with 'jagged' and post possible error messages here.

ukki 2008-02-10 00:35

Re: New Port: Jagged Alliance 2 Engine
 
1 Attachment(s)
Quote:

Originally Posted by LordFu (Post 140376)
Is it possible to stretch the image to fullscreen? I bet it wouldn't look bad if you did.

It would require some work to get menus etc. working with the 800x480 resolution. But if I define the resolution to 800x480, it somewhat works. Menus etc start from left and are not centered anymore, but on tactial mode the map fills the screen like it should. Gui elements are still 640 pixel wide, so it looks a bit funny, but maybe something we can live with. Attached a screenshot.

cyberbillp 2008-02-10 00:43

Re: New Port: Jagged Alliance 2 Engine
 
no luck still. :-(

~ $ jagged
Sorry - server Keyboard map doesn't contain either 2 or 4 KeySyms per Keycode - unsupported!
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Segmentation fault
~ $


maybe it's because I installed xkbd?

ukki 2008-02-10 00:52

Re: New Port: Jagged Alliance 2 Engine
 
Quote:

Originally Posted by cyberbillp (Post 140401)
maybe it's because I installed xkbd?

It shouldn't matter, but if you want to be sure, start the game with 'ja2 -fullscreen'

I'm starting to believe there's something wrong with your data-files. How big is your data dir? You could try installing strace package and try running 'strace ja2 -fullscreen' and post the output here.

cyberbillp 2008-02-10 02:05

Re: New Port: Jagged Alliance 2 Engine
 
Fullscreen didn't help. I'll find strace. But first, my data directory is:
621.8MB (651,999,324)
178 files, 13 sub-folders

Does that sound right?

pipeline 2008-02-10 02:08

Re: New Port: Jagged Alliance 2 Engine
 
heres my dir (top level) :
Code:

/media/mmc2/jagged/Data$ ls -l
-rw-r--r--    1 user    root      281098 Feb  9 19:33 Ambient.slf
-rw-r--r--    1 user    root    59226796 Feb  9 19:33 Anims.slf
-rw-r--r--    1 user    root    16177338 Feb  9 19:32 BattleSNDS.slf
-rw-r--r--    1 user    root      589854 Feb  9 19:32 Bigitems.slf
drwxrwxrwx    2 user    root        32768 Feb  9 19:33 BinaryData
-rw-r--r--    1 user    root      2047959 Feb  9 19:32 Binarydata.slf
-rw-r--r--    1 user    root      213001 Feb  9 19:32 Cursors.slf
-rw-r--r--    1 user    root      2057190 Feb  9 19:32 Data.slf
-rw-r--r--    1 user    root      6016442 Feb  9 19:32 Faces.slf
-rw-r--r--    1 user    root      399352 Feb  9 19:32 Fonts.slf
-rw-r--r--    1 user    root      8663775 Feb  9 19:32 Interface.slf
-rw-r--r--    1 user    root    72223192 Feb  9 19:32 Intro.slf
-rw-r--r--    1 user    root      9105761 Feb  9 19:31 Laptop.slf
-rw-r--r--    1 user    root    26843078 Feb  9 19:31 Loadscreens.slf
-rw-r--r--    1 user    root    78864275 Feb  9 19:31 Maps.slf
drwxrwxrwx    2 user    root        32768 Feb  9 19:33 Mercedt
-rw-r--r--    1 user    root      3757205 Feb  9 19:30 Mercedt.slf
-rw-r--r--    1 user    root    104434204 Feb  9 19:30 Music.slf
drwxrwxrwx    2 user    root        32768 Feb  9 19:33 NpcData
drwxrwxrwx    2 user    root        32768 Feb  9 19:33 Npc_Speech
-rw-r--r--    1 user    root    182015718 Feb  9 19:29 Npc_speech.slf
-rw-r--r--    1 user    root      2245528 Feb  9 19:29 Npcdata.slf
-rw-r--r--    1 user    root      1678333 Feb  9 19:28 Radarmaps.slf
drwxrwxrwx    2 user    root        32768 Feb  9 19:33 ShadeTables
-rw-r--r--    1 user    root    19030241 Feb  9 19:28 Sounds.slf
-rw-r--r--    1 user    root    231850918 Feb  9 19:27 Speech.slf
drwxrwxrwx    2 user    root        32768 Feb  9 19:33 Temp
drwxrwxrwx    2 user    root        32768 Feb  9 19:33 Tilecache
-rw-r--r--    1 user    root    71646928 Feb  9 19:25 Tilesets.slf
drwxrwxrwx    2 user    root        32768 Feb  9 19:33 stsounds
drwxrwxrwx    5 user    root        32768 Feb  9 19:33 tilesets


pipeline 2008-02-10 02:19

Re: New Port: Jagged Alliance 2 Engine
 
I got it running, looks great...

I noticed its tricky examining items, any way to adjust keybindings? Maemo hardware buttons are F8, F6, F8, F4 and ESC (since appears its not used). You using those for anything?

I noticed the desktop version lets you hold control down while clicking left mouse button and you only move if theres something to examine? That might be nice to bind to hardware button.

I'm looking at source and its too bad its all hardcoded but maybe you could edit sgp/Input.c QueueKeyEvent and add something like if (Key == K_F6) ModifierState |= CTRL_DOWN;

The rest of the keys bindings are elsewhere but you might be able to translate them here too. if (Key == K_F8) Key = 'x'; or whatever.

Otherwise looks fun... realtime and turn based strategy games are my favorite actually, but i never got around to this game before so its all new.

BTW i think Steam version does -not- work. I bought steam version and the files appear different structure so i 'acquired' a compliant version to make up for this.

philmcneal 2008-02-10 02:42

Re: New Port: Jagged Alliance 2 Engine
 
omfg i can't believe i lost my jagged allience disk a long time ago, WHAT A CLASSSIC I ACAN"T WAIT TO PUT ON MY n800 IF ONLY IF IT WOULD ARRIVE IN THE MAIL ARGH!!! i even have the screen protector and pouch ready!

WOW i can't believe some great brillant mind decided to import this

LordFu 2008-02-10 03:05

Re: New Port: Jagged Alliance 2 Engine
 
Quote:

Originally Posted by ukki (Post 140397)
It would require some work to get menus etc. working with the 800x480 resolution. But if I define the resolution to 800x480, it somewhat works. Menus etc start from left and are not centered anymore, but on tactial mode the map fills the screen like it should. Gui elements are still 640 pixel wide, so it looks a bit funny, but maybe something we can live with. Attached a screenshot.

That looks great, IMO.

Quote:

Originally Posted by cyberbillp (Post 140417)
Fullscreen didn't help. I'll find strace. But first, my data directory is:
621.8MB (651,999,324)
178 files, 13 sub-folders

Does that sound right?

That's off from mine.

13 Folders, 180 files
860.5 MB

I have regular JA2. What version are your files from?


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

vBulletin® Version 3.8.8