123162 Commits

Author SHA1 Message Date
Eugene Sandulenko
b85daf6066
GUI: Added optional file mask for FileBrowserDialog 2021-09-01 15:38:30 +02:00
alxpnv
3ea3147c46 ASYLUM: (Writings puzzle) add support for German and French texts 2021-09-01 15:11:38 +03:00
Thierry Crozat
500ee6539a AGS: Do not add the prefix twice when saving bitmaps
This happened when the bitmap is saved from a script as then
the path goes through ResolveScriptPath which already adds the
prefix.

The double prefix meant that when the script tried to read the
file, the name was different (as then it only has the prefix
added once) and this failed.

One game that does this is Strangeland.
2021-09-01 12:35:31 +01:00
Thierry Crozat
4e3033cf74 AGS: Use case insensitive comparison for prefix in ResolveScriptPath 2021-09-01 12:33:45 +01:00
alxpnv
4a306cf391 ASYLUM: fix encounter keywords in non-English Steam versions 2021-09-01 13:06:45 +03:00
alxpnv
58cdbeab45 ASYLUM: add detection entry for French Steam version 2021-09-01 13:04:10 +03:00
alxpnv
fbd610b3f9 ACHIEVEMENTS: Generated description files 2021-09-01 10:49:50 +03:00
alxpnv
8c3b3f5efa ASYLUM: fix paths for Steam versions 2021-09-01 10:23:56 +03:00
Lothar Serra Mari
a2b40f5327 ASYLUM: Add detection entry for German Steam version 2021-09-01 10:23:56 +03:00
Coen Rampen
36d395b2d1 CGE2: Stop current SFX before loading a new one
When loading a sound effect, the engine would deallocate the memory for the
currently playing sound effect, and stop playback afterwards. This commit
changes this to stop playback first, and then deallocate and load the new
sound effect.

This should fix the problem with the mixer accessing deallocated memory
reported in issue #12852.
2021-08-31 23:31:54 +02:00
Thierry Crozat
db91429405 AGS; Fix opening stream in append mode 2021-08-31 17:36:12 +01:00
Thierry Crozat
0ce133c5ca AGS: Fix restarting AGS games after returning to the launcher
The AGSPlatformDriver has an 'instance' static member variable
that was not rest to nullptr when the driver is deleted. This
caused trying to use a deleted driver when restarting an AGS
game after returning to the launcher.

This commit is a quick fix that properly sets this variable to
nullptr when the driver is deleted, but we may want to look
at the possibility to remove this variable altogether.
2021-08-31 17:32:33 +01:00
trembyle
b7e6e78200 JANITORIAL: DIRECTOR: Various fixes
* Correct alphabetic sorting throughout
* Whitespace and indentation fixes
* German translation fix for Bibi Film Studio
* Computer Music change from game to demo
* Punycode The Gate 2-3 paths to match The Gate 1
2021-08-31 11:44:44 +02:00
trembyle
1ee2722687 DIRECTOR: Expand detection for Rodney Greenblat
Adds more works by Rodney Alan Greenblat:
* Funscreen 2
* Wonder Window
* Art Brain
* Crying, Screaming Baby (Clickamajig)

Funscreen 1 was learned to be Director in original Mac floppy release,
and so was moved to the games section.

Thanks to ArtFluids on Discord for providing detailed background
information from correspondence with Rodney.
2021-08-31 11:44:44 +02:00
trembyle
66a25cd304 DIRECTOR: Add detection for German Mulle Meck games
Or Willy Werkel, as the games are named in German.

Thanks to Hypothalmus on Discord for the suggestion.
2021-08-31 11:44:44 +02:00
trembyle
39807eafd0 DIRECTOR: Add detection for new screen savers
Here are 19 new screen savers (D5-D7)
2021-08-31 11:44:44 +02:00
trembyle
ce29caf439 DIRECTOR: Add new shareware detection
* 24 new shareware titles and demos
* New Russian magazine covermounts
* Unsupported titles
2021-08-31 11:44:44 +02:00
trembyle
2a7da128d4 DIRECTOR: Add detection for BeachWare titles
These are all shareware releases. The full games can be unlocked with a
registration key.

Thank you to Elphive on Discord for extensive research in the Wayback
Machine and for providing information on the retail compilations.
2021-08-31 11:44:44 +02:00
trembyle
d47d9535f5 DIRECTOR: Add detection for new multimedia
* Added 57 new game IDs
* Plus additional entries for existing ones
2021-08-31 11:44:44 +02:00
trembyle
fe3278adfb DIRECTOR: Add detection for new games
This covers 50 new game IDs, plus new platforms and languages
for existing games.
2021-08-31 11:44:44 +02:00
trembyle
86f5d9447b DIRECTOR: Add detection for community discoveries
Many thanks for research and suggestions from Discord, email, etc.,
particularly sev, eientei, and Lemtom.

Special thanks to Fighter19 for providing information on German
Silly Noisy House, and to Elphive for finding Shelley Duvall's
It's a Bird's Life.
2021-08-31 11:44:44 +02:00
trembyle
1b6c8cec64 DIRECTOR: Add detection for games in new languages
This establishes detection for games in the new language codes.

* 10 unique Arabic games
* 2 unique Catalan titles
* 1 Catalan + 1 Flemish localization
* 1 potential Mexican Spanish localization

Also cleaned up indentation for Russian title comments and corrected
an existing entry with wrong language.
2021-08-31 11:44:44 +02:00
trembyle
05a27c3cfc COMMON: Add Macromedia/Adobe Shockwave as platform
These can be big- or little-endian. The development platform can be
autodetected based on RIFX/XFIR in header.

These games ran in Shockwave Player either as a standalone app or as
web browser plugins on Windows and Mac.

Shockwave game added as D6 detection entry as an example.
2021-08-31 11:44:44 +02:00
trembyle
8cea642962 COMMON: Add constants for new Director game languages
Catalan and Flemish use existing ISO/locale codes

Arabic uses generic ARB for country code. There is no clear country code
to apply here. We can take ARB to mean Arab League or Modern Standard
Arabic.

TODO: Consult Arabic speakers on country-level dialects
2021-08-31 11:44:44 +02:00
Martin Gerhardy
357a4c3460 TWINE: fixed issue #12842 (model is sliding when idling) 2021-08-30 22:04:41 +02:00
Martin Gerhardy
985d3501b0 TWINE: fixed shading for model rendering
see issue #12861 (Polygons more visible than they should be (no smoothing))
2021-08-31 07:09:01 +02:00
Martin Gerhardy
f837ae4aac TWINE: todo comments 2021-08-31 07:09:01 +02:00
Paul Gilbert
e455d1ba1a AGS: Simultate opening existing save files for read/write
When the open mode of kFile_Create is passed, files are
meant to be opened in read/write mode if they already exist,
rather than simply replacing them. The code of this commit
should allow this to be simulated, by opening the file first
for reading, and then duplicating into a new OutSaveFile for
writing
2021-08-30 21:45:09 -07:00
Filippos Karapetis
d260b1e9e6 DIRECTOR: LINGO: Add overloaded operators for Datum structs 2021-08-30 19:08:15 -04:00
Cameron Cawley
cd98ed87a4 PETKA: Fix rendering issue on first screen update 2021-08-30 23:27:13 +02:00
Cameron Cawley
2f4b38b093 PETKA: Fix crash on startup 2021-08-30 23:27:13 +02:00
Orgad Shaneh
390565727f SCUMM: Fix handling of Ctrl+Key in monkey1 and monkey2
There are several Ctrl+Key combinations that are accepted by the engine.
Most famous one is Ctrl+W, which is Instant Win on monkey1 (monkey2 uses
Alt+W, and has a similar hack for passing it correctly).

