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 2010-11-04 03:31

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by maxximuscool (Post 862854)
And it will not play video intro and stuff. Is there a solution?

Nothing at this point, specially because videos play fine on my games.

IzzehO 2010-11-04 03:48

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 862855)
Nothing at this point, specially because videos play fine on my games.

I've still not been able to get videos to play, it's not a permissions thing, nor there non-existence as it's for several games and I've played their videos in mplayer to confirm.

Here's the output of it trying to play intro:
SDLGL: called sdl_init with flags = 0x100230
X11: PID is 9221
PDL: Init: Service name is com.javispedro.preenv.Asphalt5
PDL: Screen dimming prevention ON
PDL: Switch orientation to 3
PDL: Music is playing
SDLGL: Requested GL major version 1
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Ignoring doublebuffer preference
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 (0x90000000) is ok
ACCEL: Opening accelerometer
PDL: Music is playing
CINEMA: Init; window xid is 0x3a0000c
CINEMA: Will play "file://Asphalt5/A5_Ultimate_VNFS_2.m4v"
CINEMA: Start playing now
CINEMA: GStreamer Pipeline Error: Resource not found.
<black screen occurs here>
<On tapping screen:>
CINEMA: Stop playing now
CINEMA: DeInit
PDL: Music is playing

travla 2010-11-04 05:58

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by J4ZZ (Post 862311)
I did but it didn't work. The screen got squeezed to 2/3 and after the gameloft logo the game crashed with segentation fault.

:(

Same behaviour here, can't get past splash screen.

Javis/Bratag/anyone, I have read in some of our posts a reference to strace so that we can give you feedback. excuse my ignorance, but what is the process. is it something I need to run before launching a game?

Edit: The quoted poster was referring to Avatar.

Crogge 2010-11-04 06:03

Re: Preenv webOS games compatibility list
 
For me "Driver" and "Let's Golf" is working just fine, also with syslinks to save space :)

Though "Asphalt5 (1.0.3) is very unstable and laggy, it is crashing often ingame and is not really playable at all (Yes, I made the required syslinks).

Bratag 2010-11-04 06:05

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by travla (Post 862905)
Same behaviour here, can't get past splash screen.

Javis/Bratag/anyone, I have read in some of our posts a reference to strace so that we can give you feedback. excuse my ignorance, but what is the process. is it something I need to run before launching a game?

Edit: The quoted poster was referring to Avatar.

stracd is a debugging tool. Essentially it shows you at a basic level what a program is doing when it runs, opening a file etc etc. Unless you know what you are looking for, or are gathering logs for someone who does its not much use for the average punter.

If you do want to grab it you will have to enable the tools repo and install strace.

impeham 2010-11-04 06:10

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Aranel (Post 862561)
If Driver graphics are messed up even after installing libgles* for you too (black textures), here's a solution posted by ucahmetuc on meegoturkiye.org forums:

1. Create a blank file, name it driver.ini
2. Content for driver.ini:

3. Copy it to your device, location: /etc/powervr.d/driver.ini
4. ??
5. profit

Of course you can use nano if you prefer.

Well, It works for me at least :)

Works for me too and also fixes Shrek kart!!! - do the same - create an ini file named "ShrekKarting.ini" and put in same folder - fixed!

taril 2010-11-04 06:41

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by IzzehO (Post 862858)
I've still not been able to get videos to play, it's not a permissions thing, nor there non-existence as it's for several games and I've played their videos in mplayer to confirm.

Here's the output of it trying to play intro:
SDLGL: called sdl_init with flags = 0x100230
X11: PID is 9221
PDL: Init: Service name is com.javispedro.preenv.Asphalt5
PDL: Screen dimming prevention ON
PDL: Switch orientation to 3
PDL: Music is playing
SDLGL: Requested GL major version 1
SDLGL: SDL_GLES initialized (res=0)
SDLGL: Ignoring doublebuffer preference
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 (0x90000000) is ok
ACCEL: Opening accelerometer
PDL: Music is playing
CINEMA: Init; window xid is 0x3a0000c
CINEMA: Will play "file://Asphalt5/A5_Ultimate_VNFS_2.m4v"
CINEMA: Start playing now
CINEMA: GStreamer Pipeline Error: Resource not found.
<black screen occurs here>
<On tapping screen:>
CINEMA: Stop playing now
CINEMA: DeInit
PDL: Music is playing

Its not a "permission" thing. :D
It is working correctly.

leetut 2010-11-04 07:07

Re: Preenv webOS games compatibility list
 
Save space (Transfer games to MyDocs folder) from something called the wiki?
is still way to complicated for me to do, can someone post a working solution, something that can be copy pasted, for each game would be nice, with all the text exact as is needed, and clear english instructions for where we put the files or make the folders,

for example....
cp [SOURCE]/com.ea.app.nfsuc/appinfo.json /home/user/[webos]/com.ea.app.nfsuc/
cp [SOURCE]/com.ea.app.nfsuc/nfsuc /home/user/[webos]/com.ea.app.nfsuc/

am i supposed to change the [SOURCE] and [webos] text to something else?
and remove the brackets or not?
i dont speak linux!

IzzehO 2010-11-04 07:52

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by taril (Post 862921)
Its not a "permission" thing. :D
It is working correctly.

I fail to see how it's working correctly if its not playing the video <.<

jedi 2010-11-04 08:06

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 862852)
You don't need it. And I wouldn't personally do anything to it as changing it modifies the entire operating system behavior.

Including but not limited to the window manager.

It could shorten your battery life, it could make Maemo slower, more crashy....
(Fortunately, I don't think it's going to blow your device up)

Very, very low chance of damaging your machine. I very much doubt creating a file called 'driver.ini' will modify the behaviour of the entire O/S - it's specific settings for the Driver game.

And yes, it 'fixed' the graphics problem in Driver. And no, my N900 has not caused the Hadron Collider to make a black hole.

jedi 2010-11-04 08:27

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by impeham (Post 862912)
Works for me too and also fixes Shrek kart!!! - do the same - create an ini file named "ShrekKarting.ini" and put in same folder - fixed!

Works for me too - thanks :)

...At least it fixes the 'main' graphics problem. But it's still not 100% right - It seems that where there's lights etc it renders as solid blocks so you can't see through them.

Still, makes the game just about playable :)

jacobkorf 2010-11-04 08:38

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jedi (Post 862716)
Should be:
Code:

[default]
ForceExternalZBuffer=0

Square brackets not round ones! See http://talk.maemo.org/showpost.php?p...&postcount=450

I've did that, but because I wrote the message on n900 that wasn't possible:p

Still the same problem though...

J4ZZ 2010-11-04 09:39

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by leetut (Post 862935)

for example....
cp [SOURCE]/com.ea.app.nfsuc/appinfo.json /home/user/[webos]/com.ea.app.nfsuc/
cp [SOURCE]/com.ea.app.nfsuc/nfsuc /home/user/[webos]/com.ea.app.nfsuc/

am i supposed to change the [SOURCE] and [webos] text to something else?
and remove the brackets or not?
i dont speak linux!

the source folder is your gamelocation (/home/user/MyDocs) for example when you've copied the game over in Mass Storage Mode.

and [webos] is just a custom folder in /home/user (the small 2GB partition) he used... I called mine preenv for example or just have the games without subfolders in /home/user/
for example /home/user/tetristouch or /home/user/hawx.

so whats the procedure in the save-space-tutorial...
simply:
-copy your games to MyDocs -> via Mass Storage Mode (because its faster)
-create a folder with game name in the 2GB partition of your beloved phone (/home/user/<your game dir> or /home/user/<any subdirectory>/<your game dir>)
-then copy over from game folder on MyDocs to /home/user/<your game dir> the 3 essential files for each game
appinfo.json, icon.png and the game "executable"

-put appinfo.json and icon.png always into the root of /home/user/<your game dir> and the game executable mostly goes into the subfolder (mostly having gamename) ->see orginial directory structure in MyDocs/<your game source folder>
-a few games have its start file in the root directory, too

my Need for Speed Undercover for example looks as following:
-/home/user/nfsuc
-----------------------/appinfo.json
-----------------------/icon.png
-----------------------/nfsuc (game start file)
-----------------------/res_nfsuc (symlinked to /home/user/MyDocs/nfsuc)
-----------------------------------/all the game files (but symlinks only pointing to /home/user/MyDocs/nfsuc/res_nfsuc)

and Asphalt5 looks this way;
-/home/user/asphalt5
-------------------------/appinfo.json
-------------------------/icon.png
-------------------------/Asphalt5 (folder with game files and executable)
-------------------------------------/Asphalt5 (executable - not symlinked)
-------------------------------------/all the game files (but all symlinked to /home/user/MyDocs/asphalt5/Asphalt5)

^^ clear ??? ;)

Greetz,

..::J4ZZ::..

impeham 2010-11-04 10:25

Re: Preenv webOS games compatibility list
 
Earthworm jim 1 and 2 are available using picodrive with full keyboard support and is working flawless - no need to wait for the preenv multitouch emulation.

Shrek Karting updated to "Working".

viovoxer 2010-11-04 10:40

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Bazza (Post 862469)
Yep thanks for the tip, the 1st fix written under the video got asphalt 5 working from the icon.

I completely uninstalled the game and deleted all files,icons etc.
Then i re-installed the game again and it worked using this:-

Please take care typing and use the correct case where needed including game folder and game file names

Go into x terminal

1 sudo gainroot
2. mkdir -p /media/internal
3. cd /media/
4. chown -R user:root internal/
5. chmod -R 755 internal/
6. mkdir -p /home/user/webos/gamesave
7. cd /home/user/
8. chown -R user:root webos/
9. chmod -R 755 webos/
10. ln -s /home/user/webos/gamesave /media/internal
(credit to zhandro @ maemo.org)

- i then created a folder in /home/user called applications and copied the com. game folder into this folder (all this was done using filebox) -

Install game with this

open x terminal

1 sudo gainroot
2 cd game-folder
3 chmod a+x filename

Test game from x terminal

1 preenv
2 ./filename

Game should load

if it works ok you need to exit the game, press ctrl and delete together and tap x on game window to close,

re-open x terminal window

3 exit (until x terminal closes)

create a game icon with this.

open x terminal

1 sudo gainroot
2 preenv
3 desktopgen game-folder/appinfo.json
4 exit (until x terminal closes)

Use x terminal at you're own risk if used incorrectly it can damage you're phone

If i have made a mistake please let me know.

I used Asphalt 5 v1.1.4

TQ SO MUCH. NOW IT RUN.
AND DON'T FORGET TO DELETE DATA.SAV. IF NOT GAME CLOSE AFTER LOADING PROCESS. THIS THANKS TO mido.fayad.
REALLY AWESOME. ASPHALT IS BETTER AND SMOOTHER THAT NFS.:D:D:D:D:D

Tha DocX 2010-11-04 11:09

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Aranel (Post 862561)
If Driver graphics are messed up even after installing libgles* for you too (black textures), here's a solution posted by ucahmetuc on meegoturkiye.org forums:

1. Create a blank file, name it driver.ini
2. Content for driver.ini:

3. Copy it to your device, location: /etc/powervr.d/driver.ini
4. ??
5. profit

Of course you can use nano if you prefer.

Well, It works for me at least :)

edit/and how to create that file ini?

jedi 2010-11-04 11:27

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Tha DocX (Post 863096)
edit/and how to create that file ini?

Use a text editor: vi, nano, leafpad etc.

For example, as root:
Code:

leafpad /etc/powervr.d/driver.ini

maxximuscool 2010-11-04 11:29

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jedi (Post 862981)
Works for me too - thanks :)

...At least it fixes the 'main' graphics problem. But it's still not 100% right - It seems that where there's lights etc it renders as solid blocks so you can't see through them.

Still, makes the game just about playable :)

That doesn't work for me. It still unplayable from the broken graphics. So an empty file will do nothing to the game itself.

jedi 2010-11-04 11:33

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by maxximuscool (Post 863106)
So an empty file will do nothing to the game itself.

What do you mean? The file /etc/powervr.d/ShrekKarting.ini should contain:
Code:

[default]
ForceExternalZBuffer=0


maxximuscool 2010-11-04 11:43

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jedi (Post 863111)
What do you mean? The file /etc/powervr.d/ShrekKarting.ini should contain:
Code:

[default]
ForceExternalZBuffer=0


That line alone won't do anything to the graphic library. I think Preenv needs a more up to date version from WebOS libraries :) then we can be surely play most of the games. May be I'm wrong though.

