786 Commits

Author SHA1 Message Date
eddebaby
014e539827
TINSEL: Add detection for Discworld 1 PSX Ger/Jap PSX versions
Follow up on: https://bugs.scummvm.org/ticket/11368

Adds detection for German Playstation version.
Also corrects detection of Japanese Playstation version.

Files need to be extracted/split correctly from DISCWLD.LFD/DISCWLD.LFI. I will attach a QuickBMS script to the PR, which can be used on the German and Japanese CDs to extract the data, or could be used to inform handling the LFD/LFI files directly in ScummVM. The QuickBMS script mention in the above request ticket isn't quite right for the Discworld 1 files.

getSampleIndex and getSampleFile in tinsel.cpp now fallback to ENGLISH files if they fail to find (e.g.) GERMAN.IDX.

This was an easy way to add support for the PSX German CD, without breaking the German DOS CD, Japanese PSX CD etc.

The German PSX version should be as compatible as the English PSX version.

The Japanese PSX version subtitles are not supported, and cause ScummVM to crash when you first try to hover over an object. However, you can view the intro cutscene, and hear the audio.
2021-06-25 00:09:43 +03: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
bea68bb58c TINSEL: 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
LKramer
31265970bb
TINSEL: Discworld Noir: Support for opcode 217. (#2988)
This adds support for opcode 217. I have made the assumption that it's
voiceover, and given it an enum value to reflect that. This enables
voiceover to be played in the opening movie.
2021-05-03 19:09:00 +02:00
Donovan Watteau
e60e0b8f20 TINSEL: Fix uninitialized numPolygons value for Discworld 1 Floppy Demo V0
numPolygons was left uninitialized for the original V0 demo, so it could be
set to a big value which would trigger assert(numPolys <= MAX_POLY) in
MaxPolygons() and immediately crash the game.

This restores the implicit behavior before commit 24b77f1e994.
2021-05-01 21:11:52 +03:00
Donovan Watteau
5dbcf6f739 TINSEL: Fix numPolygons read on big-endian systems 2021-05-01 21:11:52 +03:00
Eugene Sandulenko
43f9d85eef
TINSEL: Fully revert accidental change to English detection entry
It was introduced in 1c63d9b9581ec9cb307d98ed44e352df9050d4d1 then
partially reverted in 826ad61d866bb34c830248287f51ef4c943e10d0

This reverts it fully, as now we are showing a warning to the users
that the DW2 CD version 2 is unstable
2021-04-25 02:32:19 +02:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Martin Gerhardy
4b4aef790f TINSEL: fixed compilation error 2021-03-27 19:18:40 +01:00
Eugene Sandulenko
f2cbf19786 TINSEL: Use ScummVM data types 2021-03-27 19:12:11 +01:00
Orgad Shaneh
f835d1cebc TINSEL: Fix Clang warning
../scummvm/engines/tinsel/tinlib.cpp:1610:3: warning: variable 'playfield' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized]
                CORO_INVOKE_ARGS(PlayFilmc, (CORO_SUBCTX, hFilm, x, y, 0, false, false, myEscape != 0, myEscape, bTop, playfield));
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../scummvm\common/coroutines.h:226:17: note: expanded from macro 'CORO_INVOKE_ARGS'
                        return; case __LINE__:; \
                                     ^~~~~~~~
<scratch space>:143:1: note: expanded from here
1610
^~~~
../scummvm/engines/tinsel/tinlib.cpp:1610:106: note: uninitialized use occurs here
                CORO_INVOKE_ARGS(PlayFilmc, (CORO_SUBCTX, hFilm, x, y, 0, false, false, myEscape != 0, myEscape, bTop, playfield));
                                                                                                                       ^~~~~~~~~
../scummvm\common/coroutines.h:222:12: note: expanded from macro 'CORO_INVOKE_ARGS'
                        subCoro ARGS; \
                                ^~~~
../scummvm/engines/tinsel/tinlib.cpp:1592:20: note: initialize the variable 'playfield' to silence this warning
        OBJECT** playfield;
                          ^
                           = nullptr
