Commit graph

89638 commits

Author SHA1 Message Date
Thanasis Antoniou
e232d57855 BLADERUNNER: Restore KIA 3d model descriptions 2019-07-23 18:46:17 +03:00
Thanasis Antoniou
9a81e59d66 DEVTOOLS: BLADERUNNER: More quality fixes (codacy) 2019-07-23 17:46:15 +03:00
Thanasis Antoniou
7e41916be8 BLADERUNNER: fix code for targetStateMZ in PS11-PS13 (codacy) 2019-07-23 15:20:27 +03:00
Thanasis Antoniou
b7d1099658 BLADERUNNER: Fix minor code quality issues (codacy) 2019-07-23 14:51:27 +03:00
Thanasis Antoniou
1450a240a0 DEVTOOLS: BLADERUNNER: Code quality improvements (Codacy issues) 2019-07-23 12:50:44 +03:00
Thierry Crozat
5b3a087e97 I18N: Regenerate translations data file 2019-07-22 21:53:08 +02:00
athrxx
926388b8f4 SCI: (CMS sound driver) - add support for SCI0
I haven't found an elegant and non-intrusive way to squeeze SCI0 support into LordHoto's existing code. The drivers are too different. So I made some rearrangements. The basic mechanisms of LordHoto's SCI1 code should remain the same as before, though. I only introduced some more classes, moved some code into these classes and renamed some things (mainly for myself, so as not to get confused).

I fixed two voice mapping bugs in the existing driver code. The first bug in bindVocies() effectively hindered the driver from playing anything at all when the CMS_DISABLE_VOICE_MAPPING #define wasn't set (_voice[i].channel == 0xFF instead of _voice[i].channel != 0xFF). The second bug in unbindVoices() was not a complete show stopper, but the function simply did not "unbind the voice". The line which does the actual removal of the channel assignment was missing.

The SCI0 driver portions have been tested with: PQ2, KQ4, LSL3, QFG1, ICE and COC.

SCI_0_EARLY versions apparently don't support the CMS. At least I haven't seen a driver file so far. And there seems to be no no instrument patch resource. Although the latter issue needn't necessarily be one, since the patch data array in the driver is actually preset with data (which gets overwritten as soon as a patch file is loaded). Maybe this would work for SCI_0_EARLY. However, I haven't tested this, since I really would have have a look at a driver file first if one actually exists. For now, I have limited the driver to SCI_0_LATE.

SCI1 has been tested with KQ5 and LSL5 (not extensively, just to see whether anything got broken and whether my voice mapping fixes work).
2019-07-22 20:17:38 +02:00
athrxx
aecf194880 SCUMM: (iMUSE/Amiga) - minor fixes
- At at least one place in INDY4 the game attempts to send a Roland MT-32 patch to the Amiga driver. This will fail and thus not cause any harm, but I have added a check nonetheless. The original Amiga driver ignores sysex messages that don't have the iMuse manufacturer id 7D.
- In INDY4 the iMuse player thinks it has a percussion channel due to the fact that it plays ROL resources. This should also be irrelevant for the actual playback, but I have added a check for that, too.
2019-07-22 20:17:38 +02:00
Thanasis Antoniou
4d4c754750 DEVTOOLS: BLADERUNNER: More readme formatting fixes 2019-07-22 20:13:03 +03:00
Thanasis Antoniou
0b7654441d DEVTOOLS: BLADERUNNER: Readme formatting fixes 2019-07-22 19:43:12 +03:00
Cameron Cawley
79f8271b2d
README: Fix spacing of Codacy badge 2019-07-22 14:23:31 +01:00
sluicebox
c6929d50cf SCI: Fix CAMELOT relic merchant lockup
Fixes bug #11025
2019-07-22 07:57:07 +03:00
lolbot-iichan
02eb33f83f WINTERMUTE: Add detection for Italian demo of On the Tracks of Dinosaurs
NOTE: This is a 2.5D game that is out of ScummVM scope

Developer's Download page states that there are EN/RU/IT versions:
http://reptilesquest.000webhostapp.com/index.php?page=5
However, rq_demo_beta25_multilang.exe allows to select only EN/RU.
italian.dcp can be extracted from rq_demo_beta25_multilang.exe using any
tool for Inno Setup installer.
2019-07-22 07:56:13 +03:00
Eugene Sandulenko
2e6b2e9226 README: Added Codacity badge 2019-07-22 00:47:28 +02:00
Thanasis Antoniou
af9ec2f691 BLADERUNNER: Revert uint32 vars to int32 if they could be init to -1 2019-07-22 01:09:23 +03:00
lolbot-iichan
4e16711e47 WINTERMUTE: Fix misprint in "mentalrepairs" ID 2019-07-22 00:15:07 +03:00
lolbot-iichan
c593159dd8 WINTERMUTE: Fix language selection regression bug for Reversion
Ooops. Latest refactoring of those if/else blocks was wrong, as a result
Reversion 1&2 ignored all the xlanguage packages. Fixed.
2019-07-22 00:15:07 +03:00
angstsmurf
324d488dcb COMPOSER: Change unload library error to warning
This fixes Gregory and the Hot Air Balloon. See tracker #11021.
2019-07-21 23:30:46 +03:00
sluicebox
1441468855 SCI: Fix kDrawPic palette validation
Fixes CAMELOT bug #11024
2019-07-21 23:24:53 +03:00
Thanasis Antoniou
286054b857 BLADERUNNER: Avoid redundant calls to wordWrapText for the same text 2019-07-21 23:19:00 +03:00
sluicebox
886e18f936 SCI: Set PQ3 EGA detection entry's extra field 2019-07-21 11:52:19 -07:00
Paul Gilbert
b3ab0cf3ce JANITORIAL: Glk engine block formatting 2019-07-21 11:31:33 -07:00
sluicebox
954f5142cb SCI: Implement full kWait behavior
Fixes PQ3 bug #11020
2019-07-21 18:20:07 +03:00
scootergrisen
39551526b1 I18N: Update translation (Danish)
Currently translated at 100.0% (1089 of 1089 strings)
2019-07-21 13:14:06 +02:00
lolbot-iichan
695a671798 WINTERMUTE: More detection records (#1758)
* WINTERMUTE: Add detection and package filtering for Alpha Polaris

Source: https://steamdb.info/app/405780/depots/
NOTE: This is a 2.5D game that is out of ScummVM scope

* WINTERMUTE: Set exact engine version for Project Joe

Download:
http://public.ag.ru/vd/3f983a3b5daf485f6559e7ca1380e47b/demos/14118/joesetup.exe
This also fixes slider issue at Settings menu, since LATEST_VERSION has
sliders broken

* WINTERMUTE: Add detection for Everyday Grey

Fixes https://bugs.scummvm.org/ticket/6563
NOTE: This game seems to be mistakenly marked as 2.5D at Wintermute wiki
Download:
https://web.archive.org/web/20140824221311if_/http://www.krumbukt.com/UnityGames/Everyday_Grey_setup.rar

* WINTERMUTE: Add detection for Apeiron game

Download: https://www.moddb.com/games/apeiron

* WINTERMUTE: Add detection for Palladion demo

Download:
http://www.adventuresplanet.it/contenuti/demo/palladion_demo.exe

* WINTERMUTE: Add detection for Art of Murder: FBI Confidential

Adds checksums from https://bugs.scummvm.org/ticket/6532
NOTE: This is a 2.5D game that is out of ScummVM scope
Buy: https://store.steampowered.com/app/809000

* WINTERMUTE: Add detection for Mental Repairs Inc

This fixes https://bugs.scummvm.org/ticket/6528
Download:
https://games.softpedia.com/get/Freeware-Games/Mental-Repairs-Inc.shtml
NOTE: This is a 2.5D game that is out of ScummVM scope

* WINTERMUTE: Add detection for On the Tracks of Dinosaurs

NOTE: This is a 2.5D game that is out of ScummVM scope
Download: http://reptilesquest.000webhostapp.com/?page=5

* WINTERMUTE: Set engine version for J.U.L.I.A.

Fun fact: J.U.L.I.A. is using 3D features, however this game was
reported as completable with VFX low
Download demo:
http://www.adventuresplanet.it/contenuti/demo/julia_demo_setup.exe

* WINTERMUTE: Add detection for some versions of J.U.L.I.A.: Among the Stars

NOTE: This is a 2.5D game that is out of ScummVM scope

* WINTERMUTE: Add detection for J.U.L.I.A.: Untold

"J.U.L.I.A.: Untold" is a DLC game for "J.U.L.I.A.: Among the Stars"

Buy:
https://store.steampowered.com/app/360340/JULIAAmong_the_Stars__Soundtrack_Hintbook_Untold/
2019-07-21 09:04:41 +03:00
lolbot-iichan
ea98335f2d WINTERMUTE: Support CHARSET_TURKISH at StringUtil 2019-07-21 08:51:11 +03:00
lolbot-iichan
567a6b20e6 COMMON: Add conversion table for CP1254 2019-07-21 08:51:11 +03:00
angstsmurf
e5144e9590 COMPOSER: Don't crash when skipping invalid animations
Don't try to run a NULL animation. Fixes a crash in Gregory.
2019-07-20 08:06:49 +03:00
lolbot-iichan
a385172995 WINTERMUTE: Update Carol Reed series engine versions
Thanks to Albadross for collecting those versions:
https://bugs.scummvm.org/ticket/10863
2019-07-20 01:49:33 +03:00
Walter van Niftrik
2bb5ef5aeb ADL: Fix double listing in detector 2019-07-20 00:20:44 +02:00
Walter van Niftrik
85efc49e0e ADL: Add another hires6 detection entry 2019-07-19 22:42:00 +02:00
Walter van Niftrik
a721160982 ADL: Correct a variable name 2019-07-19 14:44:19 +02:00
Walter van Niftrik
c0a515bcf8 ADL: Add support for .WOZ floppy images 2019-07-19 14:24:43 +02:00
Walter van Niftrik
82ed1475f1 ADL: Refactor .NIB floppy image reading 2019-07-19 14:24:43 +02:00
dafioram
b3508245a0 BLADERUNNER: Make subtitles variable local (#1753) 2019-07-18 18:23:28 +02:00
Thierry Crozat
242cc18b35 I18N: Update translations templates 2019-07-18 10:16:40 +02:00
dafioram
a5cf99e686 BLADERUNNER: Improve variable name (#1752)
Prevent confusion with function.
2019-07-18 09:48:06 +02:00
Peter Kohaut
377cf606dd COMMON: Fix U32String initialization issues
Bug 1:
If the original C string contained chars > 127 they would be stored
as huge u32 numbers due to the underflow as char is signed.
It still might end-up with invalid UTF32 characters, but now the caller
can control it.

Bug 2:
The inline storage was not properly initialized when U32String was
initalized from shorter non-UTF32 strings.
2019-07-18 01:00:01 +02:00
jepael
afb9ff0048 SCUMM: (iMUSE/Amiga) - Fix compiler warning (#1751) 2019-07-17 21:10:39 +02:00
athrxx
a6bf63bc1a SCI: revert accidental commits 2019-07-17 20:46:32 +02:00
athrxx
f62f0c2db2 Merge branch 'master' of https://github.com/scummvm/scummvm into test 2019-07-17 20:40:12 +02:00
Cameron Cawley
b594d04cd1 BLADERUNNER: Fix compilation on AmigaOS 4 2019-07-17 19:05:16 +01:00
Thanasis Antoniou
caa4578add BLADERUNNER: Use unsigned 32bit diff for time durations 2019-07-17 19:09:15 +03:00
Thanasis Antoniou
d1ff73cbb3 BLADERUNNER: Replace difficulty values with proper enum 2019-07-17 19:09:13 +03:00
athrxx
59f1e7aa48 SCI: (FB01 sound driver) - SCI0_LATE fix
Fix up SCI0_LATE variant of the driver so that it actually plays anything (and even correctly). SCI1 hasn't seen any testing from me so far. I don't know whether that version works. Same for SCI0_EARLY...
2019-07-17 17:38:26 +02:00
athrxx
77dbefb907 SCI: (CMS sound driver) - add support for SCI0
I haven't found an elegant and non-intrusive way to squeeze SCI0 support into LordHoto's existing code. The drivers are too different. So I made some rearrangements. The basic mechanisms of LordHoto's SCI1 code should remain the same as before, though. I only introduced some more classes, moved some code into these classes and renamed some things (mainly for myself, so as not to get confused).

I fixed two voice mapping bugs in the existing driver code. The first bug in bindVocies() effectively hindered the driver from playing anything at all when the CMS_DISABLE_VOICE_MAPPING #define wasn't set (_voice[i].channel == 0xFF instead of _voice[i].channel != 0xFF). The second bug in unbindVoices() was not a complete show stopper, but the function simply did not "unbind the voice". The line which does the actual removal of the channel assignment was missing.

The SCI0 driver portions have been tested with: PQ2, KQ4, LSL3, QFG1, ICE and COC.

SCI_0_EARLY versions apparently don't support the CMS. At least I haven't seen a driver file so far. And there seems to be no no instrument patch resource. Although the latter issue needn't necessarily be one, since the patch data array in the driver is actually preset with data (which gets overwritten as soon as a patch file is loaded). Maybe this would work for SCI_0_EARLY. However, I haven't tested this, since I really would have have a look at a driver file first if one actually exists. For now, I have limited the driver to SCI_0_LATE.

SCI1 has been tested with KQ5 and LSL5 (not extensively, just to see whether anything got broken and whether my voice mapping fixes work).
2019-07-17 17:38:26 +02:00
athrxx
d988e40e25 SCI: (PC98 audio driver) - base tempo correction
(somewhat difficult to make out any difference, but it does affect the envelope processing)
2019-07-17 17:38:26 +02:00
athrxx
ea9e7df0a8 CINE CP 2019-07-17 17:38:25 +02:00
athrxx
96dc86ca97 SCI CP
Conflicts:

	engines/sci/engine/script_patches.cpp
2019-07-17 17:38:25 +02:00
athrxx
97ea9fd704 KYRA: (EOB/Amiga) - t 2019-07-17 17:38:24 +02:00