Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,846 Members 37,402 Now Online
XDA Developers Android and Mobile Development Forum

APK (Game) Modder v1.0 Beta

Tip us?
 
Thunder07
Old
(Last edited by Thunder07; 31st December 2012 at 01:04 PM.)
#1  
Thunder07's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 1,909
Posts: 1,318
Join Date: Sep 2007

 
DONATE TO ME
Default APK (Game) Modder v1.0 Beta

Please Avoid Quoting This Post Into This Thread
Lets hope you can all put it into good use.

This App Will Read A Mod Configuration File & Patch Your Game's APK to increase/decrease graphics Quality to make the game more playable.




Download Link V1.0b
Download Link V1.0c
Requirement
Java
.Net Framework 3.5(Only need this if you get .NET framework initialization error)
System.Xml.Linq.DLL (This should be part of .Net 3.5)
Ionic.Zip.DLL (This is embedded in the exe itself)
^^While the 2 DLL are essential you SHOULDN'T need to download them, unless you're getting an error regarding missing "Blah assembly" or something to that extent^^
^^If you needed to download the DLLs place them in the same folder as the exe^^
Instructions
  • Run The App
  • If You Don't Have The Mod Downloaded, Download Them Below & PLACE them into the Mods Folder
  • Choose The Mod In The App
  • Browse For The APK & Patch
  • Once patched you can find the new apk inside the signed folder
  • Install Tt Over Your Game & Enjoy
Notes
This Thread Is For The App & Not Mods Discussions, Please Keep Those In The Games Mods Thread
As I'm Extremely Busy, PM'ing Me Isn't Wise, As I Check XDA Once Or Twice A Day,
Posting Your Problem Here Or The Mods Thread Is Better For You.... As More People Will See It, Thus More Can Help You.
Unless It's Something You Can't Post On The Thread For Some Reason.
Check Out The Next Few Posts For
  • Mods
  • How To Create Mods
  • How To Extract Your APK For Patching Non/Rooted
Feature Updates
I Hope To Make The Process Of Creating Mods Much Easier
1) By Creating An Archive That Would Contain All Of The Patch Details, Author, Cover Picture
2) By Making The Creating A Method To Create The Archive For You
The Following 56 Users Say Thank You to Thunder07 For This Useful Post: [ Click to Expand ]
 
