Lua bytecode builder, cdrom fixes
This commit is contained in:
@@ -166,6 +166,45 @@ namespace SplashEdit.EditorCode
|
||||
EnsureGitIgnore();
|
||||
}
|
||||
|
||||
// ───── Lua bytecode compilation paths ─────
|
||||
|
||||
/// <summary>
|
||||
/// Directory for Lua source files extracted during export.
|
||||
/// </summary>
|
||||
public static string LuaSrcDir =>
|
||||
Path.Combine(BuildOutputDir, "lua_src");
|
||||
|
||||
/// <summary>
|
||||
/// Directory for compiled Lua bytecode files.
|
||||
/// </summary>
|
||||
public static string LuaCompiledDir =>
|
||||
Path.Combine(BuildOutputDir, "lua_compiled");
|
||||
|
||||
/// <summary>
|
||||
/// Manifest file listing input/output pairs for the PS1 Lua compiler.
|
||||
/// </summary>
|
||||
public static string LuaManifestPath =>
|
||||
Path.Combine(LuaSrcDir, "manifest.txt");
|
||||
|
||||
/// <summary>
|
||||
/// Sentinel file written by luac_psx when compilation is complete.
|
||||
/// Contains "OK" on success or "ERROR" on failure.
|
||||
/// </summary>
|
||||
public static string LuaDoneSentinel =>
|
||||
Path.Combine(LuaSrcDir, "__done__");
|
||||
|
||||
/// <summary>
|
||||
/// Path to the luac_psx PS1 compiler executable (built from tools/luac_psx/).
|
||||
/// </summary>
|
||||
public static string LuacPsxExePath =>
|
||||
Path.Combine(NativeSourceDir, "tools", "luac_psx", "luac_psx.ps-exe");
|
||||
|
||||
/// <summary>
|
||||
/// Path to the luac_psx tools directory (for building the compiler).
|
||||
/// </summary>
|
||||
public static string LuacPsxDir =>
|
||||
Path.Combine(NativeSourceDir, "tools", "luac_psx");
|
||||
|
||||
/// <summary>
|
||||
/// Checks if PCSX-Redux is installed in the tools directory.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user