aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.cpp
AgeCommit message (Collapse)Author
2011-03-04SCI: Amiga SCI1 middle games are actually SCI1 latemd5
This fixes a lot of glitches, caused by the differences between the two versions
2011-02-27SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLYmd5
This renaming allows us to better distinguish that this version is for games that only had an EGA version, and avoid confusion with newer SCI1 game releases with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2, a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-20SCI: Don't error out when a Mac resource has size 0Matthew Hoops
2011-02-19SCI: Reverted r914fe95, and silenced a false positive warningmd5
2011-02-19SCI: Added a FIXME for the KQ5 FM-TOWNS resource handling codemd5
2011-02-16SCI: Add support for the KQ5 FM Towns resource formatMatthew Hoops
Thanks to alexbevi for providing details on the format
2011-02-13SCI: Fix GK2 Mac picture 2315Matthew Hoops
It hardcodes the picture so it doesn't get run with the decompressor
2011-02-10SCI: Added resource manager support for changing the audio directory ↵Filippos Karapetis
dynamically. Also, moved some audio-specific resource code inside resource_audio.cpp This functionality is used by kSetLanguage(), called when switching the language in MUMG Deluxe from the game's main menu. svn-id: r55872
2011-02-10SCI: Renamed addInternalSources -> addAudioSources and separated the script ↵Filippos Karapetis
chunk loading code svn-id: r55866
2011-02-10SCI: Moved some audio resource code to resource_audio.cppFilippos Karapetis
svn-id: r55865
2011-02-09SCI: Improve speed of Mac resource fork sourcesMatthew Hoops
svn-id: r55859
2011-02-05SCI: Fix Mac SCI32 subdirectoriesMatthew Hoops
svn-id: r55783
2011-02-05SCI: Fix detectHires() for Mac SCI32 gamesMatthew Hoops
svn-id: r55781
2011-02-03SCI: Fix KQ6 Mac audio resourcesMatthew Hoops
A regression from r55715 svn-id: r55751
2011-02-02SCI: Set Mac cursors as a non-compressable type tooMatthew Hoops
svn-id: r55720
2011-02-02SCI: Fix Mac sync resource supportMatthew Hoops
svn-id: r55716
2011-02-02SCI: Add support for Mac audio36/sync36 resources in resource forksMatthew Hoops
svn-id: r55715
2011-02-01SCI: Mac SCI1.1+ games can use SYNC as the resource type for sync resources tooMatthew Hoops
svn-id: r55708
2011-01-31SCI: Update the Mac version detection commentsMatthew Hoops
svn-id: r55697
2011-01-31SCI: Add support for Mac SCI1.1+ resource compressionMatthew Hoops
Mac SCI1.1+ games should now start up. QFG1 and Hoyle4 are playable. GK1 starts its scripts, but errors out soon after. There are still some View bugs with each (somehow, view decompression seems to be adding a blank line after each line?). *Much* thanks to Walter for his help. svn-id: r55696
2010-12-14SCI: Close Memory Leaks in SCI Resource Loading, reported by Valgrind.David Turner
svn-id: r54916
2010-12-02SCI: Slight formatting fix.Johannes Schickel
svn-id: r54737
2010-12-02Disable error message regarding RESOURCE.AUD/.SFX for now.Lars Skovlund
svn-id: r54735
2010-11-17SCI3: added a SCI3 implementation of findGameObject(), based on a patch by ↵Filippos Karapetis
lskovlun svn-id: r54284
2010-11-17SCI: Some restructuring. Added some SCI3 placeholders/stubsFilippos Karapetis
svn-id: r54280
2010-11-17SCI: The heap was a separate resource in SCI1.1 - SCI2.1 games only. It was ↵Filippos Karapetis
later merged into the script files again in SCI3 svn-id: r54279
2010-11-13SCI: Update resource types for SCI2.1/3Matthew Hoops
svn-id: r54220
2010-11-11SCI: Properly adding SCI3 script patches (a regression of r54211)Filippos Karapetis
svn-id: r54213
2010-11-11SCI: Use the new CSC extension for SCI3 scriptsFilippos Karapetis
svn-id: r54211
2010-11-10SCI3: Some changesFilippos Karapetis
- Placed the SCI3 version detection in the proper place - Some new types of SCI3 MT-32 patches (e.g. in the Lighthouse SCI3 demo) are ignored, for now svn-id: r54188
2010-11-10SCI: Fix SCI2.1+ fallback detectionMatthew Hoops
Each map has to be mapped with its own specific volume (as opposed to earlier versions that had one map for all volumes); this code was passing the same map pointer for all volumes. svn-id: r54179
2010-11-09SCI: Some slight work on SCI3Filippos Karapetis
- Enabled the SCI3 game entries for testing purposes - The resource manager is initialized fully now (with a slight hack) - Added a hack for the demo of Shivers 2 (which seemingly has no scripts or vocabularies) - The engine will stop before parsing any game scripts in SCI3 games, and opens the console for resource manager-related functionality svn-id: r54167
2010-11-09SCI: Fixed the fallback detector againFilippos Karapetis
This is a regression from r54155, as we previously ignored the result of addInternalSources() in the fallback detector svn-id: r54163
2010-11-09SCI: Fix Lighthouse SCI2.1 demoMatthew Hoops
This is a regression from r54155. Fixed by moving the chunk resource loading earlier. svn-id: r54162
2010-11-09SCI: Formatting convention fixesMatthew Hoops
svn-id: r54161
2010-11-09SCI: Add resource manager support for SCI3 games.Lars Skovlund
ScummVM now rejects them properly instead of spewing lots of unintelligible stuff. svn-id: r54155
2010-11-04SCI: Renamed findBlock() to findBlockSCI0()Filippos Karapetis
svn-id: r54077
2010-11-02SCI: Remove any use of printfMax Horn
svn-id: r54037
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-31MOTOEZX: Fix warning about static not at beginning of declarationMax Horn
svn-id: r53981
2010-09-28ALL: Fixup some #define namesMax Horn
svn-id: r52935
2010-09-18SCI: Some changes to the fallback detector (sync with branch 1.2.0)Filippos Karapetis
Added more graceful handling of the case where SCI32 isn't built in and the user tries to detect or start a SCI32 game svn-id: r52789
2010-09-10SCI: Some changes regarding resourcesFilippos Karapetis
- Renamed the debug command "resource_size" to "resource_info", as it now provides the location of where a specified resource is found (i.e. the resource.xxx file, or the file name itself, if the resource is a patch) - "duskdump" shows the original location of dumped resources - loadResource() now shows the location of files that couldn't be loaded svn-id: r52667
2010-09-04SCI: fixing commentMartin Kiewitz
svn-id: r52517
2010-09-04SCI: doing detectDoSoundType() properly sci0earlyMartin Kiewitz
checking, if sound resources are sci0early or late for sci0early games instead of hardcoding lsl2 svn-id: r52514
2010-08-21SCI: removing debug output from r52259Martin Kiewitz
svn-id: r52263
2010-08-21SCI: fixing resourcemgr for pharkas/germanMartin Kiewitz
pharkas/german has duplicate resource entries inside the main resource files and we used the first ones. This results in half of the game being english and umlauts missing. We now use the last entries, which will fix all those issues (fixes bug #3039551) svn-id: r52259
2010-08-17SCI: Fix for bug #3046800 - "SCI Fallback detector crashes with several games"Filippos Karapetis
svn-id: r52163
2010-08-14SCI: Add support for Mac 'crsr' cursors used in SCI2+ gamesMatthew Hoops
svn-id: r52076
2010-08-13SCI: adding switch to sci1mid for lsl1/spanishMartin Kiewitz
makes it work, bug #3043270, added FIXME svn-id: r52071