Search the Community
Showing results for tags 'substrate'.
Found 1 result
-
Requirements: Theos Ifile Flex/Class Dump of the App Terminal A brain Infection Instructions: [hide] Step 1: Beginning making our tweak First Type the code below in Terminal $THEOS/bin/nic.pl Select Tweak Project Name: Infection Hack (Is the name of the hack) Package Name: com.nexgenios.infectionhack (If you are submitting it a certain repo this is where you would put the repo's name. Author/Maintainer Name: BlackHippy (Your Name) MobileSubstrate Bundle filter: com.fungames.infectionrelaunched(This is going to be in the App's info.plist file) List of applications you want to terminate: - (just put a - dash) Next go to the location of you hack and open the Control File Package: com.nexgenios.infectionhack (This show already be set, but this is you package name) Name: Infection Hack (This should be already set, but this is the Name that will show up in cydia) Depends: mobilesubstrate (This should be already set, but this is what your hack depends on to run) Architecture: iphoneos-arm (This is the type of the package. DO NOT CHANGE THIS) Description: 1. 9999 cash on every dna you get, 2. Infection rate is high, 3. Lethality rate is high. (This is the description of you hack that will show up in cydia) Maintainer: BlackHippy ( Your Name) Author: BlackHippy (Your Name) Section: iHacks ( This is the section it will show under in Cydia) Step 2: Looking for features to hack Go to the location where you saved you class dumps. Search for DNAWallet.h and open it. Search for(below) and keep note of where it is because we will go back to it later. -(int)pointsToBeEarned); Next, search for DiseaseTrait.h and open it. Search for (below) and keep note of where it is because we will go back to it later. -(float)lethality; Last, search for GameStage.h and open it. Search for (below) and keep note of where it is because we will go back to it later. -(float)maxinfectivity; Step 3: Building our tweak Lets open our Tweak.xm file. //-(int)pointsToBeEarned; %hook DNAWallet (You have to hook every header) -(int)pointsToBeEarned (The function we are hacking) { return 9999; (This is the new value we are going to get from the hack) } %end (You end the header if another hack is in a different header) //-(float)lethality; %hook DiseaseTrait (Since this a different header we have to hook it again) -(float)lethality (The function we are hacking) { return 100; (This is the new value we are going to get from the hack) } %end (Ends our headers so we can go to a different one) //-(float)maxInfectivity; %hook GameStage (Since this a different header we have to hook it again) -(float)maxInfectivity { return 999; (This is the new value we are going to get from the hack) } %end (Ends our headers) Step 4: Compiling our hack Open terminal and cd into your folder(ex./var/mobile/infectionhack/) To comply it to see if you have any errors type make. If you don't have any errors type make package to make a deb. [/hide]