I’m having trouble getting the blorb files to work when playing some of the infocom games with graphics and sounds like lurking horror and beyond zork.
Gargoyle doesn’t seem to read the .dat files from the infocom compilation discs so I found the old infocom games in z3, z4, z6, etc format. I also found .blb files on the if-archive for the games with graphics and sounds but I can’t get them to work. I put the in the corresponding folders like the z3 and blb for lurking horror both in the same folder, but I can’t get the sound to play.
Beyond zork won’t play at all since the graphics won’t load.
I am using the windows version of gargoyle. Sound and graphics are enabled.
Anyone know how to get them to work?
I read that it is possible to insert the story file into the blb file. How would I go about doing that? Would it help? Is there anyway to open the blorb file and look at it or edit it?
Thanks for any help.
***edit: I guess it does play .dat files. I just had to configure it to. Still doesn’t play with sound or graphics though.
Gargoyle doesn’t offer (much) support for V6 games, and can’t display graphics in Z-Machine games. You will need to use Windows Frotz for Beyond Zork.
For sound support, it should work if the files are in the same folder as the Lurking Horror game file and have names like SND3, SND18 etc. You can extract these from the ifarchive blorbs with a tool like gblorb.
You should also be able to reassemble the blorb to include the Lurking Horror story file. Extract the files using gblorb, then edit the SPEC file in a text editor. Add the first line so the complete file looks like this:
Now, rename your copy of the Lurking Horror data file to STORY0. Open gblorb and load the SPEC file you edited, then type create. Save the resulting file as lurking.zblorb. If you see errors, make sure all the files (including gblorb.ulx) are in the same folder.
I’ve only tested this as far as creating the unified blorb file. I’m not familiar with LH and don’t know how to get it to play sounds.
I gave it a try to edit the blb file with gblorb, I was able to extract the files from one of the blb file, but I keep getting errors when I try to load them.
I got this error when trying to load the spec file.
Loading the resources table from a specification file…
Error: unable to open file, at line 1: 0 STORY0
Error: unable to open file, at line 2: 3 SND3
Error: unable to open file, at line 4: 4 SND4
Error: unable to open file, at line 6: 5 SND5
Error: unable to open file, at line 8: 6 SND6
Error: unable to open file, at line 10: 7 SND7
Error: unable to open file, at line 12: 8 SND8
Error: unable to open file, at line 14: 9 SND9
Error: unable to open file, at line 16: 10 SND10
Error: unable to open file, at line 18: 11 SND11
Error: unable to open file, at line 20: 12 SND12
Error: unable to open file, at line 22: 13 SND13
Error: unable to open file, at line 24: 14 SND14
Error: unable to open file, at line 26: 15 SND15
Error: unable to open file, at line 28: 16 SND16
Error: unable to open file, at line 30: 17 SND17
No resources were loaded into the table. There were errors in 16 entries.
Seems like it doesn’t like the AIFF format. I’ve repackaged Lurking.blorb and Sherlock.blorb with Ogg conversions of the sound effects.
Unfortunately Gargoyle currently fails to identify external Ogg resources. I’ve fixed the bug but until the next release, extracting the SND files using gblorb won’t help. You’ll need to add the story file to the blorb instead.
So I would have to download the repackaged blorb sound files that you made and insert the story file the way you described earlier in the post but I need a different program other than gblorb? What program?
Should the story file keep the .dat extension? Would it be “story0.dat”?
When you say that you “fixed that bug”, does that mean you made gargoyle?
Have you tried this out and gotten the sound to work then? Did you use Windows Frotz?
I did fix the bug in Gargoyle, and tested the sound effects - such as they are.
The Lurking Horror ones seem to be not much more than samples of white noise. (I wonder if Audacity was playing them correctly?) One was recognizable as a scream. The violin sound effect from Sherlock was identifiable as such. But I didn’t get much out of the others; perhaps they would make sense in context.
It would be cool to see a fan project that offered a high quality sound pack with new source files.
I’ve just quickly checked the sounds with Windows Frotz and it all still works for me, with both Lurking Horror and Sherlock. For Windows Frotz the Blorb-format sound files (from http://ifarchive.org/indexes/if-archiveXinfocomXmediaXblorb.html) need to be in the same directory as the Z-code file with the same name, e.g. “Sherlock.z5” and “Sherlock.blb”.
The sounds I recall in Sherlock are a violin and horses hooves (try “blow whisle” then “wait” at the start of the game). Lurking Horror sounds are various chants and screams, not white noise.
This is not necessary: the AIFF sounds in the Blorb files were mechanically converted from the original Infocom sound files, which in turn were raw waveform data: the Blorb contains exactly the original Infocom sounds. If Gargoyle (or anything else) is playing those as white-noise, it would suggest a problem with the AIFF sound decoder somewhere. Fix the AIFF decoder! It would be good if Gargoyle were also fixed to look for a suitably named Blorb file if it is run on a Z-code file (so it would pick up “Sherlock.blb” if run on “Sherlock.z5”).
Just to be sure I’ve checked the Z6 games under Windows Frotz with the Blorb graphics files from the same URL, and they still all seem fine, too. (To answer Legend’s last post: The Z6 games won’t work under Gargoyle: Gargoyle uses a screen model that isn’t really compatible with the way the Z6 display works. Windows Frotz goes out of its way to support Z6, though that causes other annoying limitations in Windows Frotz’s screen handling that Gargoyle doesn’t suffer from. You pick an interpreter that best suits you …)
Audacity played the files as white noise. Every other sound program I tried - Windows Media Player, VLC - refused to do anything with the sounds at all. I’ve just attempted to use iTunes and afplay on OS X, and neither would play anything. I can accept that Audacity did a poor job of it but the rest are all nominally programs that support the format. That’s a lot of decoders to fix!
If AIFF is as temperamental a format as that, it seems like a high quality Ogg conversion would be more generally useful.
There’s at least one Gargoyle bug here - it can’t play AIFF sounds that differ from SDL_mixer’s preset sample rate of 44.1k. (It can handle Ogg / MP3, but does a relatively terrible job of resampling the files.) That is more of an upstream library issue: I will either need to replace SDL_mixer or find a way to patch SDL_sound with a quality resampling algorithm.
I agree (the AIFF files play fine for me on a number of players, but it’s an annoying format at any rate, and Ogg Vorbis files should be smaller, to boot).
I tried your Vorbis blorbs, and the sound was very distorted; this is due to a bug in oggenc’s AIFF reader (I’m almost certain that it treats the samples as unsigned when they should be signed). If you have Sox, it does the conversion properly. I’m apparently too dense to get perlBlorb working properly, or else I would have created blorbs with Sox-encoded files.
I’ve just extracted the sounds with BlorbScan and the resulting AIFF files play fine in Windows Media Player for me. Not sure why it wouldn’t work for you. As cas notes, the Blorb files you posted with Ogg format versions of the sounds in are definitely not right: would you remove those files for now?