How to port HD games to HVGA & QVGA :
Now , we are in a stage where we can download paid games and paid applications for free, but there is always a barrier to play all kinds of games in android phone’s. As in the above snapshot you witnessed that ASPHALT 5 HD is incompatible with my SAMSUNG GALAXY ACE, so even if we get the apk for free, it is of no use because it cannot be played on your phone . So there is even solution for this , all you need to do is to port HD to HVGA or QVGA.I m giving you a easy tutorial to port Android HD to HVGA resolution. Its just like changing resolution of a PC game. ;)Now Tools you need.....
1.Latest version of JDK (Java Development Kit) (Search Google)
2.Apk Manager. (Search Google)
3.Now extract Apk Manager. Folder will be created (Apk_Manager_5.0)
4.Now In that folder you can see (place-apk-here-for-modding)
5.Put the apk you want to port in that. Now open Script.bat.
6.You will get messege ADB was not found ( Maybe). Press enter... x)
7.Type 22 and press enter for selecting your project. Now select which project you want to work by typing its number and enter.
8.OK now type 9 (Decompile apk) and press enter. It will take some time.
9.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)
10.Go to Apk-Manager-5.0 \ projects \ and NOVA.apk \ Smali \ com \ gameloft \ android keep opening till you reach some txt files.
11.Now find Gamerenderer.smali or NOVArenderer.smali
12.Now scroll down deep and find (getWidth()I and getHeight()I)
13.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)
14.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)
15.Save it.
16.Now open the Apk Manager Window you minimized. Type 11 and press enter to compile apk.
17.Now an apk will be created in project folder. Move it to (place-apk-here-for-signing) folder.
18.Type 12 and press entre to Sign Apk.
19.There is no need to change cache.
Game resolution is changed to QVGA .......... 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 HVGA & QVGA are already ported.No further Gameloft Games are playable on Ace because of RAM usage.I tried so many games but all uses too much RAM and two vibrates and force close.I hope you get the IDEA of how developers port Games to QVGA.
0 comments:
Post a Comment