User Tools

Site Tools


gemus_script_reference:functions:run_emulator

This is an old revision of the document!


Back to Script Function Reference

Run_Emulator()

The Run_Emulator() function runs the emulator with any command line arguments that have previously been set using the Add_CLP() or Add_CLP2() functions.

Syntax

Run_Emulator([DOSCLOSE])

Arguments

Argument Required Description
DOSCLOSE No If the literal string DOSCLOSE is supplied as a function argument and the emulator runs in MSDOS mode, the DOS command window will be automatically closed when the emulator closes. You should only supply this parameter if the emulator runs in MSDOS mode.


Examples

Run_Emulator()

Run_Emulator(DOSCLOSE)

Remarks

On some systems, running programs in MSDOS mode restricts the command string to a certain length. If you find that the emulator will not execute, try reducing the length of the command line arguments. A common reason for this is because you have added the game's path to the command line arguments and the path is too long or has too many subfolders. Try moving your game path nearer to the root of it's current drive and ensure that you have selected to use short 8.3 filenames.

See Also

gemus_script_reference/functions/run_emulator.1589282818.txt.gz · Last modified: 2023/10/04 14:15 (external edit)