Dragon Quest Heroes .g1l format sound

Codecs, formats, encoding/decoding of game audio, video and music
LordMisfit
Posts: 13
Joined: Wed Feb 24, 2016 7:29 pm

Re: Dragon Quest Heroes .g1l format sound

Post by LordMisfit »

Good luck on that. :o
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

Checked Dynasty Warriors 6 (2009), and it has all screams/SFX uncompressed. No help here.

p.s. And Dynasty Warriors 7 (2011) - They have exactly the same ADPCM variant on PC.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

Ok problem solved. I overestimated them. On PC this was a simple Microsoft ADPCM, just non-standard frame size. How could I not recognize it?
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

Now to sort this all out. Bank structure is complex, so I need some time to make a tool. This is what I can tell now:

PC has about
320 banks 140MB in size (compressed 2,4x times) = 336MB of audio data

PS3 has about
170 banks 11MB in size (compressed 12x times) = 132MB of audio data

Maybe I'm missing something from PS3 version (or PC version includes a lot of DLC stuff), but it looks like it has much less data, and much heavier compressed.
LordMisfit
Posts: 13
Joined: Wed Feb 24, 2016 7:29 pm

Re: Dragon Quest Heroes .g1l format sound

Post by LordMisfit »

Yeah, the PC version came with all the DLC bundled in. The secret character, special 'slime' weapons, extra quests, etc.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

Sample output from 2 sound banks: http://www64.zippyshare.com/v/o6BgMajP/file.html

I hope this is what you wanted. No filenames as you can see. I can find them, but this will take more time.

If everything is ok, I'll proceed making a tool that automatically extracts all sounds.
LordMisfit
Posts: 13
Joined: Wed Feb 24, 2016 7:29 pm

Re: Dragon Quest Heroes .g1l format sound

Post by LordMisfit »

After checking over them, I believe the sound like they should in game, so I think you're okay to proceed. :)
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

Ok. First version. I may improve it later, make it extract all game data, or something, error handling... But for now try using it carefully. I got 16895 files with this. Don't know how you're going to handle them, but you asked for that ;)

1. put all files to the folder where you have your "linkdata"
2. run Koeitecmo_linkdata (it will unpack about 900 soundbanks from the game)
3. run split.bat (it will split all banks into individual files)
4. delete all .BIN files (but not your linkdata.bin file!)

p.s. some files (many) will be duplicated, because of sound bank structure. That always happens.
Last edited by id-daemon on Tue Mar 15, 2016 8:52 pm, edited 2 times in total.
LordMisfit
Posts: 13
Joined: Wed Feb 24, 2016 7:29 pm

Re: Dragon Quest Heroes .g1l format sound

Post by LordMisfit »

Alright, did all the things, and have all 16895 files you mentioned and 7zipped them so I can back them up in case of a problem. Thanks for your help so far. It'll probably take me some time to look through and sort them all though. :V
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

I used duplicate detector on them now. Actually only 4547 files are unique. All other 12000+ were duplicates.
LordMisfit
Posts: 13
Joined: Wed Feb 24, 2016 7:29 pm

Re: Dragon Quest Heroes .g1l format sound

Post by LordMisfit »

Oh, geez there's a lot of dupes. I don't have said program though. Where would I download it? :o
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

There's a lot of them on the net, including free ones. I'm not sure the one I'm using is the best
LordMisfit
Posts: 13
Joined: Wed Feb 24, 2016 7:29 pm

Re: Dragon Quest Heroes .g1l format sound

Post by LordMisfit »

Well then I guess I'll have to try to go through all the files I have one by one. :V

Edit: BTW yeah, there are indeed a lot of duplicates, especially for the different monsters, since each version of each monster still uses their own sound bank instead of all monsters of one type sharing just a single sound bank. :o

Edit: Original 7Z file here: https://drive.google.com/file/d/0Bw8caF ... sp=sharing - It's the 18k sounds one, so all the duplicate sounds are still there, but for anyone else who wants it. [113 MB]
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

Some info about the numbers.

0129_003_02.wav

0129 is a number of file inside linkdata archive (sound bank)

Each bank contains certain number of sound "actions". 003 - action number

And each action may have no sound at all (that's why some numbers are missing) or one or more sound samples. This is the last number.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

Checked it with Dynasty Warriors 7 sound banks, it works. So in 2011 they had the same format.
happydance
Posts: 81
Joined: Sun Jul 10, 2016 11:07 am

Re: Dragon Quest Heroes .g1l format sound

Post by happydance »

hello, just wondering how you nmanage to rip the sound, been searching for a bms script to extract its files. thw one for dynasty warriors 8 doesn't work
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

Have you read the thread? Tried my tool?
jackskellinghog
Posts: 1
Joined: Sat Mar 04, 2017 3:52 pm

Re: Dragon Quest Heroes .g1l format sound

Post by jackskellinghog »

Sorry to bump a dead thread but I'm having trouble with the same file format. This time for Berserk Musou, LINKDATA A,B,C,D are the folders I have which I found an extractor for and they are all idxout files. Anything from there would be a great help, thanks.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

jackskellinghog wrote:Sorry to bump a dead thread


This thread is not dead. It contains a working tool to extract sounds.

If you need something, good idea may be to tell us, what exactly you need.
McCunyao
Posts: 21
Joined: Fri Jan 06, 2017 12:33 pm

Re: Dragon Quest Heroes .g1l format sound

Post by McCunyao »

Hi there! I've been trying to extract the audios from another Omega Force game, the Attack on Titan one. It has a different header format. Can you try to make an extractor for these files?