dreamcast BIN extraction (SARC archive) PLEASE HELP

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
kessmo
ultra-n00b
Posts: 4
Joined: Mon Jan 29, 2018 12:06 pm
Has thanked: 2 times

dreamcast BIN extraction (SARC archive) PLEASE HELP

Post by kessmo » Mon Jan 29, 2018 12:35 pm

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.

warrantyvoider
n00b
Posts: 17
Joined: Tue May 03, 2016 2:13 pm
Been thanked: 11 times

Re: dreamcast BIN extraction (SARC archive) PLEASE HELP

Post by warrantyvoider » Mon Jan 29, 2018 3:38 pm

quick and dirty, there you go...
Image

greetz WV
You do not have the required permissions to view the files attached to this post.

User avatar
Acewell
VIP member
VIP member
Posts: 1224
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2359 times
Been thanked: 707 times

Re: dreamcast BIN extraction (SARC archive) PLEASE HELP

Post by Acewell » Mon Jan 29, 2018 6:36 pm

and a bms script just for kicks :D

Code: Select all

# 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

kessmo
ultra-n00b
Posts: 4
Joined: Mon Jan 29, 2018 12:06 pm
Has thanked: 2 times

Re: dreamcast BIN extraction (SARC archive) PLEASE HELP

Post by kessmo » Mon Jan 29, 2018 11:22 pm

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!!!

User avatar
Acewell
VIP member
VIP member
Posts: 1224
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2359 times
Been thanked: 707 times

[Dreamcast] Sega Rally 2 (*.txr)

Post by Acewell » Tue Feb 06, 2018 4:13 am

here is Noesis python script to open the txr textures extracted from the bin sample :D
tex_SegaRally2_DC_txr.zip
supports r5g6b5 format
You do not have the required permissions to view the files attached to this post.

kessmo
ultra-n00b
Posts: 4
Joined: Mon Jan 29, 2018 12:06 pm
Has thanked: 2 times

Re: dreamcast BIN extraction (SARC archive) PLEASE HELP

Post by kessmo » Sat Feb 17, 2018 1:13 pm

Thanks for the help mates!

Post Reply