Change the display size of Java Games

Have you ever found a game that you really wanted to try on your S60 3rd device but when you run it you find that it only takes up one third of your screen? Or perhaps the game resolution is too large and you can only see half of the screen. Maybe some of the games that you purchased for an old phone aren't the proper resolution for your shiny new S60 3rd device. No problem! There's an easy fix that anyone can perform and you'll be running games at the proper resolution for your phone in no time.

Notes: This will work about 95% of the time on S60 3rd edition devices. I am fairly certain that this will not work on phones with a landscape-perspective display. I have not tested it on other Nokia models but feel free. This will work with many MIDlets by the way, not just games.

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. Usually 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 at the end of 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 (N80IE) 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.

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

One last thing to note is that when you increase the resolution of a MIDlet it will run a bit slower in some cases. Hey, at least it's running! Also, this is for private use only. Please be fair to the developers who put their hard time and effort into creating these games and do not post edited MIDlets on the net.

4 comments:

Anonymous said...

Thank you so much for ur effort...
Effort appreciated

Polz said...

nice.....eeee

nintendo ds said...

I am using n73 and faced same problem for java game graphic my mobile phone and seeing game very small but after your guide i am able to do it resize thanks for help

bluetooth keyboard said...

Nice information on changing the display size of java games i don't know how to change the size but after read your post it is possible for me to follow the steps the screenshot tutorial is really helpful.

Post a Comment

Flag Counters

free counters