Duck Game Rebuilt

Duck Game Rebuilt is a decompilation of Duck Game for PC with massive improvements to performance, compatibility, and quality of life.

README

Duck Game Rebuilt

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:

Installation ๐Ÿ“ฅ

For Developers ๐Ÿšง

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.

Prerequisites
PlatformRequired
WindowsVisual Studio 2022 with the ".NET desktop development" workload (includes MSBuild, NuGet, and the .NET Framework 4.8 targeting pack)
Linuxmono-complete from the official mono repos, plus the nuget CLI
AllSteam running at launch time; clone with --recursive for submodules
Cloning

This repository uses git submodules. Either clone with the --recursive flag, or run this command after a normal clone:

git submodule update --init --recursive
Building on Windows
  1. Open DuckGame.sln in Visual Studio 2022.
  2. Restore NuGet packages (most IDEs do this automatically).
  3. Set DuckGame as the startup project โ€” not CrashWindow, FNA, Rebuilder, or anything else.
  4. Build the solution with Ctrl+Shift+B.
Building on GNU/Linux
  1. Add the official monoproject repos (unless you're firebreak, apparently).
  2. Install the mono-complete package.
  3. cd to the solution's directory.
  4. Restore NuGet packages if your IDE hasn't:
    nuget restore
    
  5. Copy DLL dependencies from ./DuckGame/lib/ into ./bin/:
    mkdir ./bin/
    cp ./DuckGame/lib/* ./bin/
    
  6. Build the solution:
    msbuild -m -p:Configuration=Debug
    
Running

Important

Steam must be running before launching the game, or it will crash on startup.

  • Windows โ€” press F5 in Visual Studio to launch in Debug mode.
  • Linux โ€” run the built executable under mono:
    mono ./bin/DuckGame.exe
    

Contributing

Pull requests are welcome. The usual workflow:

  1. Fork this repo on GitHub.
  2. Create a feature branch โ€” fix/<topic>, feat/<topic>, or docs/<topic> matches the naming convention recent merged PRs use.
  3. Commit with a Feat: / Fix: / Docs: prefix in the message subject.
  4. Open a PR against master.

For end-user questions or help, see the wiki FAQ or hop into the Discord.