Jump to content

[Tutorial] How to add an icon to your Preference Bundle


25 posts in this topic

Recommended Posts

Updated (edited)

Here's a quick tutorial showing how you can add an icon to your Preference Patcher.

If you are having trouble understanding the tutorial below then go ahead and take a look at this video.


1. Run the command to start making a new project (I'll be using PuTTY for this)

login as: root
[email protected]'s password:
DiDAs-iPhone:~ root# /var/theos/bin/nic.pl
NIC 2.0 - New Instance Creator
------------------------------  
[1.] iphone/application  
[2.] iphone/library  
[3.] iphone/preference_bundle  
[4.] iphone/tool  
[5.] iphone/tweak
Choose a Template (required): 5
Project Name (required): igtutorial
Package Name [com.yourcompany.igtutorial]: com.iosgods.igtutorial
Author/Maintainer Name [System Administrator]: DiDA
[iphone/tweak]
MobileSubstrate Bundle filter [com.apple.springboard]:[iphone/tweak] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]:
Instantiating iphone/tweak in igtutorial/... Done.
DiDAs-iPhone:~ root#

2. Next, CD into your project folder and run /var/theos/bin/nic.pl again and choose #3 iPhone/Preference_Bundle. This will automatically add it as a sub project in the 'makefile'.


DiDAs-iPhone:~ root# cd /var/root/igtutorial/
DiDAs-iPhone:~/igtutorial root# /var/theos/bin/nic.pl
NIC 2.0 - New Instance Creator
------------------------------  
[1.] iphone/application  
[2.] iphone/library  
[3.] iphone/preference_bundle  
[4.] iphone/tool  
[5.] iphone/tweak
Choose a Template (required): 3
Project Name (required): igtutpref
Package Name [com.yourcompany.igtutpref]: com.iosgods.igtutpref
Author/Maintainer Name [System Administrator]: DiDA
Instantiating iphone/preference_bundle in igtutpref/...
Adding 'igtutpref' as an aggregate subproject in Theos makefile 'Makefile'.
Done.
DiDAs-iPhone:~/igtutorial root#

You should have these files: FQD5PRh.png



3. By default, you will need an "igtutpref.png" icon based on the project name you've entered. You can change this to whatever you like as long as it's the same as the one in the entry.plist file located in /path/to/project/igtutorial/igtutpref/


<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>items</key>
	<array>
		<dict>
			<key>cell</key>
			<string>PSGroupCell</string>
			<key>label</key>
			<string>igtutpref First Page</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<true/>
			<key>defaults</key>
			<string>com.iosgods.igtutpref</string>
			<key>key</key>
			<string>AwesomeSwitch1</string>
			<key>label</key>
			<string>Awesome Switch 1</string>
		</dict>
	</array>
	<key>title</key>
	<string>igtutpref</string>
</dict>
</plist>

4. You can get the icon of the game from their .app folder or you can craft one yourself or even find one on Google. The recommended size is 32x32 or 16x16.
p566gYyl.png



5. After you have obtained the icon, simply copy it to the "Resources" folder located inside the "igtutpref" folder.
XhzMSyUl.png



6. Once you're finished, CD back into your project folder and type make package install to see the new icon on the settings.app.


DiDAs-iPhone:~/igtutorial root# make package install
/var/root/igtutorial/theos/makefiles/targets/Darwin-arm/iphone.mk:46: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang./var/root/igtutorial/theos/makefiles/targets/Darwin-arm/iphone.mk:56: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.Making all for tweak igtutorial...make[2]: Nothing to be done for `internal-library-compile'.Making all in igtutpref...Making all for bundle igtutpref... Copying resource directories into the bundle wrapper... Compiling igtutpref.mm... Linking bundle igtutpref... Stripping igtutpref... Signing igtutpref...Making stage for tweak igtutorial...Making stage in igtutpref...Making stage for bundle igtutpref...dpkg-deb: building package `com.iosgods.igtutorial' in `./com.iosgods.igtutorial_0.0.1-1_iphoneos-arm.deb'.install.exec "dpkg -i \"./com.iosgods.igtutorial_0.0.1-1_iphoneos-arm.deb\""Selecting previously deselected package com.iosgods.igtutorial.(Reading database ... 7502 files and directories currently installed.)Unpacking com.iosgods.igtutorial (from .../com.iosgods.igtutorial_0.0.1-1_iphoneos-arm.deb) ...Setting up com.iosgods.igtutorial (0.0.1-1) ...Making after-install in igtutpref...install.exec "killall -9 SpringBoard"
DiDAs-iPhone:~/igtutorial root#

Final Result:
Ai8se7Pl.png



Note: If you get this error:


fatal error: 'Preferences/Preferences.h' file not found

Refer to this post here.

You can also change the title of the Patcher that is displayed on the settings from the entry.plist file.

That's all!

Reply below if you have any problems! :)

Project template: How to add icon to Preference Bundle

Want custom icons? Ask here: http://iosgods.com/topic/1228-icons-for-patchers-hacks-in-settings/

Updated by DiDA
Posted

I was in the process of making a tut for this -.-

haha why didn't you say so earlier? You could of saved me all this trouble. :p

Posted

I like your WiFi name hahaha

Adding a video tutorial.

Posted

All that to use ur own icons??

Whatever happened to themes bundled with icons? Oh wait....

All you literally have to do is just copy the icon to the resources folder. The only reason why this tutorial is so long is because it's explained in details for the new guys. :)

Posted

