by RealNC » Wed Feb 20, 2019 6:15 am
I just added full audio support to the CLI interpreter of hugo-unix. If frotz has it, we should to!
It uses the same audio engine as Hugor, so all music and sound formats Hugo games can have are supported. It's disabled by default though, because building it requires development libraries to be available on the system. To make things easier to Mac users, I made hugo-unix installable using homebrew. All you need to do is add the hugo tap with:
Then you can install hugo-unix with:
It will download, build and install everything automatically, just like any other homebrew package. In a default homebrew setup, you should be able to run "hc", "hd" and "he" from anywhere, since /usr/local/bin is already in the system PATH in macOS. Note that the package is called "hugo-
unix", not "hugo". There's already a package in homebrew called "hugo" (which is completely unrelated.)
If you don't have homebrew installed, you should. It's awesome. And dead-easy to install. All you need to do is open a terminal (normal user, NOT root) and paste this command in it:
Code: Select all
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Confirm the prompts. For more info, see
https://brew.sh.
I just added full audio support to the CLI interpreter of hugo-unix. If frotz has it, we should to!
It uses the same audio engine as Hugor, so all music and sound formats Hugo games can have are supported. It's disabled by default though, because building it requires development libraries to be available on the system. To make things easier to Mac users, I made hugo-unix installable using homebrew. All you need to do is add the hugo tap with:
[code]brew tap realnc/hugo[/code]
Then you can install hugo-unix with:
[code]brew install hugo-unix[/code]
It will download, build and install everything automatically, just like any other homebrew package. In a default homebrew setup, you should be able to run "hc", "hd" and "he" from anywhere, since /usr/local/bin is already in the system PATH in macOS. Note that the package is called "hugo-[b][i]unix[/i][/b]", not "hugo". There's already a package in homebrew called "hugo" (which is completely unrelated.)
If you don't have homebrew installed, you should. It's awesome. And dead-easy to install. All you need to do is open a terminal (normal user, NOT root) and paste this command in it:
[code]/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"[/code]
Confirm the prompts. For more info, see https://brew.sh.