SyndromeDayna / diablo-2-median-xl-sigma-loader

7 stars 1 forks source link

Is cnc-ddraw supposed to work? #5

Open ktzee opened 2 years ago

ktzee commented 2 years ago

I'm trying to get medianxl to use cnc-ddraw (https://github.com/FunkyFr3sh/cnc-ddraw) and d2stats. I'm launching the game using d2launcher (https://github.com/murkl/d2launcher). I have 2 wine prefixes, one configured to use cnc-ddraw (dll is in place, library override configured) and one that used glide. In the one with glide, everything works. In the one with ddraw, I get the "Failed too many times in a row" error message, even though I can see the sigma-loader process spawn.

The readme of sigma-loader says: Run glide-init.exe in the game directory and set texture memory to 108 MB (Max).

So I wonder if it's compatible with cnc-ddraw at all (or if it can be)?

ktzee commented 2 years ago

I noticed something. Here are the processes spawned when working with the cnc-ddraw prefix (not working): image

And here are the processess spawned when working with the glide prefix (no ddraw, working): image

There's an additional process spawned in the ddraw prefix, I don't know why.

ktzee commented 2 years ago

I actually got it working, but it's not entirely clear to my how that happened. It seems to have to do with configuring glide. I've changed back to glide for rendering, then I made sure it worked well with it, then went back to cnc, and everything worked fine (the additional process did not spawn this time, and both the game and d2stats work).