Closed pzychotic closed 4 months ago
Hey, that looks promising! Just so you know, we will be working on replacing DirectX with SDL2 on Windows just like Linux and MacOS do, so don't spend too much effort on the DirectX code
Hey, that looks promising! Just so you know, we will be working on replacing DirectX with SDL2 on Windows just like Linux and MacOS do, so don't spend too much effort on the DirectX code
Thanks for the heads-up on DirectX stuff. I wasn't planning spending time on it, just replaced the SDK for the x64 support to get the current stuff to compile and run.
I had to load the new d3-win.hog last so the x64 DLLs from it will be found before the x86 DLLs from the original game data:pzychotic@435b1f4
- Shouldn't this also be done for Linux/Mac?
Maybe for Linux, but macOS can have multiple architectures in one binary.
I can't review further, other than verifying it works in windows, but I'd like to note that as pzychotic nicely explained, this pull will resolve the outstanding multiplayer issues.
We need additionally mention somewhere that we use static DirectX libraries (and here issue about licensing them with GPLv3 code).
These are not static libraries, these are just the link libs needed by the linker to resolve the symbols to the DLLs.
Pull Request Type
Description
Getting this out as a starting point for a possible Windows x64 build.
So far my local tests in Singleplayer work fine. I haven't tried any Multiplayer.
Quick summary:
Cut corners:
Maybe this can be replaced with writing a MiniDump file nowadays?Done in #514Do we even still need this?Code removed in #410Open questions:
Shouldn't this also be done for Linux/Mac?Done in https://github.com/DescentDevelopers/Descent3/pull/354/commits/0c67b093c637d41d964e540cced5049851db29f0Known Issue:
Checklist