How to port Android HD games to HVGA (Change Resolution)

Leave a Comment

Hi, You might have many times asked yourself (How Do I port Gameloft HD games to HVGA)

I m giving you a easy tutorial to port Android HD to HVGA resolution.

It will only change resolution to HVGA not ARM architecture.

Its just like changing resolution of a PC game. ;)

Now Tools you need.....

Latest version of JDK (Java Development Kit) (Search Google)

Apk Manager. (Search Google)

Now extract Apk Manager.  Folder will be created (Apk_Manager_5.0)

Now In that folder you can see (place-apk-here-for-modding)

Put the apk you want to port in that. Now open Script.bat.

You will get messege ADB was not found ( Maybe). Press enter... x)

Type 22 and press enter for selecting your project. Now select which project you want to work by typing its  number and enter.

OK now type 9 (Decompile apk) and press enter. It will take some time.

Now When work is done minize apk manager.

Example you are porting N.O.V.A (So your project is ready in folder (Apk-Manager-5.0 \ projects \ and NOVA.apk)

Go to Apk-Manager-5.0 \ projects \ and NOVA.apk \ Smali \ com \ gameloft \ android keep opening till you reach some txt files.

Now find Gamerenderer.smali or NOVArenderer.smali

Now scroll down deep and find (getWidth()I and getHeight()I)

Now First lets do work on Width (There is a line after Landroid/view/Display;->getWidth()I)

Something like const/4 v1, 0x1  , Change this to const/4 v1, 0x320 (Just change 0x1 to 0x320)

Now lets work on Height (There is a line after Landroid/view/Display;->getHeight()I)

Something like const/2 v2, 0x1 , Change this to const/2 v2, 0x1E0 (Just Change 0x1 to 0x1E0)

Save it.

Now open the Apk Manager Window you minimized. Type 11 and press enter to compile apk.

Now an apk will be created in project folder. Move it to (place-apk-here-for-signing) folder.

Type 12 and press entre to Sign Apk.

There is no need to change cache.
Voilaaaa.......

Game resolution is changed to HVGA .......... Hahahahahahahaha

(Note : It will only change resolution of ARM V6 optimized games)

There is a program called (IDA pro) which could optimize V7 games to V6 processors. (But it costs 

hell of money)

Also it will only change resolution of games not RAM usage.

All games which were playable on Samsung Galaxy Ace are already ported.

No further Gameloft Games are playable on Ace because of our slow ARM v6 processor.

I tried so many games but all uses too much power and two vibrates and force close.

I hope you get the IDEA of how developers port Games to HVGA.

I made this steps Damn simple that a small KID can understand.

Regards:
Raja Kumar

0 comments:

Post a Comment