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)

javispedro 2011-01-16 21:25

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 920981)
I am not sure this will be useful so please let me know about it:
Inside the /lib/ folder there is a libdl library, I have copied that library to /opt/preenv/lib/ and replaced it with libpdl.so , I don't know if this is any useful, but at least, it didn't broke any working games. I have also managed to copy libSDLMixer from the /usr/lib/ to the preenv lib.

You just wasted a few megabytes of disk space. Other than that, that does nothing.

Quote:

And know I have a question.If we copy the libpcprofile.so from the /lib/ to preenv lib and rename it to libPlmIpcLib.so(Instead of creating that soft link)
Why you'd want to do that and waste more disk space? Just create the symlink. Same for libavcodec (better option would be to build/install it in Maemo).

Also, do not change the WindowSystem.

confusedfella 2011-01-16 22:44

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 921835)
You just wasted a few megabytes of disk space. Other than that, that does nothing.


Why you'd want to do that and waste more disk space? Just create the symlink. Same for libavcodec (better option would be to build/install it in Maemo).

Also, do not change the WindowSystem.

Do you have any idea why all the games are lagging and sluggish?
Im using stock kernel.

pavi.kant 2011-01-17 04:02

Re: Preenv webOS games compatibility list
 
hey, i'm playing assassins creed... m stuck at the pickpoketing stage.... dont kno if this is an error or gameplay but cant seem to turn my torch(or watever it is that lights up the screen) past half the screen... can neone help?

Gagandeep106 2011-01-17 05:31

Re: Preenv webOS games compatibility list
 
hI MAMEO need u r help i m playing H.A.W.X nice game but unable to use virtual stick in the game any solution plzz help

pavi.kant 2011-01-17 05:44

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Gagandeep106 (Post 922014)
hI MAMEO need u r help i m playing H.A.W.X nice game but unable to use virtual stick in the game any solution plzz help

what is the problem you are facing? btw you could try a solution script by jflatt.... it maps some keys of the keyboard to specific mouse actions http://talk.maemo.org/showthread.php?t=68167&page=4.... try playing with this

maemo55 2011-01-17 07:29

Re: Preenv webOS games compatibility list
 
please give me gangstar webos game link:)

Gagandeep106 2011-01-17 09:11

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by pavi.kant (Post 922020)
what is the problem you are facing? btw you could try a solution script by jflatt.... it maps some keys of the keyboard to specific mouse actions http://talk.maemo.org/showthread.php?t=68167&page=4.... try playing with this

thanxx for reply when i start game and i choose virtual stick bcoz it hard to play with accel. and virtual stick is not working

govprog 2011-01-17 09:11

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 921835)
You just wasted a few megabytes of disk space. Other than that, that does nothing.


Why you'd want to do that and waste more disk space? Just create the symlink. Same for libavcodec (better option would be to build/install it in Maemo).

Also, do not change the WindowSystem.

Yes,my bad.I thought if we create a symlink we will need to run preenv as root.So ln -s instead of cp,that's the way.Also I know changing windowsystem is dangerous, so the second option would be better. Thank you for your great app,and also jflatt for the fixes. :)

jflatt 2011-01-18 01:52

Re: Preenv webOS games compatibility list
 
Just a quick update, fixed a couple more things, maybe broke some things. Ancient Frog works now, but the orientation is wonky. Skater Nation seems broken somehow, but I don't know why. The newest copy has NOVA dpad mapped out, so it may work better for more games. Preliminary runtime configuration using gconf is in, you can set keys in /apps/preenv/<exename>. This is not the filesystem, it is a gconf database. Supported keys for now are:
Code:

enable_scaling
enable_fs_scaling
enable_fake_size
fake_width
fake_height
screen_width
screen_height
screen_rotation (uses PDL_Orientation enum)

As an example, to get proper aspect ratio, you can do
Code:

gconftool-2 --set --type int /apps/preenv/angrybirdsseasons/screen_width 720
This is only useful for playing with games that don't fit the screen yet, such as FIFA. I'm still trying to think of a way to do key mappings elegantly

cloud596 2011-01-18 03:35

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 922745)
Just a quick update, fixed a couple more things, maybe broke some things. Ancient Frog works now, but the orientation is wonky. Skater Nation seems broken somehow, but I don't know why. The newest copy has NOVA dpad mapped out, so it may work better for more games. Preliminary runtime configuration is in, you can set keys in /apps/preenv/<exename>. Supported keys for now are:
Code:

enable_scaling
enable_fs_scaling
enable_fake_size
fake_width
fake_height
screen_width
screen_height
screen_rotation (uses PDL_Orientation enum)

