djyt / cannonball

Cannonball: An Enhanced OutRun Engine
http://reassembler.blogspot.com
643 stars 116 forks source link

Command Line option to Play Game without displaying menu #157

Open henhouseharry opened 4 months ago

henhouseharry commented 4 months ago

Build: 0.34 on Windows 10 (64 bit).

Would it be possible to add an optional command line argument to start Cannonball without displaying the menu? This is for cabinets which have been converted to run MAME/Cannonball. A batch file should be written and added to the startup sequence to start Cannonball with this optional command and start the game automatically without displaying the menu.

Update: I checked the code and there is a very basic command line interpreter. -help and -cfgfile are supported.

Tomaszewski1994 commented 2 days ago

Since no one has answered this yet, allow me.

In the config.xml file, there is an option near the bottom labeled Use the inbuilt menu system. Set that to 0 to make the program launch without opening the menu.