Skip to content

Command line

Mikulas Florek edited this page Sep 4, 2023 · 18 revisions
  • -plugin plugin.dll - load dll as plugin

    studio.exe -plugin physics -plugin animation
    
  • -run_script path/script.lua - execute lua script in the editor, available API documentation

    studio.exe -run_script unit_tests/editor/main.lua
    
  • -data_dir path/dir - use this directory as data directory, assets can still be located relative to executable

    studio.exe -data_dir "C:\Users\User\Dropbox\lumix_data"
    
  • -no_crash_report - application does not handle crashes

  • -no_sleep_inactive - studio does not run 5 fps when its window does not have focus

  • -open - open a universe (the parameters is just name, not path)

    studio.exe -open test_universe
    
  • -no_vsync - disable vsync

  • -renderdoc - try to load renderdoc dynamic library, add button to tools menu to capture with renderdoc

  • -debug_opengl - opengl debug output even in release mode

  • -profile_start - profiler is started at studio startup

  • -workers - number of job system's worker threads