+ Reply
Results 1 to 9 of 9

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: [RELEASE] WbApp v0.37 w/+Patch

is a discussion within the

Native iPhone / iPod Touch App Launches

forums, a part of the

3rd Party Apps For iPhone | iPod Touch

section;
So, you download this really cool theme and load it on your phone but the Cydia and WinterBoard (and WbApp) icons are missing. So now you have to ssh into
...
  1. #1
    Retired Moderator CyberGreg's Avatar
    Join Date
    Jul 2007
    Posts
    1,096
    Thanks
    58
    Thanked 207 Times in 138 Posts

    Default [RELEASE] WbApp v0.37 w/+Patch
    So, you download this really cool theme and load it on your phone but the Cydia and WinterBoard (and WbApp) icons are missing. So now you have to ssh into your device, locate the theme folder and then I usually just copy the Icons folder over to my laptop. Now I start looking for an icon that will work for Cydia, hey an Installer icon will work. What about WinterBoard, yup copy over the SMBPrefs icon. So now that we have a WinterBoard icon we can copy that one as WbApp. Hey look they frigged up the App Store icon and called it AppStore, let's fix that too. Wait I remember the preview didn't show the Settings icon, they couldn't have messed that up did they? Yup it's named Settings-icon, copy that one over to its right name. Now you copy the new icons back to your device and reload SpringBoard.

    ...what if your device could do this for you?



    Flippin' sweet, eh? I thought so.....

    Introducing WbApp v0.37, now with +Patch (or plus patch). See screenshots below.
    Here's the "+Patch" button:


    Here's some before and after patch examples:








    please note it was ME that deleted the WinterBoard icon and NOT WbApp, got a little carried away in testing and documenting the update



    Oh yeah, added theme counts to the headers for each section...

    just noticed a little typo there, I'll fix it in the next update
    I also noticed it's not counting themes but the number of letters, I'll get that fixed too



    Notes:
    * +Patch will even transform the icons in an iSwitcher theme (needs to reside in either the WinterBoard or SummerBoard theme folder.
    * v0.38 should add the ability to add your own rules to the patch list.
    * The longest patch has been for iGlassSol, it takes about 15 seconds to fully patch... yup it has that many incorrect icons
    * Oh yeah, it either beeps (iPod) or vibrates (iPhone) to let you know it's done.

    Once it has been tested by a few "power users" I'm sure we'll put it up on Cydia. I feverishly working on v0.38 that will allow you to enter your own "patch rules".

    Download LINK
    After install you MUST set the permissions on mycp, run ./patch.sh and it will do it for you.

    Change log:

    v0.37
    Added "+" Patch button to the options view. Patch will, well patch a theme for you. Many themes do not have a WinterBoard icon but have an SMBPrefs icon, so we copy that as WinterBoard. Almost no theme is going to have an icon for WbApp but it has a WinterBoard icon, we copy that one. Once the patch has completed it will play a tone / vibrate (iPod / iPhone) to signify it has completed. Unfortunately this requires (yet again) special permissions on a file (mycp) otherwise it can not copy any files. As long as Cydia maintains the permissions in the .app folder or if it can set them after install (chmod +s mycp) then we should be all set. This patch function will actually "patch" all the standard icons in an iSwitcher .thm folder (MobileTimer = Clock).

    Note: +Patch, as we'll call it, DOES NOT over write ANY existing file even if there is a rule for it. So if the theme already has a WinterBoard icon, it will not be changed.

    v0.36
    Added total themes to navbar headers
    Renamed tabbar sections
    Updated Default image

    v0.35
    Added # of times a theme was loaded to a plist file and I remove the "! Tap for Info !" theme after 15 theme loads. It will however ALWAYS list the notice if there are less than 10 themes. This will help hard-core themer's as they will not see the "! Tap for Info !" theme, nor do they need to.

    v0.34
    Revised the code to write out the WinterBoard plist file

    Revised error trapping / new user to only add the theme named "! Tap for Info !" if the theme count is less than 24 (superseded)

    Revised Default.png to include Requires WinterBoard notice

    v0.33
    Started work on adding html view. Um yeah, not so much worked out here so back to 0.32 and up to 0.34 ;-)

    v0.32
    Revised error trapping to now include at least one theme named "! Tap for Info !"
    This has a special preview w/information about WbApp and will prevent the no themes crash, even if deliberate.

    Revised the "Load Theme" action to NOT load the Info theme.

    v0.31
    Revised theme listing process:
    A. Now lists Saurik.theme in the main list

    Added error trapping for no themes:
    A. Lists "!! No Themes Found" and preview file tells the user to download themes (superseded)

    v0.30
    Revised theme listing process:
    A. Increased capacity

    Added notice for themes with Wallpaper.html:
    Displays a custom wallpaper with notice that theme has Wallpaper.html file
    Last edited by CyberGreg; 08-18-2008 at 09:17 AM.
    White 3G

  2. The Following 4 Users Say Thank You to CyberGreg For This Useful Post:

    461am (08-19-2008), ProjectGSX (08-18-2008), SundayDuffer (08-18-2008), wepaz09 (08-18-2008)

  3. #2
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    20
    Thanks
    4
    Thanked 2 Times in 1 Post
    damn this is sweet looks like you spent a whole lot of time on this i'm going to try as soon as my phone restores

  4. #3
    Livin the iPhone Life SundayDuffer's Avatar
    Join Date
    Aug 2007
    Location
    Northern California
    Posts
    1,503
    Thanks
    32
    Thanked 181 Times in 164 Posts

    Will this update will be available on cydia soon?

  5. #4
    My iPhone is a Part of Me signori's Avatar
    Join Date
    Oct 2007
    Location
    Toronto
    Posts
    504
    Thanks
    268
    Thanked 309 Times in 175 Posts

    What chmod permissions do I have to set to get the patch feature to work. I don't know what to enter. When are you going to put it on cydia?

  6. #5
    iPhone? More like MyPhone Real_Iphonecrazy's Avatar
    Join Date
    Aug 2008
    Location
    Blackpool,England, UK
    Posts
    217
    Thanks
    15
    Thanked 25 Times in 19 Posts

    I can put it on my iphone through SSH but I'll admit it i'm to laaaazy, any ideas as to when it will be available on Cydia???????

    By the way nice work I love the look of the version I'm using at the moment and am looking forward to this update. (I supose I'm going to have to SSH it up.

    Thanks
    IphoneCrazy
    /Marc

  7. #6
    What's Jailbreak?
    Join Date
    Jul 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    What are the 4th and 5th theme called?

  8. #7
    Retired Moderator CyberGreg's Avatar
    Join Date
    Jul 2007
    Posts
    1,096
    Thanks
    58
    Thanked 207 Times in 138 Posts

    Sorry... been working on the "update patch list" function so you will be able to add your own patch definitions.

    Example: You would add "Services.png" as the source and "BossPrefs.png" as the target to update some older SummerBoard themes.
    Example 2: You know the theme has a "FiveDice.png" so you add that as the source and then add "Yahtzee.png" as the target.
    Example 3: Add "Navizon.png" as the source and "Remote.png" as the target and add "SwapTunes.png" as the source and "Remote.png" as the target. It is priority driven and once an icon has ben copied over, regardless of the number of patches it will not replace an existing icon. So in this example, if a Navizon.png file is copied, it will never copy the SwapTunes.png file.

    So back to the question at hand; once you ssh to your device either run ./patch.sh from the WbApp.app folder or run "chmod +s mycp" from the WbApp.app folder.

    Quote Originally Posted by frickyu View Post
    What are the 4th and 5th theme called?
    ChocoMilk #4
    Lush #5
    Last edited by CyberGreg; 08-19-2008 at 05:35 AM. Reason: Automerged Doublepost
    White 3G

  9. #8
    What's Jailbreak?
    Join Date
    Jul 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hoping that this will be available for Cydia soon.
    Great work there btw, extremely useful feature you added

  10. #9
    iPhoneaholic netuser's Avatar
    Join Date
    Nov 2007
    Location
    Paradise
    Posts
    336
    Thanks
    19
    Thanked 18 Times in 18 Posts

    already on cydia

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts