The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Design and Media For the iPhone / iPod Touch > Skinning / Themes Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #16  
Old 07-29-2007, 10:13 PM
arthursdomain's Avatar
Retired Moderator
 
Join Date: Jul 2007
Device + Firmware: iPhone 3g (white) 16gb 2.2.1 jailbroken (AT&T)
Operating System: Windows XP/Vista 32 & 64 bit
Location: Mililani, Hawaii
Posts: 872
Thanks: 12
Thanked 131 Times in 85 Posts
Send a message via AIM to arthursdomain

downloading/install activestate now in anticipation
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #17  
Old 07-30-2007, 03:33 AM
What's Jailbreak?
 
Join Date: Jul 2007
Location: Portland
Posts: 13
Thanks: 1
Thanked 6 Times in 4 Posts
woohoo

Alright, here is the initial version. It's definitely not feature complete.

I've also packaged the paperCONS theme, however it was too big to attach. http://www.timmy.org/paperCONS.ipb.zip

Ok. So unzip the installipb.zip file and throw installipb.pl into your phonedmg directory.

Now, you can either create a directory called iPhoneBundles and throw the Bach.ipb.zip and paperCONS.ipb.zip files into said directory, or throw the zip files into your phonedmg directory. Uncompress the zip files.

Now. Since it's late, and I'm tired, I'll just paste examples of how to use it and what it'll output currently (it's going to change).

twisted:~/phonedmg tim$ ./installipb.pl Bach
installipb.pl Version: 0.1
Created By: Tim Blade <timothy.blade@gmail.com>

iPhoneInterface: /Users/tim/phonedmg/iPhoneInterface
Bundles Directory: /Users/tim/phonedmg/iPhoneBundles
Target Bundle: Bach.ipb
Target Variant: Default
iPhone OS Version: 1.0
Target Directory: /Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/Calculator.app - /Applications/Calculator.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/Maps.app - /Applications/Maps.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/MobileCal.app - /Applications/MobileCal.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/MobileMail.app - /Applications/MobileMail.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/MobileMusicPlayer.app - /Applications/MobileMusicPlayer.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/MobileNotes.app - /Applications/MobileNotes.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/MobilePhone.app - /Applications/MobilePhone.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/MobileSafari.app - /Applications/MobileSafari.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/MobileSlideShow.app - /Applications/MobileSlideShow.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/MobileSlideShow.app - /Applications/MobileSlideShow.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/MobileSMS.app - /Applications/MobileSMS.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/MobileTimer.app - /Applications/MobileTimer.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/Preferences.app - /Applications/Preferences.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/Stocks.app - /Applications/Stocks.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/Weather.app - /Applications/Weather.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/Applications/YouTube.app - /Applications/YouTube.app
/Users/tim/phonedmg/iPhoneBundles/Bach.ipb/1.0/Default/System/Library/CoreServices/SpringBoard.app - /System/Library/CoreServices/SpringBoard.app
twisted:~/phonedmg tim$


That's me installing the Bach theme. You can either just say "Bach" as the argument or "Bach.ipb" My code doesn't care.

Here's my example for installing the Transparent Background variant for paperCONS

twisted:~/phonedmg tim$ ./installipb.pl -a "Transparent Background" paperCONS
installipb.pl Version: 0.1
Created By: Tim Blade <timothy.blade@gmail.com>

iPhoneInterface: /Users/tim/phonedmg/iPhoneInterface
Bundles Directory: /Users/tim/phonedmg/iPhoneBundles
Target Bundle: paperCONS.ipb
Target Variant: Transparent Background
iPhone OS Version: 1.0
Target Directory: /Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/Calculator.app - /Applications/Calculator.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/Maps.app - /Applications/Maps.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/MobileCal.app - /Applications/MobileCal.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/MobileMail.app - /Applications/MobileMail.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/MobileMusicPlayer.app - /Applications/MobileMusicPlayer.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/MobileNotes.app - /Applications/MobileNotes.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/MobilePhone.app - /Applications/MobilePhone.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/MobileSafari.app - /Applications/MobileSafari.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/MobileSlideShow.app - /Applications/MobileSlideShow.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/MobileSlideShow.app - /Applications/MobileSlideShow.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/MobileSMS.app - /Applications/MobileSMS.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/MobileTimer.app - /Applications/MobileTimer.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/Preferences.app - /Applications/Preferences.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/Stocks.app - /Applications/Stocks.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/Weather.app - /Applications/Weather.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/Applications/YouTube.app - /Applications/YouTube.app
/Users/tim/phonedmg/iPhoneBundles/paperCONS.ipb/1.0/Transparent Background/System/Library/CoreServices/SpringBoard.app - /System/Library/CoreServices/SpringBoard.app
twisted:~/phonedmg tim$

So, currently the code is written specifically for UNIX. I'm using forward slashes, and not backslashes. I have absolutely no clue as to how PERL handles forward slashes under Windows. I don't specifically refer to any directories, everything is relative, so theoretically if ActivePerl automatically converts my forward slashes to backslashes, everything will work.

Within the next few days I'll upload an updated more feature complete version that has more documentation.



Oh yeah, after you install a theme, restart your iPhone.

--Tim

P.S. Daft Punk live was on eof the best concerts I've been too. Pure pyramid sex.
Attached Files
File Type: zip installipb.zip (1.3 KB, 51 views)
File Type: zip Bach.ipb.zip (50.6 KB, 38 views)
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to timblade For This Useful Post:
Cody Overcash (07-30-2007)
  #18  
Old 07-30-2007, 08:24 AM
Green Apple
 
Join Date: Jul 2007
Posts: 36
Thanks: 0
Thanked 9 Times in 5 Posts

man that's sweet, makes the 25mins I spent last night doing copy putfile cd copy putfile cd seem pointless..

Great work.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #19  
Old 07-30-2007, 12:23 PM
What's Jailbreak?
 
Join Date: Jul 2007
Posts: 12
Thanks: 1
Thanked 3 Times in 3 Posts

I'm a little late posting a reply. I don't check my rss feeds over the weekend. This is a great idea. I was actually thinking about this over the weekend. Great work!

justin 8)
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #20  
Old 07-30-2007, 04:56 PM
Green Apple
 
