Skip to content

Commit

Permalink
update internal asset editor for sounds
Browse files Browse the repository at this point in the history
  • Loading branch information
igorseabra4 committed Oct 26, 2018
1 parent de0e1ee commit 32b1116
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 26 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ private void button2_Click(object sender, EventArgs e)
{
SaveFileDialog saveFileDialog = new SaveFileDialog()
{
FileName = asset.AHDR.ADBG.assetName,
FileName = asset.AHDR.ADBG.assetName + (
(HipHopFile.Functions.currentPlatform == HipHopFile.Platform.GameCube) ? ".DSP" :
(HipHopFile.Functions.currentPlatform == HipHopFile.Platform.Xbox) ? ".WAV" :
(HipHopFile.Functions.currentPlatform == HipHopFile.Platform.PS2) ? ".VAG" :
""),
Filter = "All files|*"
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,9 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="richTextBox1.Text" xml:space="preserve">
<value>The sound data is a GameCube DSP audio file stripped of its 0x60 byte header: all of a level's sound headers (SND and SNDS) are kept separate in the single SNDI asset in the HOP file.
The Import Sound Data button allows you to choose a DSP to import. If you check the checkbox, I will trim the header and send it to the SNDI asset myself. If you leave it unchecked, I will only import the raw data, won't perform any operation on it and won't touch the SNDI.
The Export Sound Data button will take the header from the SNDI asset and put it in the file before exporting it.</value>
<value>All of a file's sound headers are kept separate in the single SNDI asset in the HOP file. The SND and SNDS assets only contain a part of the data.
The Import Sound Data button allows you to choose a sound file to import (GameCube DSP, XBOX WAV, PS2 VAG). If you check the checkbox, I will trim the header and send it to the SNDI asset myself. If you leave it unchecked, I will only import the raw data, won't perform any operation on it and won't touch the SNDI.
The Export Sound Data button will take the header from the SNDI asset and put it in the file before exporting it.
This is supported in all games and platforms except GameCube versions of TSSM, Incredibles and ROTU.</value>
</data>
</root>

0 comments on commit 32b1116

Please sign in to comment.