As an example, to get proper aspect ratio, you can do
Code:

gconftool-2 --set --type int /apps/preenv/angrybirdsseasons/screen_width 720
This is only useful for playing with games that don't fit the screen yet, such as FIFA. I'm still trying to think of a way to do key mappings elegantly

do u have brief and clear path.
I mean when u set such as fake_height screen_height u put under apps/preenv but mine under /opt/preenv/usr/palm/applications/ to make synchron with other debian webos game. but the problem is to set above code u said under < exename > I assumed that it execute file but dunno precisely. would love to more give explain.
and 2nd question gconftool-2 --set --type int /opt/preenv/usr/palm/applications/com.eamobile.fifa/screen_width 720
but it doesnt fit the screen.

thanx id advance

keep up your job.

govprog 2011-01-18 09:03

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

Originally Posted by cloud596 (Post 922786)
do u have brief and clear path.
I mean when u set such as fake_height screen_height u put under apps/preenv but mine under /opt/preenv/usr/palm/applications/ to make synchron with other debian webos game. but the problem is to set above code u said under < exename > I assumed that it execute file but dunno precisely. would love to more give explain.
and 2nd question gconftool-2 --set --type int /opt/preenv/usr/palm/applications/com.eamobile.fifa/screen_width 720
but it doesnt fit the screen.

thanx id advance

keep up your job.

No,FIFA is running perfect. You can type:
Code:

gconftool-2 --set --type int /apps/preenv/fifa/screen_rotation 4

cloud596 2011-01-18 10:02

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 922879)
No,FIFA is running perfect. You can type:
Code:

gconftool-2 --set --type int /apps/preenv/fifa/screen_rotation 270

upps im sorry I should make a file with fake-scale and so on its working on fifa but couldnt get in landscape only potrait do you know why.

govprog 2011-01-18 11:05

Re: Preenv webOS games compatibility list
 
Finally got the hawx working:
Code:

gconftool-2 --set --type int /apps/preenv/hawx/screen_rotation 0
It will look a little awful so you need to decrease the width to 640(or even less),same for the fifa:
Code:

gconftool-2 --set --type int /apps/preenv/hawx/screen_width 640
you can now use V-stick.Also you can change weapons by dragging to left or right(Not simply clicking on them). Don't forget to thank the jflatt if you found these posts useful.And also me,if you are willing to.:)
(The hard work is done by the jflatt,so thank him first.)
EDIT:When you are using V-Stick the other weapons may showing that they are zeroed.Don't worry,just switch to them,this is the game's bug.

confusedfella 2011-01-18 15:35

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 922942)
I will ask you a few questions,please be patient and answer them:
Are you running your games from the desktop shortcut or in X-terminal(or you have deb version?)
Did you modified your emmc?
Do you have any background apps running? (Try downloading CPU-Mem usage from the repository)
Have you tried running your game with silent profile?

deb version
no
I already checked with conky and no (only xorg and hildon desktop)
Not really, ill try it.

edit: I think its because of the sd card, when i took it out of the phone there was less lag.

jflatt 2011-01-18 15:45

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 922879)
No,FIFA is running perfect

It's not supposed to look like that, look at other screenshots. Also, there's no rotation 4

beach king 2011-01-18 15:48

Re: Preenv webOS games compatibility list
 
is there is any way you can make the game "Family Guy Uncensored" work ??

jflatt 2011-01-18 15:57

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by beach king (Post 923091)
is there is any way you can make the game "Family Guy Uncensored" work ??

I did look at that one, it will fit the screen properly, but for some reason the touch mappings aren't lined up

jflatt 2011-01-18 16:00

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 922745)
This is only useful for playing with games that don't fit the screen yet, such as FIFA. I'm still trying to think of a way to do key mappings elegantly

I should also mention, these settings should be completely unnecessary. The rotation 3, to 270 degrees is probably the only important setting, that and setting the width to 720 if you're an aspect ratio purist. There is still something in there where the apps don't think they're running on a pre. Also it seems any games that use the irrlicht engine cause segfaults. It might be necessary to get real pre hardware to find out what the issues are.

AgogData 2011-01-18 16:01

Re: Preenv webOS games compatibility list
 
jflatt, can we remap your webos fake-multitouch keyboard script ?

jflatt 2011-01-18 16:06

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by AgogData (Post 923100)
jflatt, can we remap your webos fake-multitouch keyboard script ?

It's coming. The problem is representing d-pad keys in a configurable way. One key needs a center coordinate, a coordinate to slide to, which keypress code it is, and which mouse it should correspond to. Any other key could just be a key code and a coordinate, it's all about getting that stuff organized under gconf

