Jump to content

Creating a tweak/.deb hack using CSCI patcher


Go to solution Solved by castix,

17 posts in this topic

Recommended Posts

Posted (edited)

Edit: Done - Finally able to create deb packages. But it's always the standard template  (Switch text etc.) - How to change that?

Updated by Mayaxaya
Posted

Edit: Done - Finally able to create deb packages. But it's always the standard template  (Switch text etc.) - How to change that?

/PrefName/Resources/TweakName.plist

 

Edit that ^

Posted

Alright guys, my tweak.xm looks like the following now:

#import "writeData.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.mayaxaya.rob.plist"

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

%ctor {
if(GetPrefBool(@"kRunes"))
{
writeData(0x00327584, 0xC046);
} else {
writeData(0x00327584, 0xF0B5);
}
}

After saving it I type make package via ssh. What comes out in settings is the original template with the swich stuff, and no matter which switch I activate the hack won't activate :(

Posted

Alright guys, my tweak.xm looks like the following now:

 

#import "writeData.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.mayaxaya.rob.plist"

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

%ctor {
if(GetPrefBool(@"kRunes"))
{
writeData(0x00327584, 0xC046);
} else {
writeData(0x00327584, 0xF0B5);
}
}
After saving it I type make package via ssh. What comes out in settings is the original template with the swich stuff, and no matter which switch I activate the hack won't activate :(

Change the kKey from the .plist in /Resources/ to the same one as in the tweak.xm which is kRunes.

Posted

Change the kKey from the .plist in /Resources/ to the same one as in the tweak.xm which is kRunes.

