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)

ammyt 2011-01-11 15:33

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by mido.fayad (Post 917564)
hey

u can play nfs under cover , asphalt 5 , driver , ground effect pro and monopoly

there is no need to multitouch as u can play with sensor which is very accurate in these games

also u can play hero of sparta and all other games but multitouch is needed to play 100%

No, multitouch no longer required in Assassins Creed, I've managed to jump to the right, and I'm a pro now! :D It's all about timing!

jflatt 2011-01-12 03:42

Re: Preenv webOS games compatibility list
 
I've got fake multi-touch going. Basically look for SDL key events, and dispatch a fake SDL mouse event to some very specific screen coordinates. I set the SDL flag telling it to be mouse number 2. I mapped the arrow keys (looks like pre doesn't have arrows) to onscreen d-pad, and just played through the first level of Earthworm Jim since it was said to be impossible without multitouch. I don't think there's any way to map the keys up correctly without some kind of per-game configuration. I tried NOVA, but the mouse has to be slid to take effect, I'll try and get that working next.

Edit:
Yep, NOVA can work too, just fake a mouse motion event. I wonder if we overlaid every d-pad based game, is there any chance we could find one set of coordinates that would hit every one of the buttons in each game? For example if a screenshot were taken of earthworm jim, and one of nova, overlaid on top of each other, then adjust opacity, is there a chance the up keys would have at least one pixel in common?

Acidspunk 2011-01-12 04:21

Re: Preenv webOS games compatibility list
 
Wow, thanks for the effort. :)

jflatt 2011-01-12 04:41

Re: Preenv webOS games compatibility list
 
Rock Band can work. Really nice looking game, but will definitely need some multi-touch help

Acidspunk 2011-01-12 05:07

Re: Preenv webOS games compatibility list
 
These are amazing breakthroughs, jflatt. Between this and the way you're fixing some of the non working games, I think you'll make a lot of people happy. Again, thanks.

jflatt 2011-01-12 05:17

Re: Preenv webOS games compatibility list
 
Sudoku needs libPmIpcLib.so, which you can get from http://palm.cdnetworks.net/opensourc...clib-1.0.0.tgz
Compile it and put libpmipc-dbus.so.0 and libdbus-gmain.so.0 in /home/opt/preenv/lib/
Then link in additional libs in that same directory:
ln -s libpmipc-dbus.so.0 libPmIpcLib.so
ln -s libpmipc-dbus.so.0 libpmipc-dbus.so
ln -s libdbus-gmain.so.0 libdbus-gmain.so
ln -s libstub.so libNPAPIInterface.so
ln -s libstub.so libnapp.so
...and it works!

jflatt 2011-01-12 06:30

Re: Preenv webOS games compatibility list
 
I didn't see these on the wiki compatibility list, but Risk works (good game), and it seems Tiger Woods '09 has a black screen on start

cloud596 2011-01-12 07:03

Re: Preenv webOS games compatibility list
 
@jflatt what sudoku game you use. is that from dchoc or asltare

jflatt 2011-01-12 07:10

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by cloud596 (Post 918428)
@jflatt what sudoku game you use. is that from dchoc or asltare

I don't know what either of those are

morto 2011-01-12 09:57

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 918418)
I didn't see these on the wiki compatibility list, but Risk works (good game), and it seems Tiger Woods '09 has a black screen on start

I've tried Risk on Preenv 0.1.3 but it is displayed only on 2/3 of the screen height and it does not match up the touch area which is shifted of stretched.

If you know the reason or how to solve the problem I would be really grateful.

Here's what I get in output:
Code:

SDLGL: called sdl_init with flags = 0x100230
X11: PID is 12400
PDL: Init: Service name is com.javispedro.preenv.risk
PDL: Main thread created
PDL: Set do_not_disturb flag to false
PDL: Application handles pause events
PDL: Application tries to set 'touch aggression'
SDLGL: Requested GL major version 1
SDLGL: Called SetVideoMode(480, 320, 0, 0x2)
SDLGL: Requested OpenGL video mode
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Asked if video mode 800x480x16 (0x90000000) is ok
PDL: Switch orientation to 3
PDL: Screen dimming prevention ON
PDL: Set do_not_disturb flag to true
SDLGL: Sending lose focus event
PDL: Readjusting dimming prevention timer
PDL: Waiting for main loop thread to die
PDL: Main loop thread died
SDLGL: Called SDL_Quit



All times are GMT. The time now is 20:56.

vBulletin® Version 3.8.8