aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/file
AgeCommit message (Collapse)Author
2019-11-14WINTERMUTE: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-07-16WINTERMUTE: Implement loading files using SavefileManagerlolbot-iichan
2019-07-16WINTERMUTE: Implement saving files using SavefileManagerlolbot-iichan
2019-06-25WINTERMUTE: Add lots of entries to detection table and refactor handling of ↵lolbot-iichan
localization packages * WINTERMUTE: Add detection for unsupported "Basis Octavus" game This game is not supported by ScummVM, because it's 2.5D. However, there are already other 2.5D games in detection table and the intent is to add all known games, and support 2.5D in ResidualVM later. * WINTERMUTE: Add detection for Alimardan dilogy "Alimardan's Mischief" and "Alimardan Meets Merlin" are games by Iranian developer Resana Shokooh Kavir (http://rskgd.com/) It seems that Persian versions also exist, I'll surely look at it later: https://www.digikala.com/product/dkp-75901 There were 2 steam releases for alimardan1: https://steamdb.info/depot/694421/manifests/ There was only one steam release of alimardan2: https://steamdb.info/depot/694431/manifests/ * WINTERMUTE: Add detection for Oknytt 1.12 Oknytt had 2 steam releases (1.12 and 1.13): https://steamdb.info/depot/286321/manifests/ I have downloaded 1.12 and added detection. * WINTERMUTE: Add empty strings between detection table lines * WINTERMUTE: Add detection for Steam versions of reversion1 for Windows Source: https://steamdb.info/depot/270572/manifests/ * WINTERMUTE: Add detection for Steam version of reversion1 for Linux Source: https://steamdb.info/depot/270571/manifests/ * WINTERMUTE: Fix localization loading for Mac and Linux Mac and Linux builds of reversion1 & reversion2 does not have any "languages" folders. So, we need to filter those files according to filenames too. Once there is such filtering, there is no need for this overspecific hack for revision1's xlanguage_pt.dcp. * WINTERMUTE: Add detection for Steam versions of reversion2 for Windows Source: https://steamdb.info/depot/281061/manifests/ * WINTERMUTE: Language packages priority for Linux & Mac * WINTERMUTE: Add detection for Steam versions of reversion2 for Linux Source: https://steamdb.info/depot/281062/manifests/ * WINTERMUTE: Add detection for Steam versions of reversion2 for Mac Source: https://steamdb.info/depot/281063/manifests/ * WINTERMUTE: Add detection for Steam versions of reversion1 for Mac Source: https://steamdb.info/depot/270573/manifests/ * WINTERMUTE: Add detection for old Desura versions of reversion2 Source: https://bugs.scummvm.org/ticket/6564 * WINTERMUTE: Add detection for Spanish versions of reversion1&2 As was shown by windlepoons, xlanguage_* contains additional translation package, while data.dcp contains original translation (which is Spanish). So, even without owning those old releases of reversion1&2, I can wrote detection tables for them by not looking for any "xlanguage_*.dcp" file. However, we shouldn't use WME_ENTRY1s for Spanish, because advanced detector say "new best match, removing all previous candidates" once it hit a WME_ENTRY2s. Instead, let's just look for data.dcp twice to give user a choice of several WME_ENTRY2s. Lor Linux, it's WME_ENTRY3s. * WINTERMUTE: Filter language packages ignoring folder name There are 4 types of multilang games: 1. Each installation contain a data.dcp package (same for all languages) + an additional language package. Other localization packages are not installed. Those games are: "Helga Deep In Trouble", "Dirty Split", "Looky". 2. Each installation contain a data.dcp package (same for all languages) + a folder with all localization packages + a single "selected" language package copied to main folder. "xlanguage_" prefix is usual for reversion series. Other games usually use "english.dcp", "spanich.dcp", "czech.dcp", etc. Those are: "Five Lethal Demons", "Five Magical Amulets", "Dead City", "Oknytt", "Reversion: The Escape", "Reversion: The Meeting". 3. All localizations are inside data.dcp all-together. Those are: "One Hellavu Day", "The White Chamber" and "James Peris: No License Nor Control". 4. Different data.dcp build for each language. All other known games are here. This code covers all known filenames for localization packages and provide several guessworks for ignoring all irrelevant localization packages. * WINTERMUTE: Add localization detection for Five Lethal Demons * WINTERMUTE: Tweak detection for Dead City (Czech) "english.dcp" is not required to play Dead City in Czech language, so we don't need to detect it * WINTERMUTE: Add detection table for Looky in English I got English version here: https://bullshit-softworx.itch.io/looky-adventure * WINTERMUTE: Add detection for Czech versions of Helga "english.dcp" happen to be optional
2019-06-25WINTERMUTE: Add more details in openDiskFile() commentlolbot-iichan
2019-06-25WINTERMUTE: Hardcode known path prefix for tanya2lolbot-iichan
Missing path is "d:\engine\ТГ2\tg_ie_080128_1005\data\interface\pixel\pixel.png" from scenes\code\episode_01\scene_comics_1\scene_comics_1.scene
2019-06-06WINTERMUTE: Show warning on running 2.5D gameslolbot-iichan
This is shown for the 2 games added in 0d8834b5616aa8fc936c750ed92ef4423610d641, as both of them use ACTOR3DX entities, i.e. 3D models, which are not supported in ScummVM
2016-12-26Merge pull request #874 from tobiatesan/fix_getfilename_cr5Eugene Sandulenko
WINTERMUTE: Fix PathUtils and add workaround for mixed separators
2016-12-26WINTERMUTE: Use PathUtil::normalizeFileName in correctSlashesTobia Tesan
2016-12-26WINTERMUTE: Don't mix different path separators.Ryper_Zsolt
Fixes #7068
2016-03-06WINTERMUTE: Use C strings in absolute path workaround arrayTobia Tesan
2016-03-06WINTERMUTE: Use array to store known broken absolute pathsTobia Tesan
Avoids an if() block that is getting longer
2016-03-05WINTERMUTE: Add fallback for hardcoded absolute path in carolreed5Tobia Tesan
Carol Reed 5 (the full game, data.dcp hash 27b3efc018ade5ee8f4adf08b4e3c0dd) refers to the absolute path "f:\dokument\spel 5\demo\data\scenes\credits\op_cred_00\op_cred_00.jpg" Appears to fix bug #7067.
2015-11-27WINTERMUTE: Proper place for pointer checkEugene Sandulenko
2015-11-04WINTERMUTE: Fix mismatched free/delete Valgrind warningTorbjörn Andersson
The memory stream class uses free() to free memory, so we have to use malloc(), not new, to allocate it.
2014-06-08WINTERMUTE: Fix endian issues in findPackageSignature.Johannes Schickel
Thanks to somaen for looking over it too. This also silences bug #6624 "SYMBIAN: WINTERMUTE: Warnings in base_package.cpp".
2014-02-18WINTERMUTE: Make GPL headers consistent in themselves.Johannes Schickel
2013-10-02WINTERMUTE: Handle invalid file access in Carol Reed 6: Black CircleFilippos Karapetis
2013-10-01WINTERMUTE: Fix broken uint32/ulong castWillem Jan Palenstijn
2013-08-04WINTERMUTE: Fix end of namespace comments.Johannes Schickel
2013-07-13WINTERMUTE: Remove fixedPath snippetTobia Tesan
fixedPath is apparently never used anywhere else in the class and this loop can cause the next one to never get to run.
2013-04-18WINTERMUTE: Use int32 instead of int in classes.Einar Johan Trøan Sømåen
2013-04-04WINTERMUTE: Use template with MINanotherguest
2013-02-06WINTERMUTE: Use case-insensitive path-lookup when opening DiskFiles.Einar Johan Trøan Sømåen
2013-01-28WINTERMUTE: Move Resources out of binary and into wintermute.zipEinar Johan Trøan Sømåen
2013-01-26WINTERMUTE: Replace all NULLs with nullptr.Einar Johan Trøan Sømåen
2012-12-03WINTERMUTE: Const-ify member-functions that obviously should be const.Einar Johan Trøan Sømåen
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-24WINTERMUTE: Fix leakWillem Jan Palenstijn
2012-09-11WINTERMUTE: Remove a few more unused includes.Einar Johan Trøan Sømåen
2012-09-04WINTERMUTE: Convert CRLF to LFWillem Jan Palenstijn
2012-08-31WINTERMUTE: Use ++it instead of it++Einar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Cleanup the header-guards.Einar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Simplify getNodeForRelativePathEinar Johan Trøan Sømåen
2012-08-13WINTERMUTE: WinterMute -> WintermuteEinar Johan Trøan Sømåen
2012-08-13WINTERMUTE: Remove BPkgFile, as wrapCompressedStream can handle that job now.Einar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Introduce a Singleton-class for holding registry/filemanager.Einar Johan Trøan Sømåen
2012-07-28WINTERMUTE: Fix a few warnings pointed out by fuzzie.Einar Johan Trøan Sømåen
2012-07-27WINTERMUTE: Constructor(args): SuperClass(args) -> Constructor(args) : ↵Einar Johan Trøan Sømåen
SuperClass(args)
2012-07-27WINTERMUTE: Add a stubbed fallback for the absolute path used in East Side StoryEinar Johan Trøan Sømåen
C:\\windows\\fonts\\framd.ttf
2012-07-27WINTERMUTE: Fix SaveGame-thumb loading/saving.Einar Johan Trøan Sømåen
2012-07-27WINTERMUTE: Clean up some TODOs.Einar Johan Trøan Sømåen
2012-07-26WINTERMUTE: Disable SaveGame thumbs for nowEinar Johan Trøan Sømåen
2012-07-26WINTERMUTE: Run Astyle with add-braces to break one-line statements into ↵Einar Johan Trøan Sømåen
easier-to-read-code.
2012-07-26WINTERMUTE: AStyle-formatting.Einar Johan Trøan Sømåen
2012-07-25WINTERMUTE: "delete []" -> "delete[]"Einar Johan Trøan Sømåen
2012-07-25WINTERMUTE: Cleanup in BasePackage.Einar Johan Trøan Sømåen
2012-07-25WINTERMUTE: Privatize/Protect variables that don't need to be public.Einar Johan Trøan Sømåen
2012-07-25WINTERMUTE: Forgot to add this change to last commit (SQUASHME)Einar Johan Trøan Sømåen
2012-07-25WINTERMUTE: Change the DCP-file access to work as an Common::Archive.Einar Johan Trøan Sømåen