ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Jan 23, 2019 6:07 am

All times are UTC




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Sun Sep 27, 2015 7:20 pm 
User avatar

Joined: Thu Jun 04, 2015 11:20 pm
Posts: 136
Here.


Top
   
PostPosted: Sun Sep 27, 2015 7:32 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9676
For decompressing the zlb files:
Code:
get SIZE long
savepos OFFSET
get ZSIZE asize
math ZSIZE - OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE

The others are probably not archives but just game files, in case someone is interested in working on them.


Top
   
PostPosted: Sun Sep 27, 2015 8:05 pm 
User avatar

Joined: Sat Sep 12, 2015 7:09 am
Posts: 104
Geeze, I like this game. How could I have forgotten about it? :P

.; So that just dumps the .res file out of the .zlib? I 'm guessing the .res holds resources?
What about the .bun files? Not bundles?

I know I know. Extensions aren't equivalent to file types, although there is cases where they do actually represent something.


Top
   
PostPosted: Sun Sep 27, 2015 8:47 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9676
http://aluigi.org/papers/bms/others/mario_strikers.bms


Top
   
PostPosted: Sun Sep 27, 2015 10:07 pm 
User avatar

Joined: Sat Sep 12, 2015 7:09 am
Posts: 104
*looks at script* Awesome, you added .res support. The only problem is I get errors...
Code:
Error: incomplete input file 0: PathTOFile.res
Can't read 4 bytes from offset ########(offset)

*bunch of other text*

Last script line before the error or that produced the error!
20 get DUMMY long


Attaching one of the files that give error...


Attachments:
gameworld.zip [26.58 KiB]
Downloaded 33 times
Top
   
PostPosted: Sun Sep 27, 2015 10:08 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9676
That's not a res file.
All the gameworld files I have seen have a tmp extension, have you renamed it?


Top
   
PostPosted: Mon Sep 28, 2015 1:58 am 
User avatar

Joined: Sat Sep 12, 2015 7:09 am
Posts: 104
Ehehe. That was a file I got out of gameworld.res.zlib (there is also a corresponding gameworld.tmp.zlib file in the folder I just noticed) back when I used:
aluigi wrote:
For decompressing the zlb files:
Code:
get SIZE long
savepos OFFSET
get ZSIZE asize
math ZSIZE - OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE


Using the new script on either files mentioned still doesn't produce anything anyhow.


Top
   
PostPosted: Mon Sep 28, 2015 10:08 pm 
User avatar

Joined: Thu Jun 04, 2015 11:20 pm
Posts: 136
Probably because he forgot to set comtype zlib?


Top
   
PostPosted: Tue Sep 29, 2015 12:25 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9676
It's simply that the specific file is not a RES like all the others. It's the SAME format of the TMP files.

Anyway I have recognized some fields that may allow to extract something (not everything) so I have updated the script.


Top
   
PostPosted: Tue Dec 18, 2018 11:28 am 

Joined: Thu Oct 18, 2018 3:24 pm
Posts: 1
Hi everybody,
is there anyone here who could extract a texture? Maybe I'm too stupid, but neither the addressed zlibs nor the *.rlt files (PTLG header) can be extracted. Maybe someone can try this again and tell me what I'm doing wrong...

I've added new files (gameworld.tmp.zlib, *.rlt or related model *.rlg).

Many thanks for the help


Attachments:
Files_to_analyse.zip [1.72 MiB]
Downloaded 7 times
Top
   
PostPosted: Thu Jan 10, 2019 5:55 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9676
@GoldNobody
The first step is decompressing the zlib files:
Code:
endian big
get SIZE long
savepos OFFSET
get ZSIZE asize
math ZSIZE - OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE

The RES files contain strings and data so I don't think they are textures.
RLG seem some 16bit graphics data to me (not my field so I'm probably wrong)
RLT has the magic PTLG and definitely image data.
Probably you have to post in the Graphics section.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited