[SOLVED] Dungeon Siege: Throne of Agony WAD archive ("DAW0")

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

[SOLVED] Dungeon Siege: Throne of Agony WAD archive ("DAW0")

Post by AlphaTwentyThree »

Hi!

This may already be solved somewhere and I just couldn't find it. I thought Luigi's heavenly_sword.bms would work on that file but it somehow doesn't. It's an old format so maybe somebody could point me in the right direction...
Here's the first and last MB of the archive: https://1fichier.com/?qzwv0f05pyl0dg4ujg6w
Thanks!
Last edited by AlphaTwentyThree on Fri Jan 21, 2022 5:42 am, edited 1 time in total.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Dungeon Siege: Throne of Agony WAD archive ("DAW0")

Post by AlphaTwentyThree »

Sorry, accidentally had a password in the link. Open now.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Dungeon Siege: Throne of Agony WAD archive ("DAW0")

Post by AlphaTwentyThree »

Well, I've written a script but the output files are either compressed or changed in some other form.
Take a look: https://1fichier.com/?k8zl2vvo0ka51c2xd9ho
Any idea on these?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dungeon Siege: Throne of Agony WAD archive ("DAW0")

Post by aluigi »

The format of the wad file seems simple, is your script like the following?

Code: Select all

# Dungeon Siege: Throne of Agony WAD

idstring "0DAW"
get DUMMY long  # 2
get DUMMY long  # 2
get FILES long
get INFO_SIZE long
get FLAGS long
get DATA_SIZE long
get DATA_SIZE long
getdstring NAME 8
for i = 0 < FILES
    get NAME_CRC long
    get OFFSET long
    get SIZE long
    string NAME p "%08x." NAME_CRC
    log NAME OFFSET SIZE
next i
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Dungeon Siege: Throne of Agony WAD archive ("DAW0")

Post by AlphaTwentyThree »

Yes, that's basically the ones I wrote.
Strangely it works now looking at the files again, so... never mind. Thanks anyway!
I've attached my script with the latest func_getTYPE.bms for convenience.