ZiNgA BuRgA Wrote:The file looks like it's still compressed. You sure you uncompressed it?
that one extrct by rcotool. this one by rcoeditor..
or how to decompress?
It can only be decompressed with Resurssiklunssi...
ZiNgA BuRgA Wrote:It can only be decompressed with Resurssiklunssi...
i have no idea how resurssklunssi can do? any hint?
1. ptf file
2. convert to rco by ptf2rco
3. Resurssiklunssi to decompress the rco
4. use rcotool/rcoeditor to decompress the rco resource.
5. the point is, how to decompress the background.gim then?
After converting with ptf2rco, decompress the RCO with Resurssiklunssi. That should be all you need to do.
Once you've done that, you can extract with any rco tool. However, the extracted file you showed me appears to be still compressed, so you probably didn't put it through Resurssiklunssi?
Anyway, if, for some odd reason the above doesn't RLZ decompress the file, you can try doing it manually. With the extracted background, open up an RCO containing icons. Rename the extracted background to .dat Replace the FIRST icon in the RCO with the .dat file. Then open up the RCO in a hex editor, go to 0x11E and change the value there from 0x01 to 0x02. Now run the RCO through Resurssiklunssi.
After that, open the RCO up, extract the first image as a .mig, and rename to .bmp.
Here is the output from the thing you gave me.
ZiNgA BuRgA Wrote:After converting with ptf2rco, decompress the RCO with Resurssiklunssi. That should be all you need to do.
Once you've done that, you can extract with any rco tool. However, the extracted file you showed me appears to be still compressed, so you probably didn't put it through Resurssiklunssi?
Anyway, if, for some odd reason the above doesn't RLZ decompress the file, you can try doing it manually. With the extracted background, open up an RCO containing icons. Rename the extracted background to .dat Replace the FIRST icon in the RCO with the .dat file. Then open up the RCO in a hex editor, go to 0x11E and change the value there from 0x01 to 0x02. Now run the RCO through Resurssiklunssi.
After that, open the RCO up, extract the first image as a .mig, and rename to .bmp.
Here is the output from the thing you gave me.
but it can not convert perfectly :( incorrect color bars over the graphic
Where'd you get that from?
It's screwed if it's not what you want...
All it is is just a decompression of the data. No other manipulation done...
ZiNgA BuRgA Wrote:Where'd you get that from?
It's screwed if it's not what you want...
All it is is just a decompression of the data. No other manipulation done...
i did per your manually method to extract then did nothing to it :(
both from ptf theme....
here is the original background..
Do you know how it was made? The Sony PTF maker?
Hmm, cause if so, maybe it screws colours up on purpose or something.
Cause, all this method does is extract the image for you - no conversion has been done...
Dodgey. It places two red and blue bars across the image... I suspect they just swapped the colour channels.
EDIT: yep, appears to be some colour channel swapping (or possibly a skipped byte or two I guess).
Bars 1 and 4: GBR
Bars 2 and 5: BRG
Bars 3 and 6: RGB (normal)
EDIT 2: Okay, here's a sort of method to fix it - it makes artefacts appear, but that's primarily because I haven't got the exact offset here.
Open up the BMP in hex editor, go to 0xFF36 and delete one byte. Add 0xFF00 to 0xFF36, go there and delete another byte. Keep repeating this, by adding 0xFF00 each time.
If you get the offsets correct though, it should fix up the image.
If you do the above, you should end up with something like this:
![[Image: backgroundvt7.png]](http://img47.imageshack.us/img47/408/backgroundvt7.png)
The lines should be removable if you find the exact spot to delete.
ZiNgA BuRgA Wrote:Do you know how it was made? The Sony PTF maker?
Hmm, cause if so, maybe it screws colours up on purpose or something.
Cause, all this method does is extract the image for you - no conversion has been done... 
Dodgey. It places two red and blue bars across the image... I suspect they just swapped the colour channels.
EDIT: yep, appears to be some colour channel swapping (or possibly a skipped byte or two I guess).
Bars 1 and 4: GBR
Bars 2 and 5: BRG
Bars 3 and 6: RGB (normal)
EDIT 2: Okay, here's a sort of method to fix it - it makes artefacts appear, but that's primarily because I haven't got the exact offset here.
Open up the BMP in hex editor, go to 0xFF36 and delete one byte. Add 0xFF00 to 0xFF36, go there and delete another byte. Keep repeating this, by adding 0xFF00 each time.
If you get the offsets correct though, it should fix up the image.
If you do the above, you should end up with something like this:
![[Image: backgroundvt7.png]](http://img47.imageshack.us/img47/408/backgroundvt7.png)
The lines should be removable if you find the exact spot to delete.
![[Image: bggn3.jpg]](http://img502.imageshack.us/img502/5173/bggn3.jpg)
quite complex... wondering how bstronga can extract the background...
http://endlessparadigm.com/forum/showthr...6#pid49416
^ They're from official themes. I extracted backgrounds from those themes without problems. I dunno why yours have weird lines, which is why I'm asking where you got those PTFs from...