Ran SFC /SCANNOW and it seems to be OK now. I gotta wonder though what caused it to get screwed up in the first place? Train22 is the ONLY thing that runs on Windows......everything else (including posting this) happens in Linux.
I hate Windows.
PLEASE come up with a Linux version! Lemme know.....I will be MORE than happy to beta test it!!!!!
Possible causes:
Windows Defender / other AVs scanning Trainz files on Access and interrupting whatever Trainz database is up to, needs excluding, exclusions need checking after a major Windows update, twice here they have been removed although hasn't happened for 12 months now.
Indexing, disable on Trainz drive, if you have SSDs there is no gain from indexing files anyway. For Win users a little free program Search Everything is far quicker and thorough than Windows search and doesn't require Indexing to be running.
Multi-boot with Linux, if doing things on an NTFS drive it can on occasions mess up permissions and or trigger a disk repair on booting Windows, I would avoid mounting the Trainz drive unless like me you have been playing with Wine to run it from a Windows disk, that worked reasonably well up to TS12 apart from the useless Content manager.
After running a database repair in TANE upwards assuming that it has finished when it says it has, if you check disk access there is clearly some delayed caching going on which may take a minute or two or Ten minutes or longer so so advisable not to shut down immediately after doing a database repair, this is worse if using spinners with large disk caches, not so much an SSD issue.
Get rid of Nvidia Experience, IMO Trainz runs better without it.
Likewise probably more applicable to Win11, get rid of Windows Xbox crap and game bar, definitely better performance without it, I've never actually run Edge on this PC as I never used IE.
Stop Edge from autostarting on startup, IMO best to avoid it completely downside is MS's annoying Widgets in Win11 need Edge to be running, I can live without that annoyance.
I do run Linux but I'm also a Windows Insider so no real problem with either OS, have always run both although Windows always needs taming and adjusting to get rid of the junk MS thinks we all want. Most insiders constantly complain and make suggestions in the hope that MS might take notice, we have though just got tabs in File Manager or rather are testing them, something people have been requesting since XP........ Far more use than stupid emojis and Widgets!