sjw6234 2011-01-18 17:01

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 922930)
Finally got the hawx working:
Code:

gconftool-2 --set --type int /apps/preenv/hawx/screen_rotation 0
It will look a little awful so you need to decrease the width to 640(or even less),same for the fifa:
Code:

gconftool-2 --set --type int /apps/preenv/hawx/screen_width 640
you can now use V-stick.Also you can change weapons by dragging to left or right(Not simply clicking on them). Don't forget to thank the jflatt if you found these posts useful.And also me,if you are willing to.:)
(The hard work is done by the jflatt,so thank him first.)
EDIT:When you are using V-Stick the other weapons may showing that they are zeroed.Don't worry,just switch to them,this is the game's bug.


I do this but i can't change weapons and use V-stick as usual.

govprog 2011-01-18 18:17

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 923086)
It's not supposed to look like that, look at other screenshots. Also, there's no rotation 4

Yes I know,but there is something complicated inside.FIFA has native scaling, and this kind of setup does not produce a real orientation.It just destructs the external scaling and let's FIFA to do on it's own:cool:(Try the numbers 0,1,2,3.you will see it won't work.now,try 4,5,6,7,... you will see it will work,each time with the same results Also try the high numbers with a game like hawx, you can see the scaling is eliminated)Also,I have found that the skater game has some missing objects. It's maybe impossible to fix it just like the Tiger Woods. And, one last thing,it seems that I can't use finger touch and keyboard at the same time with the new fix(I could do that before)Can you help me on this?Thank you.

govprog 2011-01-18 18:25

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

Originally Posted by sjw6234 (Post 923146)
I do this but i can't change weapons and use V-stick as usual.

Have you tried downloading the libsdlpre.so again? It seems to be working for me:

cloud596 2011-01-18 18:25

Re: Preenv webOS games compatibility list
 
@govprog me too the latest version *****.so file dont let me to touch and use qwerty keyboard at the same time (squezee it ) . so everytime want to play nova need change. ouch forget one thing is messed up with earthworm jim press w on the keybard .and make the touch joypad run diagonally.

govprog 2011-01-18 18:35

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 923099)
I should also mention, these settings should be completely unnecessary. The rotation 3, to 270 degrees is probably the only important setting, that and setting the width to 720 if you're an aspect ratio purist. There is still something in there where the apps don't think they're running on a pre. Also it seems any games that use the irrlicht engine cause segfaults. It might be necessary to get real pre hardware to find out what the issues are.

Sorry but The orientation 3 is not true.Also I am not sure the app can tamper it's orientation itself(Or maybe I am wrong).Also there is a chance that the gangstar has stopped working because it's sending the language en-us,You know,some games(e.g:Nova) do only have the en-GB and no en-us. Thanks for your fix again.:)(And also for your help.)

jflatt 2011-01-18 18:58

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 923189)
And, one last thing,it seems that I can't use finger touch and keyboard at the same time with the new fix(I could do that before)Can you help me on this?Thank you.

Whoops, I know what that is, I was monkeying with it and left something in the code. Can't get to my home PC now, so it will have to wait until tomorrow

jflatt 2011-01-18 19:05

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 923203)
Sorry but The orientation 3 is not true.Also I am not sure the app can tamper it's orientation itself(Or maybe I am wrong).Also there is a chance that the gangstar has stopped working because it's sending the language en-us,You know,some games(e.g:Nova) do only have the en-GB and no en-us. Thanks for your fix again.:)(And also for your help.)

Any app can surely request its orientation to change. If you set enable_scaling, enable_fs_scaling and rotation to 0s you can see the original intention. You have to use a tiny portrait window though. It seems some games get ahold of the resolution and run wild with it (FIFA for example). There are several games that die just after asking for language, and it is correctly set according to the Palm docs. If you run strace on them, you can even see them later picking out different language files based on the returned language. These same games are dying somewhere else in the irrlicht engine.

jflatt 2011-01-18 19:06

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 922930)
Don't forget to thank the jflatt if you found these posts useful.And also me,if you are willing to.:)
(The hard work is done by the jflatt,so thank him first.)

No, thank javispedro

govprog 2011-01-18 19:14

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by confusedfella (Post 923077)
deb version
no
I already checked with conky and no (only xorg and hildon desktop)
Not really, ill try it.

edit: I think its because of the sd card, when i took it out of the phone there was less lag.

