Difference between revisions of "Engine:Unity"
From PCGamingWiki, the wiki about fixing PC games
(added note about borderless mode) |
Marioysikax (talk | contribs) (→Other information: Command line arguments added) |
||
Line 13: | Line 13: | ||
===Borderless fullscreen windowed mode=== | ===Borderless fullscreen windowed mode=== | ||
{{++}} Most Unity games can be run in [[Glossary:Borderless fullscreen windowed|borderless fullscreen windowed]] mode using the <code>-popupwindow</code> [[Glossary:Command line arguments|command line argument]]. | {{++}} Most Unity games can be run in [[Glossary:Borderless fullscreen windowed|borderless fullscreen windowed]] mode using the <code>-popupwindow</code> [[Glossary:Command line arguments|command line argument]]. | ||
+ | |||
+ | ===[[Command line arguments]]=== | ||
+ | {{ii}} Useful command line arguments to use with games using Unity engine<ref>[http://docs.unity3d.com/Manual/CommandLineArguments.html >Unity - Manual: Command line arguments]</ref> | ||
+ | {{Fixbox|1= | ||
+ | ; -batchmode | ||
+ | : Run the game in “headless” mode. The game will not display anything or accept user input. This is mostly useful for running servers for networked games. | ||
+ | ; -force-opengl ''(Windows only)'' | ||
+ | : Make the game use OpenGL for rendering, even if Direct3D is available. Normally Direct3D is used but OpenGL is used if Direct3D 9.0c is not available. | ||
+ | ; -force-d3d9 ''(Windows only)'' | ||
+ | : Make the game use Direct3D 9 for rendering. This is the default, so normally there’s no reason to pass it. | ||
+ | ; -force-d3d11 ''(Windows only)'' | ||
+ | : Make the game use Direct3D 11 for rendering. | ||
+ | ; -single-instance ''(Linux & Windows only)'' | ||
+ | : Allow only one instance of the game to run at the time. If another instance is already running then launching it again with -single-instance will just focus the existing one. | ||
+ | ; -nolog ''(Linux & Windows only)'' | ||
+ | : Do not produce output log. Normally output_log.txt is written in the *_Data folder next to the game executable, where Debug.Log output is printed. | ||
+ | ; -force-d3d9-ref ''(Windows only)'' | ||
+ | : Make the game run using Direct3D’s “Reference” software renderer. The DirectX SDK has to be installed for this to work. This is mostly useful for building automated test suites, where you want to ensure rendering is exactly the same no matter what graphics card is being used. | ||
+ | ; -adapter N ''(Windows only)'' | ||
+ | : Allows the game to run full-screen on another display. The N maps to a Direct3D display adaptor. In most cases there is a one-to-one relationship between adapters and video cards. On cards that support multi-head (they can drive multiple monitors from a single card) each “head” may be its own adapter. | ||
+ | ; -popupwindow ''(Windows only)'' | ||
+ | : The window will be created as a a pop-up window (without a frame). | ||
+ | ; -screen-width ''(Linux & Windows only)'' | ||
+ | : Overrides the default screen width. This must be an integer from a supported resolution. | ||
+ | ; -screen-height ''(Linux & Windows only)'' | ||
+ | : Overrides the default screen height. This must be an integer from a supported resolution. | ||
+ | ; -screen-quality ''(Linux only)'' | ||
+ | : Overrides the default screen quality. Example usage would be: /path/to/myGame -screen-quality Beautiful | ||
+ | ; -nographics ''(Linux & Windows only)'' | ||
+ | : When running in batch mode, do not initialize graphics device at all. This makes it possible to run your automated workflows on machines that don’t even have a GPU. | ||
+ | }} |
Revision as of 14:37, 24 August 2014
300px | |
Developers | |
---|---|
Unity Technologies | |
Website | |
unity3d.com | |
First release date | |
2005 | |
Other information
Borderless fullscreen windowed mode
- Most Unity games can be run in borderless fullscreen windowed mode using the
-popupwindow
command line argument.
Command line arguments
- Useful command line arguments to use with games using Unity engine[1]
Instructions |
---|