This is my first time making any sort of mod for any game so any advice may be helpful. The other day I started working on an overhaul for Sturgia's troops. I made a copy of spnpccharacters, opened it in notepad++ and got started. After finishing I replaced the vanilla file with mine in the game folders and started up the game. I started a new game and was immediately hit by an inability to save my game at all. Autosaves, quicksaves, manual saves all gave me an error message: Save Failed! Cannot create save data. I looked at the troop tree for Sturgia in the encyclopedia and everything looked right at least. So to test what could be causing the save failure I started importing small chunks of changes to the vanilla file one at a time and loading up a new game to test it out. This was last night, I was doing a few characters at a time and after a couple tries I noticed that I couldn't quicksave with the f5 key and the game didn't seem to be autosaving either from what I could tell. I could still manual save however. So today I decided to try again but this time make changes one troop at a time. Everything seemed to be going fine after the first 2-3 changes, except that autosaving seemed to not happen very often but I usually don't pay attention to autosaves so I don't know. After one change though I could play for a few minutes but then all of a sudden save started failing again. I took a look at that troop and I can't find anything wrong with the syntax or any items its using that aren't used by other troops in the vanilla file. I found it odd that with all the changes I can't save from the get go, but after only a few changes it takes five or so minutes to start. I don't know if that implies something goes wrong once certain units spawn in or what.
I'm pretty much at a loss as to what to do next to troubleshoot this. I see other people making unit overhauls with no problem but I'm sitting here unable to save. I don't and have never had this issue in my normal games without these troop changes. Any help would be appreciated.