PDA

View Full Version : HOW2 - Change the Resolution of Java Games


bornagaibiker
11-19-2006, 21:15
Hi
This should help a lot of people who are wanting games which are only out on bigger or smaller sized screens than the handset there using.

1. Open your game *.jar file on your computer with either WinRar or WinAce or any other good compression program.

2. Go to the META-INF folder and by using notepad, open the file called manifest.mf

3. Scroll to the end of the file and add:

Nokia-MIDlet-Original-Display-Size: (the original size)
Nokia-MIDlet-Target-Display-Size: (what size your display is)

Example:
Nokia-MIDlet-Original-Display-Size: 352,416
Nokia-MIDlet-Target-Display-Size: 240,320

4. Save your changes. Depending on which program you use you may need to "re-zip" the entire *.Jar. Install to your phone and ENJOY!:D

shegi
11-21-2006, 10:57
Thnx man but it doesnt work

shegi
11-21-2006, 11:01
Nokia-MIDlet-Target-Display-Size: (what size your display is)
what size is 6600?

bornagaibiker
11-21-2006, 16:42
Nokia-MIDlet-Target-Display-Size: (what size your display is)
what size is 6600?

6600:
Symbian OS v7.0s
Series 60 Platform (176 x 208 pixels)
Bright active matrix TFT color display - 65,536 colors
Digital camera with zoom
Streaming video and audio using RealOne player
Optimized for messaging: picture taking and sending, multimedia messaging service (MMS), SMS and email
Ring tones: True Tones and polyphonic tones
Email clients: SMTP, POP3, and IMAP4 protocols
Bluetooth connectivity, infrared and SyncML
Tri-band GSM E900/1800/1900 networks
Open (Java™ MIDP 2.0)

w1ww
11-21-2006, 17:55
On my N91 it says 'Invalid Jar File'

bornagaibiker
11-22-2006, 10:37
works on n73, however some games look blocky when resized.
sorry to hear its not working on other phones, il see if i can find an alternate soultion.

Frizo123
11-22-2006, 14:55
I get the invalid jar file message

bornagaibiker
11-22-2006, 15:22
Reports of it working Here (http://www.gsmhacks.com/forums/symbian-os-9-1-games/49294-how-change-resolution-games.html?highlight=Change+the+Resolution+of+Java +Games)

bornagaibiker
11-22-2006, 15:35
ok for the people who havent got it working, try it like this:

EXAMPLE

Manifest-Version: 1.0
MicroEdition-Configuration: CLDC-1.0
MIDlet-Name: X-buggy 3d-Zub
Created-By: 1.4.2_08 (Sun Microsystems Inc.)
MIDlet-Vendor: JOYES
MIDlet-1: X-buggy 3d, Racing.png, Racing
MIDlet-Version: 1.0
MicroEdition-Profile: MIDP-2.0
MIDlet-Original-Display-Size: 176,208
MIDlet-Target-Display-Size: 352,416

h4ck
11-24-2006, 04:27
okay, i've tried this but every time it says its an invalid .jar file..and wont install...

any chance someone has edited Midnight Pool to work with the e60 resolution? or perhaps give me another idea? i have a mac and a PC, so i could do it on either platform, but prefer mac...

bornagaibiker
11-24-2006, 14:27
sorry guys im out of suggestions, it must be something on certian phones and/or software versions.

It works fine with the n73

darren2190
11-27-2006, 08:51
sorry guys im out of suggestions, it must be something on certian phones and/or software versions.

It works fine with the n73


Bro...how u zip back the .jar?

phoenixraj
11-27-2006, 11:39
for you all !
U need to associate your .jar file to WinRAR.
Here is how u do it on WinRar 3.51
Option->Settings->Integration Tab-> Check on JAR checkbox.->Click ok.
The association is done and your jar fils will shown as rar file.
Now open the Jar file with winrar and edit the manifest.mf file.
NOTE: This will work from Small to BiG and may not work that correctly from big resoluotion to small resolution.
enjoy.

shegi
11-30-2006, 13:40
thnx bro!!!!!!!!!!!!!!!!!!!!!!!!!

usmanshah11
11-30-2006, 23:39
plz chang this file for nokia 6030
this is big screem size

BrollY
12-29-2006, 13:22
hello how i can find what is the Original-Display-Size?? and can some one thell me the resolution of the Nokia 6151 ??

BrollY
12-30-2006, 12:57
i found wich resolution my fone is running but i cant get this metod to work on my phone :(
btw the resolution is 128 by 160

taide
12-30-2006, 20:14
made trick on old puzzle bobble: all OK!!!!
Modified from 176x208 to 240x320.
It's running fine on my N73.
But this, and other java games on this forum, have a problem on my phone: NO AUDIO! Why? Everybody had a solution?
TIA

dsfugabanjr
12-31-2006, 06:20
Hey Guys,

I don't think this trick works with changing resolutions from big screens to smaller ones. I have test this trick on "The Sims 2" for Nokia N80, which has a 352 by 416 resolution and changing it to 240 by 320 but it keeps saying "Invalid Jar". Tested it with 176 by 208 resolution games to 240 by 320 resolution for Nokia N73 and it worked fine.

Do you have any idea how this thing could work with bigger resolutions and changin it to smaller ones?

Thanks,
Doms

BrollY
01-23-2007, 14:12
any help ???????????????

dharween
02-06-2007, 14:45
i have a problem how will we know the --> Nokia-MIDlet-Original-Display-Size: 352,416 of the game? my phone is nokia 6680

200mg
07-28-2007, 22:01
i tried that and jar resize to convert frozenbubble to 352x416 but i cant :( , i get no errors while using jar resize, nor do i get any error editing ny hand. I simply dont get the 352x416 resolution with nokia n80. Does anyone know were to find some frozenbubble look alike game with 352x416 ?

cumps...

dudura
08-12-2007, 23:05
http://java.free.bg/javaBase1.gif (http://java.free.bg)
good site for free java game

RaSkAl01
08-15-2007, 18:33
Option->Settings->Integration Tab-> Check on JAR checkbox.->Click ok.
The association is done and your jar fils will shown as rar file.
Now open the Jar file with winrar and edit the manifest.mf file.
thanks for all :)