This used to work with ScummVM 1.9.0/SDL1, but broke with SDL2, and was
later broken further even for SDL1 in f5ed14e93d85.

Fixes #10644.
2021-08-30 23:13:35 +02:00
Thierry Crozat
4127d0a8fe AGS: Add some debug messages to ResolveScriptPath 2021-08-30 21:44:00 +01:00
Thierry Crozat
c4e7dde7ce AGS: Remove unused variable
This is not present in the upstream code either. I guess this was
part of some intermediate changes we did, but is no longer needed.
2021-08-30 21:44:00 +01:00
Coen Rampen
9e4ddd10c1 TOON: Add "Demo" to demo version descriptions 2021-08-30 22:33:05 +02:00
Coen Rampen
4425437ad2 TOON: Skip main menu for demo
The demo version of the game does not have a main menu; it immediately starts a
new game.
2021-08-30 22:33:05 +02:00
Coen Rampen
78b66ad14f TOON: Make Virgin logo movie optional for demo
Not all demo versions seem to include the Virgin logo movie, so skip playing it
if it does not exist.
2021-08-30 22:33:04 +02:00
Thierry Crozat
047f4a060b AGS: Flatten paths in the save directory
ScummVM does not support using sub-directories in the save directory,
so we flatten the path by replacing '/' with '-'.

This fixes saving and loading with the in-game dialogs in Strangeland.
Fixes bug #12864.
2021-08-30 21:15:53 +01:00
Filippos Karapetis
5bead291d6 STARTREK: Initial work on the texts of the German and French versions
This is still a proof of concept, and only some of the first room texts
have been added
2021-08-30 22:05:30 +03:00
Cameron Cawley
0d65c120b7 CREDITS: Add myself to the DS port credits 2021-08-30 19:11:03 +01:00
Filippos Karapetis
3f7e12f3fc SCUMM: Fix comment 2021-08-30 19:21:36 +03:00
Ben Castricum
86b7ca64a2 SCUMM: Indy4 - Put coat/window in office, fixes bug #12420
WORKAROUND bug #12420 (also occurs in original) Broken window and coat missing

This happens when you skip the cutscenes in the beginning, in particular
the one where Indy enters the office for the first time. If object 23 (National
Archeology) is in possession of Indy (owner == 1) then it's safe the force the
coat (object 24) and broken window (object 25) into the room to compensate for
the skipped code.
2021-08-30 19:21:36 +03:00
alxpnv
2fd785c12c ASYLUM: add support for Sanitarium Demo 2021-08-30 15:50:15 +03:00
Filippos Karapetis
99b334f90f STARTREK: Fix loading of files in non-English versions - bug 12712 2021-08-30 15:19:48 +03:00
djsrv
1ffe4b4a08 DIRECTOR: LINGO: Add invalid comparison test 2021-08-29 23:23:26 -04:00
djsrv
0fa9a79c70 DIRECTOR: LINGO: Fix invalid comparison results 2021-08-29 23:23:26 -04:00
Eugene Sandulenko
ba871e3177
GOB: Added detection for inca2-us v1.07. Bugreport #12757 2021-08-30 00:45:31 +02:00
Eugene Sandulenko
b07f300b68
AGOS: Added detection for Czech elvira1/elvira2. Bugreport #12017 2021-08-30 00:09:50 +02:00
Paul Gilbert
dffa1971c8 CRUISE: Hack to start end credits promptly after The End shows 2021-08-29 12:03:58 -07:00
athrxx
4d5b490695 SCUMM: (SCUMM8) - fix restart (F8) dialog glitch
During smush movie playback the engine simply wouldn't react to a restart attempt (except causing a palette glitch). Now it apparently works...

I'd still strongly discourage anyone from using this, since it might make the engine unstable (see the old comments in ScummEngine::restart()).
2021-08-29 18:06:57 +02:00