So, I got this message after trying to open the launcher after accidentally kicking the power cord to my computer while playing the game.
Does anybody know how to fix this?
You can try deleting the file “C:\Users\(YOUR_USERNAME)\AppData\Local\Pokemon Insurgence\settings.json”
I would suggest opening the ‘run’ prompt and typing %LocalAppData% and then browsing to that location to delete the file.
You could also run the following command from cmd or any other local terminal that accepts the command: del /S /Q “%LocalAppData%\Pokemon Insurgence\settings.json”
Obviously, this will erase your settings.
I did this and I went to %LocalAppData% and there wasn’t a pokemon insurgence file. afterwards I tried running the command in cmd and it said something along the lines that this file doesn’t exist. Do you have any other solutions?
Nope, you’ll have to get a developer of the launcher to respond. I looked through it as much as I could and didn’t find anything that would cause it except for a corrupt settings file. (NOTE: I also can’t reproduce this, no matter what I do to the launcher or the config.)
The stack trace provided from that error message isn’t enough for me to go off of, so all I can get out of it is that an error occurred when parsing or saving a config file, and the launcher only appears to have one config.
For devs: Might be related to this, I don’t have enough info to go off of. http://stackoverflow.com/questions/2269489/c-sharp-user-settings-broken
You can try deleting the file "C:\Users(YOUR_USERNAME)\AppData\Local\InsurgenceLauncher folder.
@Deukhoofd Tested here and I can reproduce it by removing any part of the XML in the active user.config file. (Reproduction: https://i.gyazo.com/fbf774556c2b779729ba79b0f30b2a58.png - For whatever reason I couldn’t find that file when I was looking at the configs )
Maybe put that in it’s own try/catch or validate it
@Zombie314 cmd if you’re lazy: rmdir /S /Q %LocalAppData%\InsurgenceLauncher