Unknown Error when trying to save
CritFlaw opened this issue ยท 2 comments
I was told that I have to save the xml file from in-game in order to create an xml file that is then editable. When trying to run the /igi save command, I get "An unknown error occured while attempting to perform this command".
Forge 2796
Mod 2.8.2,95
Minecraft 1.12.2
Does your instance name have spaces in it? The filename is being (incorrectly) URL encoded, turning spaces into %20, and is passed like that to the file handling stuff, causing the directory to not be found (as it's looking in the wrong place). I'm not sure if this mod is doing the encoding, or if some underlying API is.
i know this is old, but the answer to this question is:
after typing "/igi save " into the chat, before pressing anything else, press the TAB key on your keyboard to have the command autocomplete for you. the first TAB should get you to "/igi save InGameInfo." and a second will complete the command in a valid way to "/igi save InGameInfo.xml" which is the complete and valid command.
i have not tested but it is likely that as long as you specify any valid filename.[xml,txt,json], and you are not experiencing the error that @brisingraerowing is describing, that you will be able to successfully save a config to a custom file.
alternatively, you could just get or create a "InGameInfo.xml" file and put it in your configs folder. the benefit to saving a config from the game is that it gives a starting point for the edits.