Join Date: Jul 2007
Posts: 56
Thanks: 1
Thanked 15 Times in 11 Posts
Wow

This is amazing. This worked perfectly. Thanks so much. The first time it didn't work, but thats because I overlooked the fact that I needed to run ./jailbreak first. Duh... Anyways. This script is amazing and I will be remaking my themes to be compatible and all future themes. Hopefully LoringStudios and some of the other big designers will jump on board!


BluewoodBoarder

I was just wondering if there was a reason you wouldn't want the script to automatically add a new Services.plist file at the end of execution. I added the correct directories to my themes .ipb so it now does it automatically. But I think it would be better if the script would just grab a local copy of Services.plist from your phonedmg folder. Less chance of someone sneaking something nasty in that way.

Noah

Last edited by bluewoodboarder; 07-30-2007 at 07:16 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #21  
Old 07-30-2007, 07:56 PM
Kyle Matthews's Avatar
Owner / Founder - ModMyi
aka poetic_folly
 
Join Date: May 2007
Device + Firmware: iPhone 3G[S] | 3.0 | Jailbroke
Operating System: OS X Leopard 10.6.2
Location: Tampa, FL. Used to be Seattle.
Posts: 8,386
Thanks: 298
Thanked 2,630 Times in 857 Posts
Send a message via AIM to Kyle Matthews

Wow. Just... wow. Very easy.

So now what we are going to do, is create a big standards thread, and combine this, the standards thread, and your script into a VERY easy install for skins. PM me...

Oh, and who can toss a GUI on this?

Last edited by Kyle Matthews; 07-30-2007 at 07:57 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #22  
Old 07-30-2007, 08:11 PM
Cody Overcash's Avatar
Owner / Founder - ModMyi
aka cash7c3
 
Join Date: May 2007
Device + Firmware: iPhone 3g 3.0 beta 4
Operating System: OS X | XP | Sabayon
Location: Denver, CO
Posts: 3,603
Thanks: 288
Thanked 14,883 Times in 507 Posts
Send a message via AIM to Cody Overcash Send a message via MSN to Cody Overcash Send a message via Yahoo to Cody Overcash

tim blade. you are my new favorite person
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #23  
Old 07-30-2007, 09:01 PM
previously known as amalone87
 
Join Date: Jul 2007
Device + Firmware: 8GB iPhone w/ Jailbroken 2.0.2
Operating System: Leopard, Vista, and XP
Location: Knoxville, TN
Posts: 270
Thanks: 45
Thanked 49 Times in 35 Posts

Can someone elaborate on what the exact commands you put in to get this to work? I have tried for the last hour to get this to work using tim's stuff, but no luck.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #24  
Old 07-30-2007, 09:23 PM
Green Apple
 
Join Date: Jun 2007
Location: a place
Posts: 34
Thanks: 1
Thanked 5 Times in 4 Posts
Send a message via AIM to tehmacuser

OK, this is getting ridiculous. Can somebody please mirror the installipb.zip file please? It keeps asking for my username/password and I'm logged in already

'Tis annoying.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #25  
Old 07-30-2007, 09:26 PM
Kyle Matthews's Avatar
Owner / Founder - ModMyi
aka poetic_folly
 
Join Date: May 2007
Device + Firmware: iPhone 3G[S] | 3.0 | Jailbroke
Operating System: OS X Leopard 10.6.2
Location: Tampa, FL. Used to be Seattle.
Posts: 8,386
Thanks: 298
Thanked 2,630 Times in 857 Posts
Send a message via AIM to Kyle Matthews

