Twilight Princess sounds by Avatarus at 8:14 AM EST on November 29, 2012
Greetings. I'm making a Zelda game and need to get sound effects from Twilight Princess. I have used baad and wsyster tools, and it extracted them. There are no readable names and they all look like simple sounds. In game they are played in groups with different pitch, reverb etc. I'm still trying to sort them with a special tool, but this becomes harder and harder. You can watch the progress here.

I have looked in Z2Sound.baa.bstn with hex editor and there are some file system. Perhaps, this is the name of sound effects (groups of simple sounds).

Game files should have info about sound effects and sounds of which they consist. I'm hoping to link that file system to the extracted sounds. Any ideas?
by Benjamin at 8:51 PM EST on November 29, 2012
Alright, someone report this guy! He's spammed so much that this section has 511 pages in one day!
by Sir-Sabin at 8:54 PM EST on November 29, 2012
Already did this bot is going to get his ass kicked by hcs
by JFD62780 at 10:13 PM EST on November 29, 2012
Ditto, mentioned this in the IRC channel. Too bad there weren't even any ops on channel at the time. HCS, if you're reading, purge all but the first post; it was legit.
by bxaimc at 10:45 PM EST on November 29, 2012
lolol what's this nonsense? IP BAN TYME!
by hcs at 2:23 PM EST on November 30, 2012
Yeah sorry not at home, congrats on your 6000 posts Genie.
What you missed... by JFD62780 at 6:11 AM EST on December 1, 2012
About ~5000-something posts from the username, Genie; with the subject, subject, and the message, "message" (entire contents, no quotes).

You read right, 500-something pages of that between the first post and its complaints. 'Nuff said, move along! ;D

With that outta the way, Avatarus needs your help. Any takers? ;)
by Avatarus at 8:08 AM EST on December 1, 2012
Yeah, I seen that.. incident. Freaky bots.
I should say, I'm gonna pay for the results. If any.
You can also use my skype: avatarus_one
Subject by Genie at 9:37 AM EST on December 1, 2012
Thanks hcs, 6K big hugs to you ;)
by Yuuto at 11:22 AM EST on December 1, 2012
I'm analyzing the audio system of Twilight Princess anyway so I think I'll take a look at it.
by Avatarus at 11:46 AM EST on December 1, 2012
Oh, that would be great.
by JFD62780 at 5:27 AM EST on December 2, 2012
...Not funny, Genie. Not. Funny.
by Genie at 2:30 PM EST on December 2, 2012
Oh well, whatever...

edited 4:35 PM EST December 2, 2012
Too Far by Benjamin at 4:00 PM EST on December 2, 2012
A trick that went too far...
by fridgey at 1:43 AM EST on December 3, 2012
Yeah, 4500 would have been plenty :/
by JFD62780 at 7:12 AM EST on December 3, 2012
Dude, I make it a point, personally, not even to post twice in a row in the same topic - that's what the edit link's for. :p

Now, with that out of the way, can we please get back on topic, for Avatarus' sake? :/
by Avatarus at 8:10 AM EST on December 3, 2012
Yeah, stop spamming here, guys.

