(05-29-2025, 04:06 PM)Jason Petho Wrote: Well, we have some big news in regards to the JTCS
Long post ahead.
What's behind this is the white screen issue, discussed
HERE also affecting a few CS Middle East and Vietnam players. Matrix Tech Support provided me with a code snippet that should ensure the AMD and NVIDIA graphics cards in some certain (older?) setups should kick in and do their job.
I put together the Middle East and Vietnam quick fixes in March, Updates went to Public Beta in April, and after ensuring everything was in order, the official releases came out a week ago.
They also asked me if I could do the same for JTCS: just add the code snippet to the code initiating the game’s main window, compile, and create the executables. However, I didn’t have the latest source code, just the 2.00 source (and a Visual Studio 2008 dev setup backup for the same version).
Berto ran a highly professional shop, and his son Chris spent a good few days going through his dad's daily backups in the number of USB drives he kept in safe. He first located the 2.01 source code, and then the final 2.02 source code. Thank you again, Chris! So, and as a nice surprise, we were suddenly good to go.
Except 2.02 was created with Visual Studio 2008, while I have the latest 2022 version which is not compatible. Still, I really wanted to ensure this game remained playable, so I purchased a Microsoft license to download older Visual Studios. This is where things got tricky.
Visual Studio 2008 support ended long ago, so I thought I’d upgrade the game at least a few versions up. Berto upgraded from VS2008 to VS2015 back in 2016, and it was a Royal Pain for him at the time, too (a Microsoft SDK nuked his development rig, among a ton of other details I won't go into). I tried the upgrade step by step, first VS2010, then VS2012. Then, BOOM—my dev rig setup was gone. A ton of SDK, lib paths to keep in order. Too many. Back to a latest Windows 11 restore point I had made. After a good few days, I was able to continue with VS2022 for Middle East and Vietnam while sticking with VS2008 for JTCS. Lesson learnt.
So, while I did
not manage to upgrade JTCS to a supported development environment, I did manage to create game executables with VS2008 that run on my two computers, on Dave’s computers, and now Jason has given the green light as well. That in itself is great news. (JTCS 1.04 was compiled and linked with VS2005, it still runs on my Win11, too.)
At this stage, we are very much in the "If it works, don’t touch it" zone. The white screen quick fix is important, making it worth creating new executables with that fix, using VS2008. (We’re all familiar with installing the C++ 2008 distributables for any new JTCS install. VS2008 is the reason behind it.)
So, let’s not rock the boat.
That said, I took two wish list items from this forum. The first was the "Player Alert Number of Saves Exceeds 2" warning when opening a PBEM file from an opponent. I also dislike it, as I often play in bits and pieces. I hate that this prompt is the first thing my opponent sees, and I recall many others mentioning this issue. Now, if you all really want to keep it, I can do that too. I simply commented out the Message Box prompt.
The other small code fix is for the Victory Dialog, allowing for larger values.
And with that, I feel like I’m already rocking the boat. So, as Jason mentioned, data fixes and issues with Platoon files, maybe there’s a chance to address those.
TL;DR: Matrix is willing to release a new update for JTCS, featuring the White Screen hotfix—how great is that? Even if that’s pretty much the main focus of the update.