#11317 closed defect (invalid)

Windows Nightly build ignores command line options

Reported by: ZvikaZ Owned by: sluicebox
Priority: normal Component: Port: Win32
Version: Keywords: command-line
Cc: Game:


Just downloaded nightly build for Windows, 32 bit:

It works, but ignores all command line parameters I've tried:

C:\Zvika\ScummVM-dev\NightlyBuild\mingw-w32-master-latest\mingw-w32-master-e0810084>scummvm.exe --version

C:\Zvika\ScummVM-dev\NightlyBuild\mingw-w32-master-latest\mingw-w32-master-e0810084>scummvm.exe --help

C:\Zvika\ScummVM-dev\NightlyBuild\mingw-w32-master-latest\mingw-w32-master-e0810084>scummvm.exe -h



Change History (1)

comment:1 by sluicebox, 15 months ago

Owner: set to sluicebox
Resolution: invalid
Status: newclosed

The nightly Windows builds are compiled by buildbot as a GUI application as opposed to a console application. If you're familiar with Windows Portable Executables, it's a flag in the PE header.

The command line parameters are not being ignored, it's just that the ones you tried only print to stdout, and GUI applications have no console to display that output. For example, if you use command line parameters to run a particular game, you will find that those work. It's just like running "notepad.exe c:\myfile.txt" from a command line.

If you want a console application of the latest version then you can get that from rootfather's server at https://scummvm.serra.me/ which updates every 15 minutes from master. (Or compile it yourself)

Note: See TracTickets for help on using tickets.