{"id":16203273,"url":"https://github.com/0x0ade/duckgame-linux","last_synced_at":"2025-07-08T09:40:20.900Z","repository":{"id":148280661,"uuid":"103198131","full_name":"0x0ade/DuckGame-Linux","owner":"0x0ade","description":"Collection of patches to get Duck Game running on Linux using FNA, not Wine. Scroll down for instructions.","archived":false,"fork":false,"pushed_at":"2018-11-03T22:33:43.000Z","size":1756,"stargazers_count":50,"open_issues_count":17,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-14T20:50:44.572Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x0ade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-11T23:26:49.000Z","updated_at":"2025-03-04T05:39:26.000Z","dependencies_parsed_at":"2023-04-21T00:07:09.807Z","dependency_job_id":null,"html_url":"https://github.com/0x0ade/DuckGame-Linux","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0ade%2FDuckGame-Linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0ade%2FDuckGame-Linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0ade%2FDuckGame-Linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x0ade%2FDuckGame-Linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x0ade","download_url":"https://codeload.github.com/0x0ade/DuckGame-Linux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243975674,"owners_count":20377627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T09:53:33.435Z","updated_at":"2025-03-19T07:30:42.438Z","avatar_url":"https://github.com/0x0ade.png","language":"C#","readme":"# Duck Game Linux FNA patches\n### Because Duck Game forgets to mkdir and wine is slow\n##### MIT-licensed\n----\n\n[**Feel free to discuss this on Reddit!**](https://www.reddit.com/r/linux_gaming/comments/6zqrrx/duckgamelinux_fna_custom_steamworks_bindings_some/)  \n[Screenshots](https://twitter.com/0x0ade/status/907745108010946560), [GamingOnLinux.com article](https://www.gamingonlinux.com/articles/want-to-play-duck-game-on-linux-well-its-possible-thanks-to-xnatofna.10339)  \n0x0ade on [**Twitter**](https://www.twitter.com/0x0ade), [**Patreon**](https://www.patreon.com/0x0ade)\n\n\n[**You can support me on Patreon!**](https://www.patreon.com/0x0ade)  \nThis project wouldn't be possible without the support from:\n* Ethan Lee: Thank you for creating FNA!\n* Artus Elias Meyer-Toms, Renaud Bedard and Ryan Kistner: I wouldn't be able to get my hands on the game without your support!\n\n### Usage instructions:\n**Preparations:**\n* Get yourself a fresh copy of Duck Game, f.e. via Steam... through Wine... or from a friend with Windows.\n* Install `mono-complete` and `libcurl3:i386` and `ffmpeg` (or matching) via your package manager.\n    * `ffmpeg`, not \"`libav`\" / `avconv`.\n\n**Installing / updating:**\n* Download [**the latest released DuckGame-Linux-Complete.zip**](https://github.com/0x0ade/DuckGame-Linux/releases)\n* Extract the .zip into the Duck Game directory. Overwrite the original files when extracting. `XnaToFna.exe`, and `DuckGame.exe` should be next to each other; The old `Steam.dll` should be replaced by the one in the .zip.\n* Open terminal in Duck Game directory, run `chmod a+x ./mod.sh; ./mod.sh`\n    * `mod.sh` creates a backup of important files in an `orig` subdirectory, which XnaToFna needs. It also gives all files in the directory read-write permissions for all users, otherwise both XnaToFna and MonoMod will fail.\n* Run `mono DuckGame.exe` OR Launch the game via Steam (add `DuckGame.sh` to your library as \"non-Steam game\").\n* Be a duck with a gun!\n\nThe game stores its save data in `~/DuckGame`, which is technically the same as on Windows.\n\n### Current collection of patches:\n* [XnaToFna](https://github.com/0x0ade/XnaToFna) gets the game running using [FNA](https://fna-xna.github.io/) instead of XNA. Thanks to [flibitijibibo](https://www.patreon.com/flibitijibibo) for FNA. Without him this wouldn't be possible!\n* [Non-mixed-mode Steam.dll \"proxy\" to Steamworks.NET](https://github.com/0x0ade/DuckGame-Linux/tree/master/Steam) - this allows you to use Steam functionality natively... although it still contains a few holes. Working on it!\n* More verbose fatal error logging that help you when patching the game.\n* Create missing directories automatically. Does Windows just implicitly create the directories?!\n* Automatically pass -nothreading because it's faster.\n* Automatically pass -nomods because the mods would need to be relinked to FNA. This doesn't happen automagically yet.\n* Fix `ModLoader.modHash == null`, not `\"nomods\"` when `-nomods` is passed. This also affects vanilla Duck Game and can kill Steam.\n\nIf for whatever reason something doesn't work, please create an issue on GitHub. I want this to work for everyone!\n","funding_links":["https://www.patreon.com/0x0ade","https://www.patreon.com/flibitijibibo"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x0ade%2Fduckgame-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x0ade%2Fduckgame-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x0ade%2Fduckgame-linux/lists"}