jedi 2010-11-04 11:47

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by maxximuscool (Post 863118)
That line alone won't do anything to the graphic library. I think Preenv needs a more up to date version from WebOS libraries :) then we can be surely play most of the games. May be I'm wrong though.

When I create the file with the two lines, it fixes the graphics display problem for Driver and ShrekKarting.

When the file is not there, the problem re-occurs.

Or when I change ForceExternalZBuffer=0 to ForceExternalZBuffer=1 the problem re-occurs.

So I think it's fairly safe to say that this does do something to the graphics library specifically for the appropriate games.

Have you actually tried it?!

Tha DocX 2010-11-04 11:51

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jedi (Post 863104)
Use a text editor: vi, nano, leafpad etc.

For example, as root:
Code:

leafpad /etc/powervr.d/driver.ini

thanks but I still have black pix
any advice?

jedi 2010-11-04 11:53

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Tha DocX (Post 863127)
thanks but I still have black pix
any advice?

And did you add the two lines in it? What game are you trying to fix?

jacobkorf 2010-11-04 12:03

Re: Preenv webOS games compatibility list
 
For Driver I created the driver.ini file on my pc, with the following lines in the ini file:
[default]
ForceExternalZBuffer=0

Copied driver.ini file to the applications directory of my phone and executed the following code in x-terminal:
root
cp /home/user/MyDocs/applications/driver.ini /etc/powervr.d

but when I then start driver I still have the same problem. Nothing changed:(

Tha DocX 2010-11-04 12:05

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jedi (Post 863131)
And did you add the two lines in it? What game are you trying to fix?

yes I put there the default and force ... 0
DRIVER
edit/ahaaaa x) w8

jedi 2010-11-04 12:07

Re: Preenv webOS games compatibility list
 
@jackobkorf, @thaDocX: Sorry, if the file is in the right location containing the correct 2 lines then I don't know why you're still getting corrupted graphics.

Tha DocX 2010-11-04 12:14

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jedi (Post 863153)
@jackobkorf, @thaDocX: Sorry, if the file is in the right location containing the correct 2 lines then I don't know why you're still getting corrupted graphics.

ok thx broo x)

jacobkorf 2010-11-04 12:17

Re: Preenv webOS games compatibility list
 
Thanks. I hope there will be a solution for me and Tha DocX in futur:)

J4ZZ 2010-11-04 12:23

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by taril (Post 860930)
1. open terminal

2. enter "root"

3. change the directory to where the game package file is

4. dpkg -i --install-dir=/home/user/MyDocs/Game com.gamename.ipk

5. create a directory /opt/usr/palm/applications

6. create the game directory to /opt/usr/palm/applications/GAMENAME

7. copy the appinfo.json and icon file to /opt/usr/palm/applications/GAMENAME

8. create the gamefiles directory in /opt/usr/palm/applications/gamename/gamename

9. copy the executable binary file from MyDocs to the game directory /opt/usr/palm/applications/gamename/gamename

10. change the rightrs of the executable binary file chmod +x binaryfile

11. symblink the directories and other files from /home/user/MyDocs/Game/gamename/gamename/ to /opt/usr/palm/applications/gamename/gamename

Multiple files linking in terminal:
for file in /home/user/MyDocs/Games/com.gameloft.gamename/* ; do ln -s "$file" /opt/usr/palm/applications/com.gameloft.gamename ; done

hi there I need some help here:
I tried
Code:

dpkg -i --instdir=/home/user/MyDocs/preenv/nova com.gameloft.app.nova_1.0.9_all.ipk
but I always get
Code:

dpkg: error processing com.gameloft.app.nova_1.0.9_all.ipk (--install):
 error setting ownership of `/usr': Operation not permitted
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 com.gameloft.app.nova_1.0.9_all.ipk

what i'm doin wrong?

Thx in advance,

..::J4ZZ::..

leetut 2010-11-04 12:25

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by J4ZZ (Post 863027)
-create a folder with game name in the 2GB partition of your beloved phone (/home/user/<your game dir> or /home/user/<any subdirectory>/<your game dir>)

thanks for the explanation bro
but its still far too complicated for my simple brain!
i dont have a 2GB partition on my phone
and wouldnt possibly know how to get one!
or even what one is!

what i need (and others probably need too)
is lots of instructions i can copy and paste into xterm

lke this:
http://talk.maemo.org/showpost.php?p...&postcount=366

that way worked for me because i just copy pasted everything without having to think too much about it!

shutdown 2010-11-04 12:27

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Berkt (Post 859841)
What language do you have on your phone?

Hi,

i've same problem:

"

PDL: Application asked for lang,giving it_IT
Segmentation fault

"

I think the language must be EN

anyone know this problem?

Tks

Tha DocX 2010-11-04 12:29

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jedi (Post 863153)
@jackobkorf, @thaDocX: Sorry, if the file is in the right location containing the correct 2 lines then I don't know why you're still getting corrupted graphics.

otherwise games stored in home / user not to mydocs If it helps

alin900maemo5 2010-11-04 12:30

Re: Preenv webOS games compatibility list
 
games does get install but they mess up the media files ..
songs and photos and vidoes are totally messed up ..
is there a way to avoid it and still get the game working??

javispedro 2010-11-04 12:59

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jedi (Post 862971)
I very much doubt creating a file called 'driver.ini' will modify the behaviour of the entire O/S - it's specific settings for the Driver game.

It's specific settings for the PVR driver, not for any "driver" game. So yes, it's chaging settings for the entire system. Change the windowing system there and Maemo no longer boots. That is a _fact_. You're on your own.

J4ZZ 2010-11-04 13:15

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by leetut (Post 863172)
thanks for the explanation bro
but its still far too complicated for my simple brain!
i dont have a 2GB partition on my phone
and wouldnt possibly know how to get one!
or even what one is!

the N900 is already partitioned by default.
a few megs for rootfs, 2GB for user and program files and the rest of the ~30GB memory is your custom stuff - the MyDocs location.

thats what I meant with "2GB partition". ;)

cheers

J4ZZ

jedi 2010-11-04 13:19

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by javispedro (Post 863206)
It's specific settings for the PVR driver, not for any "driver" game. So yes, it's chaging settings for the entire system. Change the windowing system there and Maemo no longer boots. That is a _fact_. You're on your own.

No, I'm sorry to be argumentative but I think you're wrong.
Which process in the Maemo O/S references this file then?
How come ShrekKarting.ini fixes the problem with the Shrek Karting game?
Just because it's called driver.ini does not mean that it's a generic process for drivers. It's specific to the Driver game.
I've made the change (and so have others apparently) and Maemo still boots: _fact_

EDIT: Maybe you're thinking of the other 'hack' mentioned around these forums recently concerning /etc/powervr.d/hildon-desktop.ini which DOES affect the windowing system?

Tha DocX 2010-11-04 13:29

Re: Preenv webOS games compatibility list
 
for what serves the line cp / home / user / MyDocs / applications / driver.ini / etc / powervr.d
driver.ini when I have saved in etc / powervr.d / driver.ini?

jacobkorf 2010-11-04 13:31

Re: Preenv webOS games compatibility list
 
:cool:.:D:mad:

jacobkorf 2010-11-04 13:32

Re: Preenv webOS games compatibility list
 
for what serves the line cp / home / user / MyDocs / applications / driver.ini / etc / powervr.d
driver.ini when I have saved in etc / powervr.d / driver.ini?


to copy driver.ini from MyDocs (which is accessible by your pc) to /home/user/ (which is not accessible).

javispedro 2010-11-04 13:40

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jedi (Post 863220)
Which process in the Maemo O/S references this file then?
How come ShrekKarting.ini fixes the problem with the Shrek Karting game?
Just because it's called driver.ini does not mean that it's a generic process for drivers. It's specific to the Driver game.

EDIT: Maybe you're thinking of the other 'hack' mentioned around these forums recently concerning /etc/powervr.d/hildon-desktop.ini which DOES affect the windowing system?

No, I was confusing it with /etc/powervr.ini and didn't see the powervr.d part--previously matching by the executable name was done inside powervr.ini, where [default] means "match every executable name", which is exactly that file's contents.

But I guess Nokia created the pvr.d directory for exactly that same purpose plus ease of packaging, so I'll shut up.

Quote:

I've made the change (and so have others apparently) and Maemo still boots
Note I said "change the windowing system".


All times are GMT. The time now is 12:14.

vBulletin® Version 3.8.8