- resetLogFile
This needs to be done as we are currently using two different loggers. Both
loggers must be set to a
- configureLegacyLogging
- configureLog4j
- displayMessage
Prints the message and flushes the output stream.
- displayMessageAndExit
Prints the message to stdout and then exits with errorcode 1.
- dumpArgs
This function appends 'agrs: []', to the buffer, with a space separated list of
args[] elements betw
- getGUIClassName
- getGui
Return the Interface to the GUI specified by the name in guiName.
- getMegaMekSHA256
Calculates the SHA-256 hash of the MegaMek.jar file Used primarily for purposes
of checksum comparis
- redirectOutput
This function redirects the standard error and output streams to the given File
name.
- showInfo
Prints some information about MegaMek. Used in logfiles to figure out the JVM
and version of MegaMek
- startDedicatedServer
Starts a dedicated server with the arguments in args. See
megamek.server.DedicatedServer#start(Strin