Commit Graph
130 Commits
Author SHA1 Message Date
Vladimir Serbinenko 2bd777c926 KYRA: Support files for installed multi-floppy mac kyra1
This is the case for multi-floppy installer when installed or
extracted.
2022-12-08 19:06:12 +01:00
Vladimir Serbinenko d7aa54bf30 KYRA: Support multi-floppy installer 2022-12-08 00:02:39 +01:00
Vladimir Serbinenko 1b90cea645 KYRA: Support loading stuffit archive from abstract stream
Multi-floppy installer needs to use a fake stream composed from several
real files.
2022-12-08 00:02:39 +01:00
Vladimir Serbinenko 9f4d744b46 KYRA: Store cached installer mac archive as its simple name
This avoids the complexity of discovering its name again.

It makes supporting multi-floppy installer much less hairy as well
2022-12-08 00:02:39 +01:00
Vladimir Serbinenko 2c8fd71b47 KYRA: Switch to openFileOrDataFork 2022-12-08 00:02:39 +01:00
Eugene Sandulenko fb7095f5a4 COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Cameron Cawley ef07d1621e KYRA: Use SeekableReadStreamEndianWrapper 2022-11-29 00:06:49 +01:00
Le Philousophe dbe47a28ba KYRA: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
athrxx 3a49ea6248 KYRA: reduce unsafe string ops
(replace all strcpy calls and similar fixes)
2022-09-22 21:01:16 +02:00
athrxx 7b26a8f602 KYRA: add comment 2022-09-21 00:18:08 +02:00
athrxx 424eb6d7a7 KYRA: (DOS/Floppy) - add some sanity checks/errors
(these never get triggered, but this isn't obvious, neither to static checkers nor to human beings)
2022-09-21 00:16:48 +02:00
athrxx 9d5155c475 KYRA: (LOK/Mac) - revert 4a287834 and make a different fix
The Mac version is supposed to always use the ENG main screen (with the text-free jewel button).
2022-08-14 16:09:31 +02:00
athrxx bf373f7454 KYRA: fix warnings 2022-08-13 16:59:14 +02:00
athrxx 4a28783478 KYRA: (LOK/Mac) - priorize resource files that match the selected language
The talkie version seems to have file versions for all supported languages in the game folder. So we try the ones that match our language first.
2022-08-13 16:51:33 +02:00
athrxx eb6a769085 KYRA: (LOK/Mac) - fix talkie version
The talkie version was silently killed while we completed the support for the regular Mac version.

Also cleanup all the LOK static resources a bit (remove garbage offsets).
2022-08-13 16:51:22 +02:00
athrxx ff5a1cb2ae KYRA: cleanup static resource loader
(the latest changes were a bit on the ugly side)
2022-06-28 23:59:38 +02:00
athrxx 22e33f97b9 KYRA: (MR/ZH) - fix ZH font issue when language is set to other than ZH (Step 2)
Allow reloading individual kyradat resources with a different language. Until now, our multi-language games did not require this, but for more or less random reasons (e. g. it just isn't possible to restart the intro or the main menu after changing the language ingame). However, the Chinese MR versions require this for the font loading.
2022-06-28 00:36:37 +02:00
BLooperZ 18526d0fb2 KYRA: MR: Remove useInstallerPackage flag from detection 2022-06-27 22:16:53 +02:00
BLooperZ b03d209c52 KYRA: Support hebrew fan translation of MR 2022-06-26 11:25:49 +02:00
athrxx 383bdddf7a KYRA: (LoK/KOR) - fix death dialog size
(also adjust quit and options menu a bit)
2022-06-14 01:24:29 +02:00
athrxx a6fb73725a KYRA: (LoK/KOR) - fine tune ingame menus 2022-06-09 00:49:05 +02:00
athrxx 4670159f26 KYRA: (LoK/KOR) - inital font support
This is still glitchy and will need some more polishing, but at least the intro runs...
2022-06-09 00:49:05 +02:00
eientei 7c0659d859 KYRA: Extract Korean strings, preliminary work 2022-06-09 00:49:05 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
athrxx a939862cec KYRA: (LoK/Mac) - add support for low quality music
(the driver support was already there, this commit just adds the additional menu setting and the necessary adjustments)
2021-12-17 20:29:26 +01:00
athrxx 63747963b3 KYRA: (LoK/Trd. Chinese) - fix Kyrandia logo glitch
The animation has been modified so that the frame numbers don't match. The sequence data needs to be modified accordingly...
2021-12-05 18:48:55 +01:00
athrxx ea0c0ec4a5 KYRA: (LoK/Mac) - add specific static data for Mac version
We used the DOS data before.
This fixes the final credits for the stuffit installer version and allows to get rid of some hacks.
2021-12-03 13:58:34 +01:00
athrxx 1e51f16572 KYRA: (LOK/HOF/Traditional Chinese) - more fixes to save/load menus 2021-12-01 22:39:33 +01:00
athrxx f436ebbeb0 KYRA: (HOF/Traditional Chinese) - fix ingame texts
(adjust ui, text formatting, menus, etc)
2021-12-01 22:39:24 +01:00
athrxx ad05db611d KYRA: (HOF/Traditional Chinese) - fix intro and main menu 2021-12-01 22:38:35 +01:00
athrxx d9850a2d78 KYRA: (HOF/Traditional Chinese) - add static resources 2021-12-01 22:37:59 +01:00
Torbjörn Andersson 23e3acba0f KYRA: Only create MacResManager when needed 2021-11-22 18:39:23 +01:00
athrxx 18f1382412 KYRA: (LoK/Mac) - cleanup installer archive retrievement
(replace my own ugly code from a7918a49)
2021-11-22 18:39:23 +01:00
Torbjörn Andersson 3054e32278 KYRA: Move Mac file finding code into Util
We use the same method for finding both the unpacked Legend of Kyrandia
executable and the Legend of Kyrandia installer, so there's no need for
duplicate code.
2021-11-22 18:39:23 +01:00
athrxx cb1a6a0e38 KYRA: (LoK/Mac) - cleanup Stuffit code
(get rid of separate archive object in the sound code)
2021-11-22 18:39:23 +01:00
Torbjörn Andersson 7dc4fc11cf KYRA: Move MacResManager object out of StuffItLoader
This fixes a Valgrind warning on exit, I believe.
2021-11-22 18:39:23 +01:00
Torbjörn Andersson 767853db01 KYRA: Add archives for the .PAK files inside the StuffIt archive
I will have to look out for memory leaks later.
2021-11-22 18:39:23 +01:00
Torbjörn Andersson 509492074a KYRA: Ugly workaround to keep the Mac resource manager alive 2021-11-22 18:39:23 +01:00
Torbjörn Andersson 8574d19f20 KYRA: First attempt at loading Kyra1 StuffIt archive
This doesn't work. Not even close.
2021-11-22 18:39:23 +01:00
athrxx d70d9f3b11 KYRA: (LoK/Traditional Chinese) - add final credits
This version does have special hard coded credits text in Chinese. The code also requires some tweaks for correct display.
2021-11-15 22:05:28 +01:00
athrxx 3668453701 KYRA: fix RiscOS build 2021-11-15 16:20:27 +01:00
athrxx a7fda28519 KYRA: (LoK/Traditional Chinese) - finish support
(add font drawing, gui and text formatting fixes etc.)
2021-11-15 01:01:25 +01:00
athrxx db2c959289 KYRA: (LoK/Traditional Chinese) - add static resources 2021-11-15 01:01:06 +01:00
Orgad Shaneh da751361a4 KYRA: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
trembyle c740f96f63 COMMON: Normalize and document language maintenance
* Add documentation to add or maintain language values
* Fix and reorder existing entries to match ISO standards
2021-11-11 12:06:15 +01:00
athrxx c86b2bf3f4 KYRA: (LoK/Mac) - fix music track map
Looks like an original bug to me. It would miss the track when Malcolm appears after first entering the castle.
2021-11-10 21:24:13 +01:00
Orgad Shaneh 14f516282c KYRA: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
athrxx e221cd4a46 KYRA: (LoK/Mac) - add Mac sound support
- The high quality music seems to work fine. I haven't done any extensive comparison with emulation, but all music tracks have been played with asan enabled. I haven't actually finished playing through the game, though (still stuck in the damn fireberry cave), so the finale still needs to be tested...

- I am not sure about the low quality music. It should work, but hasn't really seen much testing. Currently, I don't have any way to switch to the low quality music anyway. Maybe I'll add a launcher option for it.

- The 16bit mode I have been trying to invent doesn't work. Priority was finishing the original sound first.

- GMM volume settings haven't been fully implemented and don't work
2021-11-08 22:56:46 +01:00
athrxx ece7e26b41 KYRA: (MR/Traditional Chinese) - add support 2021-10-26 17:57:01 +02:00
athrxx 27bb4850ab KYRA: (LOL) - try to avoid Common::Array assert on MorphOS 2021-10-13 21:01:04 +02:00