teamsalta / sm64nx

Other
51 stars 10 forks source link

api-ms-win-shcore-scaling-l1-1-1.dll missing on windows 7 #18

Open Cooliokid956 opened 3 years ago

Cooliokid956 commented 3 years ago

the game used to work before but not anymore

Cooliokid956 commented 3 years ago

seems like the refreshes by "Your Name" did it i grabbed the binary from before the refreshes, and it worked

teamsalta commented 3 years ago

This was added to fix windows 10 DPI scaling. You can custom compile master without it by commenting out the single call in pc_main.cpp then removing the lib reference. WIll invstigate if there is a way to gracefully fail when its not present, perhaps loading the library manually.

Cooliokid956 commented 3 years ago

I had said that I'm on Windows 7; the DLL file doesn't exist, and even if you get it from an online source, it won't work because the DLL is for Windows 8 and up, so, about that "single call" that requires the DLL located in pc_main.cpp, what line DO I need to comment out, and what library reference?

enigma9o7 commented 3 years ago

I realize this is old news, but if you compile under mingw on win7, it produces a binary that works without that dll - without having to modify code.

However only on 64-bit. If you build 32-bit it won't run, dunno why.