Ok, I figured it out, you were right. Deleting the mods folder made it run fine, and when I tried reinstalling one of my addonped mods it started crashing at startup again. I guess this mod just isn't gonna work. Thanks for the help
Edit: the culprit was a gameconfig.xml file I added to mods/update/update.rpf/common/data