IndieRunner::Engine::Mono(3p)

NAME
IndieRunner::Engine::Mono - Mono engine module

DESCRIPTION
Module to set up and launch games made with Mono. There are games that use just this engine module, but it also serves as the baseline for other Mono-based engines.

METHODS

get_mono_files($custom_suffix)
    Collect and return an array of Mono files that are often bundled and interfere with execution of the native Mono binary. $custom_suffix is an optional argument, allowing to select files with a suffix like "_".

get_assembly_version($assembly_file)
    Takes a mono assembly as the argument, and returns the assembly version as returned from monodis(1).

get_bin()
    Return the Mono binary.

setup()
    Removes Mono-related libraries and config files that interfere with execution of the system Mono binary if necessary. Also performs the replacement for mono(1)'s previous MONO_IOMAP functionality.

get_env_ref()
    Build the array for mono(1) execution, consisting of LD_LIBRARY_PATH, MONO_PATH, and SDL_PLATFORM.

get_args_ref()
    Build the arguments array, including heuristic for the .exe assembly and the game name.

SEE ALSO
IndieRunner::Engine, IndieRunner::Engine::FNA, IndieRunner::Engine::MonoGame, IndieRunner::Engine::XNA, IndieRunner::Engine::Mono::Iomap.

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.