Commit Graph
89422 Commits
Author SHA1 Message Date
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
athrxx 4c45f9f39f SCUMM: (iMUSE/Amiga) - fix INDY4 instruments handling
FOA Amiga uses 'ROL ' resources (unlike MI2 which has 'AMI ' resources). So our imuse player treated those as MT32 tracks playing on a non-MT32 device and applied GM mapping. Which of course messed up the instruments.
2019-07-17 17:26:52 +02:00
athrxx 4c6ff7843f SCUMM: remove unused declarations
(several function declarations in imuse_internal.h)
2019-07-17 17:26:52 +02:00
athrxx 7478cffd88 SCUMM: (iMUSE/Amiga) - cleanup 2019-07-17 17:26:51 +02:00
Walter van Niftrik e937838b91 ADL: Add support for Serenia data blocks 2019-07-17 11:42:23 +02:00
Walter van Niftrik 14bfe02b81 ADL: Add support for 40/8/512 PC raw disk images 2019-07-17 09:54:14 +02:00
Walter van Niftrik f4f4d6119f ADL: Remove opcode counts from script interface 2019-07-17 08:41:34 +02:00
Peter Kohaut 39e4fdb98c BLADERUNNER: Use ScummVM word wrapping algorithm 2019-07-16 21:56:33 +02:00
Peter Kohaut a767a6800d BLADERUNNER: Added TTF & UTF8 support for subtitles 2019-07-16 21:32:34 +02:00
Peter Kohaut ffbfe90afa BLADERUNNER: Ajdust font interface to ScummVM's one 2019-07-16 21:32:34 +02:00
lolbot-iichan 0781584dfc WINTERMUTE: Suppress warning on Directory.Create() for Hamlet 2019-07-16 20:24:42 +03:00
lolbot-iichan ed635a5b01 WINTERMUTE: Fix File.WriteText method
Removed unnecessary '\0' byte written after a string. Reasons to remove:

1. Hamlet game does not write 0 after string when running this code:
var SomeFile = new File((Game.SaveDirectory + "\gamelet.save"));
SomeFile.OpenAsText(2);
SomeFile.WriteText(LVL_N);
SomeFile.Close();

2. Original WME does not have this:

https://github.com/retrowork/Wintermute-Engine/blob/master/src/engine_core/wme_base/SXFile.cpp#L303
2019-07-16 20:24:42 +03:00
lolbot-iichan 614dfdfbe3 WINTERMUTE: Implement loading files using SavefileManager 2019-07-16 20:24:42 +03:00
lolbot-iichan 9eca2b4c54 WINTERMUTE: Implement saving files using SavefileManager 2019-07-16 20:24:42 +03:00
lolbot-iichan a96d127b1f WINTERMUTE: Fix assertion in Hamlet game
Assertion was caused by providing "saves/" prefixed string to
WindowsFilesystemNode::getChild() function, that asserts on '/'
characters.

Wintermute game code:
if(!(Game.FileExists((Game.SaveDirectory + "\gamelet.save")))) {
Directory.Create(Game.SaveDirectory);
}
...

Assertion stack:
from C:\WINDOWS\System32\KernelBase.dll
from C:\WINDOWS\System32\msvcrt.dll
(this=0xcfdf710,
n=...) at backends/fs/windows/windows-fs.cpp:158
n=...)
at common/fs.cpp:68
(filename=...)
at engines/wintermute/base/file/base_disk_file.cpp:76
at engines/wintermute/base/file/base_disk_file.cpp:105
this=0x50795e0, filename=...)
at engines/wintermute/base/base_file_manager.cpp:326
(this=0xcea72f0,
script=0xcf657d0, stack=0xcf6a2e0, thisStack=0xcf69ee0,
name=0xcfd8870 "FileExists") at
engines/wintermute/base/base_game.cpp:1523
...
2019-07-16 20:24:42 +03:00
lolbot-iichan 4bb82a8dae WINTERMUTE: Add dummy implementation of Directory global object
Source:
http://docs.dead-code.org/wme/generated/scripting_ref_directory.html
2019-07-16 20:24:42 +03:00
lolbot-iichan 64406b09a8 WINTERMUTE: Add detection tables for all non-English versions of Hamlet
Source: https://steamdb.info/app/222160/depots/
2019-07-16 20:24:42 +03:00