Skip to content

Getting started with ScummC on Windows

Alban Bedel edited this page Apr 5, 2015 · 1 revision

If you are a Windows user, you will have to install MinGW or Cygwin to use ScummC. This page explains how to get started with Cygwin.

Install Cygwin

  • Download theCygwin installer and execute it.

  • On the "Select Packages" page of the install wizard, select the following additional packages from the "Devel" category: bison, gcc-g++ and make. Any additional required packages will be installed automatically.

  • For the visual editors, you would also need the GTK+ packages, but currently the ScummC configure script doesn't seem to recognize them on Windows. You can use the binary Win32 builds instead.

Download ScummC

  • Download the latestScummC release (currently 0.2.0) and save it in your Cygwin home directory.

  • Start the Cygwin Bash Shell.

  • Unzip the archive by typing

tar -xzvf scummc-0.2.0.tar.gz

Compile the ScummC tools

  • Go into the ScummC directory by typing
cd scummc-0.2.0
  • Run
./configure
  • Run
make

Compile a ScummC example game

  • Go into the game directory, e.g.
cd examples/openquest
  • If you try to run "make" now, you will most likely get an error of the type
\*\*\* No rule to make target \`xyz', needed by \`abc'.  Stop.

This is caused by the .exe extensions of the binaries which are missing in the makefile references.

  • For a quickfix, you can change the references in the makefile. Open the game makefile with an editor, e.g. WordPad.

  • Change the following lines

SCC=$(BIN\_PATH)/scc
SLD=$(BIN\_PATH)/sld
COST=$(BIN\_PATH)/cost
CHAR=$(BIN\_PATH)/char

by adding the .exe extension:

SCC=$(BIN\_PATH)/scc.exe
SLD=$(BIN\_PATH)/sld.exe
COST=$(BIN\_PATH)/cost.exe
CHAR=$(BIN\_PATH)/char.exe
  • You can now run "make" and compile the game. However, in order to play it, ScummVM will have to be patched and recompiled.

  • An easier solution is to change the binary key to have ScummVM recognize the game as DOTT. Open the makefile again and change the following line

scummc6.000: $(OBJS)
    $(SLD) -v $^

by adding the additional parameters:

scummc6.000: $(OBJS)
    $(SLD) -v $^ -o tentacle -key 0x69
  • Delete the previous binaries by running
make clean
  • Run "make" again. You should see that the game binaries are now all named tentacle.xxx.

Play a free SCUMM game in ScummVM

  • If you don't have ScummVM already,download and install it.

  • Start ScummVM, select "Add Game", and point it to the game binaries.

  • Run the game and enjoy.

Report errors

  • If, anywhere during this setup, you encountered any errors, please subscribe to theScummC-General mailing list and report them.