Twilight princess .aw files by kenshen at 12:23 PM EDT on April 7, 2013
So I'm new here and i recently had an idea to replace all of the music files of twilight princess with http://twilight-symphony.com/ and i have a question about aw files i know what they are my list of audio files being at http://gbatemp.net/threads/question-about-twilight-princess.336850/ how do i replace them?
by peronmls at 12:32 PM EDT on April 7, 2013
TP uses sequences and instrument sounds. I don't think you can AFAIK.
wait... by kenshen at 12:36 PM EDT on April 7, 2013
so i cant just separate the new audio into sequences and instrument sounds and replace?
by Yuuto at 1:18 PM EDT on April 7, 2013
The only music you can replace is the music the cutscenes use because these actually are audio streams (the .ast files).
You won't be able to replace the other music since it uses MIDI-like sequences (as peronmls said).

BTW, the .aw files don't contain music, just the instrument samples.

edited 1:18 PM EDT April 7, 2013
by kenshen at 1:27 PM EDT on April 7, 2013
:.( well that sucks but oh well i guess so they'd have to be midi or midi like?
by Yuuto at 1:33 PM EDT on April 7, 2013
Yes but you can't convert audio streams to MIDI (or rather BMS, in that case).

edited 1:34 PM EDT April 7, 2013
by kenshen at 1:38 PM EDT on April 7, 2013
Yeah i was still hoping though still cut scenes are better than nothing...
by Yuuto at 1:43 PM EDT on April 7, 2013
For replacing the cutscene audio you would have to find a program that converts .wav to .ast.
by kenshen at 1:49 PM EDT on April 7, 2013
Astconverter http://kuribo64.net/?page=thread&id=658
On The Contrary... by dj4uk6cjm at 3:11 PM EDT on April 7, 2013
Wavestune might be able to do it (convert audio streams to midi) but it's tricky, tbh i've never used it but give it a shot. :P




http://www.waves.com/Content.aspx?id=182

by Yuuto at 3:22 PM EDT on April 7, 2013
Even if that works, there's no program that can convert MIDI to BMS.

Besides, he wants to use the Twilight Symphony soundtrack :D
by kenshen at 3:26 PM EDT on April 7, 2013
So although difficult it might be possible?
by Mouser X at 5:40 PM EDT on April 8, 2013
Realistically, no. Theoretically, yes. No, you can't convert WAV files to sequences. The program mentioned on the previous page "listens" to pitches/notes, and attempts to create a MIDI file that resembles those pitches. This is most likely going to result in numerous errors (but if you're really lucky, it might work). And the more complex the source WAV file is, the more difficult it will be for the program to match the notes correctly.

Then, even if you succeed in getting a MIDI that sounds right, you need to convert that MIDI to a BMS file (I'm certainly not the one to ask, but I haven't heard of any such tool). Honestly, the amount of work necessary to acomplish all of this is unrealistic (but, as I said, theoretically possible). You'd be better of recomposing the music from scratch, as MIDI. You'd still have to convert it to BMS though, which requires that someone decode the BMS format, and then build a converter. I think there's a program that converts BMS to MIDI, so perhaps you could use the source code from that, to do the opposite (convert MIDI to BMS). That's still a stretch though.

Perhaps a better option is to replace the AW files (which contain the instrument samples) with higher quality instruments. Though, I still don't know of any tool to do that. But, if you succeed, it would result in better sounding songs in Twilight Princess. They'd be the same songs (no recomposed/altered BMS files), but the audio quality would be better. And it would most likely be easier to do this (replace the AW files) than to rebuild/replace the BMS files. It would still be a lot of work regardless.

So, back to my original answer - no it's not realistically possible. But if you have the programming knowledge, time, patience, and are able to reverse engineer formats and software, then yes, theoretically it could be done. Just as anything is theoretically possible, under the right circumstances (just unrealistic in most circumstances). Mouser X over and out.
by Yuuto at 7:56 AM EDT on April 9, 2013
The BMS format is reverse-engineered, for the most part.

I have another idea. If a MIDI to BMS converter will be written (I could include it in my JAudio project) you could create sequences consisting of a single note, define new instruments and add the Twilight Symphony tracks as mono streams to the .aw.
by Mouser X at 12:20 PM EDT on April 9, 2013
Obviously, that was a method I didn't think of. However, if you can do that (create a very long "instrument sample" and use it to create a one-instrument BMS file), couldn't you make it stereo by splitting the streamed file into two parts (one left, one right), and then just create a BMS file that plays the two "instrument samples" side-by-side? I'm reasonably certain that sequence formats can usually play more than one samples at a time. Thinking about it, I think there's a game that has actually done this, but if there is, I can't remember which game it was.

I suppose this method is possible, and certainly more realistic than your previous idea, but it's still pretty difficult (mostly due to the lack of tools, though there could be other issues that no one is yet aware of) , and requires the creation of tools that (to my limited knowledge) don't exist yet. At this point, it sounds like what you need is a BMS creator/converter, and a AW creator/converter (and a way to insert the new files into the game without breaking the game). At least, that's what it seems like to me. I'm not the man for the job, and although the subject matter is interesting, I'm not that interested in the results. Good luck. You'll likely need it (not to mention a programer - on that note, which spelling looks more correct, "programer" or "programmer"? My dictionary says they're both right). Mouser X over and out.
by kenshen at 1:16 PM EDT on April 9, 2013
I wish i could program just learning how to a little in unity3D so :.(


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source