Duck Game Rebuilt is a decompilation of Duck Game with massive improvements to performance, compatibility, and quality of life features.
Tip
Join our Discord server if you have any questions, need help, or want to report bugs.
Notable wiki pages:
- Frequently Asked Questions
- A list of all improvements to Duck Game Rebuilt
- Hardware and software compatibility
- Windows — subscribe to the Steam Workshop mod.
- Linux — follow the Linux Installation Guide.
Welcome to the repo, enjoy your stay, please unfuck the code. thanks
Note
Your IDE will scream at you with 200+ warnings when building. That's normal.
| Platform | Required |
|---|---|
| Windows | Visual Studio 2022 with the ".NET desktop development" workload (includes MSBuild, NuGet, and the .NET Framework 4.8 targeting pack) |
| Linux | mono-complete from the official mono repos, plus the nuget CLI |
| All | Steam running at launch time; clone with --recursive for submodules |
This repository uses git submodules. Either clone with the --recursive flag, or run this command after a normal clone:
git submodule update --init --recursive- Open
DuckGame.slnin Visual Studio 2022. - Restore NuGet packages (most IDEs do this automatically).
- Set DuckGame as the startup project — not CrashWindow, FNA, Rebuilder, or anything else.
- Build the solution with
Ctrl+Shift+B.
- Add the official monoproject repos (unless you're firebreak, apparently).
- Install the
mono-completepackage. cdto the solution's directory.- Restore NuGet packages if your IDE hasn't:
nuget restore
- Copy DLL dependencies from
./DuckGame/lib/into./bin/:mkdir ./bin/ cp ./DuckGame/lib/* ./bin/ - Build the solution:
msbuild -m -p:Configuration=Debug
Important
Steam must be running before launching the game, or it will crash on startup.
- Windows — press
F5in Visual Studio to launch in Debug mode. - Linux — run the built executable under mono:
mono ./bin/DuckGame.exe
Pull requests are welcome. The usual workflow:
- Fork this repo on GitHub.
- Create a feature branch —
fix/<topic>,feat/<topic>, ordocs/<topic>matches the naming convention recent merged PRs use. - Commit with a
Feat:/Fix:/Docs:prefix in the message subject. - Open a PR against
master.
For end-user questions or help, see the wiki FAQ or hop into the Discord.