maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Palm Pre gets SDL! native gaming (https://talk.maemo.org/showthread.php?t=39809)

impeham 2010-11-02 15:33

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by travla (Post 860846)
Hi there,
I was struggling with the very same problem for the past couple of nights, and just resolved it. The problem was the the save folder and it's contents are not writeable, and when you change an option, the app needs to make a change to some of the files and can't. So the solution is:

chmod -R 777 monopolyclassic/save

This will recursively give write access to everyone (i.e. user), and all works well. I've updated the Wiki (http://wiki.maemo.org/Preenv/FAQ#How...ith_an_icon.3F).

Now I'm trying to move it to MyDocs to save some space, problem is you can't change ownership in MyDocs (I think because it is NTFS fs). But I moved NFSUC in to MyDocs and game saves are working fine, so I'm hoping Monopoly will be fine too.

Cheers,

travla

EDIT: I just created symlinks to all directories under monopolyclassic, and it is working a treat - no crash on changing settings and game saves working. This saved 45mb of space, had to leave all files under monopolyclassic in /home/user/. I may have been able to create symlinks to each one of those (I saw someone had written a simple loop for this) but couldn't be bothered, only 15 mb...

Thanks man - i created the save folder and gave permissions and all is fine now.

all my games are in mydocs - these are the commands and things i'm doing to make them work (change folder names as needed):

in xterm:
for file in /home/user/MyDocs/Roms/Pre/com.gameloft.app.driver/driver/*;
do ln -s "$file" /home/user/applications/com.gameloft.app.driver/driver/;
done
copy the real exec file in the sylinked folder
chmod +x /home/user/applications/com.gameloft.app.driver/driver/driver
/opt/preenv/bin/desktopgen /home/user/applications/com.gameloft.app.driver/appinfo.json

scyzor 2010-11-02 15:43

Keyboard ?
 
Would it be possible to use the keyboard to send fake touch input for multitouch games ?

Aranel 2010-11-02 15:45

Re: Palm Pre gets SDL! native gaming
 
Yay! The Settlers is working now, no more crashes at the start with SDL_Quit.

8af575dfe9fb85afe787cf6d97da634e com.gameloft.app.settlers_1.1.1_all.ipk

leetut 2010-11-02 15:53

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by impeham (Post 861077)
Thanks man - i created the save folder and gave permissions and all is fine now.

all my games are in mydocs - these are the commands and things i'm doing to make them work (change folder names as needed):

in xterm:
for file in /home/user/MyDocs/Roms/Pre/com.gameloft.app.driver/driver/*;
do ln -s "$file" /home/user/applications/com.gameloft.app.driver/driver/;
done
copy the real exec file in the sylinked folder
chmod +x /home/user/applications/com.gameloft.app.driver/driver/driver
/opt/preenv/bin/desktopgen /home/user/applications/com.gameloft.app.driver/appinfo.json

wish i could understand this! lol

Aranel 2010-11-02 17:51

Re: Palm Pre gets SDL! native gaming
 
How did you guys fix the Driver screen bug? I've installed libgles* but It still looks "weird", here what it looks like: http://talk.maemo.org/showpost.php?p...3&postcount=12

jaimex2 2010-11-02 22:43

Re: Keyboard ?
 
Quote:

Originally Posted by scyzor (Post 861093)
Would it be possible to use the keyboard to send fake touch input for multitouch games ?

It should be possible as long as the software supports it, I'm thinking having a look at the VNC server which fakes touching and dragging. It may come down to Maemo accepting multi touch or not.

If not rapid alternating tapping might fake it as a substitute. As in every mili second emulate touching at the locations binded to the keyboard.

javispedro 2010-11-02 23:00

Re: Keyboard ?
 
Quote:

Originally Posted by scyzor (Post 861093)
Would it be possible to use the keyboard to send fake touch input for multitouch games ?

Yes.

Quote:

Originally Posted by iDont (Post 860154)
How is the FAT32 partition smoother than the ext3 partition?How is the FAT32 partition smoother than the ext3 partition?

I wouldn't be surprised if it vfat was faster for the current use case (few, large files; fast random access device).

Quote:

Originally Posted by aligatro (Post 860962)
I don't think it matters that much on the mobile system. There is only one user.

Until you end up with lots of files owned by root under /home/user ...

Airtux 2010-11-02 23:11

Re: Palm Pre gets SDL! native gaming
 
@javispedro please reply me, it's possible to play Gangstar with N900 one day?

scyzor 2010-11-02 23:24

Re: Keyboard ?
 
Quote:

Originally Posted by jaimex2 (Post 861498)
It should be possible as long as the software supports it, I'm thinking having a look at the VNC server which fakes touching and dragging. It may come down to Maemo accepting multi touch or not.

If not rapid alternating tapping might fake it as a substitute. As in every mili second emulate touching at the locations binded to the keyboard.

I found that maemo uses the mouse cursor for touch, and its XServer is 1.6.99 (1.7 has multicursor support). Alternation might work, but I doubt all games (if not none) would accept alternate messages :S

javispedro 2010-11-02 23:35

Re: Palm Pre gets SDL! native gaming
 
Quote:

Originally Posted by Airtux (Post 861521)
@javispedro please reply me, it's possible to play Gangstar with N900 one day?

I've said it many times I have no idea about individual games. I cannot possibly buy them all.

(Oth I've recently bought X-Plane, precisely because someone told me it worked quite well).


All times are GMT. The time now is 04:19.

vBulletin® Version 3.8.8