CSharp File

Output C# File

It is a file describing the same information as a C header file but for C#.

For versions until 2.34

An example of output is listed below:

public class DemoProj {
public const int GUN1_HIGH = (0);
public const int BOMB2 = (1);
}
namespace DemoProj.DemoProj {
public enum DemoProj {
GUN1_HIGH = 0,
BOMB2 = 1,
}
}

From version Ver.2.35

Changes:

  • The namespace is "[project name].[ACB name]".
  • A C# file is also generated for the ACF file.
  • Variable names and enum values are not capitalized (until now it was capitalized as a Define in a C header.)
  • Cue names are changed to "enum Cue" (previously it was the ACB name.)
  • Fixes now include class definitions in the namespace.
  • The Enum value of Cue was changed to the "CueID" (it was an Index value previously.)

    An example of output is listed below:

ACB C#

namespace DemoProj.DemoProj2 {
public class DemoProj2 {
public const int cri_middleware_sdk = (0);
public const int cri_middleware_sdk_PitchHi = (1);
public const int gun1_High_TrackAutomation = (2);
public const int VoiceBehavior = (3);
public const int ExtCue = (4);
}
public enum Cue {
cri_middleware_sdk = 0,
cri_middleware_sdk_PitchHi = 1,
gun1_High_TrackAutomation = 2,
VoiceBehavior = 3,
ExtCue = 4,
}
public enum AisacControl {
Any = 3,
}
}

ACF C#

namespace DemoProj_acf {
namespace Category {
public enum Main {
SPECIAL = 0,
BGM = 1,
SE = 2,
VOICE = 3,
}
public enum Sub {
CutScene = 10,
Battle = 11,
Menu = 12,
}
}
public enum AisacControl {
Rnd = 0,
Distance = 1,
AisacControl = 2,
Any = 3,
rainlevel = 4,
RotateSpeed = 5,
rpm = 6,
load = 7,
Pitch = 8,
FIlter = 9,
AisacControl10 = 10,
AisacControl11 = 11,
AisacControl12 = 12,
AisacControl13 = 13,
AisacControl14 = 14,
AisacControl15 = 15,
}
public enum GlobalAisac {
RndPitch,
RndPan,
RndDistance,
DistanceSimple,
DistanceDynamic,
RndKalimbaPitch,
RndPreDelay,
Aisac_0,
}
public enum VoiceLimitGroup {
Mono,
Quad,
Two,
}
namespace DspSetting {
public enum DspBusSetting_0 {
Snapshot,
Snapshot_0,
}
public enum DspBusSetting_1 {
Snapshot,
}
}
public enum DspBusName {
BUS1,
BUS2,
BUS3,
BUS4,
BUS5,
BUS6,
BUS7,
MasterOut,
Reverb,
}
public enum GameVariable {
Default,
}
namespace Selector {
public enum Selector_0 {
SelectorLabel_0,
SelectorLabel_1,
SelectorLabel_2,
}
public enum Selector_1 {
SelectorLabel_0,
}
}
public class DemoProj_acf {
public const int REACTNUM = (2);
}
}