RPG Maker XP games are refusing to launch, need help

Hi! Sorry for asking the same question in two categories, I'm not sure which one is the appropriate one for my issue. Feel free to delete whichever one is in the wrong category.
I actually just started this account, because I couldn't find a solution anywhere else, or even anyone with the same problem as me.
I've noticed a few weeks ago that most RPG Maker XP games I have now crash on startup: black screen for a few seconds while the game loads, as usual, and at the point where the game would normally start - the window just closes itself!
And it's so strange that some games are affected and others are not. I've never seen anything like it, and have no idea what's causing it. Did Windows Update mess something up again?
I've tried compatibility mode, changing the DPI scaling setting to "application", putting the "RGSS104E.dll" file in the game's folder - nothing works.
BTW, the affected games are all in English, so Japanese scripts are not the issue, either.
Please help!
Moderator note: Please do not post the same question in multiple places. I have already responded to the other one so I will close this one.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-xp-games-are-refusing-to-launch-need-help.131423/