Sunday, August 28, 2011

How To Change The Resolution Of Java Games

One of the few problems with having a phone with a nice big display is that many games do not display full screen. No problem! It's an easy fix that anyone can do and you'll be running full screen games on your phone in no time.

1. Using an archiver such as WinRar, open the jar file.




2. Once you have opened the jar, you will see a folder called 'META-INF'. Open this folder.



3. In the META-INF folder there will be one file called 'MANIFEST.MF'. Drag this file onto your desktop and open it in notepad.



4. Now you must know 2 things to edit the file. First, you must know the original resolution of the game. Ususally this information can be found
on the author's website. Second, you must know the resolution of your screen. Then type the following two lines at the end of the text in the MANIFEST.MF file:
Quote:
Nokia-MIDlet-Original-Display-Size: www,xxx
Nokia-MIDlet-Target-Display-Size: yyy,zzz
In the example above 'www,xxx' represents the original resolution of the game. 'yyy,zzz' represents the resolution of your phone's display.

In the picture example below, the original game resolution is 176x208 and the target resolution of my screen (N80) is 352x416.



5. Now save the changes in the MANIFEST.MF file and drag it back into the META-INF folder in your jar file to overwrite the old one.



That's it! Now install the jar to your phone and enjoy your full screen game.

No comments:

Post a Comment