Compiling for Windws/Cygwin
Please note: If you're simply looking for an interpreter to
play interactive fiction on windows, you might rather want to
take a look at the many other excellent
interpreters out there. Many provide a comfortable GUI interface,
making life much easier. However, if you really want to get fizmo running
on Cygwin, have some time on your hand are are not afraid of the command
line, you can try the following experimental procedure:
First, you'll have to install
Cygwin.
During the installation, be sure to install the following packages:
-
From the base package: tar, bash, coreutils and libgcc1.
-
From the devel package: automake, gcc4-core, gcc4-g++, libgcc1, libstdc++6,
libstdc++6-devel, make, libxml2-devel, gcc-mingw and gcc-mingw-g++.
-
From the web package: wget.
Now, open a bash shell from the Cygwin Programm start menu (or from the
icon on your desktop) and run the following commands:
ln -s /usr/bin/cpp /lib/cpp
cd $HOME
mkdir src
cd src
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.7.tar.gz
tar xf ncurses-5.7.tar.gz
mkdir -p $HOME/opt/ncurses
cd ncurses-5.7
./configure --prefix=$HOME/opt/ncurses --enable-widec
make
make install
cd $HOME/src
wget http://www.mega-nerd.com/libsndfile/libsndfile-1.0.19.tar.gz
tar xf libsndfile-1.0.19.tar.gz
mkdir $HOME/opt/libsndfile
cd libsndfile-1.0.19
./configure --prefix=$HOME/opt/libsndfile
make
make install
cd $HOME/src
wget http://www.libsdl.org/release/SDL-1.2.13.tar.gz
tar xf SDL-1.2.13.tar.gz
mkdir $HOME/opt/SDL
cd SDL-1.2.13
./configure --prefix=$HOME/opt/SDL
make
make install
cd $HOME/src
wget http://spellbreaker.org/~chrender/fizmo/fizmo-0.6.3.tar.gz
tar xf fizmo-0.6.3.tar.gz
cd fizmo-0.6.3
ln -s config.cygwin-sound.mk config.mk
make
mkdir $HOME/fizmo
cp fizmo $HOME/fizmo
cd $HOME/fizmo
cp $HOME/opt/SDL/bin/SDL.dll
$HOME/opt/libsndfile/bin/cygsndfile-1.dll .
cp /bin/cygwin1.dll /bin/cygxml2-2.dll /bin/cygz.dll
/bin/cygiconv-2.dll .
|
If all this has worked out, you should now a have a directory named
“fizmo” in your homedir. This is accessible from the normal
Windows environment by going to C:\CYGWIN – or whereever you've installed Cygwin –
and into home →
(your-name) →
fizmo. To start it, it's
probably best to run the following command from a windows shell
(which you'll get by running “Start” → “Run …” and typing “cmd” into
the dialog box):
|
C:\CYGWIN\home\(your-name)\fizmo\fizmo.exe <path-to-story.z5>
|
Once you've run the first story, you can simply double-click the
fizmo.exe later, which
should now show a menu containing all stories you've played so far
(for more information about the story menu, see the manual page).