Skip to content

Instantly share code, notes, and snippets.

@erfg12
Last active August 26, 2022 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erfg12/a55328f50abaea15bd06d6584ed435af to your computer and use it in GitHub Desktop.
Save erfg12/a55328f50abaea15bd06d6584ed435af to your computer and use it in GitHub Desktop.

On Linux (Ubuntu) (WSL for Windows)

sudo mkdir /opt/toolchains/dc
sudo chown -R YOUR_USERNAME_HERE /opt/toolchains/dc
sudo chmod -R ugo+rwx /opt/toolchains/dc
git clone git://git.code.sf.net/p/cadcdev/kallistios /opt/toolchains/dc/kos
cd /opt/toolchains/dc/kos/utils/dc-chain
sh download.sh
sh unpack.sh
make
cp /opt/toolchains/dc/kos/doc/environ.sh.sample /opt/toolchains/dc/kos/environ.sh
source /opt/toolchains/dc/kos/environ.sh
cd /opt/toolchains/dc/kos
make
git clone --recursive git://git.code.sf.net/p/cadcdev/kos-ports /opt/toolchains/dc/kos-ports
sh /opt/toolchains/dc/kos-ports/utils/build-all.sh

Now you have KOS installed. Example code is available in /opt/toolchians/dc/kos-ports.

If you close your Linux terminal, you must do the command source /opt/toolchains/dc/kos/environ.sh before compiling DreamCast game code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment