ScriptedSnark / GSChaos

Chaos Mod for GoldSrc engine (HL1)
MIT License
12 stars 1 forks source link

Can "hl.exe" be compiled to run... #8

Open B3HKO opened 2 months ago

B3HKO commented 2 months ago

Can (main dir / mod own) "hl.exe" be compiled to run under, at least, "Windows XP SP3 x86" ? Or it needs more work/changes, than just compiling with "Windows XP SP3 x86" as target for compilers ? I can test under "Windows XP SP3 x86", both VM and bare metal. VirtualBox_Win XP_28_08_2024_23_34_02

ScriptedSnark commented 2 months ago

Hello! I don't think it will work because I use v143 toolset and modern Windows SDK for GSChaos related projects (hl.exe too). Even if I make it work on older kit versions, only build 3248 and 4554 is supported for Windows XP (if we count supported builds in GSChaos).

B3HKO commented 2 months ago

Even if I make it work on older kit versions, only build 3248 and 4554 is supported for Windows XP (if we count supported builds in GSChaos).

I don't understand what you mean with the above sentence.

Not only CLEAN 3248 and 4554 HL builds work on Windows XP, but CLEAN 9920 and 8684 also run fine on Windows XP (i mean the builds clean own hl.exe). So, If i have Windows XP compatible "GSChaos hl.exe", I will be able to play GSChaos with any of the 9920, 8684, 4554, 3248 builds on Windows XP. Right?!?!?!... or I am missing something?

ScriptedSnark commented 2 months ago

I don't understand what you mean with the above sentence.

Not only CLEAN 3248 and 4554 HL builds work on Windows XP, but CLEAN 9920 and 8684 also run fine on Windows XP (i mean the builds clean own hl.exe). So, If i have Windows XP compatible "GSChaos hl.exe", I will be able to play GSChaos with any of the 9920, 8684, 4554, 3248 builds on Windows XP. Right?!?!?!... or I am missing something?

Usually 3248 and 4554 builds are used for non-steam HL distributions. Actually it's possible even for build 8684 but I don't think you can run modern HL on Windows XP because anyway it requires Steam. Especially I'm talking about HL25 version which uses VS2019 toolset and modern Steam API/client. Not only GSChaos-distributed hl.exe is compiled with modern toolset but also GSChaos.asi/ASILoader_3248.dll.

I also don't know how hooks will behave on that old OS. If it's broken, then I don't think it's worth to fix this incompatibility for 0.0% players. I remember I made one project for Sven Co-op and it had some issues with running on Windows 7 (fixed later but anyway). So no one can't guarantee that GSChaos can work with WinXP at all.

B3HKO commented 1 month ago

Just for the record, I'm not using a non-steam HL, I have steam running on WIndows XP with minor things not working properly. 8684 runs perfect, I can host and join games and we see each other games in the internet server browser. 9920 runs too, altho it is not that extensivly tested by me.

But you are right, how many people will run GSChaos on Windows XP, non-steam or steam? I will go and test 3248 build and ASILoader_3248.dll on Windows XP at least.