Jump to content

Rook

Administrator
  • Posts

    66,796
  • Joined

  • Last visited

Everything posted by Rook

  1. 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: 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. 5. After you have obtained the icon, simply copy it to the "Resources" folder located inside the "igtutpref" folder. 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: 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/
  2. This game recently became free on the App Store. Nice one!
  3. Gameloft shut down their servers. You'll be able to play once it's been released on the 24th.
  4. Any will do.
  5. Yeah you can also Photoshop it if you'd like. 16x16 is more suitable IMO but 32x32 will do the job fine also! :thumbsup:
  6. Very helpful! Thanks for posting! Pinned.
  7. You can usually find the icon inside the .app folder of the game if there's none there then Google for one.
  8. What Rick said.
  9. Something big is coming and I don't think it'll be a good thing..

  10. Yes, ofcourse you can if you're Jailbroken. Simply place it in the iFunBox AutoInstall folder and reboot.
  11. Something big is coming and I don't think it'll be a good thing...

    1. AirMAX
    2. Rook

      Rook

      iNsanelyi's database got dumped and leaked online. Same person who leaked the BigBoss DataBase.

    3. FuroowHD

      FuroowHD

      My Deck

       

  12. You're welcomeee! I'm going to lock this now. If you have any more questions, create a new support topic.
  13. Download this: https://www.sendspace.com/file/0koifx Extract it to: //var/theos/include
  14. Check your PM. I think you're supposed to add like a * for the apps with a space otherwise they won't get recognized.
  15. I think it's time you get promoted! Nice work as always!
  16. Care to explain more so we can help you? I hope so too I'm struggling with this 512MB RAM.
  17. I see there's an rsync package in the cydia.radare.org repo. Install that and try compiling it!
  18. I think you should quote his post so he gets a notification.
  19. I just compiled it like the way you gave me and it did not give me any rsync: command not found errors but it gave me an error with the ninja.mm file. Yours was like this: #import "ninja.h" @implementation ninjaListController - (id)specifiers { if(_specifiers == nil) { _specifiers = [[self loadSpecifiersFromPlistName:@"ninja" target:self] retain]; } return _specifiers; } @end // vim:ft=objc - (void)link { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.iosgods.com"]]; } The -(void) part should be added before the @end otherwise the last function will just be left out. #import "ninja.h" @implementation ninjaListController - (id)specifiers { if(_specifiers == nil) { _specifiers = [[self loadSpecifiersFromPlistName:@"ninja" target:self] retain]; } return _specifiers; } - (void)link { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.iosgods.com"]]; } @end // vim:ft=objc Here's how it appears on my settings: And also, the switch was auto turned on and it might sometimes cause problems so I suggest you make it by default to be 'off'. <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <true/> // Change to false <key>defaults</key> <string>com.iosgods.ninja</string> <key>key</key> <string>kFreeWeaponUpgrade</string> <key>label</key> <string>Weaponupgrade</string> </dict> Check your PM. I've resent you the project files. Let me know if you still get the rsync: command not found error.
  20. Were you able to get it?
  21. There is a Mac version included in the download links.
  22. You got that on Cydia right? Cos I got that too. I think there's a problem with their Package... I'm in bed right now, I'll see what I can do tomorrow.
  23. They've added protection so that no one can download their debs unless you're downloading it from Cydia? Why can't you download it?
  24. You should of left the original question and started a new topic. This'll look confusing now About the error, I remember having it also and I've fixed it but I can't remember how. Post your project files in the cheater section or PM me them so I can take a look.
×
  • 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