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)

couldvbb 2011-04-21 03:45

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by travla (Post 992941)
Some games, including this one, will only run if you are in the folder of the executable. Just cd in to the folder then try again, it will work.

I have already run chmod -R 777 com.bitlogik.uflip

This is due to relative file paths being used in this game (and some others), which are usually visible when you look at the feedback from preenv in xterm.

Thank you, I managed to open the game, but he shut down the game play is pressed
http://images.plurk.com/f286a332aa25...c799acdcfc.jpg
http://images.plurk.com/7481b7810fb0...db852df073.jpg

travla 2011-04-21 04:49

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by couldvbb (Post 992981)
Thank you, I managed to open the game, but he shut down the game play is pressed
http://images.plurk.com/f286a332aa25...c799acdcfc.jpg
http://images.plurk.com/7481b7810fb0...db852df073.jpg

The answer is in your xterm output, game is trying to write to a read-only file. Try:

Code:

chown -R user:users /path/to/uflipgamedirectory

couldvbb 2011-04-21 05:55

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by travla (Post 993001)
The answer is in your xterm output, game is trying to write to a read-only file. Try:

Code:

chown -R user:users /path/to/uflipgamedirectory

I RUN chown -R user:users /opt/preenv/usr/palm/applications/com.bitlogik.uflip

http://images.plurk.com/7db2363bea0d...0377651d38.jpg

ls -al
http://images.plurk.com/e92e52899aec...446b02689f.jpg

RUN Game
http://images.plurk.com/2febcc54acc2...5f90a96fdc.jpg

What is your normal installation steps ?

travla 2011-04-21 07:39

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by couldvbb (Post 993022)
I RUN chown -R user:users /opt/preenv/usr/palm/applications/com.bitlogik.uflip

http://images.plurk.com/7db2363bea0d...0377651d38.jpg

ls -al
http://images.plurk.com/e92e52899aec...446b02689f.jpg

RUN Game
http://images.plurk.com/2febcc54acc2...5f90a96fdc.jpg

What is your normal installation steps ?

Face, meet hand... :p

Dude, I forgot to tell you to put sudo in front of chown (or login as root then logout). Just have a look at the first screengrab, it's a dead giveaway "Operation not permitted."

Just to be sure:

Code:

sudo chown -R user:users /path/to/uflipgamefolder

couldvbb 2011-04-21 09:32

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by travla (Post 993059)
Face, meet hand... :p

Dude, I forgot to tell you to put sudo in front of chown (or login as root then logout). Just have a look at the first screengrab, it's a dead giveaway "Operation not permitted."

Just to be sure:

Code:

sudo chown -R user:users /path/to/uflipgamefolder

Thank you travla teaching,Its successful operation
I made a WebOS game manager's configuration file UFlip
But I do not know how to modify the
http://talk.maemo.org/showpost.php?p...&postcount=367

travla 2011-04-21 09:39

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by couldvbb (Post 993105)
Thank you travla teaching,Its successful operation
I made a WebOS game manager's configuration file UFlip
But I do not know how to modify the
http://talk.maemo.org/showpost.php?p...&postcount=367

No problem, glad I could be of some help - don't forget to use the Thanks button! ;)

As for WebOS game manager, I'm not active in that thread nor do I use the application (the games I have installed are all installed manually), so I'm not able to help you there.

BTW, the sudo chown command should be run for all game folders that you install manually.

couldvbb 2011-04-21 11:14

Re: Preenv webOS games compatibility list
 
UConnect play on the same way
Steps:
Extraction com.bitlogik.uconnect to /opt/preenv/usr/palm/applications/
1. sudo gainroot
2. chmod -R 777 /opt/preenv/usr/palm/applications/com.bitlogik.uconnect
3. chown -R user:users /opt/preenv/usr/palm/applications/com.bitlogik.uconnect
4. cd /opt/preenv/usr/palm/applications/com.bitlogik.uconnect
5. /opt/preenv/usr/palm/applications/com.bitlogik.uconnect/UConnect
http://i.appsafari.com/wp-content/up...6/uconnect.jpg

Brian_7 2011-04-21 15:37

Re: Preenv webOS games compatibility list
 
Hi, now glowhockey starts. But i only can move the pad once (touch screen is not working anymore). If i pause the game (via ctrl backspace), i can move the pad one more time before the problem come back.

This is my x-terminal:

Quote:

~/MyDocs/preenv/usr/palm/.applications/com.natenai.app.glowhockey $ ./glowhockey
SDLGL: Called sdl_init with flags = 0x100030
SDLGL: Number of joysticks 1
SDLGL: Joystick 0 named Accelerometer
X11: PID is 27255
PDL: Init: Preenv 0.1.7
PDL: Init: Service name is com.javispedro.preenv.glowhockey
PDL: Main thread created
PDL: Game called PDL_Init twice
SDLGL: Requested GL major version 1
PDL: Screen dimming prevention ON
SDLGL: Called SetVideoMode(0, 0, 0, 0x2)
SDLGL: Requested OpenGL video mode
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Asked if video mode 800x480x16 (flags=0x80000000) is ok
SDLGL: Creating shadow surface (w=320, h=480)
SDLGL: Sending lose focus event
PDL: Readjusting dimming prevention timer
SDLGL: Sending gain focus event
How can i solve it?

jflatt 2011-04-21 17:35

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Brian_7 (Post 993276)
Hi, now glowhockey starts. But i only can move the pad once (touch screen is not working anymore). If i pause the game (via ctrl backspace), i can move the pad one more time before the problem come back.

How can i solve it?

Yep, saw that too, I tried a few things but couldn't get it to work. There are quite a few games that have some sort of input problems, it's probably the biggest issue right now. I'm thinking we need to capture the SDL event loop, but it's a little hard to try and guess what the game is doing with the SDL events.

qiet72 2011-04-22 08:34

Re: Preenv webOS games compatibility list
 
Hi,

I have tried to get settlers working. Here is the output from the console:

Code:

[1|user@Nokia-N900|~]com-gameloft-app-settlers
PDL: Playing music notification: Playing
PDL: Init: Preenv 0.1.7
PDL: Init: Service name is com.javispedro.preenv.Settlers
PDL: Main thread created
PDL: Screen dimming prevention ON
SDLGL: Called sdl_init with flags = 0x100030
SDLGL: Number of joysticks 1
SDLGL: Joystick 0 named Accelerometer
X11: PID is 22952
SDLGL: Requested GL major version 1
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Ignoring doublebuffer preference 1
SDLGL: Requested GL minor version 1 (ignored)
SDLGL: Called SetVideoMode(320, 480, 0, 0x80000002)
SDLGL: Requested OpenGL video mode
SDLGL: Asked if video mode 800x480x16 (flags=0x80000000) is ok
SDLGL: Creating shadow surface (w=320, h=480)
PDL: Called GetUniqueID
PDL: Initializing device unique ID

On the screen, nothing shows, just a blank black screen.

Here we see permissions:

Code:

[1|root@Nokia-N900|/opt/preenv/usr/palm/applications]vdir com.gameloft.app.settlers/Settlers/
drwxrwxrwx    9 user    users        4096 Apr 22 09:08 .
drwxrwxrwx    3 user    users        4096 Apr 22 09:08 ..
drwxrwxrwx    2 user    users        4096 Apr 22 09:03 Config
-rw-r--r--    1 user    users      75487 May 11  2010 GUI.swf
drwxrwxrwx    2 user    users        4096 Apr 22 09:08 GameData
drwxrwxrwx    2 user    users        4096 Apr 22 09:02 Gfx
-rw-r--r--    1 user    users        894 May 11  2010 MAP_FONT_SMALL.ARRAY
drwxrwxrwx    4 user    users        4096 Apr 22 09:02 Map
drwxrwxrwx    2 user    users        4096 May 11  2010 Save
drwxrwxrwx    2 user    users        4096 Apr 22 09:03 Script
-rwxrwxrwx    1 user    users    5809207 May 11  2010 Settlers
drwxrwxrwx    2 user    users        4096 Apr 22 09:02 Snd
-rw-r--r--    1 user    users      172231 May 11  2010 doris.fnt
-rw-r--r--    1 user    users      133048 May 11  2010 font_small.bsprite
-rw-r--r--    1 user    users      35160 May 11  2010 justus.ttf
-rw-r--r--    1 user    users    2666436 May 11  2010 komatuna.ttf
-rw-r--r--    1 user    users      524348 May 11  2010 land.pvr
-rw-r--r--    1 user    users      348030 May 11  2010 spriteinfo.dat
-rw-r--r--    1 user    users  361252628 May 11  2010 sprites.bar
-rw-r--r--    1 user    users      11322 May 11  2010 strings.bar
-rw-r--r--    1 user    users      917435 May 11  2010 texts.bar
-rw-r--r--    1 user    users    4194364 May 11  2010 texture0.pvr
-rw-r--r--    1 user    users    2097212 May 11  2010 texture1.pvr
-rw-r--r--    1 user    users      94947 May 11  2010 texture10.bar
-rw-r--r--    1 user    users    2097212 May 11  2010 texture2.pvr
-rw-r--r--    1 user    users    2097212 May 11  2010 texture3.pvr
-rw-r--r--    1 user    users      524348 May 11  2010 texture4.pvr
-rw-r--r--    1 user    users      262204 May 11  2010 texture9.pvr

Here is my version of libsdlpre.so:
Code:

-rw-r--r--    1 root    root        79228 Apr 14 03:52 /opt/preenv/lib/libsdlpre.so
Suggestions?

qiet72

Boemien 2011-04-22 10:59

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by aniketcool06 (Post 993601)
Download Free PC Games Go This Site:-

http://www.Stop-spamming.blogspot.com

all Types of games download now free for you :D :) :cool:

Operation Flashpoint, Portal 2, LEGO Star Wars III !!!!
My PC is too old to play these games so, sorry and please, stop spamming the forum! :D

couldvbb 2011-04-22 21:51

Re: Preenv webOS games compatibility list
 
Full Moon-Warrior Within
Steps:
Extraction com.njoyentertain.app.fullmoon to /opt/preenv/usr/palm/applications/
1. sudo gainroot
2. chmod -R 777 /opt/preenv/usr/palm/applications/com.njoyentertain.app.fullmoon
3. chown -R user:users /opt/preenv/usr/palm/applications/com.njoyentertain.app.fullmoon
4. cd /opt/preenv/usr/palm/applications/com.njoyentertain.app.fullmoon
5. /opt/preenv/usr/palm/applications/com.njoyentertain.app.fullmoon/fullmoon

keyboard mapping
http://www.mediafire.com/?jpdyt4jjq3hjwc7


http://www.wda.cn/data/attachment/fo...94wjr7y9q8.png

couldvbb 2011-04-22 21:52

Re: Preenv webOS games compatibility list
 
Odd Blob
Steps:
Extraction com.astraware.oddblob to /opt/preenv/usr/palm/applications/

1. sudo gainroot
2. chmod -R 777 /opt/preenv/usr/palm/applications/com.astraware.oddblob
3. chown -R user:users /opt/preenv/usr/palm/applications/com.astraware.oddblob
4. cd /opt/preenv/usr/palm/applications/com.astraware.oddblob
5. /opt/preenv/usr/palm/applications/com.astraware.oddblob/oddblob-webos
http://www.wda.cn/data/attachment/fo...7ssf0seejj.png

shuraizo 2011-04-23 00:43

Re: Preenv webOS games compatibility list
 
Preenv 0.1.7 seems to unable to play Hawx, Avatar & settlers (.deb installation)..
I managed to play them but with symlink modification mentioned on the wiki page..
I post this because i didn't have this problem on 0.1.5, so could you fix it for 0.1.8?

impeham 2011-04-23 10:30

Re: Preenv webOS games compatibility list
 
Supersonic crashes with segmentation fault:

PDL: Init: Preenv 0.1.7
PDL: Init: Service name is com.kuuasema.supersonic
PDL: You are root. Don't do this unless you know what you're doing!
PDL: Main thread created
PDL: PDL_GetDataFilePath of
mv: cannot rename '/home/user/applications/com.kuuasema.supersonicSaves': No suc
h file or directory
mv: cannot rename '/home/user/applications/com.kuuasema.supersonicCache': No suc
h file or directory
SDLGL: Called sdl_init with flags = 0x100230
SDLGL: Number of joysticks 1
SDLGL: Joystick 0 named Accelerometer
X11: PID is 15221
SDLGL: Requested GL major version 1
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Ignoring doublebuffer preference 1
SDLGL: Requested depth buffer size 16
SDLGL: Called SetVideoMode(0, 0, 0, 0x2)
SDLGL: Requested OpenGL video mode
SDLGL: Asked if video mode 800x480x16 (flags=0x80000000) is ok
SDLGL: Creating shadow surface (w=320, h=480)
PDL: Application asked for lang, giving en_GB
SDLGL: Reporting video information width=320, height=480
SDLGL: Reporting video information width=320, height=480
SDLGL: Reporting video information width=320, height=480
ACCEL: Called JoystickOpen 0
ACCEL: Opening accelerometer
ACCEL: Using default calibration values
SDLGL: Reporting video information width=320, height=480
SDLGL: Reporting video information width=320, height=480
ACCEL: Called JoystickOpen 0
ACCEL: Accelerometer is already opened
PDL: Switch UI orientation to 0°
PDL: Switch UI orientation to 0°
CINEMA: Stop playing now
PDL: Playing music notification: No music
CINEMA: Stop playing now
PDL: Playing music notification: No music
PDL: Switch UI orientation to 90°
Segmentation fault

Looks like a cool game!

couldvbb 2011-04-23 13:42

Re: Preenv webOS games compatibility list
 
Art Of Glow FREE
Steps:
Extraction com.natenai.app.artofglow to /opt/preenv/usr/palm/applications/

1. sudo gainroot
2. chmod -R 777 /opt/preenv/usr/palm/applications/com.natenai.app.artofglow
3. chown -R user:users /opt/preenv/usr/palm/applications/com.natenai.app.artofglow
4. cd /opt/preenv/usr/palm/applications/com.natenai.app.artofglow
5. /opt/preenv/usr/palm/applications/com.natenai.app.artofglow/artofglow
http://images.plurk.com/115e1d1c82a1...d2a52708ad.jpg

amadeukaos 2011-04-23 20:56

Re: Preenv webOS games compatibility list
 
Can anyone help me, Radiant Game, keys left and right works, but the touchscreen is recognizing like the game is in portraid, like press in up side, the ship goes right and down side the ship goes left

The game is in horizontal mode but the touch is in vertical, with down on the left and up on the right....

tebsu 2011-04-23 22:39

Re: Preenv webOS games compatibility list
 
hi, i was playing sims 3 when suddenly, the game crashed to "desktop". now, any time, i want to go to the city, the game crashes which means, i cannot continue the game. anyone knows that prob?

travla 2011-04-24 00:38

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by tebsu (Post 994316)
hi, i was playing sims 3 when suddenly, the game crashed to "desktop". now, any time, i want to go to the city, the game crashes which means, i cannot continue the game. anyone knows that prob?

launch the game from xterm and post the output here:

Code:

preenv
cd /path/to/sims3gamefolder
./Sims3Executable

When the game crashes, you will have some output in xterm, post it here (or see if you can work it out, read line by line and it should be apparent).

Had you set the permissions correctly? I.e.:

Code:

root
chown -R user:users /path/to/sims3camefolder
exit


govprog 2011-04-24 08:22

Re: Preenv webOS games compatibility list
 
@travla:Good move.
Not ridiculing the new users for not using the wiki. It would be better if you remind them about the wiki as well.

riceboy 2011-04-24 09:03

Re: Preenv webOS games compatibility list
 
