Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

APK (Game) Modder v1.0 Beta

OP Thunder07

17th December 2012, 10:18 PM   |  #1  
Thunder07's Avatar
OP Recognized Contributor / Recognized Developer
Thanks Meter: 1,918
 
1,319 posts
Join Date:Joined: Sep 2007
Donate to Me
More
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
Last edited by Thunder07; 31st December 2012 at 02:04 PM.
The Following 56 Users Say Thank You to Thunder07 For This Useful Post: [ View ]
17th December 2012, 10:18 PM   |  #2  
Thunder07's Avatar
OP Recognized Contributor / Recognized Developer
Thanks Meter: 1,918
 
1,319 posts
Join Date:Joined: Sep 2007
Donate to Me
More
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
Last edited by Thunder07; 26th December 2012 at 08:19 PM.
The Following 12 Users Say Thank You to Thunder07 For This Useful Post: [ View ]
17th December 2012, 10:19 PM   |  #3  
Thunder07's Avatar
OP Recognized Contributor / Recognized Developer
Thanks Meter: 1,918
 
1,319 posts
Join Date:Joined: Sep 2007
Donate to Me
More
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
Last edited by Thunder07; 22nd December 2012 at 11:42 PM.
The Following 6 Users Say Thank You to Thunder07 For This Useful Post: [ View ]
17th December 2012, 10:19 PM   |  #4  
Thunder07's Avatar
OP Recognized Contributor / Recognized Developer
Thanks Meter: 1,918
 
1,319 posts
Join Date:Joined: Sep 2007
Donate to Me
More
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
Last edited by Thunder07; 17th December 2012 at 11:20 PM.
The Following 6 Users Say Thank You to Thunder07 For This Useful Post: [ View ]
18th December 2012, 01:10 AM   |  #5  
tessut's Avatar
Senior Member
Flag Baden-Württemberg
Thanks Meter: 226
 
1,206 posts
Join Date:Joined: Dec 2010
Donate to Me
More
it dont want to work -.-
18th December 2012, 01:37 AM   |  #6  
hamdir's Avatar
Recognized Contributor
Beirut
Thanks Meter: 14,207
 
21,709 posts
Join Date:Joined: Aug 2008
My mod packs for both MC4 and NFS are tested and working
18th December 2012, 02:17 AM   |  #7  
nashshafrulrezza's Avatar
Senior Member
Flag Johor Bahru
Thanks Meter: 1,435
 
1,952 posts
Join Date:Joined: Jul 2011
Donate to Me
More
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
18th December 2012, 03:56 AM   |  #8  
ShyamSasi's Avatar
Recognized Contributor
CLASSIFIED
Thanks Meter: 1,748
 
2,753 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Great initiative mate! I'm glad you have decided to make this application. I'm sure this will help a lot of HOX users.
18th December 2012, 04:43 AM   |  #9  
taves's Avatar
Junior Member
Thanks Meter: 1
 
6 posts
Join Date:Joined: Mar 2008
Thumbs up
Thx,
Nice app
The Following User Says Thank You to taves For This Useful Post: [ View ]
18th December 2012, 12:08 PM   |  #10  
tessut's Avatar
Senior Member
Flag Baden-Württemberg
Thanks Meter: 226
 
1,206 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Quote:
Originally Posted by hamdir

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

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes