Mr 2X
Member
PhoneME SDL is a GP2X port by -zaxxon- that use SDL and based on Sun's phoneME project. It can run Java/J2ME games developed for mobile phones.
As demonstrated here, 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 or Opposite Lock 3D Racing 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 (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 / 320x240 resolution
- Just put jar file into "phoneME" and edit/make a .gpe script (such as "install_game.gpe" included) writing game name in it (I remember you that's case sensitive and you must use a text editor that supports UNIX/Linux format e.g. NotePad++). For this example I use "Worms.jar":
- 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 begins by 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" included). 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 (note that value 2 after "./runMidlet" that's the game ID):
- 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.
- 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 this command:
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 more user-friendly. But to work it needs that someone ports kounch's Selector to the Wiz.
Another alternative is Cli_install_game script by bman, but it requires Termula2X.
(This HowTo is taken from http://lostsite.alte...org/wiz/?p=1336 and based on "ReadMe.txt" infos from phoneME folder).
EDIT: Some corrections.
As demonstrated here, 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 or Opposite Lock 3D Racing 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 (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 / 320x240 resolution
- Just put jar file into "phoneME" and edit/make a .gpe script (such as "install_game.gpe" included) writing game name in it (I remember you that's case sensitive and you must use a text editor that supports UNIX/Linux format e.g. NotePad++). For this example I use "Worms.jar":
Code:
unset J2ME_GP2X_REVERSE
cd /mnt/sd/phoneME/bin/arm
./installMidlet ../../Worms.jar > ../../Worms.installed.txt
sync
cd /usr/gp2x
exec ./gp2xmenu
- To run the new game, it needs make a gpe with key mapping and rotation setting (like "Dweller.gpe" included). 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 (note that value 2 after "./runMidlet" that's the game ID):
Code:
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
- 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 this command:
Code:
removeMidlet <ID number>
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 more user-friendly. But to work it needs that someone ports kounch's Selector to the Wiz.
Another alternative is Cli_install_game script by bman, but it requires Termula2X.
(This HowTo is taken from http://lostsite.alte...org/wiz/?p=1336 and based on "ReadMe.txt" infos from phoneME folder).
EDIT: Some corrections.
Last edited by a moderator: