SADX Mod Loader: Difference between revisions
No edit summary |
Updating page, adding Character Welds page link |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
[https://github.com/X-Hax/sadx-mod-loader/ | You can view the [https://github.com/X-Hax/sadx-mod-loader/ source code] here. | ||
On this page, you'll find documentation on the main API that the SADX Mod Loader exports to every code based mod created for SADX. There are additional features which are documented on other pages. You can follow the below links to find documentation on those features. | |||
[[SADX Mod Loader/Character Welds|Character Welds]] | |||
= HelperFunctions API = | = HelperFunctions API = | ||
== Struct == | == Struct == | ||
Below is the initialized version of the HelperFunctions struct. For the definition of the struct, you can find that in [https://github.com/X-Hax/sadx-mod-loader/blob/master/SADXModLoader/include/SADXModInfo.h SADXModInfo.h] | Below is the initialized version of the HelperFunctions struct. For the definition of the struct, you can find that in [https://github.com/X-Hax/sadx-mod-loader/blob/master/SADXModLoader/include/SADXModInfo.h SADXModInfo.h] | ||
{{ | {{DocHeader|header=HelperFunctions|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
HelperFunctions helperFunctions = | HelperFunctions helperFunctions = | ||
| Line 63: | Line 67: | ||
{{Note|text=Please be aware that all examples on this page will be using <code>helperFunctions</code> which is how the variable is sent to a mod.|type=info}} | {{Note|text=Please be aware that all examples on this page will be using <code>helperFunctions</code> which is how the variable is sent to a mod.|type=info}} | ||
== Properties == | == Properties == | ||
| Line 72: | Line 75: | ||
This returns the version of the mod loader. This can be used to check if the user has an old version of the mod loader that may not have functionality your mod requires. | This returns the version of the mod loader. This can be used to check if the user has an old version of the mod loader that may not have functionality your mod requires. | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
if (helperFunctions.ModLoaderVer <= 10) | if (helperFunctions.ModLoaderVer <= 10) | ||
| Line 84: | Line 87: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 95: | Line 98: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 106: | Line 109: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
== Functions == | == Functions == | ||
| Line 120: | Line 122: | ||
Registers a new Start Position for the specified character. | Registers a new Start Position for the specified character. | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
StartPosition myStageStartPos = { | StartPosition myStageStartPos = { | ||
| Line 142: | Line 144: | ||
Clears the Start Positions for the specified character. | Clears the Start Positions for the specified character. | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// Running this inside of your mod's Init export would | // Running this inside of your mod's Init export would | ||
| Line 155: | Line 157: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 166: | Line 168: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 177: | Line 179: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 188: | Line 190: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 199: | Line 201: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 210: | Line 212: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 221: | Line 223: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 232: | Line 234: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 243: | Line 245: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 254: | Line 256: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 265: | Line 267: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 276: | Line 278: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 287: | Line 289: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 298: | Line 300: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 309: | Line 311: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 320: | Line 322: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 331: | Line 333: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 342: | Line 344: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 353: | Line 355: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 364: | Line 366: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 375: | Line 377: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 386: | Line 388: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 397: | Line 399: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 408: | Line 410: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 419: | Line 421: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 430: | Line 432: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 441: | Line 443: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 452: | Line 454: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 463: | Line 465: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 474: | Line 476: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 485: | Line 487: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 496: | Line 498: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 507: | Line 509: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 518: | Line 520: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 529: | Line 531: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 540: | Line 542: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 551: | Line 553: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 562: | Line 564: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 573: | Line 575: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 584: | Line 586: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 595: | Line 597: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 606: | Line 608: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
| Line 617: | Line 619: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | {{DocHeader|header=Example|content= | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
// TODO: Write example. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
}} | }} | ||
Latest revision as of 00:29, 24 August 2026
You can view the source code here.
On this page, you'll find documentation on the main API that the SADX Mod Loader exports to every code based mod created for SADX. There are additional features which are documented on other pages. You can follow the below links to find documentation on those features.
HelperFunctions API
Struct
Below is the initialized version of the HelperFunctions struct. For the definition of the struct, you can find that in SADXModInfo.h
HelperFunctions helperFunctions =
{
ModLoaderVer,
&RegisterStartPosition,
&ClearStartPositionList,
&RegisterFieldStartPosition,
&ClearFieldStartPositionList,
&RegisterPathList,
&ClearPathListList,
&RegisterCharacterPVM,
&ClearCharacterPVMList,
&RegisterCommonObjectPVM,
&ClearCommonObjectPVMList,
&RegisterTrialLevel,
&ClearTrialLevelList,
&RegisterTrialSubgame,
&ClearTrialSubgameList,
&GetMainSavePath,
&GetChaoSavePath,
&GetReplaceablePath,
&_ReplaceFile,
&SetWindowTitle,
&RegisterSoundList,
&RegisterMusicFile,
&LoadEXEData,
&LoadDLLData,
&_ReplaceFileForce,
&PushScaleUI,
&PopScaleUI,
&SetScaleFillMode,
&GetScaleFillMode,
&ReplaceTexture,
&MipmapBlacklistGBIX,
&RegisterEnglishVoiceDuration,
&RegisterJapaneseVoiceDuration,
&RegisterCharacterWelds,
&loaderSettings,
&modList,
&weightFuncs,
&RegisterVoice,
&PushInterpolationFix,
&PopInterpolationFix,
&RegisterPermanentTexlist,
&ExpandPVMList,
&UnreplaceFile,
&PrintDebugUnicode,
&PrintDebugLocal,
&PrintDebugCodepage,
&GetFileModIndex,
&ReplaceFileAtIndex
};
Please be aware that all examples on this page will be using
helperFunctionswhich is how the variable is sent to a mod.
Properties
Mod Loader Version
int ModLoaderVer;
This returns the version of the mod loader. This can be used to check if the user has an old version of the mod loader that may not have functionality your mod requires.
if (helperFunctions.ModLoaderVer <= 10)
PrintDebug("This Mod Loader is way out of date.\n");
Mod Loader Settings
LoaderSettings loaderSettings;
Mod List
std::vector<Mod> modlist;
Weight Functions
BasicWeightFuncs weightFuncs;
Functions
Register Start Position
static void RegisterStartPosition(unsigned char character, const StartPosition& position)
Registers a new Start Position for the specified character.
StartPosition myStageStartPos = {
1, // Level ID
0, // Act ID
{ 100.0f, 200.0f, 100.0f }, // Position
0 // Y Rotation
};
// We pass our StagePosition variable as a pointer to this function
// and we have specified Sonic, so the level for this ID would now use
// our StartPosition instead of the original.
helperFunctions.RegisterStartPosition(Characters_Sonic, &myStageStartPos);
Clear Start Position List
static void ClearStartPositionList(unsigned char character)
Clears the Start Positions for the specified character.
// Running this inside of your mod's Init export would
// clear all of Sonic's Start Positions for his stages.
helperFunctions.ClearStartPositionList(Characters_Sonic);
Register Field Position
static void RegisterFieldStartPosition(unsigned char character, const FieldStartPosition& position)
Clear Field Start Position List
static void ClearFieldStartPositionList(unsigned char character)
Register Path List
static void RegisterPathList(const PathDataPtr& paths)
Clear Path List List
static void ClearPathListList()
Register Character PVM
static void RegisterCharacterPVM(unsigned char character, const PVMEntry& pvm)
Clear Character PVM List
static void ClearCharacterPVMList(unsigned char character)
Register Common Object PVM
static void RegisterCommonObjectPVM(const PVMEntry& pvm)
Clear Common Object PVM List
static void ClearCommonObjectPVMList()
Register Trial Level
static void RegisterTrialLevel(unsigned char character, const TrialLevelListEntry& level)
Clear Trial Level List
static void ClearTrialLevelList(unsigned char character)
Register Trial Subgame
static void RegisterTrialSubgame(unsigned char character, const TrialLevelListEntry& level)
Clear Trial Subgame List
static void ClearTrialSubgameList(unsigned char character)
Get Main Save Path
static const char* GetMainSavePath()
Get Chao Save Path
static const char* GetChaoSavePath()
Get Replaceable Path
const char* __cdecl GetReplaceablePath(const char* path)
Replace File
void _ReplaceFile(const char* src, const char* dst)
Set Window Title
void SetWindowTitle(const char* title)
Register Sound List
int RegisterSoundList(const SoundList& list)
Register Music File
int RegisterMusicFile(const MusicInfo& track)
Load EXE Data
void LoadEXEData(const wchar_t* filename, const wchar_t* mod_dir)
Load DLL Data
void LoadDLLData(const wchar_t* filename, const wchar_t* mod_dir)
Replace File Force
void _ReplaceFileForce(const char* src, const char* dst)
Push Scale UI
void PushScaleUI(uiscale::Align align, bool is_background, float ratio_h, float ratio_v)
Pop Scale UI
void PopScaleUI()
Set Scale Fill Mode
void SetScaleFillMode(uiscale::FillMode mode)
Get Scale Fill Mode
uiscale::FillMode GetScaleFillMode()
Replace Texture
void ReplaceTexture(const char* pvm_name, const char* tex_name, const char* file_path, uint32_t gbix, uint32_t width, uint32_t height)
Mipmap Blacklist GBIX
void MipmapBlacklistGBIX(Uint32 index)
Register English Voice Duration
void RegisterEnglishVoiceDuration(const uint16_t voiceID, const uint16_t duration)
Register Japanese Voice Duration
void RegisterJapaneseVoiceDuration(const uint16_t voiceID, const uint16_t duration)
Register Character Welds
void RegisterCharacterWelds(const uint8_t character, const char* iniPath)
Register Voice
uint16_t RegisterVoice(const char* fileJP, const char* fileEN, uint16_t durationJP, uint16_t durationEN)
Push Interpolation Fix
void PushInterpolationFix()
Pop Interpolation Fix
void PopInterpolationFix()
Register Permanent Texlist
void RegisterPermanentTexlist(NJS_TEXLIST* texlist)
Unreplace File
void UnreplaceFile(const char* file)
Expand PVM List
TEX_PVMTABLE* ExpandPVMList(TEX_PVMTABLE* sourcepvmlist, const TEX_PVMTABLE &newpvmentry)
Unreplace File
void UnreplaceFile(const char* file)
Print Debug Unicode
void PrintDebugUnicode(char* utf8)
Print Debug Local
void PrintDebugLocal(char* buf)
Print Debug Codepage
void PrintDebugCodepage(char* buf, unsigned int source_cp)
Get File Mod Index
int GetFileModIndex(const char* path)
Replace File At Index
void ReplaceFileAtIndex(const char* src, const char* dst, int modIndex)