UndertaleModCli Cli options for the Dump command File path to the data file Directory path to where to dump all contents Determines if Cli should print out verbose logs Names of the code entries that should get dumped Determines if strings should get dumped. Determines if embedded textures should get dumped Determines if all sprites should get dumped Cli options for the Info command File path to the data file Determines if Cli should print out verbose logs Cli options for the Load command File path to the data file File paths to the scripts that shall be run C# string that shall be executed File path to where to save the modified data file Determines if Cli should be run in interactive mode Determines if Cli should print out verbose logs Cli options for the New command File path for new data file If the existing file path at should be overwritten Whether to write the new data to Stdout Determines if Cli should print out verbose logs Cli options for the Project Build command File path to the project file File path to source data file File path to destination data file Determines if Cli should print out verbose logs Cli options for the Replace command File path to the data file File path to where to save the modified data file Determines if Cli should print out verbose logs Equal separated values of code entry and the file to replace the code entry with. Equal separated values of embedded texture and the file to replace the embedded texture with. Main CLI Program Value that should be returned on a successful operation. Value that should be returned on a failed operation. Value that determines if the current Program is running in interactive mode. Value that determines if the current Program is running in verbose mode. File path or directory path that determines an output for the current Program. Constant, used to indicate that the user wants to replace everything in a replace command. Constant, used to indicate that the user wants to dump everything in a dump command The ScriptOptions, only used for , aka running C# code. Determines if actions should show a "this is finished" text. Gets set by . Indicates if the script was cancelled by user action (via ScriptException). Buffer for piped input, allowing seamless transition to interactive input when exhausted. Reader for direct console input when piped input is exhausted. Main entrypoint for Cli Arguments passed on to program. Result code of the program. Method that gets executed on the "new" command The arguments that have been provided with the "new" command and for being successful and failing respectively Method that gets executed on the "load" command The arguments that have been provided with the "load" command and for being successful and failing respectively Method that gets executed on the "info" command The arguments that have been provided with the "info" command and for being successful and failing respectively Method that gets executed on the "dump" command The arguments that have been provided with the "dump" command and for being successful and failing respectively Method that gets executed on the "replace" command The arguments that have been provided with the "replace" command and for being successful and failing respectively Runs the interactive menu indefinitely until user quits out of it. Prints some basic info about the loaded data file. Dumps a code entry from a data file. The code entry name that should get dumped Decompile context to use when dumping Settings to use for the decompiler Dumps a code entry from a data file. The code entry that should get dumped Decompile context to use when dumping Settings to use for the decompiler Dumps all strings in a data file. Dumps all embedded textures in a data file. Helper class for exporting texture page items, e.g. for dumping sprites. Dumps all sprites in a data file. Replaces a code entry with text from another file. The code entry to replace File path which should replace the code entry. Replaces an embedded texture with contents from another file. Embedded texture to replace File path which should replace the embedded texture. Evaluates and executes the contents of a file as C# Code. Path to file which contents to interpret as C# code Evaluates and executes given C# code. The C# string to execute The path to the script file where was loaded from. Leave as null, if it wasn't executed from a script file. Saves the currently loaded to an output path. The path where to save the data. If saving fails Read supplied filename and return the data file. The datafile to read Handler for warnings Handler for messages If the data file cannot be found Trims " or ' from the beginning and end of a string. to remove " and/or ' from A new that can be directly passed onto a FileInfo Constructor Reads a line from console, with fallback to interactive input when piped input is exhausted. The line read from console, or null if no input is available Replicated the CMD Pause command. Waits for any key to be pressed before continuing. A simple warning handler that prints warnings to console. The warning to print Whether the warning is important (may lead to data corruption) A simple message handler that prints messages to console. The message to print A dummy handler that does nothing. Not used. Prompts the user for a path with validation. Message to display when asking for input. Error message when a path is only whitespace. Validation function that returns an error message, or null if valid. The validated path, or null if an empty non-whitespace path is supplied or the console is unavailable.