2021-03-24 01:11:12 +02:00
D G Turner
27b8a47297 TINSEL: Fix Signed vs. Unsigned Comparison GCC Compiler Warnings 2021-03-18 23:36:40 +00:00
Orgad Shaneh
dfea702e07 TINSEL: Add a missing case to switch statement
It's not really needed, only to satisfy the compilers.
2021-03-15 23:09:07 +00:00
Einar Johan Trøan Sømåen
040ab7f68b
TINSEL: Map STAND 2021-03-08 23:03:23 +01:00
Einar Johan Trøan Sømåen
bb4ce21bb0
TINSEL: Map HAVE 2021-03-08 23:03:22 +01:00
Einar Johan Trøan Sømåen
ae60814dde
TINSEL: Map TALKVIA 2021-03-08 22:43:54 +01:00
Peter Kohaut
cfea90a261 TINSEL: Fixed video palette glitch 2021-03-06 21:03:20 +01:00
Peter Kohaut
876a6a47c9 TINSEL: Fixed resolution for NOIR 2021-03-06 20:59:24 +01:00
Peter Kohaut
b4cebc67c4 TINSEL: Removed binary literals 2021-03-06 18:12:29 +01:00
Peter Kohaut
01b42e8357 TINSEL: Added video decoding for V3
Still no sound
2021-03-06 17:50:57 +01:00
Peter Kohaut
5b3a45abc1 TINSEL: Fixed polygon loading for V3 2021-03-06 17:46:14 +01:00
Einar Johan Trøan Sømåen
32c4ee5588
TINSEL: Map POSTTAG 2021-03-06 15:04:52 +01:00
Einar Johan Trøan Sømåen
0876f73eaa
TINSEL: Fix off-by-one in RANDOM logging 2021-03-06 13:29:52 +01:00
Einar Johan Trøan Sømåen
c4fbd14b9e
TINSEL: Map PRINTTAG 2021-03-06 13:28:27 +01:00
Einar Johan Trøan Sømåen
5b2c2637fc
TINSEL: Map SHOWTAG 2021-03-06 13:26:30 +01:00
Einar Johan Trøan Sømåen
891001657f
TINSEL: Map CALLTAG 2021-03-06 13:26:29 +01:00
Einar Johan Trøan Sømåen
d79d68f0c5
TINSEL: Map HIDETAG 2021-03-06 13:26:29 +01:00
Peter Kohaut
e59a470db3 TINSEL: Updated addional drawing routines for v3
Implemented playing of films of objects (not movies).
Fixed rendering of the main menu.
Increased the size of parameters of coroutines.
2021-03-04 20:45:32 +01:00
Le Philousophe
b5c67b9ae0 TINSEL: Fix build when MP3 decoding isn't available 2021-03-04 14:01:28 +01:00
sluicebox
93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
Einar Johan Trøan Sømåen
160f5297f4
TINSEL: Map PLAYSAMPLE, and set sample data to MP3 in Noir 2021-03-01 22:32:47 +01:00
Einar Johan Trøan Sømåen
bd44a9d597
TINSEL: Map RANDOM 2021-03-01 22:17:14 +01:00
Einar Johan Trøan Sømåen
e31fbf6766
TINSEL: Map ACTORPRIORITY 2021-03-01 22:15:16 +01:00
Einar Johan Trøan Sømåen
ee57db6c75
TINSEL: Stub library function 217 2021-03-01 22:12:43 +01:00
Einar Johan Trøan Sømåen
b9e4f24e86
TINSEL: Stub library function 225 2021-03-01 22:09:43 +01:00
Einar Johan Trøan Sømåen
4320fff786
TINSEL: Stub library function 228 2021-03-01 22:06:16 +01:00
Einar Johan Trøan Sømåen
7543ee52e7
TINSEL: Map and partially implement FADEMUSIC 2021-03-01 22:04:00 +01:00
Einar Johan Trøan Sømåen
497ff53c94
TINSEL: Map SHOWMENU 2021-03-01 21:52:25 +01:00
Einar Johan Trøan Sømåen
483ead52dd
TINSEL: Implement music playback for Discworld Noir 2021-03-01 21:52:25 +01:00
Einar Johan Trøan Sømåen
5901737aa7
TINSEL: Map WHICHCD 2021-02-28 00:36:25 +01:00
Einar Johan Trøan Sømåen
944dcd276e
TINSEL: Map KILLPROCESS 2021-02-28 00:30:29 +01:00
Einar Johan Trøan Sømåen
c0d5ca6fad
TINSEL: Map ENDACTOR 2021-02-28 00:26:59 +01:00
Einar Johan Trøan Sømåen
103436dc90
TINSEL: Map HIDEACTOR 2021-02-28 00:26:50 +01:00
Einar Johan Trøan Sømåen
760c22c5fc
TINSEL: Map SHOWACTOR 2021-02-28 00:20:49 +01:00
Peter Kohaut
3ea299fca6 TINSEL: Updated drawing routines for V3
Updated drawing of the background
Implemented drawing of transparent sprites
2021-02-26 10:22:18 +01:00
Einar Johan Trøan Sømåen
e8111e282b
TINSEL: Fix uninitialized pFilm in StartupBackground for Noir 2021-02-23 22:13:30 +01:00
Einar Johan Trøan Sømåen
d6fd5c821a
TINSEL: Map and stub PLAY 2021-02-17 00:35:52 +01:00
Einar Johan Trøan Sømåen
deee5defc6
TINSEL: Map SYSTEMVAR 2021-02-17 00:35:51 +01:00
Einar Johan Trøan Sømåen
61d43d2f65
TINSEL: Map CURSORXPOS / CURSORYPOS 2021-02-17 00:35:51 +01:00