maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Preenv webOS games compatibility list (https://talk.maemo.org/showthread.php?t=64392)

govprog 2011-05-11 16:47

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by AgogData (Post 1003668)
can some1 confirm that UConnect and UFlip doesn't save the game after closing just like Rednecks Vs Aliens to update the wiki ?

Maybe they save the game in a different location.
Have you tried looking into the /media/ folder?
Quote:

Originally Posted by zifis (Post 1004023)
Hey all.

I installed angry birds seasons and angry birds rio and I noticed that the graphics are poor.

Can that be fixed or is it because o the lower resolution of the game?

I don't know if that could help, but it seems that the rovio itself has set the ExternalZBuffer to 0(in Angry Birds Maemo version) visit the /opt/rovio(?)/angrybirds/powervr.ini file (or use the find command because honestly, I don't remember the exact position)

AgogData 2011-05-11 17:42

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 1004303)
Maybe they save the game in a different location.
Have you tried looking into the /media/ folder?

i installed them by a .deb files, what should i do in the media folders ?

govprog 2011-05-11 17:59

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by AgogData (Post 1004317)
i installed them by a .deb files, what should i do in the media folders ?

Look for a save game. For example, gangstar's save game is named Gangstar2.sav. The Cronk game also saves there(in an individual folder with the same name.)

Nokia 5700 2011-05-11 18:34

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 1004325)
Look for a save game. For example, gangstar's save game is named Gangstar2.sav. The Cronk game also saves there(in an individual folder with the same name.)

Gangstar? :confused:

AgogData 2011-05-11 23:47

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 1004325)
Look for a save game. For example, gangstar's save game is named Gangstar2.sav. The Cronk game also saves there(in an individual folder with the same name.)

well, in UFlip and UConnect there is only two folders (images which contain pics and sounds which contains .wav files) and 4 files in the main game folder (.pulse cookie, appinfo.json, icon.png and UFlip/UConnect) no save game files around

jflatt 2011-05-12 03:01

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by AgogData (Post 1004569)
well, in UFlip and UConnect there is only two folders (images which contain pics and sounds which contains .wav files) and 4 files in the main game folder (.pulse cookie, appinfo.json, icon.png and UFlip/UConnect) no save game files around

UConnect creates a file /.db which is an sqlite database. / is normally not writable by user, you can work around it with
Code:

sudo gainroot
chmod 777 /

I've tried symlinking and copying the file to the local directory and setting permissions on just the file, but nothing seems to save except for the above hack. Also keep in mind sqlite creates a .db-journal file also. I'm sure there's a better way, and I'm really curious to see how a real Pre has its root permissions. I haven't tried UFlip, but my guess is that it uses the same /.db file.

Edit - UFlip writes the same /.db which blows out any UConnect settings. There must be something wrong here

govprog 2011-05-12 17:01

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Nokia 5700 (Post 1004351)
Gangstar? :confused:

Yes. Didn't knew it? It actually does create a save game before it crashes.
Quote:

Originally Posted by AgogData (Post 1004569)
well, in UFlip and UConnect there is only two folders (images which contain pics and sounds which contains .wav files) and 4 files in the main game folder (.pulse cookie, appinfo.json, icon.png and UFlip/UConnect) no save game files around

Glad that jflatt finally found it. I expected that the save game would be somewhere in the root, but my guess was wrong eventually (Perhaps; Because that was the thing I understood from his word and maybe I misunderstood him).
Quote:

Originally Posted by jflatt (Post 1004613)
I've tried symlinking and copying the file to the local directory and setting permissions on just the file, but nothing seems to save except for the above hack.

I have seen that too. Most pre games create a save game on the location they want. Regardless of the symlinks made, they override the symlink and create a new save game on it.

AgogData 2011-05-12 17:08

Re: Preenv webOS games compatibility list
 
I opened the game and looked into its folder and in opt/preenv folder but didn't find any newly created file, where could that new file be ?

govprog 2011-05-12 17:14

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by AgogData (Post 1005006)
I opened the game and looked into its folder and in opt/preenv folder but didn't find any newly created file, where could that new file be ?

You did the thing jflatt said and it didn't work?

javispedro 2011-05-12 17:26

Re: Preenv webOS games compatibility list
 
They do not have permission on real pre to write to / due to jail (since 1.4.0 though!!!). So something wrong there.

jflatt 2011-05-12 17:29

Re: Preenv webOS games compatibility list
 
UFlip and UConnect are hitting /proc/cmdline stuff just before opening the /.db, so maybe it's having trouble finding a path

AgogData 2011-05-12 17:40

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 1005014)
You did the thing jflatt said and it didn't work?

chmod-ing 777 the .db file ? i didn't even find it but i chomd-ed the UFlip file itself and didn't work

Brian_7 2011-05-12 18:49

Re: Preenv webOS games compatibility list
 