Yuuto, any progess? No?
by Yuuto at 1:03 PM EST on December 3, 2012
Analyzing the format takes some time (;
So far I wrote a tool that lists all sound entries with their paths and their type (I get results similar to Z2Sound.txt).
The .bstn only contains the symbol/name of each sound entry and the .bst the actual entries. It also contains the file name for each stream and a number for each sequence referencing the sequence entry in Z2SoundSeqs.arc. But the SE entries don't reference the location/name of the samples at all. This must be stored in another file, which I still try to find.

edited 8:56 AM EST December 4, 2012
by Avatarus at 4:25 AM EST on December 5, 2012
So, there are Z2BgmWave, but no Z2SeWave data?
There are Z2CSRes.arc with 4 files in it. z2cstable.bct has some entries too.
by Yuuto at 10:07 AM EST on December 5, 2012
No, there is no link to the Z2BgmWaves, these are stored in the wsys files as I pointed out in another thread. There is only a reference to the sequences in Z2SoundSeqs.arc.
z2cstable.bct seems similar to the .bst and .bstn files but contains completely different entries.
The other files in Z2CSRes.arc aren't very interesting. The last idea I have is the .bsc file, but it has a very complex format (it uses command bytes like the sequences do).

EDIT: The .bsc definitely seems to contain the SE entries. I found out its basic structure, now I hope I'll find the relevant values...

edited 11:13 AM EST December 5, 2012
by Avatarus at 6:43 AM EST on December 6, 2012
Is it possible to delete duplicates from the final results and somehow replace a references to them with ones from that list?
Link: Sounds.txt
I have used NoClone and now there are 4284 Z2SeWave files left, instead of original 13209. This makes sorting a lot easier, but now I'm unsure how to link them with sequences.
by Yuuto at 10:22 AM EST on December 6, 2012
I don't really understand what you want to link? And the sound effects don't have anything to do with sequences, the .bsc just has a similar format.
But your result is right, when I look at the .bsc it has approximately 4275 entries. The duplicates seem to have something to do with the banks they are stored in, so the game just loads the necessary ones.

I also don't understand why there are .bnk files for the sound effects. I mean this makes sense for the instrument samples of the sequences, but for SEs?

EDIT: Now I found out. I was wondering why the BSC does not store the sample IDs, they are stored in the BNK files (like the BGM samples are). The BSC format is so similar to that of the sequences because it actually is some kind of sequence. It sets bank, instrument and key and then the appropriate sample in the BNK is looked up.
What a complex audio system ...

edited 10:52 AM EST December 6, 2012
by Avatarus at 10:54 AM EST on December 6, 2012
I'll try to explain. I need to get an info like that:

/SE/Z2SYSTEM_SE/Z2SE_SY_TALK_START
Z2SeWave_0.aw_000000af.wav pitch 1.50 volume 1.00
pause 0.20
Z2SeWave_0.aw_000000b1.wav pitch 1.10 volume 0.50

For example, Z2SE_SY_TALK_START consists of two sounds. But what if Z2SeWave_0.aw_000000af.wav is one of copies and was deleted?
by Yuuto at 2:09 PM EST on December 6, 2012
This sequence-like format has this information.
It does not directly say which aw/wav is used but it gets the ID of the used sample from the BNK. All duplicates have the same ID, so if you delete the duplicates there will still remain one sample with this ID.
by Avatarus at 2:39 PM EST on December 19, 2012
Bumpy bump. Any progress there?
by Yuuto at 5:33 PM EST on December 20, 2012
I want to implement that in my JAudio Library because the SE seqs are very similar to the music sequences. The problem is that the format is very complex, so this will take some more time, I think.
by Avatarus at 2:13 AM EST on December 21, 2012
All right, I'll be watching. Thanks for your help :)
by Yuuto at 11:40 AM EST on December 25, 2012
I successfully linked the SE entries in the BST with the sequences in the BSC, that was the easier part. The more difficult one is playing them correctly because their format is harder to understand than the music sequences. Also, most of the sequences don't only consist of a single sound, the menu SEs for example have only one instrument sample as a streamed file, the rest is done by the sequence.
This will taker longer than I've estimated...
by Avatarus at 1:24 PM EST on December 25, 2012
Can you send your results? I'll see, maybe further work is not that necessary. The main thing I need is a files connected with BSTN entries. That will greatly ease using of sounds.
by Yuuto at 7:04 AM EST on December 26, 2012
I could send you the resource viewer and the BSC header format, but then you would only know at which position you find the sequence. Reading out the file name is not that easy.
by Avatarus at 7:49 AM EST on December 26, 2012
I'll try)
by Yuuto at 9:06 AM EST on December 26, 2012
I uploaded the Resource Viewer. It shows you the offset of the SE entries, but it does not translate the sequences into a human readable form. And remember, it only stores the notes which have to be looked up in the instrument sample banks.
by Avatarus at 9:54 AM EST on December 26, 2012
It's not working on WinXP x86?
by Yuuto at 10:05 AM EST on December 26, 2012
Damn, I forgot that XP does not support the .NET Framework 4.5.
Resource Viewer
Now working?

edited 10:06 AM EST December 26, 2012
by Avatarus at 10:20 AM EST on December 26, 2012
Yeah, it works now. Location is an offset of the sequence in the corresponding file, right?
Will that easy to make a list, that shows the list of WAV's for each sequence?
by Yuuto at 10:37 AM EST on December 26, 2012
This would be possible but I've problems processing the sequences. What do you want to do with the wavs? I mean most of them don't sound a bit like the sequences they belong to.
by Avatarus at 11:06 AM EST on December 26, 2012
I want to use these sounds in my game.
Video
Baad&Wsyster make sounds very hard to find or determine what is it for. I've sorted some of them, but it looks like a waste of time.
by Yuuto at 11:17 AM EST on December 26, 2012
Wow, this game looks very promising.
That motivates me to continue my work on the sequences ^^
Perhaps I'll get them to play correctly and to export them someday.

Off-topic: Do you still search people for this project?

edited 11:19 AM EST December 26, 2012
by Avatarus at 11:27 AM EST on December 26, 2012
You're my last hope :)
I'm often hear, that I should add more sounds, but I can't find everything that I need.

Yes, I'm still looking for people. There are list of vacancies.

edited 11:30 AM EST December 26, 2012
by Yuuto at 11:35 AM EST on December 26, 2012
Okay I'll do my best (:

I would be interested in programming for the game.
Do you need audio/music programmers? Because I'm currently writing an engine for interactive/dynamic music like in TP.
by Avatarus at 11:52 AM EST on December 26, 2012
Fully dynamic music may be a little expensive. I'm not sure. But if you cut a track to a parts of 5-10 seconds that will be played interactively, that will work. And yes, I need everyone who wants to help.
by Yuuto at 12:03 PM EST on December 26, 2012
Fully dynamic music is AFAIK only possible with sequences, but these are mostly low-quality and hard to implement.
I want to implement interactive music with streamed files and support Vertical Re-Orchestration (different music "layers") and Horizontal Re-Sequencing (different segments). You can find both in TP.

When I could do this for the game that would be great. Maybe I should post that in the project jobs section?
by Avatarus at 12:10 PM EST on December 26, 2012
You can register and we will continue discuss there.
I think both methods are possible in UDK. I haven't learned much about playing sounds yet.
Help needed... by Avatarus at 3:45 PM EST on January 4, 2013
There were no big progress since previous update. Looks like we're stuck here. Any help with understanding TP sequence formats would be great.


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