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)

cloud596 2011-01-29 02:22

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Nokia 5700 (Post 930994)
Ok, I got Pocketchef up and running, however with graphical issues. All 2D textures, overlays and such are white.
I'll see what I can do.

uppss you were right.
I forget to give
chown -R user:users gamepath/com.app.gameloft.pocketcheft

and chmod 755 gamepath/com.app.gameloft.pocketcheft

game bug white cause it vant use any driver gless at all.

bublebash work before that asking for device id. after I did command above it work.

alin900maemo5 2011-01-29 02:51

Re: Preenv webOS games compatibility list
 
can anyone help me on m 3problems .... ?

porselinaheart 2011-01-29 03:37

Re: Preenv webOS games compatibility list
 
@ alin900maemo5, dunno bout 1 and 2, but for assassins creed just scratch all over the screen like a maniac, was suggested by someone a few pages back, and seems to work for me, :P

alin900maemo5 2011-01-29 03:52

Re: Preenv webOS games compatibility list
 
@thanxxx ....will try it out

jflatt 2011-01-29 04:27

Re: Preenv webOS games compatibility list
 
I've got a couple updates. First off, I got some scaling issues resolved, which should mean Tiger Woods 09 is fully working, and Speed Forge scales the game properly now. Also, I got Sparkle running, but not sure if it's responding to input or not. Crusade of Destiny should scale properly, I think it didn't before. Which leads me to...
Added back the
Code:

screen_width
screen_height
screen_rotation

settings to per-game gconf configuration. This is only for those who want their aspect ratio perfect, or to re-rotate the one or two quirky games. If the game needs these settings, then we need to fix them still.

Also, I've added a colorkey to get cinematics showing. The colorkey is set for black. If you look at your desktop while a cinematic is playing, you'll notice everything black is now replaced with a movie. I think a better workaround is to pick any other color (green, magenta) for the colorkey and set the sdl window to that color.

Then there's also joystick support. You can already use the default sixad button mappings, but we can do real SDL support if you remove the
Code:

/usr/share/hal/fdi/policy/20thirdparty/20-x11-sony-sixaxis.fdi
I've only tested so far with the SixAxis. I've got some Wii remotes, I'll work on them next. These are the gconf keys
Code:

joy_0_key
joy_0_mouse
joy_0_x
joy_0_y

Where the 0 button code can replaced with any of these
Code:

L1 10
L2 8
R1 11
R2 9
Up 4
Right 5
Down 6
Left 7
Select 0
Start 3
PS 16
Triangle 12
Circle 13
X 14
Square 15
Left Button 1
Right Button 2

If you want to get crazy, run Asphalt5, and then move the SixAxis around. Accelerometer steering! Just be sure that enable_dpad is not on.

If you do have enable_dpad on, it will allow you to use the axis on the controller too. These are the gconf keys
Code:

axis_0_axis
axis_0_mouse
axis_0_type
axis_0_center
axis_0_min
axis_0_max

Where the 0 can replaced by any of these
Code:

L1 14
L2 12
R1 15
R2 13
Up 8
Right 9
Down 10
Left 11
Triangle 16
Circle 17
X 18
Square 19
Left Stick X 0
Left Stick Y 1
Right Stick X 2
Right Stick Y 3
X 5
Y 4
Z 6

I have mapped up some preliminary dpad controls to axis 0 and 1. I need to rework it to allow for different numbers and types of movement, so don't complain about it just yet. If you want to map the dpad, here's an example for nova (type 0 is x-axis, type 1 is y-axis)
Code:

gconftool-2 --set --type int /apps/preenv/nova/enable_dpad 1
gconftool-2 --set --type int /apps/preenv/nova/axis_0_axis 0
gconftool-2 --set --type int /apps/preenv/nova/axis_0_type 0
gconftool-2 --set --type int /apps/preenv/nova/axis_0_mouse 2
gconftool-2 --set --type int /apps/preenv/nova/axis_0_center 119
gconftool-2 --set --type int /apps/preenv/nova/axis_0_min 20
gconftool-2 --set --type int /apps/preenv/nova/axis_0_max 222
gconftool-2 --set --type int /apps/preenv/nova/axis_1_axis 1
gconftool-2 --set --type int /apps/preenv/nova/axis_1_type 1
gconftool-2 --set --type int /apps/preenv/nova/axis_1_mouse 2
gconftool-2 --set --type int /apps/preenv/nova/axis_1_center 376
gconftool-2 --set --type int /apps/preenv/nova/axis_1_max 466
gconftool-2 --set --type int /apps/preenv/nova/axis_1_min 280


porselinaheart 2011-01-29 04:48

Re: Preenv webOS games compatibility list
 
sweet update jflatt!. slightly o/t question, but how did u get your wiimote to work with ur n900?? i had a good rummage around the forum last week, but couldn't find a solution that was outdated or even installable.

alin900maemo5 2011-01-29 05:12

Re: Preenv webOS games compatibility list
 
hi jflatt ,
what exactly do i need to do to make speed forge and tiger woods 09 work perfectly ?
and do u have the deb links of these games ?

Boemien 2011-01-29 09:48

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by alin900maemo5 (Post 931067)
hi jflatt ,

and do u have the deb links of these games ?

Lol! You Should legally buy them, or legally ask Google to find them for you!! :D :D :D

govprog 2011-01-29 10:32

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 931061)
I've got a couple updates. First off, I got some scaling issues resolved, which should mean Tiger Woods 09 is fully working, and Speed Forge scales the game properly now. Also, I got Sparkle running, but not sure if it's responding to input or not. Crusade of Destiny should scale properly, I think it didn't before. Which leads me to...
Added back the
Code:

screen_width
screen_height
screen_rotation

settings to per-game gconf configuration. This is only for those who want their aspect ratio perfect, or to re-rotate the one or two quirky games. If the game needs these settings, then we need to fix them still.

Tiger woods working.
Game movies are now working.(Except in some games like NFSUC.It's movie is not working for me.I doubt it's the in game movie problem.Because in game movies like asphalt are working for me.)
Crusade of destiny scales properly now,but still not working.
Crispy screen problem is not gone.Perhaps it's one of the scaling issues too.
Quote:

Originally Posted by alin900maemo5 (Post 931067)
what exactly do i need to do to make speed forge and tiger woods 09 work perfectly ?

Redownload libsdlpre.so
Code:

members.cox.net/jflatt/libsdlpre.so

Nokia 5700 2011-01-29 10:59

Re: Preenv webOS games compatibility list
 
I really like NOVA. It's quite playable with the keyboard, but there is a bug...
On the level "The Celestial Citadel" you have to crack an alien computer, but the dots that you are supposed to move disappear into the top-left corner, making it impossible to crack it. I clearly see the dots, but it makes it impossible to crack the code. Is there any way to fix this?
I doubt that it's regular behavior.

cloud596 2011-01-29 11:07

Re: Preenv webOS games compatibility list
 
does it fix gangstar. bia 2.

must to try it.

cloud596 2011-01-29 11:09

Re: Preenv webOS games compatibility list
 
does it fix gangstar. bia 2.

must to try it.

@ govprog yuppps movie opening working and the other inside game working tooo.

yeppeeee.

speed forge still not tested yet.

alin900maemo5 2011-01-29 12:07

Re: Preenv webOS games compatibility list
 
thanx govprog ....

cloud596 2011-01-29 12:23

Re: Preenv webOS games compatibility list
 
@ govprog have u tried with screen width with bia2.

MINKIN2 2011-01-29 12:26

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Nokia 5700 (Post 931171)
I really like NOVA. It's quite playable with the keyboard, but there is a bug...
On the level "The Celestial Citadel" you have to crack an alien computer, but the dots that you are supposed to move disappear into the top-left corner, making it impossible to crack it. I clearly see the dots, but it makes it impossible to crack the code. Is there any way to fix this?
I doubt that it's regular behavior.

Hi Nokia5700

I found this problem too some months ago but managed to get through them by only making gentle gestures with the stylus.

IIRC, when you are moving the dots around the circles, if you hit the edges of the rings then the dots will jump to the side. If you move them in a very slow and precise motion, then you can complete the hacking tasks ok (with practice)

Hope that helps :)

alin900maemo5 2011-01-29 13:06

Re: Preenv webOS games compatibility list
 
hey govprog ,

this command of urs :
members.cox.net/jflatt/libsdlpre.so

do i need to do this as a root or without a root ?

tele 2011-01-29 13:22

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by porselinaheart (Post 931047)
@ alin900maemo5, dunno bout 1 and 2, but for assassins creed just scratch all over the screen like a maniac, was suggested by someone a few pages back, and seems to work for me, :P

when it asks you to scratch. click on the helpl on the bottom right.
it will ask you to scratch. scratch the whole screen then the "help" will clean the screen for you. then the black will be gone. move the key and done.
help splits the scratchiing into two bits. which cleans the screen

also are any people interested in saved game file?
i have nova, assassins creed and nfsuc completed and i can upload the save games file :D

alin900maemo5 2011-01-29 14:12

Re: Preenv webOS games compatibility list
 
thanx TELE

and jflatts please shud i type those command as root or not ?

govprog 2011-01-29 16:47

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by alin900maemo5 (Post 931294)
and jflatts please shud i type those command as root or not ?

This is not a command; This is a download link.If you want to type it as X-Terminal commands then you should write
Code:

wget http://members.cox.net/jflatt/libsdlpre.so
sudo gainroot
mv libsdlpre.so /opt/preenv/lib/libsdlpre.so

Quote:

Originally Posted by cloud596 (Post 931225)
@ govprog have u tried with screen width with bia2.

No. Does it have any positive effects?

alin900maemo5 2011-01-29 17:18

Re: Preenv webOS games compatibility list
 
thanx govprog .........
and m sorry but i cudnt find deb links to tiger woods 09 and speed forge even via google ..
so if sumone has the link plz put it forward - i wud be really thankful of u

ipk file r there but i want deb files....

thanx in advancee

Nokia 5700 2011-01-29 21:18

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by MINKIN2 (Post 931229)
Hi Nokia5700

I found this problem too some months ago but managed to get through them by only making gentle gestures with the stylus.

IIRC, when you are moving the dots around the circles, if you hit the edges of the rings then the dots will jump to the side. If you move them in a very slow and precise motion, then you can complete the hacking tasks ok (with practice)

Hope that helps :)

Ok... I kind of figured it out... you have to do the opposite of what you said. You have to move the dots as fast as you can, and drop them as fast as you can... They didn't disappear for me, and I have now finished the game on Normal. Next up is Hard. And heck, the game is simple if you get the Plasma Gun. :D (Charge, fire, kill.)

I've started to love my N900 even more with stuff like this... Now i can play Toonwarz, Raging Thunder, Ocarina of Time, Assassins Creed and more, just like the old days. :) (Yes, I played AC back in 2008... xD And now the same game is out for Pre. Who's late for the party?)

impeham 2011-01-30 08:20

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 931154)
Tiger woods working.
Game movies are now working.(Except in some games like NFSUC.It's movie is not working for me.I doubt it's the in game movie problem.Because in game movies like asphalt are working for me.)
Crusade of destiny scales properly now,but still not working.
Crispy screen problem is not gone.Perhaps it's one of the scaling issues too.

Redownload libsdlpre.so
Code:

members.cox.net/jflatt/libsdlpre.so

This fixed the wrongly recognized screen clicks in galcon - can it be done also for Speed forge extreme (you need to click 1 inch right of the point you really want to click for it to respond)

hadjistyllis 2011-01-30 11:10

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 931061)
I've got a couple updates. First off, I got some scaling issues resolved, which should mean Tiger Woods 09 is fully working, and Speed Forge scales the game properly now. Also, I got Sparkle running, but not sure if it's responding to input or not. Crusade of Destiny should scale properly, I think it didn't before. Which leads me to...
Added back the
Code:

screen_width
screen_height
screen_rotation

settings to per-game gconf configuration. This is only for those who want their aspect ratio perfect, or to re-rotate the one or two quirky games. If the game needs these settings, then we need to fix them still.

Also, I've added a colorkey to get cinematics showing. The colorkey is set for black. If you look at your desktop while a cinematic is playing, you'll notice everything black is now replaced with a movie. I think a better workaround is to pick any other color (green, magenta) for the colorkey and set the sdl window to that color.

Then there's also joystick support. You can already use the default sixad button mappings, but we can do real SDL support if you remove the
Code:

/usr/share/hal/fdi/policy/20thirdparty/20-x11-sony-sixaxis.fdi
I've only tested so far with the SixAxis. I've got some Wii remotes, I'll work on them next. These are the gconf keys
Code:

joy_0_key
joy_0_mouse
joy_0_x
joy_0_y

Where the 0 button code can replaced with any of these
Code:

L1 10
L2 8
R1 11
R2 9
Up 4
Right 5
Down 6
Left 7
Select 0
Start 3
PS 16
Triangle 12
Circle 13
X 14
Square 15
Left Button 1
Right Button 2

If you want to get crazy, run Asphalt5, and then move the SixAxis around. Accelerometer steering! Just be sure that enable_dpad is not on.

If you do have enable_dpad on, it will allow you to use the axis on the controller too. These are the gconf keys
Code:

axis_0_axis
axis_0_mouse
axis_0_type
axis_0_center
axis_0_min
axis_0_max

Where the 0 can replaced by any of these
Code:

L1 14
L2 12
R1 15
R2 13
Up 8
Right 9
Down 10
Left 11
Triangle 16
Circle 17
X 18
Square 19
Left Stick X 0
Left Stick Y 1
Right Stick X 2
Right Stick Y 3
X 5
Y 4
Z 6

I have mapped up some preliminary dpad controls to axis 0 and 1. I need to rework it to allow for different numbers and types of movement, so don't complain about it just yet. If you want to map the dpad, here's an example for nova (type 0 is x-axis, type 1 is y-axis)
Code:

gconftool-2 --set --type int /apps/preenv/nova/enable_dpad 1
gconftool-2 --set --type int /apps/preenv/nova/axis_0_axis 0
gconftool-2 --set --type int /apps/preenv/nova/axis_0_type 0
gconftool-2 --set --type int /apps/preenv/nova/axis_0_mouse 2
gconftool-2 --set --type int /apps/preenv/nova/axis_0_center 119
gconftool-2 --set --type int /apps/preenv/nova/axis_0_min 20
gconftool-2 --set --type int /apps/preenv/nova/axis_0_max 222
gconftool-2 --set --type int /apps/preenv/nova/axis_1_axis 1
gconftool-2 --set --type int /apps/preenv/nova/axis_1_type 1
gconftool-2 --set --type int /apps/preenv/nova/axis_1_mouse 2
gconftool-2 --set --type int /apps/preenv/nova/axis_1_center 376
gconftool-2 --set --type int /apps/preenv/nova/axis_1_max 466
gconftool-2 --set --type int /apps/preenv/nova/axis_1_min 280



How can we use the second analog Jflat? I try on nova this:

gconftool-2 --set --type int /apps/preenv/nova/enable_dpad 1
gconftool-2 --set --type int /apps/preenv/nova/axis_0_axis 0
gconftool-2 --set --type int /apps/preenv/nova/axis_0_type 0
gconftool-2 --set --type int /apps/preenv/nova/axis_0_mouse 2
gconftool-2 --set --type int /apps/preenv/nova/axis_0_center 119
gconftool-2 --set --type int /apps/preenv/nova/axis_0_min 20
gconftool-2 --set --type int /apps/preenv/nova/axis_0_max 222
gconftool-2 --set --type int /apps/preenv/nova/axis_1_axis 1
gconftool-2 --set --type int /apps/preenv/nova/axis_1_type 1
gconftool-2 --set --type int /apps/preenv/nova/axis_1_mouse 2
gconftool-2 --set --type int /apps/preenv/nova/axis_1_center 376
gconftool-2 --set --type int /apps/preenv/nova/axis_1_max 466
gconftool-2 --set --type int /apps/preenv/nova/axis_1_min 280
gconftool-2 --set --type int /apps/preenv/nova/axis_2_axis 2
gconftool-2 --set --type int /apps/preenv/nova/axis_2_type 0
gconftool-2 --set --type int /apps/preenv/nova/axis_2_mouse 1
gconftool-2 --set --type int /apps/preenv/nova/axis_2_center 400
gconftool-2 --set --type int /apps/preenv/nova/axis_2_min 10
gconftool-2 --set --type int /apps/preenv/nova/axis_2_max 790
gconftool-2 --set --type int /apps/preenv/nova/axis_3_axis 3
gconftool-2 --set --type int /apps/preenv/nova/axis_3_type 1
gconftool-2 --set --type int /apps/preenv/nova/axis_3_mouse 1
gconftool-2 --set --type int /apps/preenv/nova/axis_3_center 240
gconftool-2 --set --type int /apps/preenv/nova/axis_3_max 470
gconftool-2 --set --type int /apps/preenv/nova/axis_3_min 10
gconftool-2 --set --type int /apps/preenv/nova/joy_14_key 14 # z
gconftool-2 --set --type int /apps/preenv/nova/joy_14_mouse 3
gconftool-2 --set --type int /apps/preenv/nova/joy_14_x 720
gconftool-2 --set --type int /apps/preenv/nova/joy_14_y 250
gconftool-2 --set --type int /apps/preenv/nova/joy_10_key 10 # w
gconftool-2 --set --type int /apps/preenv/nova/joy_10_mouse 3
gconftool-2 --set --type int /apps/preenv/nova/joy_10_x 780
gconftool-2 --set --type int /apps/preenv/nova/joy_10_y 460
gconftool-2 --set --type int /apps/preenv/nova/joy_15_key 15 # a
gconftool-2 --set --type int /apps/preenv/nova/joy_15_mouse 3
gconftool-2 --set --type int /apps/preenv/nova/joy_15_x 60
gconftool-2 --set --type int /apps/preenv/nova/joy_15_y 95
gconftool-2 --set --type int /apps/preenv/nova/joy_8_key 8 # q
gconftool-2 --set --type int /apps/preenv/nova/joy_8_mouse 3
gconftool-2 --set --type int /apps/preenv/nova/joy_8_x 701
gconftool-2 --set --type int /apps/preenv/nova/joy_8_y 384
gconftool-2 --set --type int /apps/preenv/nova/joy_11_key 11 # E
gconftool-2 --set --type int /apps/preenv/nova/joy_11_mouse 3
gconftool-2 --set --type int /apps/preenv/nova/joy_11_x 720
gconftool-2 --set --type int /apps/preenv/nova/joy_11_y 95
gconftool-2 --set --type int /apps/preenv/nova/joy_3_key 3 # space
gconftool-2 --set --type int /apps/preenv/nova/joy_3_mouse 3
gconftool-2 --set --type int /apps/preenv/nova/joy_3_x 30
gconftool-2 --set --type int /apps/preenv/nova/joy_3_y 30

All works ok but Second analog not. what i did wrong?

