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 , 20 months ago
Summary: | command line resolution → BASE: Window resolution setting via command line is broken |
---|
comment:4 by , 6 days ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed. However, scale-factor is not used in OpenGL backend, only in SDL
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.