Thunder07
Old
(Last edited by Thunder07; 26th December 2012 at 07:19 PM.)
#2  
Thunder07's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 1,909
Posts: 1,318
Join Date: Sep 2007

 
DONATE TO ME
Download & Place These Archives(Zip) into the Mods Folder Without Extracting Them
Please, Keep All Mods discussions (it's Working/Not Working) on the Mods Thread

Need For Speed Most Wanted v1.0.28 - Gamer Modder Pack By Hamdir
Need For Speed Most Wanted v1.0.46 - Gamer Modder Pack By Hamdir
Modern Combat 4 v1.0.1 - Gamer Modder Pack By Hamdir
The Following 12 Users Say Thank You to Thunder07 For This Useful Post: [ Click to Expand ]
 
Thunder07
Old
(Last edited by Thunder07; 22nd December 2012 at 10:42 PM.)
#3  
Thunder07's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 1,909
Posts: 1,318
Join Date: Sep 2007

 
DONATE TO ME
Please Don't Quote This Entire Post
Ok So You're Hooked And Want To Mod Your APK but can't get it....
well it should be simple enough,

Method 1,
Get ES File Explorer File Manager & Run It
Click On The AppMgr Which Is The 2nd Icon To The Right Top Hand,
Look For The App You Want To Retrieve,
Long Click On It & Choose Backup,
That Would Cause The APK to be copied to /sdcard/backups/apps/
Find It There And Copy It To Your Pc.

Method 2,
Let Take Modern Combat 4: Zero Hour As an Example;
Open The Play Store Through Your PC
Look At The Link https://play.google.com/store/apps/details?id=com.gameloft.android.ANMP.GloftM4HM&feature=featured-apps
that Highlighted part should be the name of the APK...
So Try This
Code:
adb pull /data/app/com.gameloft.android.ANMP.GloftM4HM-1.apk com.gameloft.android.ANMP.GloftM4HM-1.apk
Should That Fail try replacing the -1.apk with -2.apk and that should do the trick

Method 3,
If You're Rooted, Use Any File Explorer And Navigate To /data/app/
Locate The APK and copy it to the SDcard then onto your computer,
Even faster Still Once You Know The Exact Name Use
Code:
adb pull /data/app/gamename.apk gamename.apk
The Following 6 Users Say Thank You to Thunder07 For This Useful Post: [ Click to Expand ]
 
Thunder07
Old
(Last edited by Thunder07; 17th December 2012 at 10:20 PM.)
#4  
Thunder07's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 1,909
Posts: 1,318
Join Date: Sep 2007

 
DONATE TO ME
Quick Run Down of how this works
Mode1, will decompile the APK, Copy The Modded Smali Code, Recompile, Sign & ZipAlign
Mode2,will decompile the APK, Find & Replace A Section Of The Smali Code, Recompile, Sign & ZipAlign

To Create Your Own Mods, Use One Of The Mods In The Mods List As A Sample For The Structure,
And Due Note that the MC4.XML can be called whateveryoulike.xml and it will still work

Samples Based On MC4, Mode1
Code:
<?xml version="1.0"?>
	<Game>
		<Name>Modern Combat 4 v1.0.1 Mode 1</Name>
		<Description>This Mod Increases Effects
		Tested on Version: 1.0.1
		Mod Credit: Hamdir
		Patch Mode: 1
		</Description>
		<Cover>mc4_cover.jpg</Cover>
     
		<Patch ID="1">
			<Mode>1</Mode>
			<OldF>com/gameloft/android/ANMP/GloftM4HM/MC4.smali</OldF>
			<NewF>MC4/MC4.smali</NewF>
		</Patch>
		
	</Game>
OldF= File To Be Replaced
NewF=Modded File Found in App Directory (Smali/MC4/MC4.smali)

Mode2
Code:
<?xml version="1.0"?>
	<Game>
		<Name>Modern Combat 4 v1.0.1 Mode 2</Name>
		<Description>This Mod Increases Effects
		Tested on Version: 1.0.1
		Mod Credit: Hamdir
		Patch Mode: 2
		</Description>
		<Cover>mc4_cover.jpg</Cover>
     
		<Patch ID="1">
			<Mode>2</Mode>
			<SmaliF>com/gameloft/android/ANMP/GloftM4HM/MC4.smali</SmaliF>
			<Find>.method public static getGeneration()I
    .registers 7

    const/4 v2, 0x1

    const/4 v1, 0x0</Find>
			<Replace>.method public static getGeneration()I
    .registers 7
	
	const/4 v0, 0x2
	
	move-result v0

    const/4 v2, 0x1

    const/4 v1, 0x0</Replace>
		</Patch>
		
	</Game>
SmaliF, Smali File To Be Edited
Find, Line To Be Replaced
Repace, Line To Be Replaced With

OFC, You Can Have Multiple Patches With Multiple Modes Applying To the Same/Difference Smali Files
Once You Run The App, it will create the necessary Folders which you'll extract the mods into

Device: HTC One X

This is My Design.
[AIO]One X One Click | Thunder's Online Kernel Repacker | Zeus Kernel Lighter
OTA Creator V1.1 | ARHD 9.x (Base 2.17) & CD-Tool Battery Mods | Battery Mods Creator V1.1 |APK (Game) Modder v1.0 Beta

 

SkyDragon© AIO Team Member




Click Thanks Or Hit That Donate Button.
The Following 6 Users Say Thank You to Thunder07 For This Useful Post: [ Click to Expand ]
 
tessut
Old
#5  
tessut's Avatar
Senior Member
Thanks Meter 226
Posts: 1,206
Join Date: Dec 2010
Location: Baden-Württemberg

 
DONATE TO ME
it dont want to work -.-
When I helped you please hit thanks button.
THX

Device History:
1. HTC Trophy T8686
2. HTC Desire HD A9191
3. HTC Sensation XE with Beats Audio

4.
HTC ONE X
5. HTC ONE Vivid Blue (M7)

 
hamdir
Old
#6  
hamdir's Avatar
Recognized Contributor
Thanks Meter 13,500
Posts: 21,072
Join Date: Aug 2008
Location: Beirut
My mod packs for both MC4 and NFS are tested and working
 
nashshafrulrezza
Old
#7  
nashshafrulrezza's Avatar
Senior Member
Thanks Meter 1,433
Posts: 1,946
Join Date: Jul 2011
Location: Johor Bahru

 
DONATE TO ME
This might be one of the best tool for HOX user. Thank for make it happen. Gonna test it when I have free time..

Sent from my HTC One X using Tapatalk 2
I'm Nash, Team420 Members and BadSeed's Beta Tester.

 
ShyamSasi
Old
#8  
ShyamSasi's Avatar
Recognized Contributor
Thanks Meter 1,735
Posts: 2,748
Join Date: Dec 2010
Location: CLASSIFIED

 
DONATE TO ME
Great initiative mate! I'm glad you have decided to make this application. I'm sure this will help a lot of HOX users.
 
taves
Old
#9  
taves's Avatar
Junior Member
Thanks Meter 0
Posts: 6
Join Date: Mar 2008
Thx,
Nice app
 
tessut
Old
#10  
tessut's Avatar
Senior Member
Thanks Meter 226
Posts: 1,206
Join Date: Dec 2010
Location: Baden-Württemberg

 
DONATE TO ME
Quote:
Originally Posted by hamdir View Post
My mod packs for both MC4 and NFS are tested and working
Could you please make a how to Setup Video ?

Sent from my HTC One X using xda premium
When I helped you please hit thanks button.
THX

Device History:
1. HTC Trophy T8686
2. HTC Desire HD A9191
3. HTC Sensation XE with Beats Audio

4.
HTC ONE X
5. HTC ONE Vivid Blue (M7)


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes