About pyro file format

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
JackDev
Posts: 39
Joined: Tue Dec 26, 2017 6:36 am

About pyro file format

Post by JackDev »

Hi,Guys, How can I identify pyro files plz. :shock: ,I think it's a picture.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: About pyro file format

Post by aluigi »

Please specify the name of the game and upload one of these pyro files (is pyro an extension or a game?).
JackDev
Posts: 39
Joined: Tue Dec 26, 2017 6:36 am

Re: About pyro file format

Post by JackDev »

aluigi wrote:Please specify the name of the game and upload one of these pyro files (is pyro an extension or a game?).

Yes,an extension.
I forgot the name of the game. I found a Pyro file a long time ago, which could not be opened at that time. Now I want to try if it can be opened!
Upload the test file.
lisomn
Posts: 40
Joined: Thu Jan 11, 2018 7:14 am

Re: About pyro file format

Post by lisomn »

Code: Select all

# script for QuickBMS http://quickbms.aluigi.org
# by lisomn
idstring "PYRO\x00"
Endian big
goto 0x15
get count long
for i = 0 < count
   Endian big
   get name_size long
   getdstring tex_name name_size
   string tex_name + ".png"
   get unkonw long
   get unkonw long
   get unkonw long
   Endian little
   get tex_size long
   savepos tex_offset
   log tex_name tex_offset tex_size
   math tex_size + tex_offset
   math tex_size + 16
   goto tex_size
next i
JackDev
Posts: 39
Joined: Tue Dec 26, 2017 6:36 am

Re: About pyro file format

Post by JackDev »

lisomn wrote:

Code: Select all

# script for QuickBMS http://quickbms.aluigi.org
# by lisomn
idstring "PYRO\x00"
Endian big
goto 0x15
get count long
for i = 0 < count
   Endian big
   get name_size long
   getdstring tex_name name_size
   string tex_name + ".png"
   get unkonw long
   get unkonw long
   get unkonw long
   Endian little
   get tex_size long
   savepos tex_offset
   log tex_name tex_offset tex_size
   math tex_size + tex_offset
   math tex_size + 16
   goto tex_size
next i



Thanks,Guys!