Eternal Poison DAT and HED files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
DNDEBUG
Posts: 4
Joined: Wed Sep 14, 2022 10:16 pm

Eternal Poison DAT and HED files

Post by DNDEBUG »

i need help to extract Eternal Poison files
besides the normal IRX files the /DATA Folder contains a bunch of DAT and HED files

these are the information i could extract

Code: Select all

file *
BATTLE.DAT:  data
BATTLE.HED:  data
CLIP.DAT:    data
CLIP.HED:    GLS_BINARY_LSB_FIRST
DMAP.DAT:    data
DMAP.HED:    data
LFACE.DAT:   data
LFACE.HED:   data
MODULES:     directory
MODULES.DAT: ELF 32-bit LSB PlayStation 2 IOP module, MIPS, MIPS-I version 1 (SYSV)
MODULES.HED: data
MOVIE.DAT:   data
MOVIE.HED:   data
ROOT.DAT:    data
ROOT.HED:    data
SFACE.DAT:   data
SFACE.HED:   data
SOUND.DAT:   data
SOUND.HED:   data
STATUS.DAT:  data
STATUS.HED:  data
SUBDIR.HED:  ASCII text
SYSTEM.DAT:  data
SYSTEM.HED:  GLS_BINARY_LSB_FIRST


some HED files follow a similar structure
but others are different for example SUBDIR.HED

Code: Select all

cat SUBDIR.HED 
system
modules
sound
sface
clip
dmap
status
lface
root
movie
battle


i tried QuickBMS and GameExtractor but had no luck
using head also doesn't give me much information that i can use
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Eternal Poison DAT and HED files

Post by BloodRaynare »

Post the HED files here.
DNDEBUG
Posts: 4
Joined: Wed Sep 14, 2022 10:16 pm

Re: Eternal Poison DAT and HED files

Post by DNDEBUG »

Here, i had to compress it
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Eternal Poison DAT and HED files

Post by BloodRaynare »

Can you also post one of the DAT files here?
If it's too big, just using http://aluigi.altervista.org/bms/filecutter.bms script to cut the files to 5MB then post it here.
DNDEBUG
Posts: 4
Joined: Wed Sep 14, 2022 10:16 pm

Re: Eternal Poison DAT and HED files

Post by DNDEBUG »

the DAT files eems to be very different like the HED files
these are some examples
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Eternal Poison DAT and HED files

Post by BloodRaynare »

Here's the BMS script to extract your samples:

chime_hed_dat.bms

Code: Select all

## Chime Corporation HED/DAT extraction script by BloodRaynare
## As seen in Eternal Poison/Poison Pink (PS2), Cowboy Bebop: Tsuioku no Serenade (PS2), and possibly others
## For use with QuickBMS: http://aluigi.altervista.org/quickbms.htm

open FDDE HED
open FDDE DAT 1

get HED_SIZE asize

do
   get OFFSET long
   get SIZE long
   getDstring NAME 32
   get UNK long # Hash?
   
   if UNK == 0
      if OFFSET == 0 && SIZE == 0
         savepos HED_POS
         continue
      else
         set PATH NAME
         string PATH + \
      endif
   else
      set TMP PATH
      set FNAME NAME
      string TMP + FNAME
      set NAME TMP
      log NAME OFFSET SIZE 1
   endif
   savepos HED_POS
while HED_POS < HED_SIZE


Directory structures might not be accurate.
DNDEBUG
Posts: 4
Joined: Wed Sep 14, 2022 10:16 pm

Re: Eternal Poison DAT and HED files

Post by DNDEBUG »

thank you very much
i didn't find that many interesting things, looks like the audio files are in a weird format ".ag"
couldn't extract much info about the other files