SFM/Command-line startup options: Difference between revisions

From Valve Developer Community
< SFM
Jump to navigation Jump to search
No edit summary
Line 21: Line 21:
{{shortpagetitle}}
{{shortpagetitle}}
[[Category:Source Filmmaker]]
[[Category:Source Filmmaker]]
== See also ==
* [[SFM/Rendering at 1080p|Rendering at 1080p]]

Revision as of 11:26, 17 July 2012

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.

See also