Change Java games Resolution  

Posted by Tarek in , ,

The good thing about Java games is that they're run on any phone that supports java. The only annoying problem is that they don't have a dynamic resolution. For example a game that runs on Nokia N95 will run on N80 on probably half of its screen as N80 has a higher resolution. However, there is always a workaround, a pretty old that I thought to bring it up for people who didn't know:

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.


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:
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.


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.

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

OR You can do it the EASY way :P

Download Nokia Screen Resolution Changer and it'll do all the work for you ;)

Here is also a list of different screen resolutions.

This entry was posted on Friday, October 3, 2008 at Friday, October 03, 2008 and is filed under , , . You can follow any responses to this entry through the comments feed .

0 comments

Post a Comment

Post a Comment