I cannot believe this completely unsupported fan-made utility from 1997 is failing to work on modern windows
-
I can't tell if my fix worked because my theme is still fucked.
and I'm on windows 10, where they remove the options to change the colors.Now, you still CAN change the colors, they just deleted the GUI
-
@foone me getting up in the morning and thinking about my gender
-
I'm using this shareware to reset it:
https://www.wintools.info/index.php/classic-color-panelI bet if I just wrote some code to call SetSysColors myself it'd work.
-
ok I patched 2 of the 3 the three calls to SetSysColors, now it doesn't corrupt my whole system's palette when I launch it
-
gonna patch the 3rd just in case.
-
thanks to a typo when saving my notes, the official name of this "SoulTrap but make it work properly on modern windows" project is SoupTrap
-
@lucky oh yeah, I'm always hacking that one
-
here's what it looks like now. You can see that the checkboxes aren't fucked up by their paletted nonsense.
-
changing the title of the window from "SoulTrap" to "SoupTrap" CRASHES THE GAME
-
HOW IS THIS GAME THIS WEIRD?
-
oh it's because they set the window class name and window caption to the same string in memory! they're both SoulTrap. So when you change one, the other references to the SoulTrap window class now fail
-
I'll figure out the answer to the SoupTrap Dilemma later.
-
Security Writer :verified: :donor:replied to Foone🏳️⚧️ last edited by
@foone I’d contact Microforum and see what they have to say.
-
Foone🏳️⚧️replied to Security Writer :verified: :donor: last edited by
@SecurityWriter they're EA these days.
-
so the current thing I'm trying to fix is how it either crashes or explodes the palette when you switch away from it.
-
if I tell DxWnd to not notify about task deactivation, it stops crashing/corrupting, but it also locks up at the main menu and you can click anything
-
ugh. I was thinking they probably are doing something odd in their wndproc.
this program is MFC. that makes this more complicated
-
this would be easier to figure out if my debugger worked, because then I could use my debugger to find out why I can't use a debugger
-
I was fucking up the stack! my patch was in the wrong place. Lets see if things Suddenly Start Working now
-
well it doesn't crash. I'm back to the palette corrupting and the game freezing