I think this is right? Clicking the top snippet sent me to the code that I've highlighted here. within the if statement for dir.
var gml_GmlVersion = function(name,dir,isCustom) {
this.isReady = false;
this.name = name;
this.dir = dir;
this.isCustom = isCustom;
if(dir == "api/none") {
this.config = gml_GmlVersionConfigDefaults.get(true);
} else if(Electron_API != null) {
this.config = JSON.parse(Electron_FS.readFileSync(dir + "/config.json","utf8")); <--- Here
} else {
this.config = gml_GmlVersionConfigDefaults.get(name == "v2");
}
};
Also I did try checking for if there was anything wrong within AppData to try and remove, but I either couldn't find it or that it's within a more complicated file I'm not aware of. In which case which folder would I find the outdated/malformed dialect in AppData? The only thing I can probably think of is that the RoA api I mentioned earlier being somewhere in my steam folders or something might be adding to the issue but I'm not sure if that's really relevant or not, unless it automatically tracks for dialect's or api's from previous versions maybe.