Alright, but as I said the stuff I want to modify consists of the given adress and the adress below (which in this case would be ''0x00327586''.

So in order to edit this properly, which one of the following codes would be right?:

#import "writeData.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.mayaxaya.rob.plist"

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

%ctor {
if(GetPrefBool(@"kRunes"))
{
writeData(0x00327584, 0xC0467047); //Simply extending the code including the neighboring bytes of the adress below
} else {
writeData(0x00327584, 0xF0B503AF); //Simply extending the code including the neighboring bytes of the adress below
}
}

or

 

 

#import "writeData.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.mayaxaya.rob.plist"

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

%ctor {
if(GetPrefBool(@"kRunes"))
{
writeData(0x00327584, 0xC046);
writeData(0x00327586, 0x7047); //modifying the adress below seperately
} else {
writeData(0x00327584, 0xF0B5);
writeData(0x00327586, 0x03AF); //modifying the adress below seperately
}
}

Thanks so far and thanks in advance!

Posted

If the hex addresses are in a different offset then you will use the 2nd one.

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

    • Portal Survivor v2.4.1 [ +15  APK MOD ] Currency Max
      Mod APK Game Name: Portal Survivor
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.escape.portalsurvivor&hl=en

      🤩 Hack Features

      - Energy / No Need To Play
      - Coins Freeze
      - Silver Keys Freeze
      - Golden Keys Freeze
      - SGrade Box Freeze x1
      - Revival Coins Freeze
      - Scroll Freeze / Easy Upgrade Equipment
      - Equip Coins Freeze / Easy Upgrade Equipment
      ::::::::: VIP ::::::::
      - Month Card Active
      - ADS NO / Rewards Free
      - Unlimited Instant Collect
      - Unlimited Gems / Not Tested
      - Unlimited Energy
      - Portal Rewards / Unlimited Coins
      - Portal Rewards / Unlimited EXP / Faster Level UP
      • 1 reply
    • Zombie Race Survivor v0.1.270 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Zombie Race SurvivorBy UGI Studio Cyprus LTD
      Bundle ID: com.ugi.zombierace.survival
      App Store Link: https://apps.apple.com/ph/app/zombie-race-survivor/id6749445516?uo=4

      🤩 Hack Features

      - Unlimited Gems / Use & Earn
      - Unlimited Coins / Use & Earn
      - Unlimited Energy / Use & Earn
      - Unlimited EXP LVL / Battle Rewards
      - Unlimited BluePrint / Battle Rewards
      - Unlimited Battle Rewards / Gems Coins 
      • 1 reply
    • Zombie Race Survivor v0.1.270 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Zombie Race SurvivorBy UGI Studio Cyprus LTD
      Bundle ID: com.ugi.zombierace.survival
      App Store Link: https://apps.apple.com/ph/app/zombie-race-survivor/id6749445516?uo=4 

      🤩 Hack Features

      - Unlimited Gems / Use & Earn
      - Unlimited Coins / Use & Earn
      - Unlimited Energy / Use & Earn
      - Unlimited EXP LVL / Battle Rewards
      - Unlimited BluePrint / Battle Rewards
      - Unlimited Battle Rewards / Gems Coins
        • Like
      • 3 replies
    • Candy Crush Solitaire +11 Jailed Cheats [ Game Breaking ]
      Modded/Hacked App: Candy Crush Solitaire By King.com Limited
      Bundle ID: com.midasplayer.apps.candysolitaire
      App Store Link: https://apps.apple.com/us/app/candy-crush-solitaire/id6474685626?uo=4

       
       

      🤩 Hack Features

      - Unlimited Free Gifts -> Head into the Shop to claim the free gift over & over.
      - Season Pass Purchased

      VIP
      - Add Coins*
      - Add Energy*
      - Add Colour Bomb Boosters*
      - Add UFO Boosters*
      - Add Wildcards*
      - Add Undo's*
      - Add Extra Moves*
      - Add Free Entries*
      - Add Lollipops*

      * Head into Settings and toggle the ? button. Only enable 1 feature at a time.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 48 replies
    • Gang Battle Party: Playground +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Gang Battle Party: Animals 3D By LLP Take Top Entertainment
      Bundle ID: com.taketopios.chillybash
      iTunes Store Link: https://apps.apple.com/us/app/gang-battle-party-animals-3d/id1664783935?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      - God Mode
      - One-Hit Kill
      -- No Ads
        • Haha
        • Thanks
        • Like
      • 7 replies
    • Cooking Wonder: Cooking Games +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Cooking Wonder By WonderLegend Games
      Bundle ID: com.wonderlegend.cookingwonder
      iTunes Store Link: https://apps.apple.com/us/app/cooking-wonder/id1638005392
       

      Hack Features:
      - Unlimited Currencies -> Use some.


      Jailbreak required hack(s): https://iosgods.com/topic/169330-cooking-wonder-v120-1-cheat-unlimited-currencies/
      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
      • 52 replies
    • Pet Rescue Saga +4 Jailed Cheats [ Unlimited Moves ]
      Modded/Hacked App: Pet Rescue Saga By King
      Bundle ID: com.midasplayer.apps.petrescuesaga
      iTunes Store Link: https://apps.apple.com/us/app/pet-rescue-saga/id572821456
       

      Hack Features:
      - Freeze Moves
      - Freeze Boosters
      - Unlimited Score -> Earn some.
      - Auto Win -> Rescue a pet.


      Jailbreak required hack(s): [Mod Menu Hack] Pet Rescue Saga v3.13.3.0 +4 Cheats [ Unlimited Moves ] - 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/
        • Winner
        • Like
      • 28 replies
    • Idle RPG Starlight Chronicle +9 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Idle RPG Starlight Chronicle By Just Idea
      Bundle ID: jp.justidea.starlightchronicle.prod
      App Store Link: https://apps.apple.com/us/app/idle-rpg-starlight-chronicle/id6752782877?uo=4

       
       

      🤩 Hack Features

      - Unlimited Gold -> Spend some.
      - Unlimited Diamonds -> Earn or spend some.
      - Unlimited Ad Tickets -> Earn or spend some.
      - Unlimited Super Summon Points -> Earn or spend some.
      - Unlimited 4 Star Points -> Earn or spend some.
      - Unlimited Ancient Items -> Earn or spend some.
      - Unlimited Luminastars -> Earn or spend some.
      - Unlimited Materials -> Earn or spend some.
      - One-Hit Kill
        • Informative
        • Agree
        • Thanks
        • Like
      • 18 replies
    • Idle Pocket Planet +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Idle Pocket Planet By HyperBeard Inc.
      Bundle ID: com.hyperbeard.burgercats
      iTunes Store Link: https://apps.apple.com/us/app/idle-pocket-planet/id1600303144
       

      Hack Features:
      - Unlimited Soft Currency -> Will increase instead of decrease.
      - Unlimited Hard Currency -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Idle Pocket Planet ( All Versions ) +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/
        • Informative
        • Haha
        • Winner
        • Like
      • 8 replies
    • BLEACH Soul Puzzle +1 Jailed Cheat [ Freeze Moves ]
      Modded/Hacked App: BLEACH Soul Puzzle By KLab Inc.
      Bundle ID: com.klab.bleach.puzzle
      iTunes Store Link: https://apps.apple.com/us/app/bleach-soul-puzzle/id6479249487?uo=4


      Hack Features:
      - Unlimited Moves -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] BLEACH Soul Puzzle v1.0.0 +1 Cheat [ Unlimited Moves ] - 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
        • Thanks
        • Like
      • 18 replies
    • West Escape +7++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: West Escape By Estoty LLC
      Bundle ID: com.western.escape
      iTunes Store Link: https://apps.apple.com/us/app/west-escape/id6474681724?uo=4


      Hack Features:
      - Unlimited Everything
      - God Mode
      - God Mode - Horse
      - One-Hit Kill
      - No Ads -> Head into Settings and toggle the Discord Support button.


      Jailbreak required hack(s): [Mod Menu Hack] West Escape v1.0.13 +7++ Cheats [ Unlimited Everything ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 69 replies
    • Void Reaper - Idle RPG v1.0.4 [ +3 APK MOD ] Currency Max
      Mod APK Game Name: Void Reaper - Idle RPG
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.rpg.voidreaper&hl=en

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Blood
      - Unlimited Soul
      • 0 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