Old Mac ITE not supported
Moderator: ScummVM Team
Old Mac ITE not supported
I found my old Mac ITE disc recently and decided to give it a try under ScummVM 0.8.0a. However, it tells me that it cannot find a game in the folder on my hard drive that I copied the contents of the CD's "ITE Data" folder to. The commandline doesn't offer any md5sums to report, even on -d9.
I have in fact read the README, which does not describe how to copy them in MacBinary format; the document for playing Mac games describes only how to copy them on Windows.
I'm using Mac OS X, and the only readme for old Mac games on Mac OS X applies to SCUMM games only. Mac OS X should be copying the files with both data and resource forks, at any rate.
I'm using Mac OS X, and the only readme for old Mac games on Mac OS X applies to SCUMM games only. Mac OS X should be copying the files with both data and resource forks, at any rate.
I'm sorry I haven't responded for so long; university classes murdered me this term and buried the body fairly thoroughly, so it's taken me awhile to dig myself out.
After doing some research, I've found that the MacBinary format is something created by third-party software to let non-HFS filesystems to deal with multiple-fork files, either to use them on non-Mac computers or for transferring over the Internet. It copies together both the data fork and resource fork of the files, and prefaces them with a 128-byte header.
I think it may be possible to convert these on Mac OS X, but the software I've tried so far creates files that ScummVM won't recognize. The better option, I think, would be for ScummVM to support them in their native format when running on HFS+.
After doing some research, I've found that the MacBinary format is something created by third-party software to let non-HFS filesystems to deal with multiple-fork files, either to use them on non-Mac computers or for transferring over the Internet. It copies together both the data fork and resource fork of the files, and prefaces them with a 128-byte header.
I think it may be possible to convert these on Mac OS X, but the software I've tried so far creates files that ScummVM won't recognize. The better option, I think, would be for ScummVM to support them in their native format when running on HFS+.
I agree with you that this would be better option. However.Vlcice wrote:The better option, I think, would be for ScummVM to support them in their native format when running on HFS+.
- * I don't have Mac to implement that
* Our current file class does not support that because:
* for some files we need resource fork, for other we need data fork
Eugene
did this get solved?
Hey,
I realize this post is very old but i have checked recent posts for an answer unsuccessfully.
Im also trying to play old CD on my Mac Os X 10.4 intel, the data files from the old cd have no file extn.
Did you find anyway to do it?
Thanks.
I realize this post is very old but i have checked recent posts for an answer unsuccessfully.
Im also trying to play old CD on my Mac Os X 10.4 intel, the data files from the old cd have no file extn.
Did you find anyway to do it?
Thanks.
- Red_Breast
- Posts: 775
- Joined: Tue Sep 30, 2008 10:33 pm
- Location: The Bar Of Gold, Upper Swandam Lane.
I came up with a couple of links that might help you (I don't know much about Mac stuff apart from it's Unix similarities)
Do you have the re-release Wyrmkeep CD which has Windows, Mac and Linux executables of the game (hybrid version)?
I don't know if the game was released for Mac originally.
If you're worried about file extensions then I'll add I have the Wyrmkeep version and I've run it with the Linux executable and also using ScummVM and it doesn't matter.
http://wiki.scummvm.org/index.php/HOWTO-Mac_Games
The ScummVM readme. Check section 3.11.
http://scummvm.svn.sourceforge.net/view ... iew=markup
Do you have the re-release Wyrmkeep CD which has Windows, Mac and Linux executables of the game (hybrid version)?
I don't know if the game was released for Mac originally.
If you're worried about file extensions then I'll add I have the Wyrmkeep version and I've run it with the Linux executable and also using ScummVM and it doesn't matter.
http://wiki.scummvm.org/index.php/HOWTO-Mac_Games
The ScummVM readme. Check section 3.11.
http://scummvm.svn.sourceforge.net/view ... iew=markup
We currently don't directly support Mac resource forks as said above. I do however have a patch sitting on the tracker that does. After that is accepted, it could be adapted for the SAGA code for this purpose.
In the meantime, you can create MacBinary files using the "macbinary" terminal command. I have never used it myself, but it should work here.
In the meantime, you can create MacBinary files using the "macbinary" terminal command. I have never used it myself, but it should work here.
I'm having the same problem (except that I do get output on the command line, but I'll get to that) with ScummVM 1.1 on Mac OS X 10.6.3. Here's what I did:
All of these give the same result: When trying to add the game to my ScummVM library, it says “ScummVM could not find any game in the specified directory!”.
All three also give wrong MD5 values (relative to what sev said early in this thread). Here's what I get for -t 1 (MacBinary I):
-t 2 (MacBinary II):
-t 3 (MacBinary III):
If I try to run scummvm from xterm, I get this:
That's with the MacBinary III files. With the MacBinary II files, the output says:
What should I try next?
- Put in the ITE for Mac OS CD. (Get Info on the “Inherit the Earth™” executable reveals that it is version 1.0d1. It's the US version, as best I can tell; the game was in English when I played it originally, but the CD doesn't explicitly say anything like “US version” on it.)
- Copied the entire thing to my hard drive.
- In xterm, cd'd into the directory containing the ITE files.
- MacBinaried everything with this command:
Code: Select all
for x in *; (macbinary encode -t 3 $x &)
All of these give the same result: When trying to add the game to my ScummVM library, it says “ScummVM could not find any game in the specified directory!”.
All three also give wrong MD5 values (relative to what sev said early in this thread). Here's what I get for -t 1 (MacBinary I):
Code: Select all
MD5 (About ITE.bin) = 032c2244208c8e30b4979890f7054525
MD5 (ITE Music.bin) = 105e38e61cb566f51c81ec886eb56de6
MD5 (ITE Resources.bin) = 476ee9153440da4bc48e360b8514235b
MD5 (ITE Scripts.bin) = 137dd85f670a2775f0023336813478d5
MD5 (ITE Sounds.bin) = d815ec4e70e97a7456914619d832bea3
MD5 (Inherit the Earth™.bin) = 1d2622dc4e99a21ce3280d77ec9fb5c7
Code: Select all
MD5 (About ITE.bin) = 4ccf885cfdeef6d9a2c5e937f570babc
MD5 (ITE Music.bin) = a2e32320d1a3f1c18309e9b9cd3d996f
MD5 (ITE Resources.bin) = b9df66774c633341bf7e195fc4a01533
MD5 (ITE Scripts.bin) = ef1f66527386c7a05ac15ffa8a097120
MD5 (ITE Sounds.bin) = 95fb141ed0dea2f93ca7938ca971aa74
MD5 (Inherit the Earth™.bin) = baee3a4e93308ba5723b8003713aedc3
Code: Select all
MD5 (About ITE.bin) = bc7774c25e0c760c133bc222538680b3
MD5 (ITE Music.bin) = 47b6496c95d4111560f40dc373d8b444
MD5 (ITE Resources.bin) = f990e9f2e3a1f066baf7b23efa826f5c
MD5 (ITE Scripts.bin) = 4f4926c2509ffa8aba86d45964773f23
MD5 (ITE Sounds.bin) = 004c2511d0249e659f5f3e4302ebe9b6
MD5 (Inherit the Earth™.bin) = 600abc97e02e4e1cba3e278f40c1e183
Code: Select all
/Volumes/Applications/Emulators/ScummVM\ 1.1/ScummVM.app/Contents/MacOS/scummvm -p . ite
2010-04-17 12:38:53.849 scummvm[2545:903] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.
WARNING: Could not find theme 'modern' falling back to builtin!
User picked target 'ite' (gameid 'ite')...
Looking for a plugin supporting this gameid... Saga engine [ITE, IHNM]
Starting 'Inherit the Earth: Quest for the Orb'
WARNING: Target upgraded from ite to saga!
WARNING: Target came from command line. Skipping save!
The game in '/Volumes/Applications/Games/Inherit the Earth' seems to be unknown.
Please, report the following data to the ScummVM team along with name
of the game you tried to add and its version/language/etc.:
"ite resources.bin", "e2b89a89df9d6868000146b720ef096d", 8865024
"ite music.bin", "5964ff67fabae5e87e81a285414016fa", 3146112
"ite scripts.bin", "54f0778574cea532241d67fb360b572c", 338944
"ite sounds.bin", "cdcde1889aed1402c0a6b2a0dc37684a", 3683584
WARNING: Saga engine [ITE, IHNM] failed to instantiate engine: Unable to locate game data (target 'ite', path '/Volumes/Applications/Games/Inherit the Earth')!
Code: Select all
"ite resources.bin", "2eb11d76d094b9f3adad9322af39f631", 8865024
"ite music.bin", "ceb674fc6edaa5cfc8d6da0e3dc255fd", 3146112
"ite scripts.bin", "19b956f69dd96a3517e050155305f294", 338944
"ite sounds.bin", "b698c433bb49d92bba4e2fd76bd5069c", 3683584
Going on two years later, I had another hankering to play ITE, this time in ScummVM 1.4. Of course, I encountered the same problem, Googled around, and found this thread—this time with my reply from last time already in it.
Once again, I tried all three type options (-t1, -t2, -t3) to the macbinary encode command, and as before, none of them worked and all three gave different MD5 hashes from the one sev said is valid (I didn't check whether they're the same as the hashes I got two years ago).
This time, though, I plugged at it some more.
And I got it working.
First, I want to be very clear about something: I have the CD version of Inherit the Earth for classic Mac OS, not Mac OS X. As far as I know, you should be able to use the Mac OS X version without having to go through any of this.
So here's what you need to do.
First, download hfsutils. It shouldn't take too long, but while that's downloading…
Create the folder where you'll put your ITE data files. Open a Terminal window and cd into that folder (easiest to type “cd” and a space, then drag the folder into the Terminal window, then switch back to the Terminal window and press return).
Next, insert your ITE CD, and type “diskutil list” into the Terminal. You'll get something like this:
There will be at least two of these, one for each volume that's mounted. Find the one for the Inherit the Earth CD—it won't necessarily be disk5—and find its “Apple_partition_scheme”. Note the identifier. In my case, it was disk5s1.
By now, the hfsutils archive should have finished downloading. Expand it, create another Terminal window, cd into the hfsutils folder, and do the following:
Now, power users can choose to install hfsutils or temporarily add the hfsutils folder to their search path.
For the rest of you, the simplest way that doesn't involve installing hfsutils to your system is to do something like this:
OK, so you've got the hfsutils within easy reach. Now it's time to use 'em.
The CD is already mounted in Mac OS X, but now you'll mount it in hfsutils' world:
Replace “disk5s1” with the identifier you found in diskutils' output above.
Next, you need to cd (again, in hfsutils-land) into the original ITE data files folder:
Now you can copy-and-MacBinary(-in-a-way-that-ScummVM-likes) the data files into your current directory:
That should be all of the files as listed on the ScummVM wiki.
Now for some clean-up.
First, unmount the CD from hfsutils' world:
(Yes, that's umount, with only one 'n', and it takes no arguments.)
You don't need the CD anymore, so now you can eject it for real.
Next, you need to fix up the data files' filenames. hcopy changes spaces to underscores, so you'll need to change them back. If you've previously installed NameChanger or sednames, you can use that; otherwise, do it manually in the Finder. The correct names are:
I hope this helps someone, and if I missed or screwed up anything in writing all of this down, please let me know.
Once again, I tried all three type options (-t1, -t2, -t3) to the macbinary encode command, and as before, none of them worked and all three gave different MD5 hashes from the one sev said is valid (I didn't check whether they're the same as the hashes I got two years ago).
This time, though, I plugged at it some more.
And I got it working.
First, I want to be very clear about something: I have the CD version of Inherit the Earth for classic Mac OS, not Mac OS X. As far as I know, you should be able to use the Mac OS X version without having to go through any of this.
So here's what you need to do.
First, download hfsutils. It shouldn't take too long, but while that's downloading…
Create the folder where you'll put your ITE data files. Open a Terminal window and cd into that folder (easiest to type “cd” and a space, then drag the folder into the Terminal window, then switch back to the Terminal window and press return).
Next, insert your ITE CD, and type “diskutil list” into the Terminal. You'll get something like this:
Code: Select all
(snip)
/dev/disk5
#: TYPE NAME SIZE IDENTIFIER
0: CD_partition_scheme *342.6 MB disk5
1: Apple_partition_scheme 298.3 MB disk5s1
2: Apple_partition_map 1.0 KB disk5s1s1
3: Apple_HFS Inherit the Earth™ 298.3 MB disk5s1s2
By now, the hfsutils archive should have finished downloading. Expand it, create another Terminal window, cd into the hfsutils folder, and do the following:
Code: Select all
./configure
make
For the rest of you, the simplest way that doesn't involve installing hfsutils to your system is to do something like this:
- Close the hfsutils terminal window, leaving only the ITE terminal window.
- Type “ln -s” (that's Lima November, not India November) and a space.
- Drag the hfsutils folder into your ITE terminal window.
- Type a space, then “hfs”, then press return.
OK, so you've got the hfsutils within easy reach. Now it's time to use 'em.
The CD is already mounted in Mac OS X, but now you'll mount it in hfsutils' world:
Code: Select all
hfs/hmount /dev/disk5s1
Next, you need to cd (again, in hfsutils-land) into the original ITE data files folder:
Code: Select all
hfs/hcd 'ITE Data Files'
Code: Select all
hfs/hcopy -m 'ITE Music' .
hfs/hcopy -m 'ITE Resources' .
hfs/hcopy -m 'ITE Scripts' .
hfs/hcopy -m 'ITE Sounds' .
hfs/hcopy -m 'ITE Voices' .
Now for some clean-up.
First, unmount the CD from hfsutils' world:
Code: Select all
hfs/humount
You don't need the CD anymore, so now you can eject it for real.
Next, you need to fix up the data files' filenames. hcopy changes spaces to underscores, so you'll need to change them back. If you've previously installed NameChanger or sednames, you can use that; otherwise, do it manually in the Finder. The correct names are:
- ITE Music.bin
- ITE Resources.bin
- ITE Scripts.bin
- ITE Sounds.bin
- ITE Voices.bin
I hope this helps someone, and if I missed or screwed up anything in writing all of this down, please let me know.
That's because ITE is rolling out its own MacBinary code that does a hash of the whole file which has so many problems associated with it. The common MacBinary code used by the other engines in ScummVM handles the hashing much better (and able to use AppleDouble and directly on OS X too). Eventually SAGA will switch to using that, but the SAGA resource manager does not make that easy at the moment.boredzo wrote:Once again, I tried all three type options (-t1, -t2, -t3) to the macbinary encode command, and as before, none of them worked and all three gave different MD5 hashes from the one sev said is valid (I didn't check whether they're the same as the hashes I got two years ago).
Eventually, most of the files will not need to be MacBinary either since they're just using the data fork (except for the music file).