UnrealKaraulov / newbspguy

Goldsrc map viewer/editor without decompiling. Also can view .MDL models.
The Unlicense
63 stars 13 forks source link

Windows XP compatibility is broken in the newest version #114

Open B3HKO opened 5 months ago

B3HKO commented 5 months ago

I was happy, that this cool tool will run on Win XP, but when I started it : crash This is the latest version on clean Windows XP x86 SP3. Who knows for how long the compatibility is broken, I didn't try the previous versions. CompareStringEx is supported on Windows Vista or above in the kernel, if I recall correctly. I'm open for providing more info about the error and testing for you.

UnrealKaraulov commented 5 months ago

Yes windows xp build not works because require CompareStringEx function :(

B3HKO commented 5 months ago

I tried on random some versions thru the many release pages. I don't think, that there is even one version ever, that works on Windows XP. Are you sure you use CompareStringEx function deliberately? Sometimes due to a wrong compile tool versions or compile parameters, Windows XP compatibility is broken because of missing functions, which are not even used at all. This is easily fixable with the right tools and parameters. I can test in XP for you.

UnrealKaraulov commented 5 months ago

@B3HKO https://github.com/tumagonx/xompie/ can be used to return Windows XP compatibility?

UnrealKaraulov commented 5 months ago

For example using hex editor (or just notepad++) replace kernel32.dll in bspguy.exe to kernelxp.dll and put this file from repository to bspguy.exe directory.

UnrealKaraulov commented 5 months ago

No, now CloseThreadpoolWork not found 🤣

Need use another build tools I think

B3HKO commented 5 months ago

I also tried my set of tools, tring to "XP-fy" the exe, but with no success. I think, the only option is to set up a virtual machine, install XP and install XP compatible compiler. Older Visual $tudio is not the only option for a compiler, MinGW, GCC and such. The question is: would you bother?