Custom Files

This chapter contains documentation for the Custom Files hack.


About Custom Files

This hack adds the ability to override files in the base game, load additional files with other f...


Custom Files Configuration

This is an example configuration for this hack with comments explaining how it works. This confi...


Custom Files Lua Scripting

Synopsis When using CustomFiles, you can use Lua to write Path Handler scripts that are execut...


Function: Alert

Synopsis Shows a Windows message box for debugging purposes with an "OK" button. Syntax Alert(...


Function: ComparePaths

Synopsis Compares two paths with options to ignore different casing and different slashes. Synt...


Function: Confirm

Synopsis Shows a Windows message for debugging purposes with an "OK" button and a "Cancel" butto...


Function: GetLauncherVersion

Synopsis Gets the current version of the Mod Launcher. Syntax GetLauncherVersion() Examples ...


Function: GetMainMod

Synopsis Get the name of the current main mod. If no main mod is enabled, this will return nil...


Function: GetPath

Synopsis Gets the path of the file being requested.This function should only be called in a Path...


Function: GetSetting

Synopsis Get the value of a setting in a mod. Syntax GetSetting( <setting_name>, [<mo...


Function: GetSettings

Synopsis Get the value of all of the settings of the a mod returned as a table. Syntax GetSett...


Function: GetTime

Synopsis Get the amount of seconds the game has been running for. Syntax GetTime() Examples ...


Function: IsModEnabled

Synopsis Gets whether or not a mod, mod hack or framework is enabled. Syntax IsModEnabled( &lt...


Function: IsTesting

Synopsis Gets whether or not the user currently has the launcher in Testing mode. Syntax IsTes...


Search Results Clear Search

Back to top