CCMDs:Other
From ZDoom Wiki
These console commands are used for other miscellaneous functions.
- exit
- This is a synonym for quit and quits the game.
- quit
- Exits ZDoom and saves the configuration file to disk.
- restart [params] (development version r3042+ only)
- Restart the engine. The parameters will be interpreted as if they were command line parameters. E.g., restart -iwad plutonia will quit the current game and instead load Plutonia as the IWAD.
- snd_reset
- Restarts the ZDoom sound system, including external software synthesizers such as FluidSynth and TiMidity++ if needed, and rereading the DMXGUS lump if using the GUS emulator or the GENMIDI lump if using OPL synth emulation. Use this if you have changed audio settings which did not take effect immediately.
- writeini [filename]
- Saves the current settings to the configuration file. Optionally, a filename can be provided to write to a different file.
- writemidi <filename> (development version r3383+ only)
- If the currently playing song is a MIDI variant, it is written to disk. If successful, the current song will restart, since MIDI file generation involves a simulated playthrough of the song. This allows to use ZDoom to convert the MUS, HMI, HMP, and XMI formats to MIDI.
- writeopl [songname] <filename>
- If the currently playing song is a MUS/MIDI song being played through the OPL synth emulation, then you just need to specify the filename. Otherwise, you need to provide the songname (such as D_E1M1) as well. The resulting file can be played with RDOSPlay or AdPlug.