Forum Discussion
egwarhammer
11 years agoSeasoned Ace
Deaderpool mentioned this yesterday/day before, and TODAY I had occasion to use it. So I thought I'd post it here, this website will find any errors in your mc_settings.cfg file if you copy/paste it into the box on the website:
http://jsonlint.com/
If at game load your log kicks back an error like the following, you've probably left off a comma somewhere, that's what I had done. (Don't edit config files when you need to be sleeping instead.)
Traceback (most recent call last):
File "C:\Users\Egw\Documents\Electronic Arts\The Sims 4\Mods\DP MC 1011 ts4ex\MTS_Deaderpool_McCmdCenter_script_1_0_11.ts4script\mc_settings.py", line 127, in _load_settings
SETTINGS = load_settings_from_config()
File "C:\Users\Egw\Documents\Electronic Arts\The Sims 4\Mods\DP MC 1011 ts4ex\MTS_Deaderpool_McCmdCenter_script_1_0_11.ts4script\mc_file_io.py", line 360, in load_settings_from_config
settings = load(set_file)
File "T:\InGame\Gameplay\Scripts\Lib\json\__init__.py", line 271, in load
File "T:\InGame\Gameplay\Scripts\Lib\json\__init__.py", line 316, in loads
File "T:\InGame\Gameplay\Scripts\Lib\json\decoder.py", line 351, in decode
File "T:\InGame\Gameplay\Scripts\Lib\json\decoder.py", line 367, in raw_decode
ValueError: Expecting ',' delimiter: line 76 column 5 (char 2969)
and with the way Notepad++ numbers its lines, I was able to go right to it!
https://notepad-plus-plus.org/download/v6.7.4.html
http://jsonlint.com/
If at game load your log kicks back an error like the following, you've probably left off a comma somewhere, that's what I had done. (Don't edit config files when you need to be sleeping instead.)
Traceback (most recent call last):
File "C:\Users\Egw\Documents\Electronic Arts\The Sims 4\Mods\DP MC 1011 ts4ex\MTS_Deaderpool_McCmdCenter_script_1_0_11.ts4script\mc_settings.py", line 127, in _load_settings
SETTINGS = load_settings_from_config()
File "C:\Users\Egw\Documents\Electronic Arts\The Sims 4\Mods\DP MC 1011 ts4ex\MTS_Deaderpool_McCmdCenter_script_1_0_11.ts4script\mc_file_io.py", line 360, in load_settings_from_config
settings = load(set_file)
File "T:\InGame\Gameplay\Scripts\Lib\json\__init__.py", line 271, in load
File "T:\InGame\Gameplay\Scripts\Lib\json\__init__.py", line 316, in loads
File "T:\InGame\Gameplay\Scripts\Lib\json\decoder.py", line 351, in decode
File "T:\InGame\Gameplay\Scripts\Lib\json\decoder.py", line 367, in raw_decode
ValueError: Expecting ',' delimiter: line 76 column 5 (char 2969)
and with the way Notepad++ numbers its lines, I was able to go right to it!
https://notepad-plus-plus.org/download/v6.7.4.html