Jump to content

21 posts in this topic

Recommended Posts

Posted

After being able to get the mod menu to load to the game i want "btd6" when i try to make a simple patch it crashes but when i use the default tweak.xm it works perfectly fine and im editing a simple bool thats possible since i seen and used a mod menu for the current version 

so to sum it up can anyone who modded a unity framework game give me a simple example of how they make a simple patch would be greatly appreciated 

 

(also i already set the mod meny to unityframework as it works perfectly fine with the default  tweak.xm)

Posted

Can you paste your example Tweak.xm here?

Posted
1 minute ago, Rook said:

Can you paste your example Tweak.xm here?

cant paste it i did it on ios heres what i did 

offsets: { ENCRYPTOFFSET("0x1639E44") } bytes: { ENCRYPTHEX("0x20008052C0035FD6") } ];

when i change the offset to sum like this 0x101639E44 the mod menu loads but of course it doesnt do the patch since not the correct offset

Just now, tryingtolearnsum32 said:

cant paste it i did it on ios heres what i did 

offsets: { ENCRYPTOFFSET("0x1639E44") } bytes: { ENCRYPTHEX("0x20008052C0035FD6") } ];

when i change the offset to sum like this 0x101639E44 the mod menu loads but of course it doesnt do the patch since not the correct offset

setFrameworkName:"UnityFramework"]; also here the set menu thing i did 

 

Posted

It crashes on launch or when the feature is enabled?

 

Posted

Which menu are you using?

Posted

Please post your full Tweak.xm. Perhaps @Ted2 can help you here too!

Posted

#import "Macros.h"

/***********************************************************
  INSIDE THE FUNCTION BELOW YOU'LL HAVE TO ADD YOUR SWITCHES!
***********************************************************/
void setup() {

  //patching offsets directly, without switch
  patchOffset(ENCRYPTOFFSET("0x1002DB3C8"), ENCRYPTHEX("0xC0035FD6"));
  patchOffset(ENCRYPTOFFSET("0x10020D2D4"), ENCRYPTHEX("0x00008052C0035FD6"));

  // You can write as many bytes as you want to an offset
  patchOffset(ENCRYPTOFFSET("0x10020D3A8"), ENCRYPTHEX("0x00F0271E0008201EC0035FD6"));
  // or  
  patchOffset(ENCRYPTOFFSET("0x10020D3A8"), ENCRYPTHEX("00F0271E0008201EC0035FD6"));
  // spaces are fine too
  patchOffset(ENCRYPTOFFSET("0x10020D3A8"), ENCRYPTHEX("00 F0 27 1E 00 08 20 1E C0 03 5F D6"));


  // Empty switch - usefull with hooking
  [switches addSwitch:NSSENCRYPT("Masskill")
    description:NSSENCRYPT("Teleport all enemies to you without them knowing")
  ];

  // Offset Switch with one patch
  [switches addOffsetSwitch:NSSENCRYPT("unlock hero")
    description:NSSENCRYPT("You can't die")
    offsets: {
      ENCRYPTOFFSET("0x1639e44")
    }
    bytes: {
      ENCRYPTHEX("0x20008052c0035fd6")
    }
  ];

  // Offset switch with multiple patches
  [switches addOffsetSwitch:NSSENCRYPT("One Hit Kill")
    description:NSSENCRYPT("Enemy will die instantly")
    offsets: {
      ENCRYPTOFFSET("0x1001BB2C0"),
      ENCRYPTOFFSET("0x1002CB3B0"),
      ENCRYPTOFFSET("0x1002CB3B8")
    }
    bytes: {
      ENCRYPTHEX("0x00E0BF12C0035FD6"),
      ENCRYPTHEX("0xC0035FD6"),
      ENCRYPTHEX("0x00F0271E0008201EC0035FD6")
    }
  ];

  // Textfield Switch - used in hooking
  [switches addTextfieldSwitch:NSSENCRYPT("Custom Gold")
    description:NSSENCRYPT("Here you can enter your own gold amount")
    inputBorderColor:UIColorFromHex(0xBD0000)
  ];

  // Slider Switch - used in hooking
  [switches addSliderSwitch:NSSENCRYPT("Custom Move Speed")
    description:NSSENCRYPT("Set your custom move speed")
    minimumValue:0
    maximumValue:10
    sliderColor:UIColorFromHex(0xBD0000)
  ];
}


/**********************************************************************************************************
     You can customize the menu here
     For colors, you can use hex color codes or UIColor itself
      - For the hex color #BD0000 you'd use: UIColorFromHex(0xBD0000)
      - For UIColor you can visit this site: https://www.uicolor.xyz/#/rgb-to-ui
        NOTE: remove the ";" when you copy your UIColor from there!
     
     Site to find your perfect font for the menu: http://iosfonts.com/  --> view on mac or ios device
     See comment next to maxVisibleSwitches!!!!

     menuIcon & menuButton is base64 data, upload a image to: https://www.browserling.com/tools/image-to-base64 \
     then replace that string with mine.
************************************************************************************************************/
void setupMenu() {

  // If a game uses a framework as base executable, you can enter the name here.
  // For example: UnityFramework, in that case you have to replace NULL with "UnityFramework" (note the quotes)
  timer(3) // did this as before changing the offset it wouldnt load the mod menu even if i didnt do any edit  
    {
        [menu setFrameworkName:"UnityFramework"];
    });

  menu = [[Menu alloc]  
            initWithTitle:NSSENCRYPT("@@APPNAME@@ - Mod Menu")
            titleColor:[UIColor whiteColor]
            titleFont:NSSENCRYPT("Copperplate-Bold")
            credits:NSSENCRYPT("This Mod Menu has been made by @@USER@@, do not share this without proper credits and my permission. \n\nEnjoy!")
            headerColor:UIColorFromHex(0xBD0000)
            switchOffColor:[UIColor darkGrayColor]
            switchOnColor:UIColorFromHex(0x00ADF2)
            switchTitleFont:NSSENCRYPT("Copperplate-Bold")
            switchTitleColor:[UIColor whiteColor]
            infoButtonColor:UIColorFromHex(0xBD0000)
            maxVisibleSwitches:4 // Less than max -> blank space, more than max -> you can scroll!
            menuWidth:250
            menuIcon:@"took out very long"
            menuButton:@"samething"

    /********************************************************************
        Once menu has been initialized, it will run the setup functions. 
        All of your switches should be entered in the setup() function!
    *********************************************************************/
    setup();
}

// If the menu button doesn't show up; Change the timer to a bigger amount.
static void didFinishLaunching(CFNotificationCenterRef center, void *observer, CFStringRef name, const void *object, CFDictionaryRef info) {
  timer(5) {
    SCLAlertView *alert = [[SCLAlertView alloc] initWithNewWindow];

    // Website link, remove it if you don't need it.
    [alert addButton: NSSENCRYPT("Visit Me!") actionBlock: ^(void) {
      [[UIApplication sharedApplication] openURL: [NSURL URLWithString: NSSENCRYPT("@@SITE@@")]];
      timer(2) {
        setupMenu();
      });        
    }];

    [alert addButton: NSSENCRYPT("Thankyou, understood.") actionBlock: ^(void) {
      timer(2) {
        setupMenu();
      });
    }];    

    alert.shouldDismissOnTapOutside = NO;
    alert.customViewColor = [UIColor purpleColor];  
    alert.showAnimationType = SCLAlertViewShowAnimationSlideInFromCenter;   
    
    [alert showSuccess: nil
            subTitle:NSSENCRYPT("@@APPNAME@@ - Mod Menu \n\nThis Mod Menu has been made by @@USER@@, do not share this without proper credits and my permission. \n\nEnjoy!") 
              closeButtonTitle:nil
                duration:99999999.0f];
  });
}


%ctor {
  CFNotificationCenterAddObserver(CFNotificationCenterGetLocalCenter(), NULL, &didFinishLaunching, (CFStringRef)UIApplicationDidFinishLaunchingNotification, NULL, CFNotificationSuspensionBehaviorDeliverImmediately);
}

Posted
1 minute ago, tryingtolearnsum32 said:

#import "Macros.h"

