DIGIT-ARC read-only archive · snapshot: July 23, 2026

Java game resolution

10 posts · originally from https://geek.digit.in/community/threads/java-game-resolution.70027/

JohnephSi
JohnephSi Original post #1
Oct 6, 2007 at 5:17 PM
Plz tell me how can i change the screen resolution of a java game.Plz help me.

....
azzu
azzu #2
Oct 6, 2007 at 8:18 PM
u cant!!
Rockstar11
Oct 6, 2007 at 8:43 PM
It's very easy to change the resolution of the mobile Java Games in PC.

* You need to know the original resolution of the game. This is usually found on the author’s website.

* you must know the resolution of the target screen for the phone.

1. You should be using WinRAR for this. You can download an evaluation copy of WinRAR from *www.win-rar.com.

2. Using WinRAR, open the Java file(right click on jar file & select open with win rar). The Java file has a file extension .jar.

3. There should be a folder called META-INF. Open that folder.

4. Inside that folder, there is a file called MANIFEST.MF. Drag and drop the MANIFEST.MF to your Desktop

5. Open MANIFEST.MF using notepad

6. At the end of the file, add the following two lines to the MANIFEST.MF file.

* Nokia-MIDlet-Original-Display-Size: xxx,xxx

* Nokia-MIDlet-Target-Display-Size: yyy,yyy

7. Now save the file. The drag the file back to the .jar file folder META-INF using WinRAR.

8. Install the JAR file to your phone.


Quote:
Note:
The xxx,xxx and yyy,yyy are the screen resolution. 'Original' size is the native resolution of the game, and 'target' size is the resolution of your phone. Change these numbers as appropriate... when ur done, drag it back into the "META-INF" folder. overwrite the previous file.


Quote:
Example:
Nokia-MIDlet-Original-Display-Size: 176,208
Nokia-MIDlet-Target-Display-Size: 352,416

The above shows that the original game resolution is 176x208 and the new target resolution is 352x416 i.e. for N80.
azzu
azzu #4
Oct 6, 2007 at 9:12 PM
cool really didnt knew that thx will try for my K790i
but the quality will degradena???
Pathik
Pathik #5
Oct 6, 2007 at 10:23 PM
It ll if u change lower resos to higher but atleast u can play the game properly...
max_demon
Oct 7, 2007 at 10:19 AM
thanks , i was only looking for that . i thought this is not possible .
infra_red_dude
Oct 7, 2007 at 7:15 PM
You are not changing the resolution; you are simply interpolating the size to fill up the screen :)
max_demon
Oct 7, 2007 at 7:26 PM
i will use it to resize it to smaller size :) Quality increases?
infra_red_dude
Oct 7, 2007 at 7:36 PM
^^^ Only if the grafix are vector based.
clmlbx
clmlbx #10
Oct 7, 2007 at 9:39 PM
ya

good news

now my friend can degrade the screen size and can play game

his phone size is some 120**** and games size is 240*320

so now he can degrade the size and play game

good for him