simple drag the icon to preference bundles.. inside the apps bundle (xxxxxx.bundle) or as @@DiDA said.. copy it to your resource folder

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

    • MU: Pocket Knights v0.0.5 +3 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: MU: Pocket Knights By WEBZEN INC.
      Bundle ID: com.webzen.muidle.ios
      App Store Link: https://apps.apple.com/ph/app/mu-pocket-knights/id6742208743?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Speed Multiplier
        • Informative
        • Agree
        • Winner
        • Like
      • 25 replies
    • MU: Pocket Knights v0.0.5 +3 Cheats [ Damage + More ]
      Modded/Hacked App: MU: Pocket Knights By WEBZEN INC.
      Bundle ID: com.webzen.muidle.ios
      App Store Link: https://apps.apple.com/ph/app/mu-pocket-knights/id6742208743?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Speed Multiplier
        • Winner
        • Like
      • 13 replies
    • MARVEL Puzzle Quest: Hero RPG v329.0.713534 +4 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: MARVEL Puzzle Quest: Hero RPG By 505 Go Inc.
      Bundle ID: com.d3p.yorkMPQ
      App Store Link: https://apps.apple.com/us/app/marvel-puzzle-quest-hero-rpg/id618349779?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Unlimited Currencies -> Will increase instead of decrease.
      - Free In-App Purchases
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 103 replies
    • MARVEL Puzzle Quest: Hero RPG v329.0.713534 +4 Cheats [ Damage + More ]
      Modded/Hacked App: MARVEL Puzzle Quest: Hero RPG By 505 Go Inc.
      Bundle ID: com.d3p.yorkMPQ
      App Store Link: https://apps.apple.com/us/app/marvel-puzzle-quest-hero-rpg/id618349779?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Unlimited Currencies -> Will increase instead of decrease.
      - Free In-App Purchases
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 64 replies
    • Mergevia: Match Tiles & Merge v1.1.2 +1 Jailed Cheat [ Unlimited Everything ]
      Modded/Hacked App: Mergevia: Match Tiles & Merge By FUNJOY TECHNOLOGY LIMITED
      Bundle ID: com.starfish.mergevia.tile.match.ios
      App Store Link: https://apps.apple.com/us/app/mergevia-match-tiles-merge/id6740308450?uo=4

       
       

      🤩 Hack Features

      - Unlimited Everything
      • 0 replies
    • Mergevia: Match Tiles & Merge v1.1.2 +1 Cheat [ Unlimited Everything ]
      Modded/Hacked App: Mergevia: Match Tiles & Merge By FUNJOY TECHNOLOGY LIMITED
      Bundle ID: com.starfish.mergevia.tile.match.ios
      App Store Link: https://apps.apple.com/us/app/mergevia-match-tiles-merge/id6740308450?uo=4

       
       

      🤩 Hack Features

      - Unlimited Everything
      • 0 replies
    • Good Pizza, Great Pizza v5.34.3 +8 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
      - Unlimited Pizza Pass Claim -> Only works if you haven't claimed that reward yet.

      VIP
      - Unlimited Pizza Pass Tokens
      - Chef Pass Unlocked
      - Max Pizza Pass Level
      - Starter Bundle Unlocked
      - All Achievements Completed
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 391 replies
    • Good Pizza, Great Pizza v5.34.3 +8 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
      - Unlimited Pizza Pass Claim -> Only works if you haven't claimed that reward yet. 

      VIP
      - Unlimited Pizza Pass Tokens 
      - Chef Pass Unlocked 
      - Max Pizza Pass Level 
      - Starter Bundle Unlocked 
      - All Achievements Completed
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 201 replies
    • The Kingdom: Medieval Tales v0.2.0 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: The Kingdom: Medieval Tales By BoomBit, Inc.
      Bundle ID: com.stratospheregames.The.Kingdom.Medieval.Tales.Strategy.Building.Games
      App Store Link: https://apps.apple.com/us/app/the-kingdom-medieval-tales/id6744967226?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Thanks
        • Winner
        • Like
      • 6 replies
    • The Kingdom: Medieval Tales v0.2.0 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: The Kingdom: Medieval Tales By BoomBit, Inc.
      Bundle ID: com.stratospheregames.The.Kingdom.Medieval.Tales.Strategy.Building.Games
      App Store Link: https://apps.apple.com/us/app/the-kingdom-medieval-tales/id6744967226?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Agree
        • Winner
        • Like
      • 10 replies
    • Merge Magic! v8.7.0 +1 Cheats
      Modded/Hacked App: Merge Magic! By Gram Games
      Bundle ID: com.gramgames.mergemagic
      iTunes Store Link: https://apps.apple.com/us/app/merge-magic/id1462419002


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


      Hack Features:
      - unlimited currencies





      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







      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above.
      STEP 2: Copy the file over to your iDevice using any of the file managers mentioned above or skip this step if you're downloading from your iDevice.
      STEP 3: Using Filza or iFile, browse to where you saved the downloaded .deb file and tap on it.
      STEP 4: Once you tap on the file, you will need to press on 'Install' or 'Installer' from the options on your screen.
      STEP 5: Let Filza / iFile finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 6: If the hack is a Mod Menu, which is usually the case nowadays, the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 7: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 102 replies
    • Merge Magic! v8.7.0 +1 Jailed Cheats
      Modded/Hacked App: Merge Magic! By Gram Games
      Bundle ID: com.gramgames.mergemagic
      iTunes Store Link: https://apps.apple.com/us/app/merge-magic/id1462419002?uo=4&at=1010lce4

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Add Gems - Tap on Sound Button in Settings
      - Add Coins - Tap on Music Button in Settings
      - Add Woods - Tap on Tutorial Button in Settings

      This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
        • Informative
        • Thanks
        • Winner
        • Like
      • 79 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