Frotz 2.50 beta ready

I’ve fixed and/or addressed all the things I want to for this long-awaited and long-delayed update to Unix Frotz. It’s now ready for beta testing, so please take a look at it and try your best to break it.

I’ve also updated the DOS port, but it lags a bit behind in that it still uses the old Infocom formats for audio and graphics. The problem is sufficiently hairy that I’ve pushed it back for a later update. There are/were two problems with the DOS port that I’m not entirely sure are gone. These are a tendency for Frotz to lock up the machine hard upon quitting a game and another where it crashes after a few moves in certain games.

You can get both the source and a DOS executable at the IF Archive (http://ifarchive.org/indexes/if-archive/infocom/interpreters/frotz/) once the curators have found them. As always, there’s also https://gitlab.com/DavidGriffith/frotz/

Here’s what’s new:

NEW FEATURES

  • Added UTF-8 input and output. Plain ASCII is still available.
  • Added -L option for restoring save file directly from the command line.
  • Added -R option for restricted read/write path.
  • Sound effects in AIFF, MOD, and OGG formats supported per the Blorb specs.
  • Sound driver selection is automated through the use of libao.
  • Allow for an alternative Blorb file to be specified on the command line.

BUG FIXES

  • Overhauled MacOS compilation.
  • Corrected problems with error handling.
  • Fixed a lot of unsafe strcpy() and strcat() calls.
  • Fixed adaptive palette rendering for SDL.
  • Fixed scaling with manually specified window dimensions.
  • Fixed problem with unnecessary newlines with input timeouts.
7 Likes

Hey Dave,
Happy to give the 2.5 Beta a try on my MacBook (10.15 Catalina).
But I couldn’t find the file. Could you point me in the right direction?

Thanks

Rhetro

The tarball can be downloaded directly from Gitlab by clicking “Project” then “Release”. You’ll see a drop-down to select a format. Download that, open it up, and read README.1st and INSTALL.

Hey Dave,
My apologies, but I’m having trouble with this. I suppose I have to register with Gitlab first (I’m new to this whole thing and don’t have a problem doing this).

I’ll register with them, and then as you said:
Project
Release
find the file and download it.

Thanks for your patience.

You don’t have to register.

It does look like only the source code is available though? So you’d have to build it yourself. Are there MacOS binaries somewhere? Or detailed instructions for building from a stock MacOS machine?

I was able to build on my Mac but I had to tweak the Makefile a bit.

Add this line at the top of the Makefile:

MACOS = yes

Delete these two lines:

@echo "** ERROR UTF-8 support only works with ncursesw!"
exit 2

Then type make nosound.

(Oh, if you have a truly stock Mac, you’ll have to install Apple’s developer tools first.)

I haven’t tried building with sound. It’s possible but you have to install additional libraries first using homebrew (https://brew.sh/).

Ouch! Way above my pay grade…lol
I’ll wait…

Thanks and
See ya soon!

Oh dear! I thought I kept things such that no Makefile editing would be necessary for MacOS. I don’t have regular access to a MacOS machine, but I should this weekend. I’ll fix that and go over the docs to make sure a source install is quick and easy.