Mirrored.

This IS OS X only, I believe, at the moment. So Windows users, take note.

Amalone, I got your PM. That should answer your q.

Last edited by Kyle Matthews; 07-30-2007 at 09:28 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to Kyle Matthews For This Useful Post:
unknownentry (07-30-2007)
  #26  
Old 07-30-2007, 09:31 PM
previously known as amalone87
 
Join Date: Jul 2007
Device + Firmware: 8GB iPhone w/ Jailbroken 2.0.2
Operating System: Leopard, Vista, and XP
Location: Knoxville, TN
Posts: 270
Thanks: 45
Thanked 49 Times in 35 Posts

Quote:
Originally Posted by poetic_folly View Post
Mirrored.

This IS OS X only, I believe, at the moment. So Windows users, take note.

Amalone, I got your PM. That should answer your q.
Well that explains a lot. No wonder it didn't work. I guess I will go ahead and do themes the old way. Thanks poetic.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #27  
Old 07-31-2007, 02:50 AM
What's Jailbreak?
 
Join Date: Jul 2007
Location: Portland
Posts: 13
Thanks: 1
Thanked 6 Times in 4 Posts

I'll have it working in Windows sometime tomorrow evening when I get home.

Pf, I'll hit you up via IM early evening!
Quote:
Originally Posted by amalone87 View Post
Well that explains a lot. No wonder it didn't work. I guess I will go ahead and do themes the old way. Thanks poetic.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #28  
Old 07-31-2007, 05:28 PM
Kyle Matthews's Avatar
Owner / Founder - ModMyi
aka poetic_folly
 
Join Date: May 2007
Device + Firmware: iPhone 3G[S] | 3.0 | Jailbroke
Operating System: OS X Leopard 10.6.2
Location: Tampa, FL. Used to be Seattle.
Posts: 8,386
Thanks: 298
Thanked 2,630 Times in 857 Posts
Send a message via AIM to Kyle Matthews

tim, I look forward to it. I'll be out from 7-10 pm GMT-5, but then I'll be back on.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #29  
Old 07-31-2007, 07:05 PM
What's Jailbreak?
 
Join Date: Jul 2007
Location: Portland
Posts: 13
Thanks: 1
Thanked 6 Times in 4 Posts
installipb.pl and windows.

ARGH. I got access to a computer with Windows and did some tests. I've got installipb.pl working fine with Windows... Sort of.

For some reason the version of iphoneinterface.exe I have... well... I'll load it up, then try changing to any directiory (/Applications/Calculator.app for example). I'll do putfile icon.png. It succeeds (doesn't crash). However, when I reboot the phone the icon doesn't change. Upon further inspection it looks like no matter what directory I'm in, a putfile ALWAYS put's the file into the root of the iPhone. Has anyone else run into this problem? I haven't tried doing a System Restore and then doing everything again from scratch on Windows yet.

Anyways, I've attached the latest installipb.pl as a zip file to this post. In order to run it on Windows you need ActivePerl installed (look earlier in the thread for the URL). When you're installing it, I'd recommend using the defaults (let it associate itself to .pl files and modify your PATH). After installation you should be able to open up a command prompt and just type installipb.pl . If ActivePerl is installed correctly you'll get the installipb help screen. Go fetch one of the themes I've converted to iPhoneBundle format and try installing it!

Also, keep in mind the -e option (to specify which files to allow my script to putfile) does not work yet. If you're on a Mac, there is no point in upgrading to 0.2. The only difference between 0.1 and 0.2 is Windows compatibility.

--Tim
Attached Files
File Type: zip installipb-0.2.zip (1.6 KB, 14 views)
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to timblade For This Useful Post:
tangfishfry (08-10-2007)
  #30  
Old 07-31-2007, 07:29 PM
What's Jailbreak?
 
Join Date: Jul 2007
Posts: 12
Thanks: 1
Thanked 3 Times in 3 Posts

Quote:
Originally Posted by timblade View Post
For some reason the version of iphoneinterface.exe I have... well... I'll load it up, then try changing to any directiory (/Applications/Calculator.app for example). I'll do putfile icon.png. It succeeds (doesn't crash). However, when I reboot the phone the icon doesn't change. Upon further inspection it looks like no matter what directory I'm in, a putfile ALWAYS put's the file into the root of the iPhone. Has anyone else run into this problem? I haven't tried doing a System Restore and then doing everything again from scratch on Windows yet.
I believe you have to specify the entire directory tree when using the putfile command in the windows version of the iPhoneInterface. So instead of "putfile icon.png" it would be "putfile /Applications/Calculator.app/icon.png"

Then again I haven't tested this. I've only read about it.

justin 8)
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Design and Media For the iPhone / iPod Touch > Skinning / Themes Discussion

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 07:47 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top