SFM/Command-line startup options: Difference between revisions

From Valve Developer Community
< SFM
Jump to navigation Jump to search
(adding some more launch options)
(Updated list of launch options to reflect the newer version of SFM)
Line 32: Line 32:
* '''-sfm_layoffshotrange''' -  
* '''-sfm_layoffshotrange''' -  
* '''-sfm_layoffshotlist''' -  
* '''-sfm_layoffshotlist''' -  
* '''-sfm_rendersettings''' -
* '''-sfm_moviesettings''' -
* '''-sfm_guardband''' -  
* '''-sfm_guardband''' -  
* '''-sfm_resolution''' - Change the maximum resolution SFM can render. You can learn more about this launch option [[SFM/Rendering at 1080p|here]].
* '''-sfm_resolution''' - Change the maximum resolution SFM can render. You can learn more about this launch option [[SFM/Rendering at 1080p|here]].
* '''-sfmcomicmaker''' -
* '''-nostartwizard''' - SFM no longer shows the "New session"/"Open recent session" window when it starts
* '''-sfm_loadsession''' -
* '''-nosteam''' - Launch SFM without Steam.
* '''-usevgui''' -
* '''-sixense''' - Requires -mocap to be present to work
* '''-sixense''' - Requires -mocap to be present to work
* '''-mocap''' - Makes some mocap features in SFM appear.
* '''-mocap''' - Makes some mocap features in SFM appear.
* '''-fakemocap''' -  
* '''-fakemocap''' -  
* '''-nostartwizard''' - SFM no longer shows the "New session"/"Open recent session" window when it starts
* '''-no3dviewport''' -  
* '''-nosteam''' - Launch SFM without Steam.
* '''-noqtpickers''' -  
* '''-nop4''' - Disables Perforce in SFM
* '''-qtstylesheet''' -  
* '''-noqtstylesheet''' - Disables all Qt stylesheets
* '''-qtresetsettings''' -  
* '''-qtresetsettings''' -  
* '''-sfmscripting''' -  
* '''-sfmscripting''' -  
* '''-nop4''' - Disables Perforce in SFM
* '''-cmd''' -
* '''-insecure''' -
* '''-tools''' -
* '''-useqtport''' -  
* '''-useqtport''' -  
* '''-noqtpickers''' -  
* '''-dev''' -  
* '''-usevgui''' -
* '''-game''' -  
* '''-no3dviewport''' -
* '''-usecomiccreator''' -  
* '''-vccon''' -  
* '''-vccon''' -  
* '''-vccon2''' -  
* '''-vccon2''' -  
Line 53: Line 61:
* '''-noassert''' -  
* '''-noassert''' -  
* '''-particle_perf''' -  
* '''-particle_perf''' -  
* '''-min''' -
* '''-hushasserts''' -  
* '''-hushasserts''' -  
* '''-vguimessages''' -  
* '''-vguimessages''' -  
 
* '''-rgb''' -
* '''-rgba''' -


{{shortpagetitle}}
{{shortpagetitle}}

Revision as of 22:43, 23 January 2013

You can launch the SFM directly from Steam, as you would any other game. If you like, when you launch the SFM, you can use certain command-line switches, such as for loading a specific session or for loading a file that specifies certain movie settings or render settings. To do this, in Steam, right-click Source Filmmaker, click Properties, click the SET LAUNCH OPTIONS button, and use one or more of the following command-line switches:

-sfm_loadsession filePath\sessionFile

-sfm_moviesettings filePath\movieSettingsFile

-sfm_rendersettings filePath\renderSettingsFile

where:

  • filePath is the complete path of the file
  • sessionFile is the complete name of the session file, including the extension
  • movieSettingsFile is the complete name of the movie settings file, including the extension
  • renderSettingsFile is the complete name of the render settings file, including the extension

Example:

-sfm_loadsession C:\Steam\steamapps\common\SourceFilmmaker\game\usermod\elements\sessions\Session2.dmx

You can also use these switches in a command prompt or in a desktop shortcut.

Raising shadow map resolution

-sfm_shadowmapres XXXX

The default is 2048, possible values are powers of two: 1024, 2048, 4096, 8192.

Miscellaneous

  • -sfm_noload -
  • -sfm_autolayoff -
  • -sfm_layoffframerange -
  • -sfm_layoffshotrange -
  • -sfm_layoffshotlist -
  • -sfm_rendersettings -
  • -sfm_moviesettings -
  • -sfm_guardband -
  • -sfm_resolution - Change the maximum resolution SFM can render. You can learn more about this launch option here.
  • -sfmcomicmaker -
  • -nostartwizard - SFM no longer shows the "New session"/"Open recent session" window when it starts
  • -sfm_loadsession -
  • -nosteam - Launch SFM without Steam.
  • -usevgui -
  • -sixense - Requires -mocap to be present to work
  • -mocap - Makes some mocap features in SFM appear.
  • -fakemocap -
  • -no3dviewport -
  • -noqtpickers -
  • -qtstylesheet -
  • -qtresetsettings -
  • -sfmscripting -
  • -nop4 - Disables Perforce in SFM
  • -cmd -
  • -insecure -
  • -tools -
  • -useqtport -
  • -dev -
  • -game -
  • -vccon -
  • -vccon2 -
  • -qtvideo -
  • -noassert -
  • -particle_perf -
  • -min -
  • -hushasserts -
  • -vguimessages -
  • -rgb -
  • -rgba -

See also