forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PS3 Theme Extractor

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development
View previous topic :: View next topic  
Author Message
codelogic



Joined: 10 Nov 2007
Posts: 10

PostPosted: Fri Nov 16, 2007 11:15 am    Post subject: PS3 Theme Extractor Reply with quote

I wrote a theme extractor in Python. You can download it from here.

Here's the basic README
Code:

P3T Unpacker v0.10
Copyright (c) 2007. Anoop Menon
<codelogic @ gmail.com>

This program unpacks Playstation 3 Theme files (.p3t). By default, it will extract the contents of the theme file to the directory 'extracted.theme filename' in the current directory.

If you find any, please let me know!


I'll probably keep updating it from time to time. It is licensed under GPL.

Changelog
Code:

11/16/07
added support to save GIM files as PNGs (requires Python Imaging Library to be installed. apt-get install python-imaging if you're using a Debian based distro)

11/16/07
added a very basic GIM file reader

11/16/07
non 'bgimages' are zlib compressed. Added support for that so that icons are decompressed to GIM files.

11/15/07
First release


UPDATE: I've moved the download page to http://ps3.blackvoltage.org/


Last edited by codelogic on Sat Dec 08, 2007 8:29 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
codelogic



Joined: 10 Nov 2007
Posts: 10

PostPosted: Sat Nov 17, 2007 7:52 am    Post subject: PNG support Reply with quote

The program now extracts all the images and converts them to PNGs with transparency support. You will need the python imaging library installed. apt-get install python-imaging if you're using a debian based distro like Ubuntu.
Back to top
View user's profile Send private message Visit poster's website
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sat Nov 17, 2007 5:03 pm    Post subject: Reply with quote

Nice work!
Back to top
View user's profile Send private message
codelogic



Joined: 10 Nov 2007
Posts: 10

PostPosted: Sat Nov 17, 2007 5:52 pm    Post subject: Reply with quote

Thanks jimparis.
Back to top
View user's profile Send private message Visit poster's website
ps2asker



Joined: 12 Nov 2007
Posts: 7

PostPosted: Sun Nov 18, 2007 5:18 am    Post subject: Reply with quote

I will install Python and try to get this working, thanks!

Edit: I'm kinda dumb so I do not know how to get it to work.
First I tried doing p3textractor theme.p3t in cmd(windows) and got some errors(not a zip file), then i used a Python GUI and tried running the .py file and got "Invalid syntax". Guess I am doing something wrong so a little hint would be appreciated, thanks :)
Back to top
View user's profile Send private message
codelogic



Joined: 10 Nov 2007
Posts: 10

PostPosted: Sun Nov 18, 2007 9:19 am    Post subject: Reply with quote

There's also a Windows version on the site, for which you don't need Python installed. Just extract it into a temp directory and copy p3tcompiler.exe to the same directory and run the extractor from there.
Back to top
View user's profile Send private message Visit poster's website
ps2asker



Joined: 12 Nov 2007
Posts: 7

PostPosted: Sun Nov 18, 2007 8:58 pm    Post subject: Reply with quote

Oh, I got it now. It was the p3tcompiler exe that I hadnt moved to the same folder. Thanks, works fine.

Edit: I just noticed the files have new names when extracted, would it be possible to keep the original names or maybe change teh generic names to match the sample.xml file from sony so it's easy to compile a new theme without changing names?
Back to top
View user's profile Send private message
codelogic



Joined: 10 Nov 2007
Posts: 10

PostPosted: Tue Nov 20, 2007 8:00 am    Post subject: Reply with quote

ps2asker wrote:

Edit: I just noticed the files have new names when extracted, would it be possible to keep the original names or maybe change teh generic names to match the sample.xml file from sony so it's easy to compile a new theme without changing names?


The latest version 0.6, also creates an XML file which you can use to recreate the theme without changing filenames. The original filenames are lost when the theme is compiled, so they cannot be retrieved, but the new XML will have the correct updated filenames.

http://codelogic.googlepages.com/
Back to top
View user's profile Send private message Visit poster's website
ps2asker



Joined: 12 Nov 2007
Posts: 7

PostPosted: Wed Nov 21, 2007 2:58 am    Post subject: Reply with quote

Sweet, thanks.
Back to top
View user's profile Send private message
cocco



Joined: 12 Feb 2005
Posts: 17

PostPosted: Wed Nov 21, 2007 11:47 pm    Post subject: Theme builder Reply with quote

hi
i made a php ajax script that let's you create a custom THEME

now there are 4 sections
1*. choose wallpaper(shows preview in realtime[ajax])
2*. choose icons(shows preview in realtime[ajax])
3. show the generated xml file(file created by php and ajax needed to compile the theme)

*icons and wallpaper are selectable from online local icons or wallpapers
or simple url to images that get saved in db.
so that u have unlimited icons or wallpapers.

after you choose everithing it creates a zip containing folder
with all icons and wallpaper and the needed xml file


now my questions
1.someone is intrested?
2.it's possible to execute the themebuilder to directly create the theme
online and not only the nexessary files to build it?
3.need the font's of ps3 xmb like standard pop and gotic

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group