Commit graph

45 commits

Author SHA1 Message Date
Walter van Niftrik
22ef407918 ADL: Change comment for hires6 detection entry
This detection entry also matches the floppy release. While the version on the
Roberta Williams Anthology has been patched to remove the copy protection,
this patch lies outside of our md5sum range.
2018-12-25 14:44:19 +01:00
Bastien Bouclet
cf1ebf2951 ENGINES: Add unknown game variants to the game detector results 2018-05-10 09:04:23 +02:00
Lothar Serra Mari
451cf2304f ENGINES: Show the unknown Game dialog only when the detector is launched by the Add Game feature 2018-04-29 21:47:10 +01:00
Adrian Frühwirth
00e59a3122 ALL: Load savegame thumbnail only when necessary
This commit introduces the following changes:

1. Graphics::loadThumbnail()

   Now returns a boolean and takes a new argument skipThumbnail which
   defaults to false. In case of true, loadThumbnail() reads past the
   thumbnail data in the input stream instead of actually loading the
   thumbnail. This simplifies savegame handling where, up until now,
   many engines always read the whole savegame metadata (including
   the thumbnail) and then threw away the thumbnail when not needed
   (which is in almost all cases, the most common exception being
   MetaEngine::querySaveMetaInfos() which is responsible for loading
   savegame metadata for displaying it in the GUI launcher.

2. readSavegameHeader()

   Engines which already implement such a method (name varies) now take
   a new argument skipThumbnail (default: true) which is passed
   through to loadThumbnail(). This means that the default case for
   readSavegameHeader() is now _not_ loading the thumbnail from a
   savegame and just reading past it. In those cases, e.g.
   querySaveMetaInfos(), where we actually are interested in loading
   the thumbnail readSavegameHeader() needs to explicitely be called
   with skipThumbnail == false.

   Engines whose readSavegameHeader() (name varies) already takes an
   argument loadThumbnail have been adapted to have a similar
   prototype and semantics.
   I.e. readSaveHeader(in, loadThumbnail, header) now is
   readSaveHeader(in, header, skipThumbnail).

3. Error handling

   Engines which previously did not check the return value of
   readSavegameHeader() (name varies) now do so ensuring that possibly
   broken savegames (be it a broken thumbnail or something else) don't
   make it into the GUI launcher list in the first place.
2018-04-07 09:26:20 +02:00
Walter van Niftrik
0300979bdd ADL: Add support for another hires1 variant 2018-02-04 16:15:10 +01:00
Walter van Niftrik
bdda3447a3 ADL: Add support for an early hires1 version 2018-02-03 23:36:18 +01:00
Walter van Niftrik
9e5b54ddc8 ADL: Remove unused array terminator 2018-02-02 23:38:52 +01:00
Walter van Niftrik
236e5da6cc ADL: Fix build error 2018-02-02 22:53:00 +01:00
Walter van Niftrik
aba2961899 ADL: Refactor NIB image error handling 2018-02-02 22:18:25 +01:00
Walter van Niftrik
b497ec3065 ADL: Implement new detection method for disk images 2018-02-02 22:18:25 +01:00
Walter van Niftrik
4c3cb46bc8 ADL: Remove ADGF_TESTING for hires3+4 2017-11-11 23:41:59 +01:00
Walter van Niftrik
be0e1371e8 ADL: Remove ADGF_TESTING for hires5+6 2017-11-11 10:39:16 +01:00
Walter van Niftrik
12e1466168 ADL: Enable ADGF_TESTING for hires3 2017-07-29 12:09:11 +02:00
Walter van Niftrik
df2e4e8e2c ADL: Add hires3 support
Game starts up, but isn't playable yet
2017-07-25 14:08:40 +02:00
Walter van Niftrik
d272351055 ADL: Set ADGF_TESTING for hires4 2017-06-11 15:58:35 +02:00
Walter van Niftrik
4d25ed9638 ADL: Enable ADGF_TESTING for hires6 2017-02-23 16:38:06 +01:00
Walter van Niftrik
cca341804b ADL: Add detection entry for hires4 2017-02-21 11:35:31 +01:00
Walter van Niftrik
441f940069 ADL: Bring hires6 in line with hires5 2017-02-10 00:52:54 +01:00
Walter van Niftrik
2841dd2bc3 ADL: Set ADGF_TESTING for hires5 2017-02-02 11:58:37 +01:00
Walter van Niftrik
6b132706d3 ADL: Load hires5 data 2016-12-11 13:36:22 +01:00
Walter van Niftrik
a22e3bceac ADL: Add skeleton for hires5 2016-11-13 12:02:52 +01:00
Eugene Sandulenko
de715ca446 ADL: Enable hires0-3 for the release 2016-10-07 11:53:31 +02:00
Walter van Niftrik
f9590e4ef0 ADL: Fix detection entry for hires4-atari8 (#9561) 2016-09-17 10:08:39 +02:00
Walter van Niftrik
6e8d69524e ADL: Add md5sum for hires4-atari disk side 1B 2016-09-15 21:29:17 +02:00
Eugene Sandulenko
bfbfbd3e1a Merge pull request #788 from Tkachov/cloud
ALL: Add Cloud storage support
2016-08-30 13:54:12 +02:00
Walter van Niftrik
c1671b5d32 ADL: Add skeleton for hires4 2016-08-26 22:00:37 +02:00
Walter van Niftrik
e228b088c6 ADL: Set hires #1, #2 and #0 to TESTING 2016-08-24 21:05:22 +02:00
Alexander Tkachev
b665fc933d ALL: Make simpleSaveNames() a MetaEngineFeature
Added it into hasFeature() of all engines which returned `true` in
simpleSaveNames() before.

As mentioned in #788, SCI is not always using simple names, so it
doesn't have such feature now.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
ab1d160ec8 ALL: Add MetaEngine::simpleSaveNames()
Engines with "simple" savenames would support "Run in background" in
save/load dialog and gradual save slots unlocking. Other engines
save/load feature would be locked until save sync is over.
2016-08-24 16:07:55 +06:00
Walter van Niftrik
0470346ac0 ADL: Add initial support for #0: Mission Asteroid
Based on a patch by fuzzie
2016-08-23 00:36:38 +02:00
Walter van Niftrik
a5380b73f2 ADL: Use recently-added kPlatformApple2 2016-08-08 23:12:53 +02:00
Walter van Niftrik
9b9e4e957d ADL: Clarify mono/color game options 2016-08-08 23:12:53 +02:00
Walter van Niftrik
ae405707cc ADL: Add skeleton for hires6 2016-06-06 20:35:49 +02:00
Alyssa Milburn
5db8f401a8 ADL: Add detection entry for hires0 2016-06-06 20:35:49 +02:00
Walter van Niftrik
02563df422 ADL: Add support for hires1 disk image 2016-06-06 20:35:49 +02:00
Walter van Niftrik
3b67b07364 ADL: Set ADGF_UNSTABLE 2016-06-06 20:35:49 +02:00
Walter van Niftrik
e49085b49d ADL: Implement hires2 title screen 2016-06-06 20:35:49 +02:00
Walter van Niftrik
ee0c5e4452 ADL: Add skeleton for Hi-Res #2 2016-06-06 20:35:49 +02:00
Walter van Niftrik
9d65f901d0 ADL: Clarify detection entry 2016-03-09 10:03:13 +01:00
Walter van Niftrik
07d0997bef ADL: Clean up AdlMetaEngine 2016-03-09 10:03:13 +01:00
Walter van Niftrik
912a31fa65 ADL: Add monochrome and scanline rendering 2016-03-09 10:03:13 +01:00
Walter van Niftrik
84a9f6ce95 ADL: Add save game meta info support 2016-03-09 10:03:13 +01:00
Walter van Niftrik
ba54955bff ADL: Add loading from launcher 2016-03-09 10:03:13 +01:00
Walter van Niftrik
87e2c4c1a9 ADL: Rename game type 2016-03-09 10:03:13 +01:00
Walter van Niftrik
c8ab2909c6 ADL: Initial check-in for ADL engine 2016-03-09 10:03:13 +01:00