Wednesday, March 17, 2010

How to Change resolution of games for 5800(fullscreen)


Another tutorial to make games addapt to ur 5800... here are some simple steps to make touchscreen java games fit to your 5800 360X640 screen...

*Left click on the jar file and open it with a decompression tool (winzip recommended). Inside the file, go to the META-INF folder, and open the MANIFEST.MF file in notepad.

*After 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.

I recomend you use latest winzip to edit it, i have tried it myself on RolandGarros2008

2 comments: