Hello everyone......if youre like me and just want to beat the crap out of a game that ticks you off sometimes then this is for you. This guide will explain how to edit the apk for fieldrunners hd. I will not supply or distribute the apk, so please do not ask.
First you will need the apk file you have purchased from android market. If you have an apk from amazon app store it will not work.
Start by changing the file extension from apk to .zip. Next, extract the contents of the file to a new folder on your desktop. (Folder can be named anything you like)
Open folder Assets>Data>HighResolution>Maps
Here you will find 4 folders....Cave, Crossroads, Drylands, Grasslands
Open the Folder for the level you wish to edit. (I will use grasslands as example for this guide)
Look for the files that have a ~map.mp3 extension. Open this file with a text editor like notepad. A few lines into the file will see this "startingHealth="20" startingResources="15". Change these values to anything you want them to be.
If you would like to modify the specs for the towers you can do this as well. I find it fun to make one weapon that just kills everything in one blow.
Open folder Assets>Data>HighResolution>Towers. Look for the tower you would like modify and open the file with a ~tower.mp3 extension in a text editor like notepad. Each tower will have one of these files for it. When opened look for <minDamage="129" maxDamage="129"> There will be a line like this for each level of tower, 1,2&3. Change he values to whatever you like, the higher the number the stronger the weapon.
Now that you have editied all maps and towers you want to it is time to button this up. Select all the files and folders you extracted from the zip file and create a new zip file. I use winzip with no compression. Name your new file whatever you like and save it to the desktop or a place you can find it. Now change the file extension of the new file from .zip to .apk. You will now need to sign the file, you will have to learn that in a different writeup. Once the file is signed it will install and you will see the changes in the game.
Good luck tinkering, do not post apk's here, and please act responsibly.
Could you please explain how to mod subway surfers for unlimited money ,they are found at many sites on net but i want how do they mod it
Sent from my GT-S6802 using Tapatalk 2
Related
Right away, forgive my ignorance on the subject, I'm sure I can spend 10-12 hours searching forums and figure it out or someone can take 2 min and just answer it.
Lets say one was to take an app from the market and unzip it into a folder to see what it's made out of. Let's also say that one has absolutely no clue about android, Linux or programming in general, just too much curiosity and a phone to play with. So that certain individual (and I will not admit that it was me, it was.... my friend) found .dex file inside and thought of editing it, nothing fancy, just replace some URLs with other URLs. Here the question: How would I (I mean... my friend) would edit .dex file? Notepad seems to do it but something tell me (I mean... my friend) that it's not the right way. How would I put that app back toghether into .apk format after I'm done with it (Agh, screw it, it's me, it's not my friend). I should also note that I'm not trying to do this for profit or trying to steal someone's app.
Any help is greatly appreciated
You my friend are a Grade A tard.
apk files are not unzipped.
Decompiled maybe?
topdnbass said:
You my friend are a Grade A tard.
apk files are not unzipped.
Decompiled maybe?
Click to expand...
Click to collapse
Whatever you would like to call it. If it make you happy, I "decompilied" apk file using WinRAR to get a number of files including above mentioned .dex file.
Now that we have that figured out, how do I edit .dex file and repack everything else into .apk?
Thanks
First off, yes you can open the .apk file and see the other files but the files for the actual app are compiled. They arent editable. You would need the source to edit the app in any way.
As to the .dex file if you can open it with a text editor and change stuff all you are likely to do is break the app. As for putting it back together and getting it to install, good luck. You will probably need to get it resigned or something.
If you are wanting to learn how to make apps for android you should download the SDK. I believe there is a tutorial with some example apps that you can make out there somewhere also.
Dharkaron said:
First off, yes you can open the .apk file and see the other files but the files for the actual app are compiled. They arent editable. You would need the source to edit the app in any way.
As to the .dex file if you can open it with a text editor and change stuff all you are likely to do is break the app. As for putting it back together and getting it to install, good luck. You will probably need to get it resigned or something.
If you are wanting to learn how to make apps for android you should download the SDK. I believe there is a tutorial with some example apps that you can make out there somewhere also.
Click to expand...
Click to collapse
Agh, now we are getting somewhere.
Just for the record: I do not want to make apps, I'd rather leave it to pros and pay few bucks for working app that has no bugs.
The app I am referring too is StreamFusion which is a streaming audio player. Initial install puts about 30 preloaded stations in the playlist, none of which are of any interest to me. I unzipped apk and found this .dex file (resources.dex? not at home, can't check) which contained URLs for default-loaded streams. All I want to do is replace them with URLs of my own so I don't have to search shoutcast,add my stations and delete defaults everytime I decide to wipe my phone. Sounds like such a simple task, yet there's no clear documentation on how to do something like that (at least for the non-dev crowd).
With that said, I don't want to change the way StreamFusion, they do give you an option to remove defaults manually (one by one!) and they do give you an option to add your own stations in the playlist. It just takes too long and I've done it a few too many times already.
I'll keep playing with it, let me know if anyone for sure knows how to do it, otherwise I'll report when I figure it out or when I get tired of it.
Sorry for being rude earlier, i was in a bad mood
If you mean StreamFurious all you need to do is long press the radio station and hit delete
topdnbass said:
You my friend are a Grade A tard.
apk files are not unzipped.
Decompiled maybe?
Click to expand...
Click to collapse
Have you actually tried renaming an .apk file to .zip and opening it? In short, apk is just like a jar. They're just zip files with specific metadata requirements.
“Always keep your words soft and sweet, just in case you have to eat them.” -Andy Rooney
borodin1 said:
edit .dex file? Notepad seems to do it but something tell me (I mean... my friend) that it's not the right way.
Click to expand...
Click to collapse
when in doubt .. HEX .. hex editing of a file can maintain its purest essence and prevent it from crashing .. provided of course that you edit the right parts .. i've done this thousands of times in computer games .. change one little thing and POOF! your scrawny little piss-ant becomes mighty hercules and you can slay the dragon - LOL - ok .. so maybe not so korny
borodin1 said:
With that said, I don't want to change the way StreamFusion, they do give you an option to remove defaults manually (one by one!) and they do give you an option to add your own stations in the playlist. It just takes too long and I've done it a few too many times already.
Click to expand...
Click to collapse
The defaults that are hard-coded into the apk are loaded on first run into a sqlite3 database. Sure you could edit the hard-coded defaults, but this would be an unclean solution. A better solution would be to backup the sqlite3 database to your computer and restore it with adb whenever you reinstall. You can also easily edit the database conveniently on your pc as well.
The location of the db is /data/data/com.streamfurious.android.free/databases/streamfurious.db
By the way, the SF defaults already include KQED, BBC WS and TWiT. What more could anyone possibly need
You can decompile apk class files from the dex file.
http://zeaster.blogspot.com/2007/11/how-to-decompile-dex-file-on-android_28.html
As for repacking it after the edit.....check this out this might help...
http://forum.xda-developers.com/showthread.php?t=503007
or ask strazzere
i would like to customize the slider in titanium, could someone upload the file or tell me what file it is in the Windows directory?
bronzeres.dll in \windows
under rcdata
portrait 3000
landscape 4000
so i'm using XN resource editor, i'm new to this- i figured ut how to export the images, but i don't know how to replace them, anyone care to guide me?
use resource tuner...its the best that i know of...its what i use...if you want i can mod the file for you...just give me the images that you want to use and ill see what i can do...if not get that program and change them yourself...
thanks for the offer, but i am here to learn, i got restuner and i opened up the file and replaced it pretty simple, but then after putting it in my windows directory there was no homescreen, so i had to switch back to the original
do the images have to a certain type? restuner said they were .png so i ripped the files from the .dll and they were .png so i opened them with GIMP then colorized them to light blue and then saved them with default settings and but them back into the .dll, do i need to use special settings?
hey no prob...i like to do it and learn myself...i only offer cause alot do not...they just want it done...lol...alright...when saving you have to change and then click save as and put whatever and then add the ext .png...will save in .png and should be good to go...
I installed Smorg v1.4 (full version with ROM) on my phone. Also downloaded the extra icons to have everything match. I was just wondering how you are supposed to install them the correct way. I found if I extract them and place them where ever, I can use them in better cut. I don't like it however that better cut will pull up all my other pictures as well. A while back I downloaded the aero icon pack from the market, I was just wondering if I took the .zip file with the icons and changed it to .apk can I anstall them that way (I really don't think that will work)?
Basically what is the correct way to install the icons (I want them to appear in the icon pack using better cut)?
Try the search.
http://forum.xda-developers.com/showthread.php?t=471195
That really doesn't help. I don't want to pull apart my ROM, replace the png files, resign, and update.
All I want is to use the icons posted with the Smorg v1.4 ROM using bettercut. I wanted them to come up in the icon pack, so I wouldn't have to filter out all the other nonsense pictures that take forever to upload anyway.
Take the time to either read my post, or read the post you suggested, before you post "try the search"
(for the record, I did search. I don't think it turned out too well as it would take forever to go through every topic that came up, especially when most of them don't seem to apply, they just match certain key words)
Anybody have some answers that are useful?
I'm not sure how he has them packaged (at work, can't download) but look inside the zip to see if he zipped apk file (if you see only one file inside the zip named something.apk then he zipped it and you will need to unzip using winrar, zip7 or something like that) or if he renamed it to zip (if you see number of files inluding pics, and folders and xml etc etc then you will need to rename it to apk). From there, just install it like you would any file and use it in bettercut.
Alternative way: I've notice there's Smorg icon pack in the market... download and install that, should be the same thing
Good luck, please add [SOLVED] to the title if it works out for you.
Thank you so much, I swear I searched the market for icon packs to advoid all of this. That is exactly what I was looking for. It just makes it so easy to change the icons through bettercut without browsing through every single picture on my phone.
I have a GPS application that I paid for and in most respects it's excellent but it does tend to crash a fair bit, but then I do have a shed load of app's on a rooted phone with lag-fix etc etc
the company's support are already leaning to towards 'its not our fault' any way I have managed to locate the config files I have installed gscript written a shellscript to copy known good versions of the config to the right locations and it works a dream gscript even lets me put a home page icon up great.
what I cant seem to find is the executable file or file name to call to execute the program itself? where are these usually found? I have been searching through /dbdata and all sort can still find the apk but not the name to call from my script?
OK so I found the answer in this thread for anyone else that might struggle with this issue
http://learnandroid.blogspot.com/2008/01/run-android-application-from-command.html
on top of that "root file explorer" will allow you to look at the relevant XML file inside the apk directly on your phone in the /data/app
quite happy with my little script
I downloaded an app STLView2 . You use it to view .stl files (imagine that). The thing is it will open .stl files but not .STL files. For some reason it won't open them if the extension is in uppercase letters. Is there anything I can do to change this? Maybe some file I could edit so that it opens upper and lower case extensions? I've used root explorer to rename the extension, but that's a pain.