NewsWeeZ
13/05/2010, 11:30
PhoneME SDL (http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,73,2648) is a GP2X port by -zaxxon- that use SDL and based on Sun’s phoneME project (https://phoneme.dev.java.net/downloads_page.html). It can run*Java/J2ME games developed for mobile phones.*
*
As demonstrated here (http://www.gp32x.com/board/index.php?/topic/53357-opposite-lock-3d-racing/), it works without any changes even on Wiz. If you want to try on the fly a pair of mobile*games, you can download Mister Hachi (http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,3,2838)*or Opposite Lock 3D Racing (http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,28,2844)*and only extract the folders on SD root.
*
To run any*other game, you must install it (note that for now*phoneME only supports midi music and phone tones, then other music formats/sound effect won’t be played).
*
How to install and run a game
*
- Download phoneME SDL v. 1.0.1 (http://dl.openhandhelds.org/cgi-bin/wiz.cgi?0,0,0,0,73,400) (the last version available) and extract “midi” and “phoneME” folder on the SD root.
- Download a free (*ahem*) mobile game to install: it only needs the .jar file and I*recommend the versions for Nokia N95, N96, N97, N-Gage or any other with 240×320 resolution
- Just put jar file into “phoneME” and*edit/make a .gpe*script such as*”install_game.gpe” writing game name (I remember you that’s case sensitive and you must use an editor that*supports UNIX/Linux format e.g. NotePad++).*For this example I use “Worms.jar”:
*
unset J2ME_GP2X_REVERSE
cd /mnt/sd/phoneME/bin/arm
./installMidlet ../../Worms.jar > ../../Worms.installed.txt
sync
cd /usr/gp2x
exec ./gp2xmenu
*
- Run install gpe and a warning*screen’ll appear for*a few*seconds*about “This application don’t use the screen and bla bla bla”: it’s normal. Now, the game’s installed and MIDlet ID*is indicated in the text file (in this case “Worms.installed.txt”). This ID is only a number that starts with 2 (so the next installed game’ll have 3 and so on). If something went wrong, message error will be in the same text file.
- To run the new game, it needs make a gpe with key mapping and rotation setting like “Dweller.gpe”. Most of phone games runs with 240×320 orientation, for this you must add “export J2ME_GP2X_REVERSE=1″ (without*that set, game*runs with 320×240 normal orientation). The following example is taken from Mister Hachi (http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,3,2838)*(note that*2 value on “./runMidlet” that’s the ID*game):
*
export J2ME_GP2X_JOYU=-3
export J2ME_GP2X_JOYUL=49
export J2ME_GP2X_JOYL=-2
export J2ME_GP2X_JOYDL=51
export J2ME_GP2X_JOYD=-4
export J2ME_GP2X_JOYDR=49
export J2ME_GP2X_JOYR=-1
export J2ME_GP2X_JOYUR=55
export J2ME_GP2X_START=-7
export J2ME_GP2X_SELECT=-6
export J2ME_GP2X_LEFT=52
export J2ME_GP2X_RIGHT=54
export J2ME_GP2X_BUTA=42
export J2ME_GP2X_BUTB=32
export J2ME_GP2X_BUTX=-5
export J2ME_GP2X_BUTY=-8
export J2ME_GP2X_VOLU=-5
export J2ME_GP2X_VOLD=-5
export J2ME_GP2X_REVERSE=1
cd bin/arm
./runMidlet 2
sync
cd /usr/gp2x
exec ./gp2xmenu
- For a full list of phone value*keys see the “ReadMe.txt”, bearing in mind that “J2ME_GP2X_JOYC** – Joystick CENTER (PRESS)”*it doesn’t exist*on Wiz console*(it was stick-click on GP2X F100). An example of not rotated game is Opposite Lock 3D Racing (http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,28,2844).
- Saved the previous gpe file as “Worms.gpe” (i.e. GameName.gpe), just launch it for play. If you prefer, you can delete .jar file after installing the game.
- To remove an installed game, you have to*launch by script or by*Termula2X (http://dl.openhandhelds.org/cgi-bin/wiz.cgi?0,0,0,0,8,163) this command:
removeMidlet
While to list name and ID of the installed games, the command is “listMidlets”. Both these are into “phoneME/bin/arm” folder.*
If something isn’t clear, read the “ReadMe.txt” in phoneME.
I know that’s not easy this way, and there would be a “frontend” called pME_selector (http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,4,2574)*more user-friendly. But to work it needs that someone ports kounch’s Selector (http://sourceforge.net/projects/gp2x-selector/files/)*to the Wiz.
Another*alternative is Cli_install_game (http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,8,2637)*script by bman, but it requires Termula2X (http://dl.openhandhelds.org/cgi-bin/wiz.cgi?0,0,0,0,8,163).
Más información... (http://lostsite.altervista.org/wiz/?p=1336)
*
As demonstrated here (http://www.gp32x.com/board/index.php?/topic/53357-opposite-lock-3d-racing/), it works without any changes even on Wiz. If you want to try on the fly a pair of mobile*games, you can download Mister Hachi (http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,3,2838)*or Opposite Lock 3D Racing (http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,28,2844)*and only extract the folders on SD root.
*
To run any*other game, you must install it (note that for now*phoneME only supports midi music and phone tones, then other music formats/sound effect won’t be played).
*
How to install and run a game
*
- Download phoneME SDL v. 1.0.1 (http://dl.openhandhelds.org/cgi-bin/wiz.cgi?0,0,0,0,73,400) (the last version available) and extract “midi” and “phoneME” folder on the SD root.
- Download a free (*ahem*) mobile game to install: it only needs the .jar file and I*recommend the versions for Nokia N95, N96, N97, N-Gage or any other with 240×320 resolution
- Just put jar file into “phoneME” and*edit/make a .gpe*script such as*”install_game.gpe” writing game name (I remember you that’s case sensitive and you must use an editor that*supports UNIX/Linux format e.g. NotePad++).*For this example I use “Worms.jar”:
*
unset J2ME_GP2X_REVERSE
cd /mnt/sd/phoneME/bin/arm
./installMidlet ../../Worms.jar > ../../Worms.installed.txt
sync
cd /usr/gp2x
exec ./gp2xmenu
*
- Run install gpe and a warning*screen’ll appear for*a few*seconds*about “This application don’t use the screen and bla bla bla”: it’s normal. Now, the game’s installed and MIDlet ID*is indicated in the text file (in this case “Worms.installed.txt”). This ID is only a number that starts with 2 (so the next installed game’ll have 3 and so on). If something went wrong, message error will be in the same text file.
- To run the new game, it needs make a gpe with key mapping and rotation setting like “Dweller.gpe”. Most of phone games runs with 240×320 orientation, for this you must add “export J2ME_GP2X_REVERSE=1″ (without*that set, game*runs with 320×240 normal orientation). The following example is taken from Mister Hachi (http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,3,2838)*(note that*2 value on “./runMidlet” that’s the ID*game):
*
export J2ME_GP2X_JOYU=-3
export J2ME_GP2X_JOYUL=49
export J2ME_GP2X_JOYL=-2
export J2ME_GP2X_JOYDL=51
export J2ME_GP2X_JOYD=-4
export J2ME_GP2X_JOYDR=49
export J2ME_GP2X_JOYR=-1
export J2ME_GP2X_JOYUR=55
export J2ME_GP2X_START=-7
export J2ME_GP2X_SELECT=-6
export J2ME_GP2X_LEFT=52
export J2ME_GP2X_RIGHT=54
export J2ME_GP2X_BUTA=42
export J2ME_GP2X_BUTB=32
export J2ME_GP2X_BUTX=-5
export J2ME_GP2X_BUTY=-8
export J2ME_GP2X_VOLU=-5
export J2ME_GP2X_VOLD=-5
export J2ME_GP2X_REVERSE=1
cd bin/arm
./runMidlet 2
sync
cd /usr/gp2x
exec ./gp2xmenu
- For a full list of phone value*keys see the “ReadMe.txt”, bearing in mind that “J2ME_GP2X_JOYC** – Joystick CENTER (PRESS)”*it doesn’t exist*on Wiz console*(it was stick-click on GP2X F100). An example of not rotated game is Opposite Lock 3D Racing (http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,28,2844).
- Saved the previous gpe file as “Worms.gpe” (i.e. GameName.gpe), just launch it for play. If you prefer, you can delete .jar file after installing the game.
- To remove an installed game, you have to*launch by script or by*Termula2X (http://dl.openhandhelds.org/cgi-bin/wiz.cgi?0,0,0,0,8,163) this command:
removeMidlet
While to list name and ID of the installed games, the command is “listMidlets”. Both these are into “phoneME/bin/arm” folder.*
If something isn’t clear, read the “ReadMe.txt” in phoneME.
I know that’s not easy this way, and there would be a “frontend” called pME_selector (http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,4,2574)*more user-friendly. But to work it needs that someone ports kounch’s Selector (http://sourceforge.net/projects/gp2x-selector/files/)*to the Wiz.
Another*alternative is Cli_install_game (http://dl.openhandhelds.org/cgi-bin/gp2x.cgi?0,0,0,0,8,2637)*script by bman, but it requires Termula2X (http://dl.openhandhelds.org/cgi-bin/wiz.cgi?0,0,0,0,8,163).
Más información... (http://lostsite.altervista.org/wiz/?p=1336)