Commit Graph

191 Commits

Author SHA1 Message Date
Filippos Karapetis
680684c66f The current list in the detector is not really useful. We need the SCI version used for each variant of every SCI game. Therefore, all the detection entries have been disabled, apart from the few versions which I have and was able to verify the SCI version used. Please, specify the SCI version in disabled entries and re-enable them.
This was done to prevent issues with incorrect game entries in the future, as game entries with incorrect SCI versions won't work correctly

svn-id: r38559
2009-02-19 18:45:09 +00:00
Paweł Kołodziejski
7beba8edc9 formating
svn-id: r38558
2009-02-19 18:40:03 +00:00
Paweł Kołodziejski
c6e9e3d9bc formating
svn-id: r38557
2009-02-19 18:33:43 +00:00
Paweł Kołodziejski
ade3c8f565 formating
svn-id: r38556
2009-02-19 18:11:05 +00:00
Paweł Kołodziejski
4e052e4d1c formating
svn-id: r38555
2009-02-19 18:08:44 +00:00
Paweł Kołodziejski
352802bba6 formating
svn-id: r38554
2009-02-19 18:02:51 +00:00
Filippos Karapetis
6a0ffca914 Used the LZEXE unpacker from the teenagent engine. The SCI version detector now works with LZEXE packed executables too
svn-id: r38553
2009-02-19 17:40:55 +00:00
Joost Peters
af7ecbf060 use READ_BE_UINT32() function to read a 32-bit Big Endian value.
svn-id: r38551
2009-02-19 16:17:08 +00:00
Filippos Karapetis
1bbc8cf5e8 Corrected erroneous use of MKID_BE
svn-id: r38550
2009-02-19 14:47:30 +00:00
Filippos Karapetis
9ac6dbf9eb Fixed version checking for unpacked executable files, and updated the SCI version for an entry for PQ2
svn-id: r38549
2009-02-19 14:40:24 +00:00
Sven Hesse
3abc4c8842 MKID_BE() does not work that way. Moreover, it even fails to compile on my 64bit system because of "loss of precision".
svn-id: r38548
2009-02-19 13:54:50 +00:00
Travis Howell
f134763553 Add patch #2611827 - Add English versions of Laura Bow/2.
svn-id: r38547
2009-02-19 13:51:45 +00:00
Travis Howell
b433a18bcf Add patch #2616093 - Add/update Quest for Glory 4 details.
svn-id: r38546
2009-02-19 13:44:10 +00:00
Travis Howell
6fdf95e9b8 Add patch #2615978 - Fix SCI version for Eco Quest.
svn-id: r38545
2009-02-19 13:36:38 +00:00
Filippos Karapetis
6f4a8dedbe Rewrote the EXE reading routines (the LZEXE compression stuff is still not completed, and will be implemented in a follow-up commit)
svn-id: r38543
2009-02-19 12:42:32 +00:00
Paweł Kołodziejski
2f2f262062 formating
svn-id: r38538
2009-02-19 08:44:53 +00:00
Paweł Kołodziejski
8ca98d41a2 formating
svn-id: r38537
2009-02-19 08:43:28 +00:00
Travis Howell
0ac0749810 Fix SCI 1.1 detection.
svn-id: r38535
2009-02-19 04:16:20 +00:00
Travis Howell
3d78df8d63 Update SCI version for Space Quest 4(Amiga).
svn-id: r38534
2009-02-19 04:14:16 +00:00
Travis Howell
bc6f48472a Update SCI version for Leisure Suit Larry 2 (Amiga).
svn-id: r38533
2009-02-19 03:12:04 +00:00
Travis Howell
b595d2815b Update SCI version for Kings Quest 4 (Amiga).
svn-id: r38532
2009-02-19 03:05:35 +00:00
Matthew Hoops
a427d11c27 Fix kq4 start (it was using the wrong version).
svn-id: r38531
2009-02-19 02:26:09 +00:00
Matthew Hoops
ee16e35bb6 - Fix finding versions from exe's
- Fix fallback detection
- Make getVersion() return an int instead of a uint16 which makes the version lose precision and the "major" version can get lost.

