MrParrot Posted December 25, 2017 Posted December 25, 2017 Merry Xmas! So I have a retro gaming computer running Windows 98SE and, as expected, CnCNet won't run on it. I would like to try to at least make it launch in such machine and perhaps add little support to this system, but I have no access to cncnet5 sourcecode (can't find it in github. It is not opensource?). What works (only tested with Tiberian Dawn): The installer works flawlessly cnc95.exe CCConfigFull.exe What does not work: cncnet5.exe The cncnet5.exe crashes with the following message: "Application has generated an exception that could not be handled. Process ID=0xffe1fde7, Thread ID=0xffe04b3f. Click OK to terminate the application. Click CANCEL to debug the application" Well, I'm no C# developer but what I've read so far is that there is a subset of dotnet2 that supports Win98 and the last Microsoft C# VisualStudio supporting such system is VS2005. Perhaps I can try to compile the project in this environment and say if I continue or give up. Thank you for the attention. It is a funny request, actually :-)
Tore Posted December 25, 2017 Posted December 25, 2017 IIRC the CnCNet client for C&C1, RA1, Dune2k and TS requires dotnet framework 2.0 try installing that first. It is the last version that was released for Win98. Otherwise you need at least XP.
MrParrot Posted December 25, 2017 Author Posted December 25, 2017 Oh, yeah. I forgot to mention. I have dotnet2 installed, and I can run 'CCConfigFull.exe' that is written in C# with dotnet2.
Myg Posted December 25, 2017 Posted December 25, 2017 Well, funky doesnt want to make the source available; thats his decision. This possibility has lingered in my mind for a while and although it isnt implemented it would be great if it actually happened.
MrParrot Posted December 25, 2017 Author Posted December 25, 2017 9 minutes ago, Myg said: Well, funky doesnt want to make the source available; thats his decision. This possibility has lingered in my mind for a while and although it isnt implemented it would be great if it actually happened. Well, that is sad. Worms Armageddon still works online even on Windows 98. There is something that comes to my mind right now is that if the compiler somehow generated i686 code. Since my machine has an AMD K6-2 CPU, which is only i586 compatible, the application would crash because the CPU can not decode some instruction. This is just a guess, but a recompile with the correct flags may work? Anyway, sorry to disturb you guys. I thought it would be great if CnCNet kept compatibility with the hardware the original games were built for.
FunkyFr3sh Posted December 26, 2017 Posted December 26, 2017 CCConfigFull.exe works, but what about CCConfig.exe ?
MrParrot Posted December 26, 2017 Author Posted December 26, 2017 12 hours ago, FunkyFr3sh said: CCConfigFull.exe works, but what about CCConfig.exe ? It shows me: "Exception has been thrown by the target of an invocation", and then crashes with: "Application has generated an exception that could not be handled. Process ID=0xfffe0d05, ThreadID=0xffe14c59. Click OK to terminate the application. Click CANCEL to debug the application." I thought that was the original configuration tool provided by westwood, thus I did not bother testing it
FunkyFr3sh Posted December 26, 2017 Posted December 26, 2017 CCConfig.exe is quite new (Made with visual studio 2017), CCConfigFull.exe is older (project was created with an old visual studio version, but compiled with 2017 too) No idea what the reason could be... But I think it's not a good idea to play online with such hardware anyways, it would be very slow and everyone would hate on you for lagging the games
MrParrot Posted December 26, 2017 Author Posted December 26, 2017 I've just managed to make CCConfig.exe open. What I had to do was just disable any KernelEX extension to it. Do cncnet5.exe generates a stacktrace? where is it located?
FunkyFr3sh Posted December 26, 2017 Posted December 26, 2017 Check TiberianDawn_Online\CnCNet5\Logfiles
MrParrot Posted December 26, 2017 Author Posted December 26, 2017 There is no such folder, unfortunately. So the crash is before the logger class is instantiated (if such thing exists).
MrParrot Posted December 31, 2017 Author Posted December 31, 2017 According to MSDN, EventLog is not compatible with both Windows 98 and Millennium.
Myg Posted December 31, 2017 Posted December 31, 2017 Funky said he didn't, so it must be something else.
MrParrot Posted December 31, 2017 Author Posted December 31, 2017 So I've dug into a VS2005 20000 pages document, searching anything that is Win98 related. What I've found was: FileSystemWatcher is incompatible with Win98 Asynchronous Operations are incompatible with Win98: BeginExecuteNonQuery - seems to be database related, might not be the issue BeginExecuteReader BeginExecuteXmlReader Unicode functions are not supported. ANSI function may be used instead. TcpServerChannel cannot be specified as secure under Win98. If at least I could get a stacktrace of the crash :-( Anyway, happy new year!
Myg Posted December 31, 2017 Posted December 31, 2017 Nice research Parrot. I am guessing that its probably a few of those issues.
MrParrot Posted December 31, 2017 Author Posted December 31, 2017 (edited) 3 hours ago, Myg said: Nice research Parrot. I am guessing that its probably a few of those issues. Thank you! Well, I get paid for doing research, actually There is also this page with a huge table showing unsupported classes by Windows versions, and also a way to capture exceptions caused by it. Edited January 1, 2018 by MrParrot Grammar fix
Myg Posted December 31, 2017 Posted December 31, 2017 Well, its not just the program itself, funky uses 3rd party libs as a basis for the IRC communication. There is probably some Async stuff in that. Nice find on that page!
MrParrot Posted January 1, 2018 Author Posted January 1, 2018 2 hours ago, Myg said: Well, its not just the program itself, funky uses 3rd party libs as a basis for the IRC communication. There is probably some Async stuff in that. Nice find on that page! And such libs are? Good, we are getting forward regarding the problem's source.
Myg Posted January 1, 2018 Posted January 1, 2018 I dont know if its worth proceeding any further. I doubt funky would make the changes just to allow windows 98 machines to work. Hes spent a few years on it and its alot of code! If he wanted to make those changes it would be a totally large undertaking.
MrParrot Posted January 1, 2018 Author Posted January 1, 2018 (edited) 13 minutes ago, Myg said: I dont know if its worth proceeding any further. I doubt funky would make the changes just to allow windows 98 machines to work. Hes spent a few years on it and its alot of code! If he wanted to make those changes it would be a totally large undertaking. I appreciated the attention (seriously, I wasn't expecting an answer to this topic). I agree, if there is a huge amount of work (i.e. modify hundreds of lines of code) just to add Win98 support to one person, then this is unfeasible. Maybe I stick around and help with/when I can. Happy new year! Edited January 1, 2018 by MrParrot
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now