I am not sure.but maybe there was a high load devoted to your sd card
Have you tried restarting your device after the installation(Twice)?
try downloading the cpu-mem usage.maybe you have the same problem that I have.If your CPU has high load,try connecting and disconnecting the phone to your PC several times,until the CPU load is gone(Not fast,it's better that you do it every 1 minute).

javispedro 2011-01-18 20:15

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 923220)
It seems some games get ahold of the resolution and run wild with it (FIFA for example).

Might be SDL_GetVideoInfo, a trivial one (in the process of implementing it).

jflatt 2011-01-18 20:21

Re: Preenv webOS games compatibility list
 
I've got SDL_GetVideoInfo in my git tree, I couldn't seem to get it to do anything useful (not to be discouraging). FIFA ends up using 800x1200 (800x1.5) using the usual hacks.

mido.fayad 2011-01-18 20:31

Re: Preenv webOS games compatibility list
 
Super Ko Boxing WORKING now in proper orientationand full screen :)


u need only to :


Code:

gconftool-2 --set --type int /apps/prenv/skob2.exe/screen_rotation 1
Code:

gconftool-2 --set --type int /apps/preenv/skob2.exe/screen_width 800

jflatt 2011-01-18 20:33

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by mido.fayad (Post 923285)
Super Ko Boxing WORKING now in proper orientationand full screen :)


u need only to :


Code:

gconftool-2 --set --type int /apps/prenv/skob2.exe/screen_rotation 1
Code:

gconftool-2 --set --type int /apps/preenv/skob2.exe/screen_width 800

Weird, that's 90 degrees, it's not upside-down? And screen_width 800 is the default, the second setting shouldn't be necessary

javispedro 2011-01-18 20:54

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 923276)
I've got SDL_GetVideoInfo in my git tree, I couldn't seem to get it to do anything useful (not to be discouraging). FIFA ends up using 800x1200 (800x1.5) using the usual hacks.

Does it look like half of the game is rendered fine while other elements are misscaled, or not rotated at all?

EDIT: if so, add this:
Code:

void glLoadMatrixx(const GLfixed * m)
{
 glLoadIdentity();
 glMultMatrixx(m);
}


jflatt 2011-01-18 21:01

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 923300)
Does it look like half of the game is rendered fine while other elements are misscaled, or not rotated at all?

It looks rotated fine, but scaled wrong, as most of the UI is off above the physical screen. Since there's no way then to push onscreen buttons, it's hard to tell what's going on.

On a side note, for cinematics, there is a gstreamer xvimagesink. If it's changed to sdlimagesink or glimagesink then videos are visible, but in a new window. I'm not sure what the direction is to move forward with this, thought maybe you might know what's up

javispedro 2011-01-18 21:05

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 923308)
On a side note, for cinematics, there is a gstreamer xvimagesink. If it's changed to sdlimagesink or glimagesink then videos are visible, but in a new window. I'm not sure what the direction is to move forward with this, thought maybe you might know what's up

Oh, videos are visible for me (NFSU has some), so it is yet another game compatibility problem I guess :P

EDIT: As I was saying to allgoodidea a few posts back, black screen could happen when videos composite with the interface, as I disable alpha surfaces for performance reasons.

mido.fayad 2011-01-18 21:13

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 923286)
Weird, that's 90 degrees, it's not upside-down? And screen_width 800 is the default, the second setting shouldn't be necessary

with ur previous libsdlpre.so , this game works in proper orientation but it's upside down


but after the latest update it works in half of the screen and in portrait mode


so with screen_orientation 1 , it works in landscape mode but not filling the screen


so we need to screen_width 800 to work full screen :)

Boemien 2011-01-18 22:15

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 921025)
Avatar says:Missing library:libavcodec.so.52
Here's the fix:
Code:

sudo gainroot
cp /usr/lib/libOMX.TI.Video.Decoder.so /opt/preenv/lib/libavcodec.so.52

EDIT:Also for the black/corrupted graphics: add /etc/powervr.d/Avatar.ini with following codes(With nano or something):
Code:

[default]
ForceExternalZBuffer=0
(2 empty lines)


I still cannot install avatar, it says that i'm "missing libavcodec52"

mido.fayad 2011-01-18 22:19

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Boemien (Post 923384)
I still cannot install avatar, it says that i'm "missing libavcodec52"

if u install it from debian file , u should force it to install

or modify it and remove libavcodec52 from dependencies as there is no need to it

mido.fayad 2011-01-18 22:22

Re: Preenv webOS games compatibility list
 
Raging thunder 2 Now WORKING but it's the same as fifa in portrait mode


Code:

gconftool-2 --set --type int /apps/preenv/rthunder2/screen_rotation 6


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

vBulletin® Version 3.8.8