/***********************************************************
  INSIDE THE FUNCTION BELOW YOU'LL HAVE TO ADD YOUR SWITCHES!
***********************************************************/
void setup() {

  //patching offsets directly, without switch
  patchOffset(ENCRYPTOFFSET("0x1002DB3C8"), ENCRYPTHEX("0xC0035FD6"));
  patchOffset(ENCRYPTOFFSET("0x10020D2D4"), ENCRYPTHEX("0x00008052C0035FD6"));

  // You can write as many bytes as you want to an offset
  patchOffset(ENCRYPTOFFSET("0x10020D3A8"), ENCRYPTHEX("0x00F0271E0008201EC0035FD6"));
  // or  
  patchOffset(ENCRYPTOFFSET("0x10020D3A8"), ENCRYPTHEX("00F0271E0008201EC0035FD6"));
  // spaces are fine too
  patchOffset(ENCRYPTOFFSET("0x10020D3A8"), ENCRYPTHEX("00 F0 27 1E 00 08 20 1E C0 03 5F D6"));


  // Empty switch - usefull with hooking
  [switches addSwitch:NSSENCRYPT("Masskill")
    description:NSSENCRYPT("Teleport all enemies to you without them knowing")
  ];

  // Offset Switch with one patch
  [switches addOffsetSwitch:NSSENCRYPT("unlock hero")
    description:NSSENCRYPT("You can't die")
    offsets: {
      ENCRYPTOFFSET("0x1639e44")
    }
    bytes: {
      ENCRYPTHEX("0x20008052c0035fd6")
    }
  ];

  // Offset switch with multiple patches
  [switches addOffsetSwitch:NSSENCRYPT("One Hit Kill")
    description:NSSENCRYPT("Enemy will die instantly")
    offsets: {
      ENCRYPTOFFSET("0x1001BB2C0"),
      ENCRYPTOFFSET("0x1002CB3B0"),
      ENCRYPTOFFSET("0x1002CB3B8")
    }
    bytes: {
      ENCRYPTHEX("0x00E0BF12C0035FD6"),
      ENCRYPTHEX("0xC0035FD6"),
      ENCRYPTHEX("0x00F0271E0008201EC0035FD6")
    }
  ];

  // Textfield Switch - used in hooking
  [switches addTextfieldSwitch:NSSENCRYPT("Custom Gold")
    description:NSSENCRYPT("Here you can enter your own gold amount")
    inputBorderColor:UIColorFromHex(0xBD0000)
  ];

  // Slider Switch - used in hooking
  [switches addSliderSwitch:NSSENCRYPT("Custom Move Speed")
    description:NSSENCRYPT("Set your custom move speed")
    minimumValue:0
    maximumValue:10
    sliderColor:UIColorFromHex(0xBD0000)
  ];
}


/**********************************************************************************************************
     You can customize the menu here
     For colors, you can use hex color codes or UIColor itself
      - For the hex color #BD0000 you'd use: UIColorFromHex(0xBD0000)
      - For UIColor you can visit this site: https://www.uicolor.xyz/#/rgb-to-ui
        NOTE: remove the ";" when you copy your UIColor from there!
     
     Site to find your perfect font for the menu: http://iosfonts.com/  --> view on mac or ios device
     See comment next to maxVisibleSwitches!!!!

     menuIcon & menuButton is base64 data, upload a image to: https://www.browserling.com/tools/image-to-base64 \
     then replace that string with mine.
************************************************************************************************************/
void setupMenu() {

  // If a game uses a framework as base executable, you can enter the name here.
  // For example: UnityFramework, in that case you have to replace NULL with "UnityFramework" (note the quotes)
  timer(3) // did this as before changing the offset it wouldnt load the mod menu even if i didnt do any edit  
    {
        [menu setFrameworkName:"UnityFramework"];
    });

  menu = [[Menu alloc]  
            initWithTitle:NSSENCRYPT("@@APPNAME@@ - Mod Menu")
            titleColor:[UIColor whiteColor]
            titleFont:NSSENCRYPT("Copperplate-Bold")
            credits:NSSENCRYPT("This Mod Menu has been made by @@USER@@, do not share this without proper credits and my permission. \n\nEnjoy!")
            headerColor:UIColorFromHex(0xBD0000)
            switchOffColor:[UIColor darkGrayColor]
            switchOnColor:UIColorFromHex(0x00ADF2)
            switchTitleFont:NSSENCRYPT("Copperplate-Bold")
            switchTitleColor:[UIColor whiteColor]
            infoButtonColor:UIColorFromHex(0xBD0000)
            maxVisibleSwitches:4 // Less than max -> blank space, more than max -> you can scroll!
            menuWidth:250
            menuIcon:@"took out very long"
            menuButton:@"samething"

    /********************************************************************
        Once menu has been initialized, it will run the setup functions. 
        All of your switches should be entered in the setup() function!
    *********************************************************************/
    setup();
}

// If the menu button doesn't show up; Change the timer to a bigger amount.
static void didFinishLaunching(CFNotificationCenterRef center, void *observer, CFStringRef name, const void *object, CFDictionaryRef info) {
  timer(5) {
    SCLAlertView *alert = [[SCLAlertView alloc] initWithNewWindow];

    // Website link, remove it if you don't need it.
    [alert addButton: NSSENCRYPT("Visit Me!") actionBlock: ^(void) {
      [[UIApplication sharedApplication] openURL: [NSURL URLWithString: NSSENCRYPT("@@SITE@@")]];
      timer(2) {
        setupMenu();
      });        
    }];

    [alert addButton: NSSENCRYPT("Thankyou, understood.") actionBlock: ^(void) {
      timer(2) {
        setupMenu();
      });
    }];    

    alert.shouldDismissOnTapOutside = NO;
    alert.customViewColor = [UIColor purpleColor];  
    alert.showAnimationType = SCLAlertViewShowAnimationSlideInFromCenter;   
    
    [alert showSuccess: nil
            subTitle:NSSENCRYPT("@@APPNAME@@ - Mod Menu \n\nThis Mod Menu has been made by @@USER@@, do not share this without proper credits and my permission. \n\nEnjoy!") 
              closeButtonTitle:nil
                duration:99999999.0f];
  });
}


%ctor {
  CFNotificationCenterAddObserver(CFNotificationCenterGetLocalCenter(), NULL, &didFinishLaunching, (CFStringRef)UIApplicationDidFinishLaunchingNotification, NULL, CFNotificationSuspensionBehaviorDeliverImmediately);
}

