Opened 20 months ago

Closed 6 days ago

#14359 closed defect (fixed)

BASE: Window resolution setting via command line is broken

Reported by: exoscoriae Owned by: sev-
Priority: normal Component: Common
Version: Keywords:
Cc: Game:

Description

I am trying to set the window resolution at the command line, however it seems to always default to the last window height and width defined in the scummvm.ini file.

Here is the base command launch line I am using:

scummvm.exe --no-console -F --stretch-mode=pixel-perfect --gfx-mode=opengl --window-size=800,600 --config=.\2.7\scummvm.ini --opl-driver=nuked --output-rate=44100 -p".\loom" loom

I have tried multiple --window-size settings, however it always takes the value from the ini file instead. If I change the value there, I see an immediate change on the next launch (regardless of what the command line specifies).

I have tried it with and without the pixel perfect stretch mode defined. I have also tried it with and without the --gfx-mode defined.

While I've been testing with loom, I have tried this with several other games as well.

Change History (4)

comment:1 by sev-, 20 months ago

Summary: command line resolutionBASE: Window resolution setting via command line is broken

comment:2 by exoscoriae, 20 months ago

seems --scale-factor is also ignored (in certain games). Setting it on the command line is not doing anything, but going into the game settings and setting it does change it. It seems multiple command line options are ignored at this time.

Last edited 20 months ago by exoscoriae (previous) (diff)

comment:3 by sev-, 6 days ago

In eac7113f:

BASE: Properly pass window size passed via command line. Bug #14359

comment:4 by sev-, 6 days ago

Owner: set to sev-
Resolution: fixed
Status: newclosed

Fixed. However, scale-factor is not used in OpenGL backend, only in SDL

Note: See TracTickets for help on using tickets.