Support synth playback type 6 and fix crash prompt

This commit is contained in:
Skyth 2018-06-06 21:46:07 +03:00
parent 52d0e17c14
commit 567d3b9233
3 changed files with 8 additions and 1 deletions

View File

@ -22,6 +22,10 @@ This is the main library of the solution. Contains classes for IO and file form
This tool allows you to edit the audio content of an ACB file.
A more advanced version like CSB Builder is planned to be made soon.
## [ACB Injector](https://github.com/blueskythlikesclouds/SonicAudioTools/tree/master/Source/AcbInjector)
This tool allows you to inject audio file directly into ACB without repacking its AWB.
Useful for background music ACBs that use huge AWB files.
## [CSB Builder](https://github.com/blueskythlikesclouds/SonicAudioTools/tree/master/Source/CsbBuilder)
This tool allows you to create or edit CSB files. You can do things like adding/removing cues, editing real-time sound parameters, and more.

View File

@ -22,6 +22,7 @@ namespace CsbBuilder.BuilderNodes
RandomNoRepeat = 1,
Sequential = 2,
Random = 3,
SequentialNoLoop = 6,
}
public class BuilderSynthNode : BuilderBaseNode

View File

@ -38,7 +38,9 @@ namespace CsbBuilder
static void Main(string[] args)
{
Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo("en-US");
#if !DEBUG
Application.ThreadException += OnException;
#endif
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
@ -48,7 +50,7 @@ namespace CsbBuilder
{
new ExceptionForm(e.Exception).ShowDialog();
if (MessageBox.Show("Do you want to continue?", "CSB Builder", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.OK)
if (MessageBox.Show("Do you want to continue?", "CSB Builder", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
{
Application.Exit();
}