Angry Birds RIO just appears to load and goes back to desktop. :( what gives?

couldvbb 2011-04-24 09:16

Re: Preenv webOS games compatibility list
 
You must observe the following rules to fullmoon example
1. to obtain permission> sudo gainroot
2. to modify folder permissions> chmod-R 777 / opt / preenv / usr / palm / applications / com.njoyentertain.app.fullmoon
3. to modify user rights> chown-R user: users / opt / preenv / usr / palm / applications / com.njoyentertain.app.fullmoon
4. into that folder cd / opt / preenv / usr / palm / applications / com.njoyentertain.app.fullmoon
5. run the game> / opt / preenv / usr / palm / applications / com.njoyentertain.app.fullmoon / fullmoon

amadeukaos 2011-04-24 09:21

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by couldvbb (Post 994465)
You must observe the following rules to fullmoon example
1. to obtain permission> sudo gainroot
2. to modify folder permissions> chmod-R 777 / opt / preenv / usr / palm / applications / com.njoyentertain.app.fullmoon
3. to modify user rights> chown-R user: users / opt / preenv / usr / palm / applications / com.njoyentertain.app.fullmoon
4. into that folder cd / opt / preenv / usr / palm / applications / com.njoyentertain.app.fullmoon
5. run the game> / opt / preenv / usr / palm / applications / com.njoyentertain.app.fullmoon / fullmoon


Or you can just install the .deb file for every game that we discuss in this thread (just google it)

travla 2011-04-24 10:12

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by riceboy (Post 994454)
Angry Birds RIO just appears to load and goes back to desktop. :( what gives?

How did you install it? Did you run it from xterm?

riceboy 2011-04-24 10:58

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by travla (Post 994478)
How did you install it? Did you run it from xterm?

installed it using App Manager, tried running it from the app list. wont work for me. :(

couldvbb 2011-04-24 11:36

Re: Preenv webOS games compatibility list
 
If you use xterm he will tell you the error message

travla 2011-04-25 10:23

Re: Preenv webOS games compatibility list
 
javispedro/jflatt, would you guys know whether it would be possbile to add true portrait support for games that are played in portrait mode? The games that are played in portrait work well, but notifications & volume control are in landscape - it would be nice to have them in portait since those two items do work in portrait mode maemo applications.

Just an idea, I have no idea how simple/complex it would be to incorporate, or any roadblocks in the way.

qiet72 2011-04-25 11:49

Re: Preenv webOS games compatibility list
 
Anybody have any suggestions to post #2200?

I think the symlink modification is correct. This is what it looks like on my phone:
Code:

[1|root@Nokia-N900|/usr/palm/applications]vdir
drwxr-xr-x    2 root    root        2544 Apr 22 16:02 .
drwxr-xr-x    3 root    root          232 Apr 20 13:55 ..
lrwxrwxrwx    1 root    root          59 Apr 22 09:09 com.gameloft.app.settlers -> /opt/preenv/usr/palm/applications/com.gameloft.app.settlers

Code:

[1|root@Nokia-N900|/opt/preenv/usr/palm/applications]vdir
drwxr-xr-x  31 user    users        4096 Apr 22 23:45 .
drwxr-xr-x    3 root    root        4096 Apr 20 13:52 ..
drwxrwxrwx    3 user    users        4096 Apr 22 09:08 com.gameloft.app.settlers

qiet72

Radicalz38 2011-04-25 12:05

Re: Preenv webOS games compatibility list
 
Just noticed from this thread... What's with having a chmod -R 777 is it really having to set read/write/execute on every little file of webOS games?

travla 2011-04-25 12:25

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Radicalz38 (Post 994974)
Just noticed from this thread... What's with having a chmod -R 777 is it really having to set read/write/execute on every little file of webOS games?

I have several games installed, and this should rarely (ever!) be the case. You just need to make sure that the ownership is assigned to user:users, and theb just chmod ug+x on the executable. I.e.:
Code:

root
chown -R user:users /path/to/gamefolder
chmod ug+x /path/to/gamefolder/gameexecutable
exit

Have a read of the Preenv FAQs Wiki.

Radicalz38 2011-04-25 12:31

Re: Preenv webOS games compatibility list
 
Yeah I know that's why I am asking what's with making a recursive chmod on preenv game folders.
Look it even reached 2 pages here and I don't see any need for that at all.
http://talk.maemo.org/search.php?searchid=10210140

titi974 2011-04-25 12:43

Re: Preenv webOS games compatibility list
 
hey, there ! i was just willing to know... as i couldn't find an answer in this thread - it may be a bit off topic but... - would it be possible to run WebOS apps also ? i mean apps like IM+
or only games are supported because they use SDL libraries ?
thx in advance ^^

couldvbb 2011-04-25 14:34

Re: Preenv webOS games compatibility list
 
I feel a little something to the Standard Rules
How to test the game?
In addition to installing preenv, whether there is what must be installed?
Corresponding to the error message handling that?
http://wiki.maemo.org/Preenv/FAQ shown is for the method corresponding to the individual game
However, not many people to increase data

chmod-R 777 is just a convenient way. but it is not correct
javispedro and travla're right, I'm sorry the government against use the wrong idea

But for newcomers how to play the game the fewest mistakes, DEB and WebOS Games Manager is a good way
But not many people make, WebOS Games Manager has still not fully installed the game all known executable

jflatt 2011-04-25 14:40

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by travla (Post 994942)
javispedro/jflatt, would you guys know whether it would be possbile to add true portrait support for games that are played in portrait mode? The games that are played in portrait work well, but notifications & volume control are in landscape - it would be nice to have them in portait since those two items do work in portrait mode maemo applications.

Just an idea, I have no idea how simple/complex it would be to incorporate, or any roadblocks in the way.

That would require knowing which specific programs displayed themselves in a portrait orientation, which would be a bit hackish. There isn't anything going on with Maemo API rotation there.

javispedro 2011-04-25 15:03

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 995051)
That would require knowing which specific programs displayed themselves in a portrait orientation, which would be a bit hackish. There isn't anything going on with Maemo API rotation there.

That's what the PDL_SetOrientation function is for ;) AFAIU, its a hint to the system UI from the game which orientation should system alerts, menus, etc. should use.

However, the issue is with the Maemo SDL. It doesn't work exactly well with the standard Hildon rotation (doesn't update its valid resolutions list when the screen is rotated, and thus crashes unless you don't render outside of a 480x480 area).

travla 2011-04-25 15:07

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 995051)
That would require knowing which specific programs displayed themselves in a portrait orientation, which would be a bit hackish. There isn't anything going on with Maemo API rotation there.

Thanks for the response jflatt. I just had a thought, bear with me if I don't make sense. Is a game that is running via preenv seen by Maemo like any other application that is running? If so, could we add a switch to preenv (and desktopgen), say -p, that would allow that instance of preenv to be seen by maemo as a portait application, and hence rotate volume controls and notifications?

This would also mean that it is up to the user to set the switch while running the game (or making the shortcut). What do you think?

travla 2011-04-25 15:14

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 995062)
That's what the PDL_SetOrientation function is for ;) AFAIU, its a hint to the system UI from the game which orientation should system alerts, menus, etc. should use.

