Please help Extract .pvrlzo textures . It's textures file format from a little Game name Snark Busters All Revved Up 2
i unapck game.pack but find most images are encryption
there are some samples.
can someone here help me out?
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Please help Extract .pvrlzo textures
Please help Extract .pvrlzo textures
You do not have the required permissions to view the files attached to this post.
- aluigi
- VVIP member
- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 664 times
- Contact:
Re: Please help Extract .pvrlzo textures
script for quickbms:
Code: Select all
comtype lzo1x
get ZSIZE asize
#get SIZE long
savepos OFFSET
math ZSIZE -= OFFSET
math SIZE = ZSIZE
math SIZE *= 20 #enough?
get NAME basename
string NAME += ".pvr"
clog NAME OFFSET ZSIZE SIZE
Re: Please help Extract .pvrlzo textures
aluigi wrote:script for quickbms:Code: Select all
comtype lzo1x get ZSIZE asize #get SIZE long savepos OFFSET math ZSIZE -= OFFSET math SIZE = ZSIZE math SIZE *= 20 #enough? get NAME basename string NAME += ".pvr" clog NAME OFFSET ZSIZE SIZE
thank you very much!!!!
Re: Please help Extract .pvrlzo textures
Sorry for the extreme dig, but the file's actually laid out like this (per the demo Stargaze Framework SDK I found):
So the compressed data length is (length of file)-8, and the actual size is from the last 4 bytes. Signature in struct above should be reversed to little-endian when stored in file.
Code: Select all
struct pvrlzo {
char lzodata[];
uint signature = 0x7d620abd;
uint decompressed_length;
};
Currently researching: Alpha Prime scripting (AI and mods)
Queued: EE .cache repacking, CustomPak repacking, Gameloft Scrambled Zip multitool, GRAF Extractor Skeleton repacking, Gun Metal filenames CRC
Queued: EE .cache repacking, CustomPak repacking, Gameloft Scrambled Zip multitool, GRAF Extractor Skeleton repacking, Gun Metal filenames CRC