0x0ade / DuckGame-Linux

Collection of patches to get Duck Game running on Linux using FNA, not Wine. Scroll down for instructions.
MIT License
50 stars 3 forks source link

DuckGame-Linux OSX Edition #10

Open mrdaveu opened 6 years ago

mrdaveu commented 6 years ago

Hey, Dave here! Built your hack on mac, and it works! Reporting below.

1. MonoMod Error. MonoMod fails at some stage. Not sure if it is a problem.

2. Mac Changes Put in FNA libraries for mac from https://github.com/FNA-XNA/FNA/wiki/1:-Download-and-Update-FNA ; used provided Steamworks.NET-stubbed and added config file to link to CSteamworks.bundle mac library.

Carbon drivers for Windows.Forms implementation is 32-bit only. The libraries provided above are 32bit/64bit multi-architecture libraries, which should work with running in 32-bit. However, libSDL2_image refers to the absolute path of existing libSDL2-2.0.0 in /usr/local/bin/ which was 64bit only on my machine. I had to swap that out with those from FNA for the game to run properly.

3. How does it run? mono --arch=32 DuckGame.exe Good news is that it launches and runs fantastically (sans online which I don't care about)! Bad news is that it loads veeeery slowly - taking roughly 30 minutes, and only pulling in roughly 1% cpu load during loading. It seems to be loading the needed files one by one: Below is the cycle it runs for every sprite, taking around 1 second before moving on to the next. Any ideas?

Thank you 0x0ade and Ethan for all your hard work making this possible!

mrdaveu commented 6 years ago

Update! Me being the klutz that I am, I hadn't considered updating Duck Game BEFORE applying your patches. Needless to say, the problem was that I didn't have the latest version -- the MonoMod patch works out and it runs perfectly! Thanks 0x0ade.