OK, here is a short and simple tutorial of how to make touchscreen java games fit to your nokia 5800 360X640 screen...
First of all, you need to find a java game with touch capabilities. Note that java games from HTC threads, or SE G900 UIQ3 threads work just fine, but display on the screen is very small. A good start to search for some games
After you download the .jar file, left click on it, and open it with a decompression tool (winrar, winzip, etc). Inside the file, go to the META-INF folder, and open the MANIFEST.MF file with notepad.
Below the last line inside the MANIFEST.MF file (REMEMBER NOT TO LEAVE ANY LINE BLANK), just copy and paste the following lines:
A. For completely fullscreen stretched game size:
-------------------------------------------
Nokia-MIDlet-Original-Display-Size: 240,320
Nokia-MIDlet-Target-Display-Size: 360,640
-------------------------------------------
B. For max game size, without the graphics beeing distorted:
-------------------------------------------
Nokia-MIDlet-Original-Display-Size: 240,320
Nokia-MIDlet-Target-Display-Size: 360,480
-------------------------------------------
Optionally, if you dont want the virtual keypad to display on the screen when running the game, just add this line:
-------------------------------------------
Nokia-MIDlet-On-Screen-Keypad: no
-------------------------------------------
Save the file MANIFEST.MF after editing, and exit the decompression tool.
Your Fullscreen touch-enabled game is ready for installation!
NOTE:
This method applies for JAVA games intended for devices with original screen resolution 240X320. If you find a JAVA game from a device with different resolution, just change the values respectively in ways A. and B.
First of all, you need to find a java game with touch capabilities. Note that java games from HTC threads, or SE G900 UIQ3 threads work just fine, but display on the screen is very small. A good start to search for some games
After you download the .jar file, left click on it, and open it with a decompression tool (winrar, winzip, etc). Inside the file, go to the META-INF folder, and open the MANIFEST.MF file with notepad.
Below the last line inside the MANIFEST.MF file (REMEMBER NOT TO LEAVE ANY LINE BLANK), just copy and paste the following lines:
A. For completely fullscreen stretched game size:
-------------------------------------------
Nokia-MIDlet-Original-Display-Size: 240,320
Nokia-MIDlet-Target-Display-Size: 360,640
-------------------------------------------
B. For max game size, without the graphics beeing distorted:
-------------------------------------------
Nokia-MIDlet-Original-Display-Size: 240,320
Nokia-MIDlet-Target-Display-Size: 360,480
-------------------------------------------
Optionally, if you dont want the virtual keypad to display on the screen when running the game, just add this line:
-------------------------------------------
Nokia-MIDlet-On-Screen-Keypad: no
-------------------------------------------
Save the file MANIFEST.MF after editing, and exit the decompression tool.
Your Fullscreen touch-enabled game is ready for installation!
NOTE:
This method applies for JAVA games intended for devices with original screen resolution 240X320. If you find a JAVA game from a device with different resolution, just change the values respectively in ways A. and B.
No comments:
Post a Comment