.aslx to .quest infuriation
rusviet
19 Apr 2020, 19:51I saved a text adventure draft as an .aslx file and then deleted it. I just realized this is not the thing to do. Is there any way I can upload the .aslx file to edit it, or is there a way to convert the .aslx file to a .quest file?
rusviet
19 Apr 2020, 20:58Also, I only have access to the quest online webeditor, not the full windows version.
mrangel
19 Apr 2020, 22:36Sadly, it's not possible to upload files to the online editor.
If the game is finished, you could convert it to a .quest file manually; but it's a little time-consuming. The process:
- Open your ASLX file in a text editor
- Look for a line that looks like
<include ref="SomeFilename.aslx" />
- Find that file in the Core libraries.
- Copy the entire contents of that file (excluding the
<library>
at the start and</library>
at the end) into your ASLX file, replacing the<include
line. - Repeat the steps so far for all the other
<include
lines (you can probably skip the ones withEditor
in the filename, and just delete the<include>
) - If there are any functions, objects, or types with identical names, delete all except the last one. (If you created the game with the web editor you can skip this step, because there won't be any)
- Save the much-larger ASLX file under the name
game.aslx
- Create a zip file containing your
game.aslx
and any images or other files the game needs - Rename the zip file, changing
.zip
to.quest
.
rusviet
20 Apr 2020, 03:57Oh dear. I get a 'failed to load file' error while trying to upload the new .quest file. I'm a bit confused as to what you mean when you say "and just delete the
Thanks for the detailed instructions though.