Randomtest and Quicktest issues


I’m a noob to choicescript, have 0 experience with coding of any kind, but I’m getting interested in these kinds of games. I’ve typed out a little bit of a game, and need to check my progress to make sure I know what I’m doing, and it’s correct.

That said, I cannot figure out how to run the tests. I try to run the batch file with my game, but it’s not working all I get is a little scrap of gibberish text I can’t understand. I’m likely doing something so obviously wrong that it’s embarrasing, but I need a way to test it. I’ve also tried opening the html file in firefox, but all I get is a loading screen that continues to load forever.
Some help would be greatly appreciated :slight_smile:


Most people use the .html file, but if you’re having trouble with that you have two options:

  • Open up the html version, press F12 to bring up your browser console and let us know what error is appearing there - we might be able to help.
  • Give up and download CSIDE - open your scene file(s) with it, then right-click the project and run your tests directly from there.


Loading failed for the with source “file:///C:/Users/dyson_y0xtcba/AppData/Local/Temp/Temp1_dfabulich-choicescript-7c0a4a6.zip/dfabulich-choicescript-7c0a4a6/web/scene.js”.
Loading failed for the with source “file:///C:/Users/dyson_y0xtcba/AppData/Local/Temp/Temp1_dfabulich-choicescript-7c0a4a6.zip/dfabulich-choicescript-7c0a4a6/web/navigator.js”.
Loading failed for the with source “file:///C:/Users/dyson_y0xtcba/AppData/Local/Temp/Temp1_dfabulich-choicescript-7c0a4a6.zip/dfabulich-choicescript-7c0a4a6/web/util.js”.
Loading failed for the with source “file:///C:/Users/dyson_y0xtcba/AppData/Local/Temp/Temp1_dfabulich-choicescript-7c0a4a6.zip/dfabulich-choicescript-7c0a4a6/editor/embeddable-autotester.js”.
ReferenceError: SceneNavigator is not defined
[Learn More]
ReferenceError: knownScenes is not defined
[Learn More]
The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.

This is the entire message. I tried reading through it, but my pitiful knowledge of this subject just makes it seem like gibberish. Thanks in advance!


Looks like you haven’t extracted the zip file?


Thanks, that was it :). I was right, the problem was blatantly obvious haha.