also this isnt the same from my phone i just changed the offset as the samething from my phone but other than that same exact stuff

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Undercity: Creature Survival v0.39 [+2 Jailed Cheats]
      Modded/Hacked App: Undercity: Creature Survival By 1N1
      Bundle ID: com.onenone.undercity
      App Store Link: https://apps.apple.com/us/app/undercity-creature-survival/id6744991966?uo=4


      🤩 Hack Features

      - Never Die
      - Add Currency
        • Winner
        • Like
      • 3 replies
    • Undercity: Creature Survival v0.39 [+2 Cheats]
      Modded/Hacked App: Undercity: Creature Survival By 1N1
      Bundle ID: com.onenone.undercity
      App Store Link: https://apps.apple.com/us/app/undercity-creature-survival/id6744991966?uo=4



      🤩 Hack Features

      - Never Die
      - Add Currency
       
        • Winner
        • Like
      • 4 replies
    • Domino Dreamsâ„¢ v1.42.4 [ +10 Cheats ] Auto Win
      Modded/Hacked App: Domino Dreamsâ„¢ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dominodreams
      iTunes Store Link: https://apps.apple.com/us/app/domino-dreams/id6444043291?uo=4



      🤩 Hack Features

      - Coins Unlimited [ LvL Rewards ]

      - Stars Unlimited [ Win LvL Then Back Show Stars Hacked Disable Cheat Close App Again Open Then Work Stars Don't Use Again ] Linked With Some Task

      - Ticket Free Max [ Linked With Stars ] LvL Cost

      - Undo Max [ Linked With Stars ] 

      - Gold Card Max [ Linked With Stars ] 

      - Chapter Next [ Play LvL Quit & Win ]

      - Avatar Unlocked [ Play LvL Win After Unlocked Don"t Use Again ]

      - Auto Win LvL [ Play LvL Move Anything ] 

      - Bonus Mod LvL [ ON-OFF ] 

      - Spin Free [ Need One Point only Open Play LvL ]
        • Winner
        • Like
      • 11 replies
    • Domino Dreamsâ„¢ v1.42.4 [ +10 Jailed ] Auto Win
      Modded/Hacked App: Domino Dreamsâ„¢ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dominodreams
      iTunes Store Link: https://apps.apple.com/us/app/domino-dreams/id6444043291?uo=4


      🤩 Hack Features

      - Coins Unlimited [ LvL Rewards ]
      - Stars Unlimited [ Win LvL Then Back Show Stars Hacked Disable Cheat Close App Again Open Then Work Stars Don't Use Again ] Linked With Some Task
      - Ticket Free Max [ Linked With Stars ] LvL Cost
      - Undo Max [ Linked With Stars ] 
      - Gold Card Max [ Linked With Stars ] 
      - Chapter Next [ Play LvL Quit & Win ]
      - Avatar Unlocked [ Play LvL Win After Unlocked Don"t Use Again ]
      - Auto Win LvL [ Play LvL Move Anything ] 
      - Bonus Mod LvL [ ON-OFF ] 
      - Spin Free [ Need One Point only Open Play LvL ]
        • Informative
        • Like
      • 20 replies
    • What Duck v1.0.9 [ +6 Cheats ] Currency Max
      Modded/Hacked App: What Duck By Nexelon inc.
      Bundle ID: com.nexelon.duckwars
      App Store Link: https://apps.apple.com/us/app/what-duck/id6744432301?uo=4

      🤩 Hack Features

      - ADS No [ Rewards Free ]

      - Currency

      - Resources

      - Battle Coins

      - Energy

      - Free Pass [ Claim Unlimited ]
        • Winner
        • Like
      • 4 replies
    • What Duck v1.0.9 [ +6 Jailed ] Currency Max
      Modded/Hacked App: What Duck By Nexelon inc.
      Bundle ID: com.nexelon.duckwars
      App Store Link: https://apps.apple.com/us/app/what-duck/id6744432301?uo=4


      🤩 Hack Features

      - ADS No [ Rewards Free ]

      - Currency

      - Resources

      - Battle Coins

      - Energy

      - Free Pass [ Claim Unlimited ]
        • Like
      • 1 reply
    • Hungry Shark Evolution v12.8.3 [ +9 Cheats ] Never Die
      Modded/Hacked App: Hungry Shark Evolution By Ubisoft
      Bundle ID: com.fgol.HungrySharkEvolution
      iTunes Store Link: https://apps.apple.com/us/app/hungry-shark-evolution/id535500008?uo=4



      Hack Features:

      - ADS NO

      - Gems Unlimited 

      - Coins Unlimited 

      - Health [ Auto Drain OFF ]

      - Booster Freeze 

      - Speed Hack 

      - Wall Break [ Only For Small Shark ]

      - Score Multi 

      - Invincible [ After Respawn ] Never Die
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 65 replies
    • Lucky Offense v1.4.3 [ +2 Cheats ] Battle Coins
      Modded/Hacked App: Lucky Offense By Crater Co., Ltd.
      Bundle ID: com.percent.ios.luckyrolling
      iTunes Store Link: https://apps.apple.com/us/app/lucky-offense/id6511224968?uo=4


      🤩 Hack Features

      - Battle Coins
      - ATK
      - ATK Range
      - ATK Speed

      ATK Linked Enemy
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 75 replies
    • Cryptogram Word Brain Puzzle v2.8.1 [ +4 Cheats ] Auto Win
      Modded/Hacked App: Cryptogram: Word Brain Puzzle By Joyteractive Limited
      Bundle ID: com.puzzle.cryptogram
      iTunes Store Link: https://apps.apple.com/us/app/cryptogram-word-brain-puzzle/id1644099880?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Lives
      - Hint Max 
      - Auto Win [ Put Any Word ]
      - No ADS


      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/


      iOS Hack Download Link:

      Hidden Content

      Download Hack
        • Agree
        • Like
      • 10 replies
    • Cryptogram Word Brain Puzzle v2.8.1 [ +4 Jailed ] Auto Win
      Modded/Hacked App: Cryptogram: Word Brain Puzzle By Joyteractive Limited
      Bundle ID: com.puzzle.cryptogram
      iTunes Store Link: https://apps.apple.com/us/app/cryptogram-word-brain-puzzle/id1644099880?uo=4

       

       

      Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      Hack Features

      - Lives
      - Hint Max 
      - Auto Win [ Put Any Word ]
      - No ADS


      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
        • Agree
        • Haha
        • Thanks
        • Like
      • 9 replies
    • Adventure Bay - Farm Games v1.41.14 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Adventure Bay - Farm Games By Gamegos Teknoloji A.S.
      Bundle ID: com.gamegos.adventure.bay.paradise.farm
      iTunes Store Link: https://apps.apple.com/us/app/adventure-bay-farm-games/id1578449819?uo=4
       

      🤩 Hack Features

      - Gems
      - Coins
      - Energy
      - Avatar Unlock
        • Thanks
        • Like
      • 17 replies
    • Adventure Bay - Farm Games v1.41.14 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Adventure Bay - Farm Games By Gamegos Teknoloji A.S.
      Bundle ID: com.gamegos.adventure.bay.paradise.farm
      iTunes Store Link: https://apps.apple.com/us/app/adventure-bay-farm-games/id1578449819?uo=4


      🤩 Hack Features

      - Gems
      - Coins
      - Energy
      - Avatar Unlock
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 23 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