However, the issue is with the Maemo SDL. It doesn't work exactly well with the standard Hildon rotation (doesn't update its valid resolutions list when the screen is rotated, and thus crashes unless you don't render outside of a 480x480 area).

javispedro, can an orientation be set independent of that function for the application/system interaction?

javispedro 2011-04-25 15:18

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by travla (Post 995064)
Thanks for the response jflatt. I just had a thought, bear with me if I don't make sense. Is a game that is running via preenv seen by Maemo like any other application that is running? If so, could we add a switch to preenv (and desktopgen), say -p, that would allow that instance of preenv to be seen by maemo as a portait application, and hence rotate volume controls and notifications?

Due to the way the Maemo SDL works, the only way this can work is by forcing portait mode from hildon-desktop, so that it works in portrait mode from start to end.

This is impossible with the stock hildon-desktop, as it will flip rotations at least once during the startup. It might be possible with the CSSU hildon-desktop, however, I do not have much motivation to open that can of worms...


It is though on my loong TODO list to fix the Maemo SDL one day (aka=add xrandr notifications support to it).

Quote:

Originally Posted by travla (Post 995066)
javispedro, can an orientation be set independent of that function for the application/system interaction?

Games use that function correctly (because otherwise the same stuff you see on the N900 would happen on the Pre) -- Preenv just doesn't implement it correctly because of the above reasons.

Also, while WebOS is able to rotate the interface in all 4 directions (and the browser for ex does it), the stock hildon-desktop only supports 2.

travla 2011-04-25 22:48

Re: Preenv webOS games compatibility list
 
Thank you for the explanation, makes a little more sense now.

qiet72 2011-04-25 23:02

Re: Preenv webOS games compatibility list
 
Solved.

If any game seems to get stuck with "Initializing device unique ID", then check to make sure your bluetooth is on in the phone. I did an strace and also looked through the libsdlpre.so and found out that the messages tries to create a unique device id by reading /dev/random if it cannot get the id from the device bluetooth configuration and reading /dev/random is extremely slow.

Also strace revealed some invalid paths in /media/cryptofs - fixed it with symlinks.

qiet72.


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

vBulletin® Version 3.8.8