Jump to content

[UPDATE 2.2][Template] Custom NIC Code Injection Patcher Template!


146 posts in this topic

Recommended Posts

Updated template:


 

To easily generate Tweak.xm and your Preferences Plist, use the new Code Inject generator here: https://iosgods.com/topic/24138-code-inject-generator-online-tweakxm-preferencesplist/

 

 

 

Hey everyone! I wanted to make a custom Patcher template for myself so I could make hacks easily without having to go through editing all the files over and over again... Well, I made the custom New Instance Creator CSCI Patcher Template and thought I'd share it with everyone else. :)

 

What is this?

 

This is a custom patcher template for the New Instance Creator.

 

 

What does this do?

 

 

 

You know how you have to make a tweak project and then cd into that folder and make a subproject of the tweak project to make it into a patcher? This template makes it so all you have to do is press number 1, type in your info and your patcher project folder will be created.

 

 

 

How to use it?

 

 

 

Open up a terminal, type in:

 

/var/theos/bin/nic.pl

and select

[x.] iOSGods CSCI Patcher v2.1

from the list.
 

What are the features?

 

1. The Preference Bundle will look like this by default but you can change anything to whatever you like.

 

ajN8409l.png

 

2. Auto added support for ARM64 architecture.

 

 

3. PROJECTNAME_FRAMEWORKS = UIKit is there.

 

 

4. iOSGods.com link is there also. :p

 

 

6. Some other cool stuff.

 

 

 

Tweak.xm content:

 

 

#import "writeData.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <substrate.h>

/* To MSHook Offsets, use https://iosgods.com/topic/22718-mshook-tweakpatcherfunction-tweakpatcher-withwithout-psedittextcellpsslidercell-generator-online/ */
/* To Easily Generate Tweak.xm and Preferences Plist https://iosgods.com/topic/24138-code-inject-generator-online-tweakxm-preferencesplist/ */

#define PLIST_PATH @"/var/mobile/Library/Preferences/@@PACKAGENAME@@.plist"

inline bool GetPrefBool(NSString *key) {
		return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%ctor {
	if(GetPrefBool(@"key1")) {
		writeData(0xOFFSET, 0xHEX);
	} else {
}


	if(GetPrefBool(@"key2")) {
		writeData(0x10963C, 0xC0F8AC70);
	} else {
}


	if(GetPrefBool(@"key3")) {
		writeData(0x10ACEA, 0xC0F8C871);
	} else {
}


	if(GetPrefBool(@"key4")) {
		writeData(0x1806B8, 0x381C);
		writeData(0x2FA51C, 0x381C);
		writeData(0x1806B8, 0x7047);
		writeData(0x1806B8, 0x7047);
	} else {
}

}




/* Popup with a link 

Varieties of a UIAlertView Popup can be found here: https://iosgods.com/topic/13988-varieties-of-uialertview-types-to-use-in-your-tweaks-patchers/

*/


%hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc.

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.
UIAlertView *igcredits = [[UIAlertView alloc] initWithTitle:@"@@PROJECTNAME@@ Cheats" 
                                                  message:@"\n@@PROJECTNAME@@ Cheats by @@[member='User']@@ for iOSGods.com"
                                                 delegate:self 
										cancelButtonTitle:@"Thanks" 
										otherButtonTitles:@"Visit Us", nil]; 
[igcredits show];
[igcredits release]; 
return %orig();
}
 
%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
 
	NSString *button = [alertView buttonTitleAtIndex:buttonIndex];
 
	if([button isEqualToString:@"Visit Us"]) {
		[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://iosgods.com/"]];                                                                                
	}
}
%end

Download:

Hidden Content

React or reply to this topic to see the hidden content & download link.

 

 

How to install:

 

1. Download the Archive above.

 

2. Copy and paste the archive to /var/theos/templates/iphone

3. Run NIC and select the iOSGods CSCI Patcher v2.1 option.

 

Template patcher can be found here: https://iosgods.com/topic/1907-update2template-custom-nic-patcher-template/

 


Credits:

@DiDA
@Razzile for WriteData

 

 

-

 

 

The template is also on GitHub so if you have ideas on how to improve it. :)

 

https://github.com/iOSGods/CS-Code-Injection-Template

Updated by DiDA
Updated to v2.2 with some small improvements!
  • Like 72
  • Winner 7
  • Thanks 15
  • Haha 4
  • Agree 3
  • Informative 3
Link to comment
https://iosgods.com/topic/2355-update-22template-custom-nic-code-injection-patcher-template/
Share on other sites

Guest
This topic is now closed to further replies.
  • Our picks

    • Royal Kingdom v14414 +4 Jailed Cheats [ Unlimited Coins ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Unlimited Coins -> Will not decrease.
      - Unlimited Lives -> Will not decrease.
      - Unlimited Boosters -> Will not decrease.
      - Unlimited Moves -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Royal Kingdom v3987 +4 Cheats [ Unlimited Coins ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Thanks
      • 78 replies
    • Whispers - Interactive Stories v2.2.3 +2 Jailed Cheats [ Free Choices ]
      Modded/Hacked App: Whispers: Interactive Stories By GAMEHAUS LIMITED
      Bundle ID: com.twincat.stories
      iTunes Store Link: https://apps.apple.com/us/app/whispers-interactive-stories/id1546336250
       

      Hack Features:
      - All Chapters Unlocked
      - Free Premium Choices


      Jailbreak required hack(s): [Mod Menu Hack] Whispers: Interactive Stories v1.4.9 +2 Cheats [ Free Choices ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Thanks
        • Like
      • 247 replies
    • Whispers - Interactive Stories v2.2.3 +2 Cheats [ Free Choices ]
      Modded/Hacked App: Whispers: Interactive Stories By GAMEHAUS LIMITED
      Bundle ID: com.twincat.stories
      iTunes Store Link: https://apps.apple.com/us/app/whispers-interactive-stories/id1546336250
       

      Hack Features:
      - All Chapters Unlocked
      - Free Premium Choices


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Thanks
        • Like
      • 162 replies
    • Nuclear Day Survival v1.1.9 +5 Jailed Cheats [ Unlimited Stats ]
      Modded/Hacked App: Nuclear Day Survival By Evgeny Grishakov
      Bundle ID: com.somniumfabri.nuclearday
      iTunes Store Link: https://apps.apple.com/us/app/nuclear-day-survival/id1666266916?uo=4


      Hack Features:
      - Unlimited Hunger
      - Unlimited Water
      - Unlimited Health
      - Unlimited Energy
      - No Radiation


      Jailbreak required hack(s): [Mod Menu Hack] Nuclear Day Survival v1.1.8 +5 Cheats [ Unlimited Stats ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 4 replies
    • Nuclear Day Survival v1.1.9 +5 Cheats [ Unlimited Stats ]
      Modded/Hacked App: Nuclear Day Survival By Evgeny Grishakov
      Bundle ID: com.somniumfabri.nuclearday
      iTunes Store Link: https://apps.apple.com/us/app/nuclear-day-survival/id1666266916?uo=4


      Hack Features:
      - Unlimited Hunger
      - Unlimited Water
      - Unlimited Health
      - Unlimited Energy
      - No Radiation


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Nuclear Day Survival v1.1.8 +5 Jailed Cheats [ Unlimited Stats ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 10 replies
    • Royal Kingdom v14414 +4 Cheats [ Unlimited Coins ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Unlimited Coins -> Will not decrease.
      - Unlimited Lives -> Will not decrease.
      - Unlimited Boosters -> Will not decrease.
      - Unlimited Moves -> Will not decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Royal Kingdom v3987 +4 Jailed Cheats [ Unlimited Coins ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 48 replies
    • Soul Knight v6.8.2 +6 Jailed Cheats [ Unlimited Gems ]
      Modded/Hacked App: Soul Knight By 泽阳 李
      Bundle ID: com.ChillyRoom.DungeonShooter
      iTunes Store Link: https://apps.apple.com/us/app/soul-knight/id1184159988?uo=4


      Hack Features:
      - Unlimited Gems
      - God Mode
      - One-Hit Kill
      - Unlimited Energy
      - No Skill Cooldown
      - Increased Bullet Speed


      Jailbreak required hack(s): [Mod Menu Hack] Soul Knight v4.3.2 +6 Cheats [ Unlimited Gems ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Haha
        • Like
      • 506 replies
    • Soul Knight v6.8.2 +6 Cheats [ Unlimited Gems ]
      Modded/Hacked App: Soul Knight By 泽阳 李
      Bundle ID: com.ChillyRoom.DungeonShooter
      iTunes Store Link: https://apps.apple.com/us/app/soul-knight/id1184159988?uo=4


      Hack Features:
      - Unlimited Gems
      - God Mode
      - One-Hit Kill
      - Unlimited Energy
      - No Skill Cooldown
      - Increased Bullet Speed


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Soul Knight v4.3.2 +4 Cheats [ Unlimited Gems ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 426 replies
    • Good Pizza, Great Pizza v5.20.1 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds


      Jailbreak required hack(s): [Mod Menu Hack] Good Pizza, Great Pizza v5.5.6 +2 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Haha
        • Winner
        • Like
      • 219 replies
    • Good Pizza, Great Pizza v5.20.1 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Good Pizza, Great Pizza v5.5.6 +2 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 119 replies
    • NERF: Superblast Online FPS v1.14.4 +4 Jailed Cheats [ Unlimited Ammo ]
      Modded/Hacked App: NERF: Superblast Online FPS By Nitro Games Oyj
      Bundle ID: com.nitrogames.newdawn
      iTunes Store Link: https://apps.apple.com/us/app/nerf-superblast-online-fps/id1557212962
       

      Hack Features:
      - Unlimited Ammo -> Will not decrease.
      - High Damage -> Shoots out a lot of bullets per bullet. Best to use with Unlimited Ammo.
      - No Weapon Spread
      - High Fire Rate


      Jailbreak required hack(s): [Mod Menu Hack] NERF: Superblast v1.0.5 +4 Cheats [ Unlimited Ammo ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 66 replies
    • NERF: Superblast Online FPS v1.14.4 +4 Cheats [ Unlimited Ammo ]
      Modded/Hacked App: NERF: Superblast Online FPS By Nitro Games Oyj
      Bundle ID: com.nitrogames.newdawn
      iTunes Store Link: https://apps.apple.com/us/app/nerf-superblast-online-fps/id1557212962
       

      Hack Features:
      - Unlimited Ammo -> Will not decrease.
      - High Damage -> Shoots out a lot of bullets per bullet. Best to use with Unlimited Ammo.
      - No Weapon Spread
      - High Fire Rate


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] NERF: Superblast v1.0.5 +3 Cheats [ Unlimited Ammo ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
      • 146 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines