XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Sep 24, 2018 4:20 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: dreamcast BIN extraction (SARC archive) PLEASE HELP
PostPosted: Mon Jan 29, 2018 12:35 pm 
Offline
ultra-n00b

Joined: Mon Jan 29, 2018 12:06 pm
Posts: 4
Has thanked: 2 times
Have thanks: 0 time














You can make the ads go away by registering

Hello,
I'm here asking for help to extract some files.
They are contained in BIN files, and every included filename appear in clear text in HEX in the following lines.
But i can't find any clue on how this works...

I join a small file that I would like to extract.

Thanks for your help!
See ya


Last edited by kessmo on Mon Jan 29, 2018 11:26 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: dreamcast BIN extraction (SARC archive) PLEASE HELP
PostPosted: Mon Jan 29, 2018 3:38 pm 
Offline
n00b

Joined: Tue May 03, 2016 2:13 pm
Posts: 16
Has thanked: 0 time
Have thanks: 9 times
quick and dirty, there you go...
Image

greetz WV


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: dreamcast BIN extraction (SARC archive) PLEASE HELP
PostPosted: Mon Jan 29, 2018 6:36 pm 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 1105
Has thanked: 2201 times
Have thanks: 623 times
and a bms script just for kicks :D
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get FOLDER basename
idstring "SARC"
get FILES long
for i = 1 to FILES
   get COMP_FLAG long //0 = not compressed, 1 = compressed ??
   get ZSIZE long //compressed size??
   get SIZE long
   get OFFSET long
   getdstring NAME 0x100
   string NAME ! \
   string NAME p "%s\%s" FOLDER NAME
   if COMP_FLAG == 0
      log NAME OFFSET SIZE
   //else
   //   comtype ??
   //   clog NAME OFFSET ZSIZE SIZE
   endif
next i

not enough samples to confirm any compression stuff so i commented those parts out :D

_________________
Noesis
Hex2obj
QuickBMS
Asset Studio
TextureFinder


Top
 Profile  
 
 Post subject: Re: dreamcast BIN extraction (SARC archive) PLEASE HELP
PostPosted: Mon Jan 29, 2018 11:22 pm 
Offline
ultra-n00b

Joined: Mon Jan 29, 2018 12:06 pm
Posts: 4
Has thanked: 2 times
Have thanks: 0 time
Big thanks!!!! Very quick solution!
You made my day!

It's perfectly working with the file I provided but with files from other region version of the game, it produces some texture files that have different headers.

Maybe devs made some serious changes between versions.

I'll figure it out, so once again: Thanks!!!


Top
 Profile  
 
 Post subject: [Dreamcast] Sega Rally 2 (*.txr)
PostPosted: Tue Feb 06, 2018 4:13 am 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 1105
Has thanked: 2201 times
Have thanks: 623 times
here is Noesis python script to open the txr textures extracted from the bin sample :D

supports r5g6b5 format


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Noesis
Hex2obj
QuickBMS
Asset Studio
TextureFinder


Top
 Profile  
 
 Post subject: Re: dreamcast BIN extraction (SARC archive) PLEASE HELP
PostPosted: Sat Feb 17, 2018 1:13 pm 
Offline
ultra-n00b

Joined: Mon Jan 29, 2018 12:06 pm
Posts: 4
Has thanked: 2 times
Have thanks: 0 time
Thanks for the help mates!


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 6 guests


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:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group