I cannot believe this completely unsupported fan-made utility from 1997 is failing to work on modern windows
-
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
-
the game doesn't crash if you tab out if it WHILE IN A LEVEL, only in the menu.
so I guess I can go into the game, attach debugger, then exit to the menus and see what crashes?
-
fuck. it's a breakpoint on WM_ACTIVATE.
which gets generated every time I switch to the debugger! I'm in an infinite loop!
-
bah. I'm not making any progress. I can't get this to work and be debuggable, other than a one-shot after I come back from 3D view.
I'll have to do more static reversing and come back to this.
-
@foone I don't know of any RWB documentation
But RWX: https://wiki.activeworlds.com/index.php?title=Renderware -
-
@jernej__s wow, that really fucked up my font sizes! but thanks
-
eww they use CFile.
there's MFC grime all over this game -
oh hey they re-seed the random number generator every time they call random()
that's... not how you're supposed to do it