1369 Commits

Author SHA1 Message Date
Attaullah Ansari
b4fcc02c87 BASE: Add option for the user to proceed with resetting configuration file or quitting ScummVM. 2023-02-23 18:12:27 +01:00
Cameron Cawley
a305fe56d6 BASE: Enable the --start-movie argument when the Testbed engine is enabled 2023-02-22 20:48:32 +00:00
antoniou79
aae9673c9d ANDROID: Do language selection before early popup
Instantiating GUI manager takes care of the language selection
2023-02-13 16:24:29 +01:00
Le Philousophe
2927e27d1d BASE: Fix I18N comment 2023-02-12 18:14:56 +01:00
Le Philousophe
2f76a21cc6 BASE: Fix Android message to match terms changed before 2023-02-12 18:11:26 +01:00
Eugene Sandulenko
278fb3ba19
BASE: Add message for Android on startup explaining SAF
There are two messages, for upgrade and for the new users
2023-02-12 16:49:59 +01:00
Le Philousophe
007d7d8df4 BASE: Fix Dreamcast build 2023-02-12 11:10:06 +01:00
Einar Johan Trøan Sømåen
07d044945d
BASE: Wrap -g setGraphicsMode in transactions.
Without this -g will simply assert.
2023-02-12 09:49:20 +01:00
Einar Johan Trøan Sømåen
1f00706bfb
BASE: Filter out old graphics modes when passed to -g
Fix #12775
2023-02-12 09:44:51 +01:00
Vladimir Serbinenko
1daf70c746 BASE: Fix NPE when executable name is not available 2023-02-01 23:08:50 +01:00
Vladimir Serbinenko
a1fdd9df20 MIYOO: Use 640x480 GUI
it looks nice and crisp on this handheld
2023-01-29 10:41:10 +01:00
Lothar Serra Mari
baa0a1fa10 RELEASE: This is 2.8.0git 2023-01-20 20:31:01 +01:00
Cameron Cawley
138a983d80 COMMON: Refactor VSync handling to match the other options 2023-01-16 18:09:53 +01:00
Vladimir Serbinenko
b91d873df6 SDL: Support auto-detection of GUI resolution. 2023-01-12 10:27:20 +03:00
elasota
3a07524b73 COMMON: Add initial config file option.
This allows an initial/default configuration file to be specified via the command line.  This allows a default settings file to be bundled and loaded even if it's installed to a read-only location, such as Program Files on Windows, and allows the written config file to be deleted without losing the custom defaults.
2023-01-11 14:46:39 +01:00
Eugene Sandulenko
399285b76b
BASE: Added support for autorun file.
Place file named 'scummvm=autorun' next to the ScummVM.

If the file is empty, scummvm will run in autodetect mode, basically
as './scummvm -p . --auto-detect'.

If the file is not empty, then command line parameters will be read
from it one per line. Empty lines and lines starting from '#' are ignored.

If the user supplies more parameters at the command line, those
will also be used and will override the parameters from the autorun file.
2023-01-04 00:46:49 +01:00
Eugene Sandulenko
6cb1c7df81
BASE: Implement autorun mode with executable name
Rename scummvm executable into 'scummvm-auto*' and it is equivalent
of 'scummvm -p . --auto-run'. All additional arguments on the command
line are also processed and override the automatic arguments.
2023-01-04 00:02:02 +01:00
Eugene Sandulenko
a404ddaee6
BASE: Fix potential memory override when parsing long options 2023-01-03 23:46:59 +01:00
Eugene Sandulenko
49a0a54e9d
BASE: Added --random-seed command line option 2023-01-02 16:12:44 +01:00
Vladimir Serbinenko
39d4e1e030 BASE: Switch --md5mac to openFileOrDataFork 2022-12-11 21:32:30 +01:00
Roberto Sánchez
7f457f8e94 BASE: Refactor EngineManager::createTargetForGame 2022-12-07 22:58:48 +01:00
Roberto Sánchez
5854585b33 BASE: Add check to avoid domain override when launching from command line with -p argument 2022-12-07 22:58:48 +01:00
Roberto Sánchez
e2b0259d29 BASE: Add function EngineManager::generateUniqueDomain 2022-12-07 22:58:48 +01:00
Cameron Cawley
6506e59064 ENGINES: Add getMD5Bytes to the base MetaEngineDetection class 2022-11-30 23:29:37 +02:00
Cameron Cawley
749fd8b490 SDL: Allow selecting the audio channel count from the command line 2022-11-18 17:17:00 +01:00
Cameron Cawley
2c8a7d3900 ENGINES: Remove support for GUI options in MetaEngineDetection subclasses 2022-11-16 23:58:54 +01:00
Donovan Watteau
502479d7be BASE: Add C++11 char array initialized by a string literal test
This was not properly implemented in GCC versions before 5.1, and
we still have some ports using older GCC versions.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43453#c7 and commit
6ac3994e3e582ec6a304c2a566bb1b0c69d507d2.
2022-10-11 09:08:37 +03:00
Eugene Sandulenko
57cd169a17 GUI: Allow both scalers and shaders to be enabled at the same time 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
80f79f253d GUI: Make shaders/scalers work mutually exclusive 2022-10-08 23:39:18 +02:00
Cameron Cawley
79fff69231 COMMON: Use Common::String for OSystem::setShader 2022-10-08 23:39:18 +02:00
Cameron Cawley
64c359b5cb GUI: Replace the options for selecting shaders 2022-10-08 23:39:18 +02:00
Le Philousophe
111d259015 ALL: Add limits.h for all codebase 2022-08-22 15:38:10 +02:00
Le Philousophe
2a84d3e988 VITA: Add plugins support 2022-08-07 18:15:09 +02:00
Le Philousophe
bffb6e244a BASE: Allow platforms to not include the help messages
This allows to save some space on constrained devices which still allow
for command line.
Enable this space saving on DS and enable back command line support.
Cleanup old workaround for 3DS.
2022-07-29 13:08:22 +02:00
Le Philousophe
8593f576fd JANITORIAL: Remove useless DS ifdefs
DS port already defines DISABLE_COMMAND_LINE
2022-07-29 13:08:22 +02:00
Le Philousophe
458535cee1 JANITORIAL: Remove useless ANDROID ifdef
The ANDROID define has been removed in 8de5edde9599b6ca00c23e753c00676d7bc9b335.
This means this if branch was never taken for more than 10 years.
2022-07-29 13:08:22 +02:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Eugene Sandulenko
1fa331f44a
BASE: Generate list of languages and platforms instead of hardcoding 2022-07-22 15:04:27 +02:00
Eugene Sandulenko
b65e00a6ef
BASE: Synced the plaoform list in command line help 2022-07-22 14:27:26 +02:00
Cameron Cawley
a020300701 ENGINES: Remove use of getEngineId() in MetaEngine subclasses 2022-07-20 11:54:19 +02:00
Thierry Crozat
97f45352fc BASE: Add back default to 60 for engine_speed settings
This is used by 3D games to limit the frames per seconds.
The default value was lost in commit b586571900 when sync'ing
ScummVM and ResidualVM code. This resulting in a default of 0,
which means no throtling.

This should fix bug #13631
2022-06-25 19:54:19 +01:00
Torbjörn Andersson
78c8bd2fbf BASE: Print error messages on invalid command line parameters again
The condition was accidentally inverted when the Symbian port was
removed, I belive.
2022-06-25 16:27:59 +02:00
Thunderforge
87728fa9b6 COMMON: Adding iconspath parameter to the command line 2022-06-22 14:33:04 +02:00
Cameron Cawley
dd72e0e488 RISCOS: Add a native MIDI driver 2022-06-20 23:33:42 +01:00
Thierry Crozat
dfaa00c235 BASE: Reorganize code to save command line settings 2022-06-12 22:21:27 +01:00
Thierry Crozat
5ea034391b GUI: Add slider for Grid Launcher icon size 2022-06-12 22:08:53 +01:00
athrxx
54af166305 COMMON: (AD) - further reduce output of mass add detection
Follow-up to the feature that allows skipping certain ADGF flags.

This here now also allows skipping of incomplete file/md5/size matches. It is basically the same behavior as the graylist. For the mass add all files are treated as if they are on the list.
2022-06-12 10:12:39 +02:00
athrxx
e01416ef32 COMMON: (AD) - allow mass add to skip targets with certain ADGF flags
I added skipping for the ADGF_WARNING and ADGF_UNSUPPORTED flags.

For me, this is mostly about fixing bug no. 13282. We sometimes have bogus entries which only have the purpose of presenting the error message (reasons for being unsupported) contained in the extra field of the detection entry.
2022-06-12 10:12:39 +02:00
Lothar Serra Mari
a07be8c665 RELEASE: This is 2.7.0git 2022-06-05 20:43:05 +02:00
Thierry Crozat
bde10f0dda BASE: Store screenshotpath command line in Session domain
The SDL backend was getting that path at the start and storing
it in a class member so that it would persist for the session.
But now that we have a kSessionDomain in ConfMan, it is cleaner
to use that (and this will also work for non-SDL backends).
2022-06-05 15:39:36 +01:00