Skip to content

Instantly share code, notes, and snippets.

@BigBang1112
Last active July 5, 2026 22:49
Show Gist options
  • Select an option

  • Save BigBang1112/7d4c58829aaf1313e7cac35b4bcd8481 to your computer and use it in GitHub Desktop.

Select an option

Save BigBang1112/7d4c58829aaf1313e7cac35b4bcd8481 to your computer and use it in GitHub Desktop.
List of all possible command line arguments across Trackmania games.

Command line arguments in Trackmania

Possible commands are listed in two functions:

  • CGbxGame::ApplyCommandLineArgs
  • CGbxApp::ApplyCommandLineArgs that is called inside CGbxGame::ApplyCommandLineArgs

TMS

Due to missing resources, this may not be exactly accurate.

CGbxGame

  • /list_benchs=[FileName]
  • /bench
  • /bench=[FileName]
  • /out=[FileName]

TMF

CGbxApp

  • /windowless
  • /singleinst
  • /nodaemon
  • /nologs
  • /useexedir
  • /config=[FileName]
  • /ini=[FileName]
  • /userdir=[FileName]
  • /logfilename=[FileName]
  • /file=[FileName]
  • /url=[StringAscii]
  • /title=[String]

CGbxGame

  • /list_benchs=[FileName]
  • /bench
  • /bench=[FileName]
  • /out=[FileName]
  • /shootvideo=[FileName]
  • /validatepath=[FileName]
  • /checksolorecords=[FileName]
  • /hMapFileAC="[StringAscii]"

ManiaPlanet

CGbxApp

  • /windowless
  • /inputless
  • /kiosk
  • /kiosk=[Number]
  • /singleinst
  • /nodaemon
  • /nologs
  • /usecurrentdir
  • /config=[FileName]
  • /ini=[FileName]
  • /userdir=[FileName]
  • /logfilename=[FileName]
  • /file=[FileName]
  • /url=[StringAscii]
  • /windowtitle=[String]

If /windowless:

  • /parsegbx OR /validatepath

CGbxGame

  • /list_benchs=[FileName]
  • /bench
  • /bench=[FileName]
  • /out=[FileName]
  • /shootvideo=[FileName]
  • /consolemode
    • /lan
  • /uplay
  • /uplay=[Number]
  • /TmTurbo_Demo
  • /TmTurbo_PartialInstall
  • /generatescriptdoc=[FileName]
  • /computeallshadows

Trackmania 2020

CGbxApp

  • /windowless
  • /inputless
  • /kiosk
  • /kiosk=[Number]
  • /singleinst
  • /nodaemon
  • /nologs
  • /usecurrentdir
  • /config=[FileName]
  • /ini=[FileName]
  • /userdir=[FileName]
  • /logfilename=[FileName]
  • /file=[FileName]
  • /url=[StringAscii]
  • /windowtitle=[String]

If /windowless:

  • /parsegbx OR /validatepath

CGbxGame

  • /list_benchs=[FileName]
  • /bench
  • /bench=[FileName]
  • /out=[FileName]
  • /shootvideo=[FileName]
  • /computeallshadows
@Tulis12

Tulis12 commented May 29, 2026

Copy link
Copy Markdown

in TMF when using /shootvideo it shows a prompt for setting the desired quality/resolution etc, is there a way to skip that?

@BigBang1112

BigBang1112 commented Jul 5, 2026

Copy link
Copy Markdown
Author

in TMF when using /shootvideo it shows a prompt for setting the desired quality/resolution etc, is there a way to skip that?

Don't think so, must be patched

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment