Thanks, Alex. Actually, I have tried 30+ .asl/.cas files (w/wo additional files such as .mp3/.jpg) and none of them could be packaged into .exe, that is, the same problem happens to all files written by others which are clearly compilable/package-able on other machine ( e.g., The Awakening Dead 2.) I have just tried
one of the included 9-games treasure hunt.asl and the same message appeared:
Compiling C:\Program Files\Quest\games\spectrum\treasure hunt.asl to C:\Users\manshun\Documents\Quest Packages\treasure hunt Package\treasure hunt.cas...
Writing file...
Finished.
Getting information from game file...
ERROR: Unable to process game file.A .cas file is produced, but I couldn't run it either. When I tried to run it in Quest 5, the pop-up window says:
System.ArgumentException: Length of argument 'String' must be greater than zero.
at Microsoft.VisualBasic.Strings.Asc(String String)
at AxeSoftware.Quest.LegacyASL.LegacyGame.ConvertCASKeyword(String& CASchar)
at AxeSoftware.Quest.LegacyASL.LegacyGame.LoadCASFile(String& thefilename)
at AxeSoftware.Quest.LegacyASL.LegacyGame.ParseFile(String& Filename)
at AxeSoftware.Quest.LegacyASL.LegacyGame.InitialiseGame(String& afilename, Boolean& LoadedFromQSG)
at AxeSoftware.Quest.LegacyASL.LegacyGame.Initialise(IPlayer player)
at AxeSoftware.Quest.Player.FinishInitialise()
at AxeSoftware.Quest.Player._Lambda$__28()And when I uninstalled/reinstalled everything and run the said .cas file in Quest 4, the pop-up window says:
Unable to open C:\xxx\treasure hunt.cas
Missing 'end define'.I have attached the original .asl file and the .cas file I produced. I really wish to understand what the problem is. As I said, I can't even run the .cas file (NOT .asl) I downloaded from textadventures.co.uk. If you send me back a .cas file of my game, I assume I won't be able to run it either. My concern is that the same may happen to the people who download my game - they may not be able to play it.
However, if you're kind enough to send me an .exe version of treasure hunt.asl, I may try to see if I can run it. If I can, then I may just send you my game and let you package it for me, and see if I can run it on my/my friends' machines. Sorry for all the troubles.