ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Mar 08, 2021 10:19 pm

All times are UTC




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Mon Feb 08, 2021 2:42 pm 

Joined: Mon Oct 29, 2018 12:34 pm
Posts: 4
Hi.
Can anybody help me to extract a sound files from this archive. Archive from a russian PC version of "Constantine". I want to move sounds to PS2 version of game.
https://www.mediafire.com/file/pticvyj480x4mcr/image.bin/file

Thanks.


Top
   
PostPosted: Mon Feb 08, 2021 10:32 pm 

Joined: Sun May 24, 2020 9:16 pm
Posts: 16
Ok
I find what is a lzo compression
but how reimport back
Can anyone help with this?


Top
   
PostPosted: Tue Feb 09, 2021 9:08 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12013
Why do you say it's lzo?
Have you extracted it? script?


Top
   
PostPosted: Tue Feb 09, 2021 9:45 am 

Joined: Sun May 24, 2020 9:16 pm
Posts: 16
aluigi wrote:
Why do you say it's lzo?
Have you extracted it? script?

yes. its lzo1x


get FN FILENAME
get FILE_SIZE asize
set OFFSET 0
log FN 0 0
comtype lzo1x
append

for
Xmath POS "FILE_SIZE - OFFSET"
if POS > 16384
get SIZE SHORT
math OFFSET + 2
Clog FN OFFSET SIZE 10000000
math OFFSET + SIZE
GoTo OFFSET
else
log FN OFFSET 16384 // ?!
break
endif
next i

append


Top
   
PostPosted: Tue Feb 09, 2021 9:50 am 

Joined: Sun May 24, 2020 9:16 pm
Posts: 16
PS2 version has similar compression
but sounds not compress. this makes easy

but text source is compress(((
all textures, txt labels all compressed
i dont know what tools use. because all tool for game need a header
in this image.bin dont have header

needs like most zlib tool.
just compress without adding header in file and bingo


Top
   
PostPosted: Wed Feb 17, 2021 11:17 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12013
Interesting, if you have other samples with these different formats/compressions feel free to provide them.


Top
   
PostPosted: Wed Mar 03, 2021 5:51 pm 

Joined: Sun May 24, 2020 9:16 pm
Posts: 16
aluigi wrote:
Interesting, if you have other samples with these different formats/compressions feel free to provide them.

aluigi, ps2 and pc have identical type of archive.

the problem is that the toc table is also under lzo compression

simple structure:

information about archive (size) - lzo
toc table (each file offset and size) - lzo
files (texture,mesh etc) - lzo

I ask about write simple compress/decompress utility for this game
but no one want do this because its old game))))


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 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