- Jun 16, 2017
- 724
- 2,068
You can ask ChatGPT to write a regex for you to search in between any quoted string inside the parameters array that has incorrect syntax. Looking at your example, I don't really understand why the escape on \" Fear State doesn't work.So the reason for these errors is ChatGPT can sometimes randomly add these quotes into the scripts.
View attachment 2534177
So this should be
" \"\\\\I[44]What is the progress of the Fear State?\","
Otherwise it throws that identifier error. Its a pain but I can probably adjust the tool take those out before it get put through the machine. Anyway this should fix that specific error.
Once you have a regex that detects the error above (which again not sure why it's an error, but you seem to know), you can just use find and replace with regex in VSCode.
Should save you some time from manually scanning lines + waiting for bug reports.
Aside from that, this game was such a lovely little gem. Thank you for share. I'm going to buy it to support the dev.