Dragon Quest Heroes .g1l format sound

Codecs, formats, encoding/decoding of game audio, video and music
PlanK69
Posts: 73
Joined: Thu Sep 10, 2015 10:17 pm

Dragon Quest Heroes .g1l format sound

Post by PlanK69 »

Hey

So the game "Dragon Quest Heroes" has about 100 .g1l sound files. They all range from 2mb to 14mb and they are in a folder called "bgm" which of course is "back ground music". So at first I tried to just convert the .g1l files to .wav or .mp3 but none of the 3 converting programs that I tried worked, and I also tried to just open the .g1l files with VLC player, but that didn't work either. So there must be some kind of obfuscation or compression on the files

So I uploaded 5 of the files, and I hope you can find a way to get some usable audio out of them.

https://www.dropbox.com/sh/lubrzuec2tva ... U8jza?dl=0

The game was originally on Playstation 3 and 4, and it was then ported over to PC, so it is absolutely possible that these .g1l files, are actually some kind of Playstation-based or Sony-based audio files.

Cheers
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

ogg streams. You need someone to make headers for those.
brendan19
Posts: 144
Joined: Fri Aug 08, 2014 11:25 am

Re: Dragon Quest Heroes .g1l format sound

Post by brendan19 »

Rename the file extension from .g1l to .kvs and use this program to convert them into their original OGG streams :)

KVS2OGG 0.65 B1 SSE3
PlanK69
Posts: 73
Joined: Thu Sep 10, 2015 10:17 pm

Re: Dragon Quest Heroes .g1l format sound

Post by PlanK69 »

That worked great, +5 internets for you brendan19!
Also just a note to anyone who's interested in knowing... In the base folder of the game at <base>\mdat\High, you can simply rename the .dat files to .avi, then they will play as normal video files also.
LordMisfit
Posts: 13
Joined: Wed Feb 24, 2016 7:29 pm

Re: Dragon Quest Heroes .g1l format sound

Post by LordMisfit »

Though this was helpful in extracting the music files from the "bgm" folder as well as the g1ls in the "mdat" folder, it sadly didn't help me get individual character and in-game sounds. The g1l files in the "mdat" folder are specfically for sounds that play in the cutscene cinematics, but I'm ultimately trying to find other sounds that play in game, like character grunts/shouts, various other sounds. Would they be in LINKDATA.BIN or is there somewhere else you think they could be at? :o

And yes, using PC/Steam version for the record. :V
PlanK69
Posts: 73
Joined: Thu Sep 10, 2015 10:17 pm

Re: Dragon Quest Heroes .g1l format sound

Post by PlanK69 »

LordMisfit, the little bit of digging that I've done, has revealed the following: the mdat/high (and low) folder contains all the cinematics (they can just be renamed to .avi). The mdat/sound (and sound_west) folder contains the cinematic audio. So, I have to agree with you that the only remaining place for sound to be is in the 'linkdata.bin' file (6 gig in size), and in order for 'the pros' to take a look at it, I'd suggest uploading that 6gig file and putting the link below, so that the file can be looked at and a possible way to extract the contents of it can then be found. It sucks that the voice/sound files isn't in their own separate folders, but that's just how it goes sometimes
LordMisfit
Posts: 13
Joined: Wed Feb 24, 2016 7:29 pm

Re: Dragon Quest Heroes .g1l format sound

Post by LordMisfit »

I have a feeling that's a bad idea to try to upload the file considering it's the biggest single file in the game [and also legal reasons], and second I don't know if I have the capability to upload it, since I don't use file-upload sites much in the first place.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Dragon Quest Heroes .g1l format sound

Post by AnonBaiter »

LordMisfit wrote:I have a feeling that's a bad idea to try to upload the file considering it's the biggest single file in the game [and also legal reasons], and second I don't know if I have the capability to upload it, since I don't use file-upload sites much in the first place.

Execute the quickBMS app an use the filecutter.bms script. Then choose the output file and you're good to go.
PlanK69
Posts: 73
Joined: Thu Sep 10, 2015 10:17 pm

Re: Dragon Quest Heroes .g1l format sound

Post by PlanK69 »

LordMisfit wrote:I don't know if I have the capability to upload it, since I don't use file-upload sites much in the first place.


