Endless Paradigm

Full Version: [Doesn't work - ignore] Sony Theme Creator Patch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.

Im going to try this :D Though this is my first time of hex editing so it'l take me a while lol
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.
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?
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.
awww ok , i hope you do figure out how to do it anyway :D
I read the information because I felt like wasting time.
Reference URL's