1422 Commits

Author SHA1 Message Date
Filippos Karapetis
3be24c759b AGI: Group preAGI games into a separate folder 2022-05-28 16:47:47 +03:00
Filippos Karapetis
622614eb20 AGI: Fix the Amiga Winnie the Pooh file structure and detection
The Amiga version of Winnie has files in subdirectories. The engine has
been adapted to respect the directory structure of this version
2022-05-28 15:30:45 +03:00
Athanasios Antoniou
5684a31703
AGI: Fix detection for Mickey's Space Adventure
This should address the remaining issues with ticket https://bugs.scummvm.org/ticket/13155
2022-05-28 00:50:49 +03:00
Torbjörn Andersson
e06f3c9a5a GUI: Allow game option checkboxes to be disabled
Depending on other game option checkboxes. This is used to
enable/disable the semi-smooth scrolling checkboxes for FM Towns Loom,
since it's only used when smooth scrolling is enabled.
2022-04-21 11:07:17 +02:00
Zvika Haramaty
e79f0a5c81 AGI: *.wag fallback - use description and version only if not empty strings 2022-04-17 14:22:12 +03:00
Zvika Haramaty
2a00a342bb AGI: set gameid according to *.wag file only if it's a known value 2022-04-17 14:13:52 +03:00
Zvika Haramaty
15dfca15ba AGI: fixed typo in fallbackWarning 2022-04-17 13:56:29 +03:00
eientei
957c7ecb5a AGI: Add more information to detection for Black Cauldron 2.10 3.5" 2022-04-15 12:25:08 +03:00
D G Turner
41eb2d4a87 AGI: Add Detection for "Good Man" Demo v4.0
This fanmade game is referenced in bug #13337.
2022-03-26 13:08:08 +00:00
D G Turner
a9e639486d AGI: Add Detection for "Tex McPhilip 3 - A Destiny of Sin (v1.02)"
This fanmade game was completed and is referenced in bug #13336.
2022-03-26 12:21:30 +00:00
trembyle
74fc28fdc0 AGI: Add detection for later KQ4 IIgs version 2022-01-29 11:54:45 -05:00
trembyle
23348808e0 AGI: Add support for Mac Manhunter games
Macintosh versions of GR and MH1-2 use the same combined directory
filename convention as DOS, Atari ST and Apple IIgs (but not Amiga or
CoCo3). However, the filename convention for volumes uses the common
AGI v2 format, without a game id prefix.

Example:
DOS: GRDIR, GRVOL.x
Mac: GRDIR, VOL.x

To account for this, we'll use the following:
1. Rather than take the directory filename prefix from volume files,
   we now get this from the directory files themselves (which makes
   more sense anyway).
2. Later, when loading individual volumes, check for Mac platform and
   exclude the prefix from the path.

This improves the previous single game check for Mac Gold Rush, which
formed directory and volume paths for that game only. This check is
now obsolete and has been removed. The detection flag that was used to
invoke the workaround has also been removed.
2022-01-16 23:48:13 +02:00
trembyle
3c93b25b1c AGI: Add detection for Mac Manhunters
Add both Manhunters to detection tables. They don't start yet (because
the AGI V3 games store their directory files differently). I'll attempt
to fix this by adapting the method used for Mac Gold Rush.

Also add a new PC version of MH2 in order to resolve an md5 conflict
with the Mac version.
2022-01-05 16:00:51 -05:00
trembyle
31c8446caf AGI: Clean up fanmade detection entries
* Remove redundant language text
* Fix entries with duplicate md5 hashes
* UTF-8 titles since they're now supported
* Correct titles to match game & AGI Wiki
* New CoCo 3 ports of fanmade titles
* Fix alphabetical sorting

Gourd of the Beans is now listed as a Windows game. This was
released in 2015 and was always distributed with a modern interpreter,
specifically NAGI. It was never meant to be played in MS-DOS.
2022-01-03 20:38:01 -05:00
trembyle
c81605dfa9 AGI: Fix build errors 2022-01-03 19:25:02 -05:00
trembyle
bde069fb62 AGI: New detection for Tandy Color Computer ports
Adds detection for CoCo 1/2 early / pre-AGI games. CoCo 1 and 2 were
not generally forward compatible with CoCo 3, which was officially
supported by Sierra for KQ3 and LSL1 only.

These games either won't start or crash on the title screen, so I've
flagged them as unsupported for now.

Also adds some additional fanmade CoCo 3 ports. I'm in contact with
the porter and may be updating and further cleaning up these entries
as I learn more.
2022-01-03 18:54:05 -05:00
trembyle
17d8cab6bf AGI: Add detection for additional PC booters
Alternate version of Troll's Tale works without issue.

PCjr, Tandy 1000, and IBM PC booters for KQ1-2 do not work because
the earliest AGI versions are not yet supported.

Later MS-DOS releases of Troll's Tale also do not work yet.
2022-01-03 18:06:19 -05:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
f1f4657b10 AGI: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Alexandre Detiste
6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Orgad Shaneh
fe104cc337 ENGINES: Use MetaEngine consistently for getting autosave slot
The autosave refactoring that was done in
7adad5aaf5831dc5adcee140f38aacc4a5db2518 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.

Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.

Amends 7adad5aaf5831dc5adcee140f38aacc4a5db2518.
2021-10-24 16:46:06 +02:00
Thunderforge
35c3668275 COMMON: Fixing misspellings "occured" -> "occurred"
Fixing this misspelled word across multiple parts of the codebase.
2021-09-25 21:36:42 +03:00
Eugene Sandulenko
89f92a007a
AGI: Improved detection for preagi titles.
Filenames "title" and "title.pic" are too generic, so second
file was added for each entry
2021-08-28 00:27:52 +02:00
Orgad Shaneh
7adad5aaf5 ENGINES: Streamline auto-save write/delete protection
Some engines call setAutosave and some don't. isAutosave is used to
determine if a saved game is an autosave, but in fact, on most cases it
just falls back to comparing the name to "Autosave".

This is wrong for several reasons:
* Older versions of ScummVM used Autosave 0.
* The name "Autosave" is translated, so if you change the language, it
  won't be detected.

Instead of relying on the name, use the well-known getAutosaveSlot() from
Engine/MetaEngine.

Fixes #12735.
2021-08-23 13:34:35 +02:00
Eugene Sandulenko
11558b92aa
AGI: Fix pattern plotting. Bugreport #11923 2021-08-18 00:46:49 +02:00
Eugene Sandulenko
070a9a53b1
AGI: Remove stray debug output 2021-08-17 19:29:17 +02:00
Eugene Sandulenko
bf1b6a35aa
AGI: Do not use Hercules font for Cyrillic titles. Addresses bug #12745 2021-08-17 19:29:17 +02:00
Max Horn
2f1f8f502e DEVTOOLS: move credits from devtools/credits.pl to engines
This employs a "lazy" approach: the "format" for the credits stays
exactly as it was, i.e., perl code. Of course one may want to change
this to another format (e.g. YAML, JSON, XML; or also shell script or
AWK, like `configure.engine` uses). But I deliberately kept it simple,
to get a minimal change that is easy to verify. Any further changes to
e.g. the format can be layered atop this.
2021-08-05 00:01:46 +02:00
Eugene Sandulenko
8614bbea6d
AGI: Added detection for KQ1 Russian 2021-08-04 12:31:44 +02:00
Eugene Sandulenko
8a2284ebc7
AGI: Added user input conversion for Russian titles 2021-07-31 15:00:27 +02:00
Eugene Sandulenko
6404ff39d6
AGI: Fix Russian input in Russian localizations 2021-07-31 15:00:27 +02:00
D G Turner
e34a0a1878 AGI: Further Fix for SQ0 and SQX Fangame Detection Entries
These worked, but caused the entries in the launcher to be named wrongly
so have switched to using GAME_FO macro to set the GF_FANMADE feature
flag without other flags causing side effects for the launcher entry
naming.
2021-07-17 12:53:06 +01:00
D G Turner
a0326ecd1c AGI: Modify Volume to use ScummVM GUI as maximum range for Script Volume
This change simplifies the AGI engine volume handling by using the music
and sound fx volumes set in the ScummVM GUI as the maximum levels which
can be set by the scripts. This avoids the complexity of synchronising
changes between these and the scripts (which only had a single 16 step
volume range which is inverted in meaning by quite a large number of
fangames).

This still allows the game scripts to adjust the volumes, but only within
the maximum range set in the Launcher / GMM.

This avoids issues such as https://bugs.scummvm.org/ticket/10732 where
users complained about extremely loud output in some cases.
2021-07-15 14:43:30 +02:00
D G Turner
e1fb81c91a AGI: Correct Detection Entries for Several Fangames including SQX
The previous entries did not set the GF_FANMADE feature flag which meant
that the volume reversal workaround was not triggered resulting in no
audio output as per https://bugs.scummvm.org/ticket/9829

Several other entries which are using GAME macros and don't explicitly
set the GF_FANMADE flag should probably be fixed as well.
2021-07-15 11:30:17 +01:00
Paul Gilbert
005561d305 COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
ysj1173886760
7af3a3f84c ENGINES: introduce ADDectedGameExtraInfo to ADGameDetector, add extra info as parameter for fallback detect. 2021-06-13 14:15:45 +02:00
ysj1173886760
b41b540a03 AGI: delete adding debug channels in preagi 2021-05-22 01:34:57 +02:00
ysj1173886760
ff8d7f442a AGI: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Eugene Sandulenko
371b5849b6
AGI: Remove recently added bc detection entry. It was incorrectly extracted 2021-04-21 12:35:09 +02:00
Eugene Sandulenko
c7e2f6eaf8
AGI: Added bc-2gs entry from Bugreport #11015 2021-04-20 23:04:05 +02:00
Eugene Sandulenko
8804c618a8
AGI: Specify interpeter version for the recently added KQ3 2021-04-20 17:45:12 +02:00
Eugene Sandulenko
1074d43edf
AGI: Added detection for another version of kq3. Bugreport #10646 2021-04-20 01:46:06 +02:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Eugene Sandulenko
e8b2a5456a
AGI: Switch to AmigaFont 2021-04-15 17:45:38 +02:00
Zvika Haramaty
3eef29f2f4 AGI: fixed typo in music volume settings
The typo caused music and sound effects volumes values to be swapped
2021-04-04 23:14:15 +03:00
Zvika Haramaty
9fbb3f3ff7 AGI: MIDI sound - turn sounds off if requested
Makes sound_midi.cpp to respect VM_FLAG_SOUND_ON
2021-03-14 19:04:49 +01:00
Zvika Haramaty
5a93dc2275 AGI: Add Hebrew support 2021-03-14 18:52:36 +01:00
sluicebox
93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
Zvika Haramaty
03fb100226 AGI: support new WinAGI *.wag file format 2021-02-15 03:02:23 +02:00