You can use 'a trusted upload site', like google drive, or dropbox or anything like that. You don't need to use the 'shady' uploading sites like mega or filedropper or anything like that. And there you don't need to worry about any legal repercussions, it's not like you're uploading an entire game, you're just sharing a small part of it, which without the .exe files and all the rest of it, is completely useless, so don't worry, myself and the other people on the forum have been sharing files like this for years. And if you really want to be 'safe' then simply delete the uploaded file after a day or so, because the people who usually create these .bms scripts don't actually have the game files, so if you don't provide the game files then how are they going to be able to decipher the files and create the script that you need, ya know?

And I have parts of game files that I have uploaded 4years+ ago, which are still laying in my 'upload account', and nothing bad has ever happened, so there's really nothing to worry about, since .rar files (and any obfuscated files like .bin) don't get scanned, so there's no way for them to find out what is inside the files that you upload in anyway.
LordMisfit
Posts: 13
Joined: Wed Feb 24, 2016 7:29 pm

Re: Dragon Quest Heroes .g1l format sound

Post by LordMisfit »

Sorry for the lack of response. I thought I had to topic set to send notices on reply, but some of them have failed to go through. :o

I'll look into your ideas soon. Thanks for your advice. :o
LordMisfit
Posts: 13
Joined: Wed Feb 24, 2016 7:29 pm

Re: Dragon Quest Heroes .g1l format sound

Post by LordMisfit »

LordMisfit
Posts: 13
Joined: Wed Feb 24, 2016 7:29 pm

Re: Dragon Quest Heroes .g1l format sound

Post by LordMisfit »

Hm, has anyone had the time to look through the files I uploaded on the issue of finding sounds [I made a couple of tries before with quickBMS but had no luck], or are they not working for anyone? :o
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Dragon Quest Heroes .g1l format sound

Post by AnonBaiter »

LordMisfit wrote:Hm, has anyone had the time to look through the files I uploaded on the issue of finding sounds [I made a couple of tries before with quickBMS but had no luck], or are they not working for anyone? :o

It's probably lack of interest.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

ok i'm downloading your files
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

here you go - 3266 KVS files

http://www62.zippyshare.com/v/8rZo2PqB/file.html

Inside of that 6GB file among other ~9000 files there was 1 file containing all the game sounds.

it was at offset 15f059000 size 51ee5f4

split with the usual "japanese" script

Code: Select all

get FILES long
for i = 0 < FILES
    get OFFSET long
    get SIZE long
    log "" OFFSET SIZE
next i


So I decide it would be faster to just upload it than to explain how it was done
LordMisfit
Posts: 13
Joined: Wed Feb 24, 2016 7:29 pm

Re: Dragon Quest Heroes .g1l format sound

Post by LordMisfit »

Ah yes... thank you... :o

I assume I can't mass convert files with KVS2OGG though [at least I didn't see something for that]. So this might take a while to find the sounds I really want. :V

EDIT: Nvm, I found the mass covert option. Stupid me. I guess time to go over these. :P

EDIT 2: Link @ https://drive.google.com/file/d/0Bw8caF ... sp=sharing

I still plan to look through these myself, as they're still very unsorted, but if anyone is interested in looking through them and sorting them, based on character, or jingles, or whatever, go ahead. :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 found the screams/SFX. There are in sound banks, in some ADPCM format I've never seen before. That must be very well known format for all Square Enix games. Do you know what type of ADPCM they use?
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

Just checked PS3 version of the game, screams/SFX are in MSF files there (ATRAC), but these can't be decoded either. Because they are mono, and alpha23's script can't decode them properly. If you decode these mono files as stereo, and then convert them to mono, they are distorted. You must decode them as mono in the first place.
LordMisfit
Posts: 13
Joined: Wed Feb 24, 2016 7:29 pm

Re: Dragon Quest Heroes .g1l format sound

Post by LordMisfit »

So basically it's better to get the sounds from the PS4/PC version then, or is it a similar format on those versions?
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Dragon Quest Heroes .g1l format sound

Post by id-daemon »

I have no info on PS4 at all.

I'm not sure what will be easier, to make atrac mono convert properly, or write a new decoder for that unknown ADPCM from PC. I'm sure japanese gamers must have some way of getting sounds. Now I'm going to check more Koei-Tecmo games to compare audio formats they use. Already checked one from 2006, and its too old, they used some kind of IMA ADPCM there.
Last edited by id-daemon on Tue Mar 15, 2016 8:12 pm, edited 1 time in total.