Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio extraction #6

Open
morris opened this issue May 10, 2020 · 2 comments
Open

Audio extraction #6

morris opened this issue May 10, 2020 · 2 comments

Comments

@morris
Copy link
Owner

morris commented May 10, 2020

This has been the most hard for me, and haven't made progress in years. Current state (broken) is in src/Akao.js and src/SOUND.js.

Any help is much appreciated, e.g. documentation, other sources that solved this for other games, etc.

@korobetski
Copy link

korobetski commented Jun 11, 2020

This is my AKAO decoder in C# for Unity : https://github.com/korobetski/Vagrant-Story-Unity-Parser/blob/master/Assets/VS/Parser/AKAO.cs and folder https://github.com/korobetski/Vagrant-Story-Unity-Parser/tree/master/Assets/VS/Parser/AKAO for sub classes.

AKAO files in MUSIC folder works like a midi file, so its more like a sequence of notes than a music.
AKAO files in SOUND folder are compressed samples banks that works a little bit like sf2 or dls files.
So to get a listenable music, you need to convert an AKAO music into a .mid file, and associate it with the good set of samples converted into .sf2 or .dls and then finaly synthetize them into a .wav file.

Starting with decoding the musical sequence seems to me the best thing to do.

@korobetski
Copy link

I'm sure you already know but if not, you should take a look at it to understand the AKAO binary data: https://github.com/vgmtrans/vgmtrans/releases

Open MUSIC040.DAT with WAVE0070.DAT for example, this is the Fatory music.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants