So I think I have managed to incorporate almost all of the performance improvements into the Suwex version. There is a patch available that updates three of the scripts for this version - you can find it here : https://www.christrains.com/he…ledgebase.php?article=186
This patch assumes you have either version 5.x or 6.0.0 of the Flirt installed. So anything from 2020 onwards.
I have tested this update in my test environment as well as my development machine and it seems to function correctly. I'd appreciate it if some of you want to download this and test it out - make sure it didn't break anything - before I make a larger announcement about it. If you want to be "safe", keep a copy of these three scripts from the simulation folder before installing the patch :
Stadler Flirt 3 AB Engine Script SUWEX.out
Stadler Flirt 3 C Wagon Script SUWEX.out
Stadler Flirt 3 E Wagon Script SUWEX.out
This update does NOT touch any of the BIN files, so it should work with all repaints without needing any changes from the repaint authors as it is only scripting changes.
To give you some feeling for what this does - with the old version, if you drove a consist of two sets of 5-wagon Suwex Flirts, the game would process about 92 scripts per frame for the consist you were driving. There was a lot of "ping pong" messages travelling around the train that cause the scripts to repeat. With this performance update, for the same consist, that has dropped to about 14 scripts. The biggest changes are in some of the expensive system calls. The longer the consists, the more evil the old scripts became... ![]()
The only place you'll really see a real improvement in frame rate is if you have a scenario with a lot of these Suwex Flirts in it. Otherwise, for day-to-day driving, everything should continue to work just as it always has.
Note: This only updates MY version of the Suwex Flirt - not the one from the Frankfurt-Koblenz route.