A Visual Studio Code template for Sega Genesis / Mega Drive homebrew built using SGDK. Intended for new projects on Linux.
- Unpack the latest release of SGDK.
- Set the
GDK
environment variable to where you unpacked SGDK in step 1 (e.g.,export GDK=$HOME/sgdk
). - Follow the instructions for SGDK_wine to wrap SGDK's executables. Check that Wine is installed before doing this.
- You can now compile with the default build task and run with the default test task.
Note that the default test task assumes a Flatpak installation of the BlastEm emulator. You may modify this by editing .vscode/tasks.json
.