IndieRunner::Mode::Run(3p)

NAME
IndieRunner::Mode::Run - mode to run the game

DESCRIPTION
This mode is used by default and executes everything needed to run the game, if it can.

METHODS

remove($file)
    Remove file by actually renaming it so that it is not found by the game binary anymore. This is done by appending "_" to the filename. No action if this has already been done before or if rigg(1) is used.

restore($removed_file)
    Reverses the "remove($file)" operation by renaming the file back to it's original name.

insert($target, $newfile)
    Insert a symlink to $target as $newfile. Dies on error; therefore no return value.

undo_insert($file)
    Remove the symlink and restore the original file. This reverses "insert($target, $newfile)".

convert($from, $to)
    Convert from one file type to another. This is generally for multimedia files and the conversion procedure is determined by the file extension. Recognized file formats are: WMA, WMV.

extract($file)
    Extract a file. At this point only for JAR files and uses 7-zip for this.

run($game_name, %config)
    Execute the run command which is built from the configuration %config. See IndieRunner::Mode for details.

SEE ALSO
IndieRunner::Mode, IndieRunner::Mode::Dryrun, IndieRunner::Mode::Script.

AUTHOR
Thomas Frohwein <thfr@cpan.org>

COPYRIGHT
Copyright 2022-2025 by Thomas Frohwein <thfr@cpan.org>.

This program is free software; you can redistribute it and/or modify it under the ISC license.