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 -.-

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

Thank you :)

Lol iam finished it but I just need icon

image.jpg

thank you @@DiDA

Posted

I like your WiFi name hahaha

Adding a video tutorial.

Posted

Thank you :)Lol iam finished it but I just need icon image.jpg

thank you @@DiDA

Yea my brother pick that name :)
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

Posted

@@DiDA Nice boss,you are the best :D but i will never know what I need to write in Tewak.xm AHAHAHAHAHAHAHAH Is a mystery  :ph34r:

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

    • Dynamite Blue +5 Cheats
      Mod APK Game Name: Dynamite Blue By Kosmo's12 Inc
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.kosmos12.dynamitebluegoogle

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      - Unlimited BP
      - No Skill Cooldown
      - Instant Win

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download via the iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 1 reply
    • PortalPang Defense +7 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: PortalPang Defense By MOBIRIX
      Bundle ID: com.mobirix.extfdf2
      App Store Link: https://apps.apple.com/us/app/portalpang-defense/id6788294271?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Silver -> Will increase instead of decrease.
      - Enemy Move Speed Multiplier
      - Freeze Enemies
      -- No Ads
      • 1 reply
    • Color Bus Trip v1.23.0 [ +50 Cheats ] Dev Menu
      Modded/Hacked App: Color Bus Trip By Voodoo
      Bundle ID: com.Tinkerbox.ColorTrip
      App Store Link: https://apps.apple.com/us/app/color-bus-trip/id6748230755?uo=4
      🤩 Hack Features

      - Dev Menu
      • 0 replies
    • Color Bus Trip v1.23.0 [ +50 Jailed ] Dev Menu
      Modded/Hacked App: Color Bus Trip By Voodoo
      Bundle ID: com.Tinkerbox.ColorTrip
      App Store Link: https://apps.apple.com/us/app/color-bus-trip/id6748230755?uo=4

      🤩 Hack Features

      - Dev Menu
      • 0 replies
    • Elemonster Legends v1.0.4 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Elemonster Legends By Nguyen Dinh Khoa
      Bundle ID: com.ndksoft.elemon
      App Store Link: https://apps.apple.com/us/app/elemonster-legends/id6815538327?uo=4

      🤩 Hack Features

      - Currency Max
      - Never Die
      - Damage Max
      • 0 replies
    • Elemonster Legends v1.0.4 [ +3 jailed ] Currency Max
      Modded/Hacked App: Elemonster Legends By Nguyen Dinh Khoa
      Bundle ID: com.ndksoft.elemon
      App Store Link: https://apps.apple.com/us/app/elemonster-legends/id6815538327?uo=4

      🤩 Hack Features

      - Currency Max
      - Never Die
      - Damage Max
      • 0 replies
    • Tiletopia: Triple Match Game +1 Jailed Cheat [ Unlimited Everything ]
      Modded/Hacked App: Tiletopia: Triple Match Game By FUNJOY TECHNOLOGY LIMITED
      Bundle ID: com.starfish.mergevia.tile.match.ios
      App Store Link: https://apps.apple.com/us/app/tiletopia-triple-match-game/id6740308450?uo=4

       
       

      🤩 Hack Features

      - Unlimited Everything
      • 18 replies
    • Junk Busters Gear Roguelite v1.0.12 [ +3 Cheats ] Never Die
      Modded/Hacked App: Junk Busters : Gear Roguelite By Phase Four Inc.
      Bundle ID: com.phase4.junkbusters.ios
      App Store Link: https://apps.apple.com/us/app/junk-busters-gear-roguelite/id6770476676?uo=4

      🤩 Hack Features

      - Stage Coins Max 100
      - Never Die
      - Damage Max
      • 0 replies
    • Junk Busters Gear Roguelite v1.0.12 [ +3 Jailed ] Never Die
      Modded/Hacked App: Junk Busters : Gear Roguelite By Phase Four Inc.
      Bundle ID: com.phase4.junkbusters.ios
      App Store Link: https://apps.apple.com/us/app/junk-busters-gear-roguelite/id6770476676?uo=4

      🤩 Hack Features

      - Stage Coins Max 100
      - Never Die
      - Damage Max
      • 0 replies
    • Star Returns: Merge & Story +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Star Returns: Merge & Story By Cedar Co., Limited
      Bundle ID: com.cedargames.merge2focus
      App Store Link: https://apps.apple.com/ca/app/star-returns-merge-story/id6814700730?uo=4

       

      🤩 Hack Features

      - Unlimited Currencies
      - Freeze Currencies
      - Currency Modifier
      • 0 replies
    • Random Myth Defense +9 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Random Myth Defense By Gi Min Choi
      Bundle ID: com.randommythdefense.onwstudio
      App Store Link: https://apps.apple.com/us/app/random-myth-defense/id6809278250?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Freeze Enemies
      - Enemy Move Speed Multiplier
      - Kill All Enemies
      - Freeze Currencies
      - Unlimited Currencies -> Will increase instead of decrease.
      -- No Ads
      • 0 replies
    • Myth Random Defense +9 Mods [ Damage & Defence ]
      Mod APK Game Name: Myth Random Defense By ONW Studio
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.randommythdefense.onwstudio

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Freeze Enemies
      - Enemy Move Speed Multiplier
      - Kill All Enemies
      - Freeze Currencies
      - Unlimited Currencies -> Will increase instead of decrease.
      -- No Ads
      • 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