SFM/Command-line startup options: Difference between revisions

From Valve Developer Community
< SFM
Jump to navigation Jump to search
m (Alphabetized the order of the "Miscellaneous" commands, and tweaked some of the descriptions. Also removed hyphens where descriptions are lacking.)
Line 27: Line 27:
== Miscellaneous ==
== Miscellaneous ==


* '''-sfm_noload''' -  
* '''-cmd'''
* '''-sfm_autolayoff''' -  
* '''-dev'''
* '''-sfm_layoffframerange''' -  
* '''-fakemocap'''
* '''-sfm_layoffshotrange''' -  
* '''-game''' - Sets the "game mod" SFM uses. The default is usermod.
* '''-sfm_layoffshotlist''' -  
* '''-hushasserts'''
* '''-sfm_rendersettings''' -  
* '''-insecure''' - Disables [[Valve Anti-Cheat|VAC]] protection. (Not that SFM uses it, however...)
* '''-sfm_moviesettings''' -  
* '''-min'''
* '''-sfm_guardband''' -  
* '''-mocap''' - Makes some mocap features in SFM appear.
* '''-monitortexturesize''' - Size of RT_camera monitor textures. The default is 256.
* '''-noassert'''
* '''-nop4''' - Disables Perforce in SFM.
* '''-noqtpickers'''
* '''-nostartwizard''' - SFM won't show the "New session"/"Open recent session" window when it starts.
* '''-nosteam''' - Launch SFM without Steam.
* '''-no3dviewport'''
* '''-particle_perf'''
* '''-qtresetsettings'''
* '''-qtstylesheet'''
* '''-qtvideo'''
* '''-reflectiontexturesize''' - Size of water reflection textures. The default is 1024.
* '''-rgb'''
* '''-rgba'''
* '''-sfm_autolayoff'''
* '''-sfm_guardband'''
* '''-sfm_layoffframerange'''
* '''-sfm_layoffshotlist'''
* '''-sfm_layoffshotrange'''
* '''-sfm_loadsession'''
* '''-sfm_moviesettings'''
* '''-sfm_noautosave''' - Disables autosaving.
* '''-sfm_noload'''
* '''-sfm_rendersettings'''
* '''-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''' -  
* '''-sfmcomicmaker''' - Enables the unfinished comic-maker in SFM.
* '''-nostartwizard''' - SFM no longer shows the "New session"/"Open recent session" window when it starts
* '''-sfmscripting'''
* '''-sfm_loadsession''' -
* '''-sixense''' - Requires -mocap to be present to work.
* '''-nosteam''' - Launch SFM without Steam.
* '''-tools'''
* '''-usevgui''' - allows SFM to use the "classic" Engine window GUI
* '''-useqtport'''
* '''-sixense''' - Requires -mocap to be present to work
* '''-usevgui''' - Allows SFM to use the "classic" engine window GUI.
* '''-mocap''' - Makes some mocap features in SFM appear.
* '''-vccon'''
* '''-fakemocap''' -
* '''-vccon2'''
* '''-no3dviewport''' -
* '''-vguimessages'''
* '''-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''' -
* '''-monitortexturesize''' - Size of RT_camera monitor default set at 256
* '''-reflectionTextureSize''' - Size of water reflections default is set at(pMaterialSystem, int iSize = 1024)
* '''-sfm_noautosave''' - Disables autosave.
{{shortpagetitle}}
{{shortpagetitle}}
[[Category:Source Filmmaker]]
[[Category:Source Filmmaker]]

Revision as of 02:31, 2 February 2016

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

  • -cmd
  • -dev
  • -fakemocap
  • -game - Sets the "game mod" SFM uses. The default is usermod.
  • -hushasserts
  • -insecure - Disables VAC protection. (Not that SFM uses it, however...)
  • -min
  • -mocap - Makes some mocap features in SFM appear.
  • -monitortexturesize - Size of RT_camera monitor textures. The default is 256.
  • -noassert
  • -nop4 - Disables Perforce in SFM.
  • -noqtpickers
  • -nostartwizard - SFM won't show the "New session"/"Open recent session" window when it starts.
  • -nosteam - Launch SFM without Steam.
  • -no3dviewport
  • -particle_perf
  • -qtresetsettings
  • -qtstylesheet
  • -qtvideo
  • -reflectiontexturesize - Size of water reflection textures. The default is 1024.
  • -rgb
  • -rgba
  • -sfm_autolayoff
  • -sfm_guardband
  • -sfm_layoffframerange
  • -sfm_layoffshotlist
  • -sfm_layoffshotrange
  • -sfm_loadsession
  • -sfm_moviesettings
  • -sfm_noautosave - Disables autosaving.
  • -sfm_noload
  • -sfm_rendersettings
  • -sfm_resolution - Change the maximum resolution SFM can render. You can learn more about this launch option here.
  • -sfmcomicmaker - Enables the unfinished comic-maker in SFM.
  • -sfmscripting
  • -sixense - Requires -mocap to be present to work.
  • -tools
  • -useqtport
  • -usevgui - Allows SFM to use the "classic" engine window GUI.
  • -vccon
  • -vccon2
  • -vguimessages

See also