BG:EE fails to launch

When I try to start BG:EE, the launcher fails, producing this message:

More details about my situation:
1. As for mods, I thought I had SCS installed on BG:EE, but trying to uninstall SCS (to fix the above problem) found that the mod was not installed at all.
2. Before trying to launch the game, I installed three of my own custom kit mods, one of which required copying the K_M_H.2da and similar mage kit tables from BG2:EE, because they were filled with random junk:

However, the problem persisted even after I uninstalled those three mods. It also persisted after I removed the .2da files I copied from BG2:EE. Also, all three kit mods were fully functional with BG2:EE. So I don't think they're the problem here.
3. I've gotten BG:EE and SOD working fine before. This is a new problem.
4. BG2:EE and IWD:EE are working fine. This problem only shows up for BG:EE.

More details about my situation:
1. As for mods, I thought I had SCS installed on BG:EE, but trying to uninstall SCS (to fix the above problem) found that the mod was not installed at all.
2. Before trying to launch the game, I installed three of my own custom kit mods, one of which required copying the K_M_H.2da and similar mage kit tables from BG2:EE, because they were filled with random junk:

However, the problem persisted even after I uninstalled those three mods. It also persisted after I removed the .2da files I copied from BG2:EE. Also, all three kit mods were fully functional with BG2:EE. So I don't think they're the problem here.
3. I've gotten BG:EE and SOD working fine before. This is a new problem.
4. BG2:EE and IWD:EE are working fine. This problem only shows up for BG:EE.
0
Comments
How do I find my baldur.lua file? I only see baldur.gam in the override folder and Baldur the application, plus an engine.lua file. Renaming those files has no effect (though renaming the second one produces a slightly different error message on startup).