Post Reply 
[Doesn't work - ignore] Sony Theme Creator Patch
Author Message
ZiNgA BuRgA
Smart Alternative

Posts: 17,023.4213
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.0333
Offline
Post: #1
[Doesn't work - ignore] Sony Theme Creator Patch
Update: This doesn't work - it appears the PSP checks image dimensions too, making this somewhat useless.
Only read on if you're interested (or want to waste time).



This was originally my lame attempt to try and figure out the RLZ compression method, but, since I somewhat suck at Assembler, and there's too much code for my level, I gave up :P


Anyways, this is a simple patch which should remove the dimension restrictions in Sony's Theme Creator.
Note that I have not tested if this works fully (too lazy to upgrade to 3.70+ >_>)

Alright, here's what to do:
Open up themeconv.exe in a hex editor.
Go to 0x816D, the 2 byte value there should be 0x097F - change this to 0x0BEB.
Next, go to 0x8181, and change the 2 byte value from 0x0A7F to 0x0CEB.

Save the file, and now run the EXE.  You should be able to add icons/pictures regardless of their dimension.
It appears to generate PTFs fine, but, as said previously, I haven't tested this, so can't guarantee it will work.

Please tell me if you try this, and tell me if it works!  Thanks :D


Oh, and if anyone's interested in trying to figure out the RLZ compression thingy, I believe the function is at 0x406070 (0x6070 in file), and has the following definition:

C Code
int sub_406070(void* output, int inputlen, void* input, int mode)

Where output is the output buffer to send the data to, inputlen is the length of the input buffer, input is the actual input buffer.
mode is an interesting switch - the theme creator will actually compress the data 3 times - with modes 5, 6 and 7.  It then determines which mode gives the highest efficiency, and calls this function again with the respective mode.
I think the mode can be seen in the first byte of the compressed data.
The mode appears to be AND'd with 7 in the code,  so a mode above 7 will just be reduced mod 7.  Not sure what's wrong with modes 0-4 though.

(This post was last modified: 10/02/2008 03:33 AM by ZiNgA BuRgA.)
10/02/2008 12:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
mp3punk05
☆ PSP Skater ☆

Posts: 476.2764
Threads: 76
Joined: 9th Dec 2007
Reputation: -0.79225
E-Pigs: 13.9965
Offline
Post: #2
RE: Sony Theme Creator Patch
Im going to try this :D Though this is my first time of hex editing so it'l take me a while lol

[Image: olisykessig-2.png]
(This post was last modified: 10/02/2008 02:28 AM by mp3punk05.)
10/02/2008 02:23 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,023.4213
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.0333
Offline
Post: #3
RE: Sony Theme Creator Patch
Hmm, appears to not work if you use icons which are too large.

An 80x67 seems to go in the theme creator, but something like 144x140 didn't...

Still need to see if it actually works on the PSP.
10/02/2008 02:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
mp3punk05
☆ PSP Skater ☆

Posts: 476.2764
Threads: 76
Joined: 9th Dec 2007
Reputation: -0.79225
E-Pigs: 13.9965
Offline
Post: #4
RE: Sony Theme Creator Patch
Im still trrying to find out how hex but be4 when iv been making a ptf the theme converter said i was using too much space , so that's what wee might have on the biggyness of icons...

What hex editing program did u use?

[Image: olisykessig-2.png]
(This post was last modified: 10/02/2008 02:42 AM by mp3punk05.)
10/02/2008 02:41 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,023.4213
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.0333
Offline
Post: #5
RE: Sony Theme Creator Patch
Don't worry about it - it appears that the PSP checks dimensions too, so this is somewhat useless.

But anyway, typically use UltraEdit.  HexWorkshop is also popular.
10/02/2008 03:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
mp3punk05
☆ PSP Skater ☆

Posts: 476.2764
Threads: 76
Joined: 9th Dec 2007
Reputation: -0.79225
E-Pigs: 13.9965
Offline
Post: #6
RE: Sony Theme Creator Patch
awww ok , i hope you do figure out how to do it anyway :D

[Image: olisykessig-2.png]
10/02/2008 03:13 AM
Find all posts by this user Quote this message in a reply
Sparker
Super Lame Productions

Posts: 8,165.3369
Threads: 549
Joined: 19th Jan 2007
Reputation: 10.74638
E-Pigs: 187.8892
Offline
Post: #7
RE: [Doesn't work - ignore] Sony Theme Creator Patch
I read the information because I felt like wasting time.

10/02/2008 03:49 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: