Skip to content

darealshinji/sonic-4-launcher

Repository files navigation

This is a C++ rewrite of the Sonic 4 (Episode 1) game launcher for Windows. The original launcher was written in Java but the game itself uses no Java. I made this to avoid a pointless Java runtime dependency and to make it easier to run Sonic 4 on Linux using Proton. This version should also work better when you rebind keys with a non-US keyboard layout.

The original Java launcher can be extracted and examined with the following Unix shell command: tail -c+178689 SonicLauncher.exe > SonicLauncher.jar

How to build

Checkout the submodule with git submodule init && git submodule update. Then open SonicLauncher.sln in Visual Studio 2019 or use the msbuild command from the Visual Studio developer command prompt or use the Makefile if you want to build with MinGW/GCC.

License

Most of the stuff I've written is MIT licensed, check the source file headers for details. This project is using the FLTK library which is LGPLv2 licensed but with certain exceptions, see fltk/COPYING for details. The image files are copyrighted and not under a free license.