About The Compiler

Hammock
10 Apr 2011, 11:57
I still have a lot of work to do before my introduction version comes out but I do have a question about converting to the CAS file. When I first attempted to send you a copy of my fles Alex I was not quite sure what to send or how best to send it so I clicked export CAS in QDK. According to the manual I should have gotten an options window on where the file was going to be stored or where I wanted to store it but this never happened, the entire QDK game file simply dissapeared and nothing I did to try to locate it anywhere on my computer produced results. Luckily I had it backed up on flash and just reloaded it into QDK to continue work. My question is - Where does the file normally go and how do I find it? I dont see how I did anything wrong because that is exactly how the manual tells you to do it but I certainly cant upload it or release it in any way if I can not locate it after exporting to CAS.
Also, if I am listing picture files in my script as individual script, in other words there are no conditions or predetermined factors other than the appropriate action by the player in order for the pic to be called, do I need to list them manualy in resources before I compile?

Alex
10 Apr 2011, 12:45
When you click "Export CAS" you should get a window like the "Save as" window, allowing you to choose where you want to save the exported CAS. If QDK is simply crashing at this point, it might be worth reinstalling Quest.

You can alternatively launch Quest Compiler from your Start menu and choose your input ASL and output CAS from there.

You shouldn't ever usually need to manually list resource files - the compiler will usually pick these up automatically by looking for picture script commands etc. within the game. (The only time you'd ever need to manually include resource files would be if you were generating the picture filenames within the script somehow, which has got to be a fairly unusual thing to be doing)

Hammock
10 Apr 2011, 15:02
Right on, I'll go from the start menu next time, all good.

I am now officially ticked off with the picture deal. I am still getting internal error messages and absolutely can not understand why. All of my pics are simple stand alone script -- the player types a command to an object, that objects script says to print a text and show a pic. The text prints but the pic does not appear, there is no rational explanation for this. I never move them or change them in any way yet they continually want to go awol on me. I've got multi layered script in my story that never gives me any problems yet a simple show this pic now can't get its crap togeher. What am I possibly overlooking! Why can we not put the files directly into the game editor instead of pulling from external sources all the time? Highly confused and annoyed, need help/options.

Alex
10 Apr 2011, 15:39
When you choose a picture file, QDK copies it to the same folder as your game.

It sounds like at some point, those picture files are going missing somehow? Are they still in the game folder?

If they are disappearing, open the game folder in Windows Explorer and keep an eye on it as you add images and play the game. At what point do the images disappear?

Hammock
10 Apr 2011, 15:44
The pic files are in the game file, I honestly do not know what happens. I turned the game off for a bit and just went back to it and everything is working properly, its like it has reset itself for some reason. I'm just worried that when I get it done and uploaded something will go wrong with them but you said you had no problems so I dont know, cant figure what the deal is.

Alex
10 Apr 2011, 16:33
Just keep an eye on the game folder whenever you're adding a picture or playing a game, and let me know if the problem occurs - and what you were doing at the time.

Hammock
11 Apr 2011, 11:36
Will do, it has to be some simple thing I'm missing.