[Scummvm-devel] ScummVM on OS X; IRC channel

Max Horn max at quendi.de
Sun Apr 21 10:21:01 CEST 2002


Hi there,

being a fan of the LA games, I was happy to learn about ScummVM. So I 
tried it over here on my OS X box (I actually have done so in the 
past, just kept quiet all the time) :-). Anyway, some things I wanted 
to ask/tell you guys:


1) Is there maybe an IRC channel where some of you hang out?  Like we 
have one for exult on OPN, etc., can be quite nice to ask quick 
questions (but of course can also suck away time if you're not 
careful :-)

2) What would have to be done to get Scumme v2 games working? Most 
especially Loom; also Indy 3 - my problem is that I love Loom, but 
can't play it (I own a copy, but it requires 16 colors and my system 
refuses to switch to less than 256 colors). I have no idea to get 
that 256 color CD version of Loom (thouhg of course I'd love to see 
that one :-), hence I am desperate :-)


3) My Mac version of Monkey Island I seems to work OK, after I 
applied a small patch, to make scummvm ignore to sounce types (Mac0 
and Mac1); I'd also have looked into decoding those (my guess would 
be that they are simple the type 0 and type 1 data formats of the old 
Mac Sound Manager), but I first have to look more at the code to see 
how I can dump out the data into a file or so.

This is the patch:

Index: resource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/resource.cpp,v
retrieving revision 1.68
diff -u -d -b -r1.68 resource.cpp
--- resource.cpp	16 Apr 2002 12:07:16 -0000	1.68
+++ resource.cpp	21 Apr 2002 16:56:00 -0000
@@ -603,6 +603,10 @@
  		fileSeek(_fileHandle, -8, SEEK_CUR);
  		fileRead(_fileHandle, createResource(type, idx, 
total_size), total_size);
  		return 1;
+	} else if (basetag == MKID('Mac0')) {
+		debug(1, "Ignoring base tag Mac0 in sound %d, size 
%d", idx, total_size);
+	} else if (basetag == MKID('Mac1')) {
+		debug(1, "Ignoring base tag Mac1 in sound %d, size 
%d", idx, total_size);
  	} else {
  		error("Unrecognized base tag %c%c%c%c in sound %d",
  					basetag & 0xff, basetag >> 8, 
basetag >> 16, basetag >> 24, idx);


4) Trying to run my copy of Indy III gives me an error; this is the 
256 color mac version:

horn% ./scummvm -pgames/Indy_III/ indy3
Detected game 'Indiana Jones and the Last Crusade (256)', version 3.0.22
WARNING: Couldn't open drive: Invalid CD-ROM drive index
!
WARNING: Music not enabled - MIDI support selected with no MIDI 
driver available. Try Adlib!
Error(0:0:0x0): Bad ID ÿÿ found in directory!!
horn%

With the data files of my PC version it starts fine, though. It 
doesn't freeze in the intro, either (though it still is quite buggy). 
This is a german version of Indy, BTW.


5) For Monkey Island, it's reverse; the mac version works fine 
(except for the sound being in an "unknown" format), but the PC 
refuses to work, because the files have the "wrong" names, it seems:

horn% ls games/MONKEY/
000.LFL*  902.LFL*  904.LFL*     DISK02.LEC*  DISK04.LEC*  MONKEYEX.EXE*
901.LFL*  903.LFL*  DISK01.LEC*  DISK03.LEC*  MONKEY.BAT*  README.VGA*

Note that this (as my Indy3/Loom/Zak McKracken/Mania Mansion) version 
is from a *german* compilation CD. So since you warn on your 
homepage, I guess maybe this is the source of the problem... listed 
it here anyway, in case anybody is interested.


5) In your Makefile, you use "gcc" to compile & link your C++ source 
code. At least for the linking I have to use "g++" (using GCC 3.1). 
This automatically adds in the c++ lib if not done already. If it 
doesn't break anything on other systems, maybe you can use that, or 
even better, don't use CC but use CXX :-)




Cheers,

Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:max at quendi.de>
phone: (+49) 6151-494890




More information about the Scummvm-devel mailing list