| View previous topic :: View next topic |
| Author |
Message |
codelogic
Joined: 10 Nov 2007 Posts: 10
|
Posted: Fri Nov 16, 2007 11:15 am Post subject: PS3 Theme Extractor |
|
|
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 |
|
 |
codelogic
Joined: 10 Nov 2007 Posts: 10
|
Posted: Sat Nov 17, 2007 7:52 am Post subject: PNG support |
|
|
| 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 |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Sat Nov 17, 2007 5:03 pm Post subject: |
|
|
| Nice work! |
|
| Back to top |
|
 |
codelogic
Joined: 10 Nov 2007 Posts: 10
|
Posted: Sat Nov 17, 2007 5:52 pm Post subject: |
|
|
| Thanks jimparis. |
|
| Back to top |
|
 |
ps2asker
Joined: 12 Nov 2007 Posts: 7
|
Posted: Sun Nov 18, 2007 5:18 am Post subject: |
|
|
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 |
|
 |
codelogic
Joined: 10 Nov 2007 Posts: 10
|
Posted: Sun Nov 18, 2007 9:19 am Post subject: |
|
|
| 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 |
|
 |
ps2asker
Joined: 12 Nov 2007 Posts: 7
|
Posted: Sun Nov 18, 2007 8:58 pm Post subject: |
|
|
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 |
|
 |
codelogic
Joined: 10 Nov 2007 Posts: 10
|
Posted: Tue Nov 20, 2007 8:00 am Post subject: |
|
|
| 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 |
|
 |
ps2asker
Joined: 12 Nov 2007 Posts: 7
|
Posted: Wed Nov 21, 2007 2:58 am Post subject: |
|
|
| Sweet, thanks. |
|
| Back to top |
|
 |
cocco
Joined: 12 Feb 2005 Posts: 17
|
Posted: Wed Nov 21, 2007 11:47 pm Post subject: Theme builder |
|
|
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 |
|
 |
|