Opened 9 months ago

Closed 9 months ago

#11317 closed defect (invalid)

Windows Nightly build ignores command line options

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

Description

Hi.
Just downloaded nightly build for Windows, 32 bit:
https://buildbot.scummvm.org/snapshots/master/mingw-w32-master-latest.zip

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

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

C:\Zvika\ScummVM-dev\NightlyBuild\mingw-w32-master-latest\mingw-w32-master-e0810084>
C:\Zvika\ScummVM-dev\NightlyBuild\mingw-w32-master-latest\mingw-w32-master-e0810084>

Change History (1)

comment:1 by sluicebox, 9 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.