I used chmod -R 777 folder-of-uflip and didn't work

travla 2011-05-13 02:15

Re: Preenv webOS games compatibility list
 
1 Attachment(s)
Hey guys,
I'd run an strace UFlip a couple of weeks ago and found the same reference to .db and .db-journal. Sorry I forgot to post, I've been a little preoccupied lately.

Anyway, I had created empty files in vi at the root location, and did chmod 664 (rw-rw-r--), and the game did update the modified date/time. I've attached them here (as a ZIP with the preceding . removed), looks like it doesn't (can't?) write to the .db (0 byte filesize) but no problem writing the .db-journal.

Not sure if this is of any help to anyone, I can try other scenarios if anyone has some ideas.

govprog 2011-05-13 08:19

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by travla (Post 1005264)
Hey guys,
I'd run an strace UFlip a couple of weeks ago and found the same reference to .db and .db-journal. Sorry I forgot to post, I've been a little preoccupied lately.

Anyway, I had created empty files in vi at the root location, and did chmod 664 (rw-rw-r--), and the game did update the modified date/time. I've attached them here (as a ZIP with the preceding . removed), looks like it doesn't (can't?) write to the .db (0 byte filesize) but no problem writing the .db-journal.

Not sure if this is of any help to anyone, I can try other scenarios if anyone has some ideas.

Thanks for the assist.
Can you write the strace log here too please? (Since I don't have the game.)
Quote:

Originally Posted by AgogData (Post 1005030)
chmod-ing 777 the .db file ? i didn't even find it but i chomd-ed the UFlip file itself and didn't work

I guess jflatt was talking about the / (Top of all folders) though.
EDIT:And I guess something similar happens with the R vs. A .

shuraizo 2011-05-13 08:39

Re: Preenv webOS games compatibility list
 
I played R v A just fine until level 74 so far.. no saving problem..

But i didn't use .deb file, i installed it manually by extracting the .ipk

travla 2011-05-13 08:45

Re: Preenv webOS games compatibility list
 
1 Attachment(s)
Quote:

Originally Posted by govprog (Post 1005348)
Thanks for the assist.
Can you write the strace log here too please? (Since I don't have the game.)

I guess jflatt was talking about the / (Top of all folders) though.
EDIT:And I guess something similar happens with the R vs. A .

No prob, attached to this post. It seems to want to write to the db after each page/screen is completed (and it throws an in-game error on the first attempt). Would love to hear how you go....

BTW, best compression I've seen in a long time, 1.05 Mb text file down to 57 Kb.... LOL, must be a lot of repetition in the trace.

N900L 2011-05-13 09:13

Re: Preenv webOS games compatibility list
 
its a bitlogik problem all their games dont save

govprog 2011-05-13 12:03

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by N900L (Post 1005374)
its a bitlogik problem all their games dont save

If you didn't understand what to do, you can run it as root, for now.(Although this is not going to be a good solution)

N900L 2011-05-13 12:14

Re: Preenv webOS games compatibility list
 
what i understood is that they are still looking for a solution
or they are looking for a better solution
what i meant is that all bitlogik games have this problem
thanks for all good work.

AgogData 2011-05-13 12:30

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by shuraizo (Post 1005359)
I played R v A just fine until level 74 so far.. no saving problem..

But i didn't use .deb file, i installed it manually by extracting the .ipk

Nokia N900 ? =)

shuraizo 2011-05-13 12:52

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by AgogData (Post 1005470)
Nokia N900 ? =)

Of course lol

I extracted the com... folder, pack it into .tar
and then extract it in n900, and do a desktopgen afterwards..

It gets really repetitive after level 60ish though..
Once you've bought all weapons & upgrades there isn't anything left to do..

N900L 2011-05-14 05:30

Re: Preenv webOS games compatibility list
 
is there fake multitouch for pocket chef ?

laith.m.y 2011-05-14 14:23

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by N900L (Post 1005938)
is there fake multitouch for pocket chef ?

http://www.mediafire.com/?ys8rv1yqoqoh790

press e and put your finger on the right part of the egg and pull toward right side of the screen

plz tell me if it work with you , becouse it work with me but it dont with somebody

N900L 2011-05-14 15:51

Re: Preenv webOS games compatibility list
 
doesnt seem to work for me.
i tried everything to get it work.
thank you for your help.

javispedro 2011-05-14 17:44

Re: Preenv webOS games compatibility list
 
Well, seems that apps can write to / after all.

For some reason the jail allows this and doesn't clean leftover files when dismantling it (printing "Directory not empty" on syslog ... which makes me believe this is an error on their part, or a compatibility stub), so they will be on / again when the game starts.

XenGi 2011-05-15 03:43

Re: Preenv webOS games compatibility list
 
I'm looking for the numeric values for the german key mapping. most of them I found myself but there are still some unknown keys. maybe somebody can help:
http://pastebin.com/QCJZLYcW
I meen the numbers that you can use for gconftool-2 to configure keys parts of the screen.

The list I wrote reads as follows:
key-white key-blue - number

travla 2011-05-15 03:48

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 1006297)
Well, seems that apps can write to / after all.

For some reason the jail allows this and doesn't clean leftover files when dismantling it (printing "Directory not empty" on syslog ... which makes me believe this is an error on their part, or a compatibility stub), so they will be on / again when the game starts.

It would seem crazy to allow this, is there anything that could be done in preenv environment to redirect saves from / to /somewhere/else?

jflatt 2011-05-17 16:16

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by travla (Post 1006546)
It would seem crazy to allow this, is there anything that could be done in preenv environment to redirect saves from / to /somewhere/else?

Maybe a chroot? Seems a bit excessive though

jflatt 2011-05-17 16:24

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by XenGi (Post 1006542)
I'm looking for the numeric values for the german key mapping. most of them I found myself but there are still some unknown keys. maybe somebody can help:
http://pastebin.com/QCJZLYcW
I meen the numbers that you can use for gconftool-2 to configure keys parts of the screen.

The list I wrote reads as follows:
key-white key-blue - number

If you're handy with the code, you can edit libsdlpre/sdlgl.c:219
Code:

case SDL_KEYDOWN:
    TRACE("key %d", event->key.keysym.sym);
    return 0;


XenGi 2011-05-17 21:18

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 1008330)
If you're handy with the code, you can edit libsdlpre/sdlgl.c:219
Code:

