Crimson Tears (PS2) DAR file archives

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Mario123311
Posts: 50
Joined: Fri Jan 22, 2016 4:37 am

Crimson Tears (PS2) DAR file archives

Post by Mario123311 »

So, with progress on the game's core model format finally cracking on XenTax: I can confirm the DAR files are archives. All the data for the stage geometry and even enemies are in there, including textures and even sounds are in them. Figured I'd post this here to see if anyone could potentially understand how to unpack these. Same game engine and formats were used for Appleseed EX, a game by the same developer.

https://www.mediafire.com/file/h7yay9y7 ... 0.dar/file
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Crimson Tears (PS2) DAR file archives

Post by BloodRaynare »

Here's BMS script to unpack your sample file:

dreamfactory_dar.bms

Code: Select all

IDString "DAR\x0"
get UNK long # Version?
get FILES long
get ZERO long
for i = 0 < FILES
	get OFFSET long
	putarray 0 i OFFSET
next i

for i = 0 < FILES
	getarray OFFSET 0 i
	math i + 1
	if i == FILES
		get DAR_SZ asize
		xmath SIZE "DAR_SZ - OFFSET"
	else
		getarray NEXT_OFFSET 0 i
		xmath SIZE "NEXT_OFFSET - OFFSET"
	endif
	string NAME p "%03d." i
	log NAME OFFSET SIZE
next
Mario123311
Posts: 50
Joined: Fri Jan 22, 2016 4:37 am

Re: Crimson Tears (PS2) DAR file archives

Post by Mario123311 »

Just gave this script a try. It's spewing out a bunch of unknown .DAT files...

EDIT: Nevermind, it just spat out some additional DARs and some TM2 files for one of the archives? Gotta keep testing.
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Crimson Tears (PS2) DAR file archives

Post by BloodRaynare »

Unfortunately, the DAR archive itself doesn't carry any filenames so you won't get any.