If you want to help us maintaining this wiki, check out our discord server: https://discord.gg/3u69jMa 

Difference between revisions of "Troubleshooting Client"

From SWRC Wiki
Jump to navigation Jump to search
 
Line 6: Line 6:
* When the game crashes after loading new game, go to options menu and set bump mapping to low.
* When the game crashes after loading new game, go to options menu and set bump mapping to low.


* Create a shortcut of SWRepublicCommando.exe, open up the properties and add '-windowed -log' to the end of the commandline.<pre>..\SWRepublicCommando.exe" -windowed -log</pre> The log windows shows much more information which can be helpful.
* Create a shortcut of SWRepublicCommando.exe, open up the properties and add '-windowed -log' to the end of the commandline:<pre>..\SWRepublicCommando.exe" -windowed -log</pre> The log windows shows much more information which can be helpful.


==Useful Commands==
==Useful Commands==
<pre>
<pre>
togglefullscreen          -Switch between fullscreen and window mode
togglefullscreen          -Switch between fullscreen and window mode
setres widthXheigth        -Set a custom resolution. Example for Full HD: setres 1920x1080
setres 1920x1080          -Set a desired resolution. For example full HD
setmousesensitivity        -Set a custom mouse sensitivity. DOES NOT APPLY FOR MAIN MENU! Also comma values are written with actual .(point) not ,(comma) Example: setmousesensitivity 0.25
setmousesensitivity        -Set a custom mouse sensitivity. Does not work on main menu!
showlog                    -Switch to window mode if necessary and open up log window for information/debugging
showlog                    -Switch to window mode if necessary and open up log window for information/debugging
stat fps                  -Show FPS counter at top right corner
stat fps                  -Show FPS counter at top right corner
Line 19: Line 19:


==Useful Parameters==
==Useful Parameters==
There are many parameters, which can be added to a shortcut for SWRepublicCommando.exe and might be useful for debugging/testing:
There are many parameters, which can be added to a shortcut for SWRepublicCommando.exe and might be useful for debugging/testing:
<pre>
<pre>
-benchmark                -Do some sort of benchmarks (Someone look this up)
-benchmark                -Do some sort of benchmarks (Someone look this up)
-defaultres                -Set the resolution to default on startup (800x600?)
-defaultres                -Set the resolution to default on startup (800x600?)
-exec=                    -Execute console commands from a file located in system folder
-firstrun                  -(??? Someone needs to look this up)
-ini=                      -Specify a custom ini file to load besides default system.ini file
-ini=                      -Specify a custom ini file to load besides default system.ini file
-log                      -Opens up log window immediately
-log                      -Opens up log window immediately
-nojoy                    -(No Joystick/Controller???)
-nosound                  -Starts the game without any sound
-nosound                  -Starts the game without any sound
-noui                      -Starts the game without userinterface
-server                    -Initiate the server, see: Requirements Server
-safe                      -Run the game in some sort of safemode (Someone needs to look this up)
-testrendev=              -Test a specific Renderdevice (D3D?)
</pre>
</pre>

Latest revision as of 10:07, 14 May 2021

Required Software

  • Microsoft DirectX 9.0c
  • Microsoft Visual C++ 2005 Redistributable x86

Troubleshooting

  • When the game crashes after loading new game, go to options menu and set bump mapping to low.
  • Create a shortcut of SWRepublicCommando.exe, open up the properties and add '-windowed -log' to the end of the commandline:
    ..\SWRepublicCommando.exe" -windowed -log
    The log windows shows much more information which can be helpful.

Useful Commands

togglefullscreen           -Switch between fullscreen and window mode
setres 1920x1080           -Set a desired resolution. For example full HD
setmousesensitivity        -Set a custom mouse sensitivity. Does not work on main menu!
showlog                    -Switch to window mode if necessary and open up log window for information/debugging
stat fps                   -Show FPS counter at top right corner
quit                       -Closes the game instantly

Useful Parameters

There are many parameters, which can be added to a shortcut for SWRepublicCommando.exe and might be useful for debugging/testing:

-benchmark                 -Do some sort of benchmarks (Someone look this up)
-defaultres                -Set the resolution to default on startup (800x600?)
-ini=                      -Specify a custom ini file to load besides default system.ini file
-log                       -Opens up log window immediately
-nosound                   -Starts the game without any sound