Command Line Arguments

From Rigs of Rods Wiki

Jump to:navigation, search

RoR accepts some command line arguments:

  • -map <map>
    • loads the map on startup. For example: RoR.exe -map aspen
    • note: do not add the .terrn extension
  • -truck <truck>
    • loads a truck on startup. For example:
      • RoR.exe -map oahu -truck semi.truck
      • RoR.exe -map oahu -truck an-12.airplane
  • -enter
    • directly enters the selected truck
  • -setup
    • this shows the Ogre Settings Dialog instead of loading the settings from ogre.cfg
  • -help
    • shows a command line argument help

example usage

for example create a .bat file:

start-debug.bat

 RoR.exe -map nhelens -truck myTruck.truck -enter

example usage 2

Right click on your RoR.exe file and use "Create shortcut" from the context menu. You will obtain a new file called "Shortcut to RoR.exe", right click on them and click on "Properties". In the first text box you will find something like: "C:\Program Files\Rigs of Rods\RoR.exe"

Add your options to the end of the line:

 "C:\Program Files\Rigs of Rods\RoR.exe" -map nhelens -truck mytruck.truck -enter

This options are very useful when you are modding a car and you want to test skipping the map selection menu and car selection menu.