Moto Hell - The Motorola Modding Community

Motorola Phone Models => Java => Topic started by: motomaniacs on November 08, 2007, 09:21:39 pm



Title: How to Change the resolution for Java games
Post by: motomaniacs on November 08, 2007, 09:21:39 pm
Credit goes to imran_uh

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.

Note: This will work about 95% of the time on phone models. I have not tested it on other models but feel free. This will not work on phones with a landscape screen . This will work with any MIDlet by the way, not just games.

Guide

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

(http://img113.imageshack.us/img113/5592/1zy8.png)

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

(http://img455.imageshack.us/img455/5669/2fm9.png)

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.

(http://img354.imageshack.us/img354/8918/3tr3.png)

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.

(http://img455.imageshack.us/img455/9602/4tq2.png)

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.

(http://img113.imageshack.us/img113/5425/5sz8.png)

6.Now adapt it with JAM-2.0

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




Btw, full credit goes to EchoZulu (from another forum) for posting this info. I just tried to make it a little easier for everyone by posting my own guide including pics.


Title: Re: How to Change the resolution for Java games
Post by: error398 on November 08, 2007, 09:50:38 pm
Thanks bro.. so i can resize from 176*220 to 240*320 right?


Title: Re: How to Change the resolution for Java games
Post by: motomaniacs on November 08, 2007, 09:52:16 pm
resize from any resolution i guess



Title: Re: How to Change the resolution for Java games
Post by: error398 on November 08, 2007, 10:04:41 pm
its not work for me..


Title: Re: How to Change the resolution for Java games
Post by: 3sixthy on November 09, 2007, 12:11:37 am
ho2...I'll try....nice info


Title: Re: How to Change the resolution for Java games
Post by: Jithin on November 09, 2007, 02:07:31 am
Thank you Rakai.. Good info indeed :)


Title: Re: How to Change the resolution for Java games
Post by: _am_ on November 13, 2007, 10:32:40 pm
cool... great information.. thanks.


Title: Re: How to Change the resolution for Java games
Post by: LVArturs on September 28, 2008, 03:06:05 am
Help please... I dunno how to adapt it with JAM 2.0 ???


Title: Re: How to Change the resolution for Java games
Post by: poerhardware on October 07, 2008, 05:54:25 pm
Nice..And good totor..Thanks om moto...


Title: Re: How to Change the resolution for Java games
Post by: couple on October 26, 2008, 10:23:20 pm
wow.........
thank's om rakai.....


Title: Re: How to Change the resolution for Java games
Post by: oniech on October 28, 2008, 07:24:13 pm
Great work om Rakai,thanx 4 share


Title: Re: How to Change the resolution for Java games
Post by: Ascent on November 14, 2008, 06:20:55 am
perfect,,,!!  8)