impeham 2011-01-30 12:41

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 931765)
It won't fix the galcon's "Bad touch rotation" itself yet(I mean libsdlpre.so can't fix the galcon itself yet without any modifications).As jflatt said before they are some games that are willing to automatically fit the screen even after the scaling is set to 0. And this game is formally requesting to change its rotation to 3 but this request is useless because this game is already creating a landscape surface.For a try out, you can destroy your changes by typing
Code:

gconftool-2 --recursive-unset /apps/preenv/galcon
And you will see it won't work again.
To get it working again you can type
Code:

gconftool-2 --set --type int /apps/preenv/galcon/screen_rotation 0
EDIT:And for the speed forge:I don't know. Try experimenting. If a real rotation happens during your experiment,so it won't.(My above suggestion was for this:If you are always facing the same result with every number in the rotation(0,1,2,3,4,...) so you are facing the same problem.Otherwise,it is going to be another scaling issue.)

Well - you were right about galcon - happened exactly as you described. Speed forge extreme rotates the picture and the keyboard issue can't be fixed this way. :(

Thanks for the help though.

Boemien 2011-01-30 13:43

Re: Preenv webOS games compatibility list
 
Please who can give me Keymapping for Toonwarz??

gm90_blackmamba 2011-01-30 14:43

Re: Preenv webOS games compatibility list
 
hi guys, i have a problem with assassins. I use mido,s libsdlpre.so and assassins.sh but it is still unplayable because i can't jump with the keybord. can someone explain how to use the keyboard mapping?

thank you very much

p.s. i have italian kayboard.

divij 2011-01-30 15:07

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by gm90_blackmamba (Post 931892)
hi guys, i have a problem with assassins. I use mido,s libsdlpre.so and assassins.sh but it is still unplayable because i can't jump with the keybord. can someone explain how to use the keyboard mapping?

thank you very much

p.s. i have italian kayboard.

did u follow all the instructions?
did u copy the patch in lib?
if yes you will be able to jump with the up arrow key
but you would have to use the screen to move altair
p.s. make sure you have latest version of preenv(ie 0.1.4)

Boemien 2011-01-30 15:44

Re: Preenv webOS games compatibility list
 
Euh...Toonwarz Key mapping Please, i really need it!!!!

gm90_blackmamba 2011-01-30 16:22

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by divij (Post 931906)
did u follow all the instructions?
did u copy the patch in lib?
if yes you will be able to jump with the up arrow key
but you would have to use the screen to move altair
p.s. make sure you have latest version of preenv(ie 0.1.4)

I have the preenv 0.1.4 with the patch but i can't jump

with asphalt and earthwormjim the patch work only with assassins there is a problem

gm90_blackmamba 2011-01-30 17:17

Re: Preenv webOS games compatibility list
 
govprog can you explain me how to crate a .sh file?

divij 2011-01-30 17:48

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by gm90_blackmamba (Post 931952)
I have the preenv 0.1.4 with the patch but i can't jump

with asphalt and earthwormjim the patch work only with assassins there is a problem

http://www.mediafire.com/?xc233mh7aij33gk

download the patch from here
type

sudo gainroot
cd MyDocs
chmod +x assassinscreed.sh
sh assassinscreed.sh

impeham 2011-01-30 18:26

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 931765)
It won't fix the galcon's "Bad touch rotation" itself yet(I mean libsdlpre.so can't fix the galcon itself yet without any modifications).As jflatt said before they are some games that are willing to automatically fit the screen even after the scaling is set to 0. And this game is formally requesting to change its rotation to 3 but this request is useless because this game is already creating a landscape surface.For a try out, you can destroy your changes by typing
Code:

gconftool-2 --recursive-unset /apps/preenv/galcon
And you will see it won't work again.
To get it working again you can type
Code:

gconftool-2 --set --type int /apps/preenv/galcon/screen_rotation 0
EDIT:And for the speed forge:I don't know. Try experimenting. If a real rotation happens during your experiment,so it won't.(My above suggestion was for this:If you are always facing the same result with every number in the rotation(0,1,2,3,4,...) so you are facing the same problem.Otherwise,it is going to be another scaling issue.)

Do you happen to know if there are config commands needed to make Uno and Risk games work?

Nokia 5700 2011-01-30 18:43

Re: Preenv webOS games compatibility list
 
If someone could tell me how the mapping works, i can make a script for mapping keys to Toonwarz. :)
I know that there are GConf keys, but can i define buttons with names that I define?
Im not such a fan of the key_273_something. What about making them from 1 to... 30. Then put a name on them with a comment.
Could i do that?

gm90_blackmamba 2011-01-30 18:52

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by divij (Post 931995)
http://www.mediafire.com/?xc233mh7aij33gk

download the patch from here
type

sudo gainroot
cd MyDocs
chmod +x assassinscreed.sh
sh assassinscreed.sh

thank you very much for help, but i have resolved in another way ;):):p

govprog 2011-01-30 19:04

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by Nokia 5700 (Post 932028)
If someone could tell me how the mapping works, i can make a script for mapping keys to Toonwarz. :)
I know that there are GConf keys, but can i define buttons with names that I define?
Im not such a fan of the key_273_something. What about making them from 1 to... 30. Then put a name on them with a comment.
Could i do that?

Quote:

Originally Posted by gm90_blackmamba (Post 931981)
govprog can you explain me how to crate a .sh file?

You can create .sh files with an application like notepad++(windows)(Don't forget to save your file in UNIX format) or any editors like nano or vim (linux) or you can launch your device's nano or vim or etc. Because the .sh file will be just executed (here) you can type commands inside it.And,to be honest,the existing .sh files are also a bunch of commands that could be written in X-Terminal one by one without any problems(But it will slow you down). To integrate a key you should type 4 lines for it including:
Line 1:keycode
Line 2:key virtual mouse number
Line 3:virtual mouse's x
Line 4:virtual mouse's y
For example
Code:

gconftool-2 --set --type int /apps/preenv/(exename)/key_103_key 103 #This is the key "g"
gconftool-2 --set --type int /apps/preenv/(exename)/key_103_mouse 1 #The key "g" is using the mouse NO.1
gconftool-2 --set --type int /apps/preenv/(exename)/key_103_x 357
gconftool-2 --set --type int /apps/preenv/(exename)/key_103_y 272 # Virtual click dimensions for the key "g"

Note that you can't evade the formal procedure. If you have any problems,e.g you don't know the keycode you can publish your .sh file here and I will fix the problem for you.
Quote:

Originally Posted by impeham (Post 932014)
Do you happen to know if there are config commands needed to make Uno and Risk games work?

Try the cloud596's experiment.

jflatt 2011-01-30 19:24

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by hadjistyllis (Post 931803)
How can we use the second analog Jflat? I try on nova this:
All works ok but Second analog not. what i did wrong?

I only wired up the left stick. I went the wrong way with the code, and I want to rework it to be more flexible

Nokia 5700 2011-01-30 19:25

Re: Preenv webOS games compatibility list
 
The keymap might be ready tomorrow.
Now, onto work. ;)

gm90_blackmamba 2011-01-30 20:03

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by govprog (Post 932042)
You can create .sh files with an application like notepad++(windows)(Don't forget to save your file in UNIX format) or any editors like nano or vim (linux) or you can launch your device's nano or vim or etc. Because the .sh file will be just executed (here) you can type commands inside it.And,to be honest,the existing .sh files are also a bunch of commands that could be written in X-Terminal one by one without any problems(But it will slow you down). To integrate a key you should type 4 lines for it including:
Line 1:keycode
Line 2:key virtual mouse number
Line 3:virtual mouse's x
Line 4:virtual mouse's y
For example
Code:

gconftool-2 --set --type int /apps/preenv/(exename)/key_103_key 103 #This is the key "g"
gconftool-2 --set --type int /apps/preenv/(exename)/key_103_mouse 1 #The key "g" is using the mouse NO.1
gconftool-2 --set --type int /apps/preenv/(exename)/key_103_x 357
gconftool-2 --set --type int /apps/preenv/(exename)/key_103_y 272 # Virtual click dimensions for the key "g"

Note that you can't evade the formal procedure. If you have any problems,e.g you don't know the keycode you can publish your .sh file here and I will fix the problem for you.

Try the cloud596's experiment.

thanks thanks thanks :)

hadjistyllis 2011-01-30 20:24

Re: Preenv webOS games compatibility list
 
Quote:

Originally Posted by jflatt (Post 932052)
I only wired up the left stick. I went the wrong way with the code, and I want to rework it to be more flexible

OK Jflatt, thank you. Keep up the good work. You make many n900 users very happy

OperationNT 2011-01-30 20:31

Re: Preenv webOS games compatibility list
 
Before Preenv 0.1.4, I have a bad screen orientation issue with Radiant and Buka (but screen touch fitted with this bad orientation). Now, the bad orientation is fixed for display but is still here for controls (make those games near impossible to play). I see there is configurations for screen display rotation.

Is there a similar configuration for screen touch orientation ?

Thanks for your help ;).


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

vBulletin® Version 3.8.8