svn-id: r38529
2009-02-19 02:04:31 +00:00
Matthew Hoops
5778350053 scan_file returns 1 if there's a failure, not 0; correct version_detect_from_executable to use that properly
svn-id: r38528
2009-02-19 00:59:34 +00:00
Paweł Kołodziejski
288445abb2 formating
svn-id: r38512
2009-02-18 22:46:01 +00:00
Paweł Kołodziejski
b500162ea9 formating
svn-id: r38511
2009-02-18 22:41:57 +00:00
Filippos Karapetis
7e5dba8940 Readded the code which reads the version from the original executable to the fallback detector (still very hackish...). This is probably the only known way currently to determine the version used by each game variant and add appropriate game flags
svn-id: r38509
2009-02-18 22:20:28 +00:00
Max Horn
7d73e8ccc4 cleanup
svn-id: r38508
2009-02-18 22:07:15 +00:00
Paweł Kołodziejski
3e32b0a791 remove not used includes
svn-id: r38506
2009-02-18 21:57:15 +00:00
Filippos Karapetis
2af3529b1b Added initial implementation of the fallback detector for unknown versions (version detection from the original executable will be readded and displayed in this part)
svn-id: r38505
2009-02-18 21:05:05 +00:00
Filippos Karapetis
a501d4dca0 Added methods to get information for the detected game version
svn-id: r38502
2009-02-18 20:08:49 +00:00
Max Horn
d059f38cf2 SCI: Moved util.h to the sci tools, as old_objects.* is the only code using (and requiring) it
svn-id: r38501
2009-02-18 20:03:32 +00:00
Paweł Kołodziejski
57f78e5c0c update README
svn-id: r38500
2009-02-18 19:45:34 +00:00
Paweł Kołodziejski
dd30cc6382 remove dreamcast mixer platform code - no use for scummvm
svn-id: r38499
2009-02-18 19:35:35 +00:00
Max Horn
4493c757b5 SCI: Added G_DIR_SEPARATOR to scicore/resource.cpp for now (I'll remove it again soon)
svn-id: r38498
2009-02-18 19:19:29 +00:00
Max Horn
766783b493 SCI: Some random cleanup
svn-id: r38497
2009-02-18 19:14:40 +00:00
Paweł Kołodziejski
c01b069b91 missed to remove code from latest removal
svn-id: r38496
2009-02-18 19:12:13 +00:00
Paweł Kołodziejski
c13afb4fe6 remove not used code
svn-id: r38495
2009-02-18 19:10:17 +00:00
Johannes Schickel
70e3670f02 Fixed warnings.
svn-id: r38494
2009-02-18 18:03:52 +00:00
Filippos Karapetis
7dfb902019 Updated the savegame.cfsml file to remove unused functions and generated the appropriate .cpp file using the cfsml tool
svn-id: r38493
2009-02-18 17:57:57 +00:00
Eugene Sandulenko
fd0d88f27f Fix makefile
svn-id: r38487
2009-02-18 15:07:19 +00:00
Eugene Sandulenko
802f28b963 move cfsml.pl to the tools/ directory
svn-id: r38486
2009-02-18 15:06:24 +00:00
Eugene Sandulenko
8dc171afa9 restore removed files
svn-id: r38485
2009-02-18 15:05:00 +00:00
Eugene Sandulenko
af3eb953b2 Adding the files properly. Part1
svn-id: r38483
2009-02-18 14:57:03 +00:00
Max Horn
88bb21f9e1 Removed unused file
svn-id: r38482
2009-02-18 14:49:24 +00:00
Filippos Karapetis
4c406e69ee Added missing file savegame.cfsml (hopefully, compilation should REALLY be fixed now, sorry again...)
svn-id: r38481
2009-02-18 14:28:32 +00:00
Filippos Karapetis
9658836f5d Reverting commits which moved cfsml.pl and said.y, part 2
Hopefully, compilation should be fixed again

svn-id: r38479
2009-02-18 14:08:21 +00:00
Filippos Karapetis
d16311f8bb Removed some unused GFX driver capability code and flags
svn-id: r38473
2009-02-18 12:26:37 +00:00
Filippos Karapetis
0d82e05bb6 Added FIXME concerning crash when exiting a SCI game
svn-id: r38472
2009-02-18 12:09:11 +00:00
Filippos Karapetis
1b81383dcb Removed files which are not part of the SCI engine (will be moved to /tools, together with the others)
svn-id: r38468
2009-02-18 11:14:05 +00:00