case SDL_KEYDOWN:
    TRACE("key %d", event->key.keysym.sym);
    return 0;


Thanks for the hint. I only found this line 332. Is this the right place to look?

And I would prefer a finished list, there must be something like this.

jflatt 2011-05-17 23:18

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by XenGi (Post 1008607)
Thanks for the hint. I only found this line 332. Is this the right place to look?

And I would prefer a finished list, there must be something like this.

Yeah, same spot, you can throw that trace statement in there to spit out the key pressed

laith.m.y 2011-05-20 17:13

Re: Preenv webOS games compatibility list
 
plz

haw can I convert the Webos game from ipk to deb in ubuntu ??

XenGi 2011-05-20 17:44

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by laith.m.y (Post 1011308)
plz

haw can I convert the Webos game from ipk to deb in ubuntu ??

Just download the debian packages from that website you find when using google. ;)

@jflatt:
I tried to compile your preenv with and without my changes but I can't get it compile. Do I need a special environment like scratchbox from maemo sdk? I tried it there too with same results.

You can view my changes here: https://gitorious.org/~xengi/preenv/xengis-jflatts-preenv/blobs/master/libsdlpre/sdlgl.c#line332

javispedro 2011-05-20 17:45

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by XenGi (Post 1011328)
Do I need a special environment like scratchbox from maemo sdk? I tried it there too with same results.

Evidently. What's going wrong?

XenGi 2011-05-20 21:56

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 1011329)
Evidently. What's going wrong?

When I try tocompile it under FREMANTLE_X86 scratchbox target I get this:
http://pastebin.com/x0VYPDVK

In FREMANTLE_ARMEL:
http://pastebin.com/cMyzF8JQ

jflatt 2011-05-20 22:04

Re: Preenv webOS games compatibility list
 
target FREMANTLE_ARMEL. You're missing some dependencies, libsdl-gles1.2-dev it seems, there may be others

XenGi 2011-05-20 22:30

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 1011490)
target FREMANTLE_ARMEL. You're missing some dependencies, libsdl-gles1.2-dev it seems, there may be others

Yep, this one and two others. Now compiling works. Thanks for the help.
But where can I see the key codes now?
dmesg?

riceboy 2011-05-20 23:28

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by MastaG (Post 1004032)
Yes Angry Birds seems to be lower quality here too.
I installed Angry Birds Rio, Seasons and the regular Angry Birds for PreEnv.
All three seem to suffer from a lower res.
I hope this gets better in the future.

I bought all 4 level backs from OVI but the fifth one (I believe it's called Hang 'm high), isn't there on the OVI store because Nokia discontinued the N900.
However it's available for PreEnv that's the reason I also installed the regular Angry Birds on PreEnv.

i tried installing Rio on mine. but the darn thing would not load? any tips on how to do it properly?

jflatt 2011-05-20 23:43

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by XenGi (Post 1011510)
Yep, this one and two others. Now compiling works. Thanks for the help.
But where can I see the key codes now?
dmesg?

You'd have to run a game from the console and press some buttons once it's up and running. It's probably easier to SSH into your phone from another machine so you can see the keycode as soon as you hit it.
I've also added this output to my copy if anybody else needs to find their keycoes


All times are GMT. The time now is 16:21.

vBulletin® Version 3.8.8