87093 Commits

Author SHA1 Message Date
Cameron Cawley
79a4e3f813 BACKENDS: Remove references to the GP32 backend 2018-11-04 21:38:45 +00:00
Thierry Crozat
e4ff1929aa ZVISION: Only add mpeg video engine options when mpeg and a52 are enabled 2018-11-04 22:33:22 +01:00
Thierry Crozat
e2935acfe4 ZVISION: Disable MPEG movies when liba52 is not enabled 2018-11-04 22:33:22 +01:00
Torbjörn Andersson
71910c2283 ZVISION: Set 800x600 mode for the DVD version of ZGI
This allows the backend to show the hi-res videos at full
resolution, rather than scaling them down.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson
7c58534f4f VIDEO: Add buffering demuxer to MPEG-PS decoder
In all my attempts to get the audio and video to sync up in the
ZGI videos, there have always been 9-10 frames of video before the
audio even starts, even though the audio is timestamped to start
before. This attempts to fix that by prioritizing sending audio
packets to the decoder in a timely fashion.

I do not know if this is the correct way of doing this, and there
are still some things that need to be fixed. But pragmatically, it
does procude significantly better sync, so...
2018-11-04 22:33:22 +01:00
Torbjörn Andersson
a5b5b68a1a VIDEO: Use all video PTS's
Sometimes (only at the very start of a movie?) there will be a
video packet that has a PTS but no frame to display. Save that PTS
and use it for the next frame. This doesn't actually improve
anything, as far as I can tell, but feels right.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson
1255e8de4d VIDEO: Removed _psmESType
We weren't doing anything with it anyway. And I'm not sure it's
even available in the ZGI videos.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson
1d69564876 VIDEO: Moved MPEGStream creation out of readNextPacket()
I think it makes things easier to read, and I have some ideas
that I want to try which should be easier this way...
2018-11-04 22:33:22 +01:00
Torbjörn Andersson
ac40828ed2 VIDEO: Make the video pts sync easier to understand 2018-11-04 22:33:22 +01:00
Torbjörn Andersson
b672a694b9 VIDEO: Synchronize video to pts timestamps
This is another attempts at improving the audio/video sync in the
MPEG-PS decoder. Unfortunately, the audio probably also needs to
be synced to its pts timestamps...
2018-11-04 22:33:22 +01:00
Torbjörn Andersson
d4f8b330d6 IMAGE: Honor nb_fields when calculating frame duration
From what I understand, this has something to do with the image
being either made up from two or three parts. When it's made from
three parts, the frame should be displayed for half again as long
as normal.

This makes the speed of the Zork: Grand Inquisitor video look
about right to me. It's still out of sync, but it doesn't seem to
get *more* out of sync as the video progresses.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson
43b29a93d7 VIDEO: Use the standalone AC-3 decoder in the MPEG-PS code
This code comes from clone2727's now defunct (?) ac3 branch, with
some minor compile fixes. This represents the latest version of
the stalled AC-3 decoder work for Zork: Grand Inquisitor. Note,
however, that I have not yet asked for clone2727's permission to
use this. I'm just experimenting.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson
6705b6df9e AUDIO: Add a separate AC-3 decoder
This code comes from clone2727's now defunct (?) ac3 branch.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson
ef70af5e99 VIDEO: Some minor cleanups to the AC-3 decoder 2018-11-04 22:33:22 +01:00
Torbjörn Andersson
e6abe39752 VIDEO: Skip DVD code. The sound plays, but audio/video sync is off
Like most things that make this branch actually work, this comes
from clone2727.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson
4cc71d42a2 ZVISION: Play hi-res videos, even if they have no low-res version
This is used for some logo animations at the start of the game. I
don't know if it's used for anything else, but probably not.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson
89ec9766a1 VIDEO: After figuring out sample rate, rewind the AC-3 stream 2018-11-04 22:33:22 +01:00
Torbjörn Andersson
ad41dfb7ff VIDEO: Committed fixes from clone2727
This collects the whole frame before trying to decode it. It's
still now working right, but it's way better than it was before.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson
e9052a0085 ZVISION: Enable hi-res videos for testing purposes 2018-11-04 22:33:22 +01:00
Torbjörn Andersson
fc7fa1de3a VIDEO: Use liba52 to decode audio. This is still laughably broken
At the moment, this produces nothing but misery in the form of
Valgrind warnings and horrible noise.
2018-11-04 22:33:22 +01:00
Torbjörn Andersson
8b692f8d89 CONFIGURE: Add detection of liba52
This is for an experiment aiming to decode audio for the hi-res
videos in Zork: Grand Inquisitor. I don't know if we want to add
a dependency on liba52, but the license should allow us to include
the code verbatim, if that's preferrable.
2018-11-04 22:33:22 +01:00
Cameron Cawley
14bdaae4d5 BUILD: Add missing libraries to Travis CI build 2018-11-03 23:31:32 +00:00
D G Turner
58bb26938a GROOVIE: Add Detection Entry for 11th Hour English Windows Variant
This is a 4CD release, with date inside the disk.1 file of August 14th
1995.
2018-11-03 22:40:38 +00:00
Cameron Cawley
60365dc0da ANDROID: Fix a -Wformat-security warning 2018-11-03 20:29:01 +00:00
D G Turner
1c9fbf9547 GOB: Correct Crousibat Detection Entry to European Portuguese.
This fixes bug Trac #10791.
2018-11-03 17:14:18 +00:00
D G Turner
4c4ede54b9 COMMON: Add Portuguese (Portugal) Language.
The current Portuguese entry is Brazilian dialect, so modifying the
description and adding an entry for European Portuguese.

This is required to deal with bug Trac #10791.
2018-11-03 17:13:54 +00:00
Scott Thomas
75c6f2fd60 GROOVIE: Fix GMM loads, block saves in a puzzle
Loading and returning from subscripts alters the _variables
used, thus are not guaranteed to create a valid save state.
Loading a save should be valid at any time, as long as the
active script being run is restored to the base game script.
2018-11-03 15:15:32 +00:00
Ľubomír Remák
0c340485e0 MUTATIONOFJB: Draw bitmaps.
Implement RB (bitmap visibility) command.
Implement stub for FLX and FLB (play animation) commands.
2018-11-02 23:26:58 +01:00
athrxx
fc0f83ef9b KYRA: fix EOB II sound glitch
This is a workaround for a premature sfx (original code/script bug) in a specific sequence in catacombs level 2.
2018-11-02 16:47:30 +01:00
athrxx
016b251799 KYRA: - fix EOB II graphics glitch
Catacombs level 3 doors were not drawn completely.
2018-11-02 13:08:39 +01:00
Kirben
b749116cbe WIN32: Correct typo in Inno Setup script. 2018-11-01 08:19:31 +11:00
Matan Bareket
5ed1a3dab4 I18N: Update translation (Hebrew)
Currently translated at 26.8% (268 of 1000 strings)
2018-10-31 21:20:40 +01:00
athrxx
12197afd2f SCI: - minor fix to FM-TOWNS sound driver
- workaround to fix music playback in Mixed Up Mothergoose
- remove a useless declaration
2018-10-31 20:47:04 +01:00
Thierry Crozat
4a1e97edd2 I18N: Add UI language name for Hebrew translation 2018-10-31 19:29:57 +00:00
Thierry Crozat
1402826e07 I18N: Convert Hebrew po file to ISO-8859-8
ScummVM only supports 8 bits encoding, so we cannot use UTF-8.
Also the encoding specified in the file was actually already
ISO-8859-8, which means it was inconsistent with the one used.
Hopefully this will fix the charset error reported by Weblate.
2018-10-31 18:56:56 +00:00
Michał Janiszewski
cf9690f6b6 GUI: Fix duplicate include guard
The guard clashed with engines/dialogs.h
2018-10-31 18:53:28 +00:00
Ľubomír Remák
b87391338e MUTATIONOFJB: Add basic support for RABLOAD command.
Also fix an issue with parsing IF command.
This commit makes the game completable (with many issues).
2018-10-31 19:19:41 +01:00
lotharsm
3fb3f659f7 WIN32: Add "Hebrew" as language option to the Inno Setup
Requires https://github.com/jrsoftware/issrc/blob/master/Files/Languages/Hebrew.isl
2018-10-31 14:12:24 +01:00
Ľubomír Remák
176c87dd4a MUTATIONOFJB: Add stub for switching game chapter. 2018-10-30 18:56:37 +01:00
Andrei Prykhodko
53aefd442a PINK: added detection entry for Danish version 2018-10-29 20:59:47 +02:00
Matan Bareket
08bc562dd9 I18N: Update translation (Hebrew)
Currently translated at 10.0% (100 of 1000 strings)
2018-10-28 19:52:56 +01:00
athrxx
cf1270086d KYRA: (EOB) - fix broken quickstart party
regression from 00e59a31 - savegames without thumbnails (like the quickstart party) would raise an error message.
2018-10-28 19:52:04 +01:00
Thierry Crozat
cc1e43bd2d IOS: Disable code using safeAreaInsets when compiling with iOS SDK 10 or below 2018-10-28 18:08:38 +00:00
sluicebox
bc8b97cf1c SCI32: Remove GK1 French/Spanish CD SysLogger hotkey (#1366)
Removes a problematic active debug hotkey, bug #10781
2018-10-28 19:49:15 +02:00
sluicebox
a48b2f3cfd SCI32: Fix GK1 floppy Magentia missing message (#1367)
Fixes a missing message error in floppy version. bug #10782
2018-10-28 19:48:17 +02:00
Thierry Crozat
b41a3a518a IOS: Attempt to fix compilation with pre-iOS 11 SDK 2018-10-28 17:40:56 +00:00
Thierry Crozat
1f8b4a430f IOS: Fix missing brackets 2018-10-28 17:27:52 +00:00
Yoshi Sugawara
b4bad9100a IOS: Support building in Xcode 10/iOS 12, and for iPhone X-like devices that have a "safe area"
iOS 12 drops support for libstdc++, so the project needs to be compiled explicitly using libc++.
Support the "safe area" when redrawing the view to leave space for the notch in portrait and
landscape orientations.
2018-10-28 17:16:06 +00:00
Ľubomír Remák
d4087d7902 MUTATIONOFJB: Allow completion of first chapter.
Implement dummy SPECIALSHOW command (skip puzzle).
Fix NEWROOM command parsing.
Fix use action on inventory items.
Fix interaction with certain doors.
2018-10-28 17:45:26 +01:00
athrxx
bd58c0702b KYRA: (LOL) - fix for ticket #9831 (Lands of Lore: Japanese text is displayed overlapping)
It seems that I broke this after 1.5.0 in 2013 when adding support for the FM-Towns version.
2018-10-28 15:48:48 +01:00