Liquid Library Problem

Hi, trying to add the liquid library.

If I try to download it one way, it's a HTML file. If I try to download it in a RAW file, it's a text file. Neither file appears when I try to add it to my 'included libraries'. Am I missing something.


If I follow the link from 'https://github.com/ThePix/quest/wiki' this site for the conversation library it's downloadable as a HTML file, but from this site 'http://docs.textadventures.co.uk/quest/libraries/dynamic_menus_for_conversations.html' the same conversation library is 'Quest game source' format, and I'm able to include it in my game.

I can't find a 'Quest game source' file for
Liquid Library
Shop library
Clothing library
Combat library


Unzip the folder (there's an option at the top thing that says extract, sometimes you may need to open it with a program like Internet Explorer, don't know why though).


quest game files and library files (need to) both have the same file extension of 'xxx.aslx'

but the code of them is slightly different:

Game File:

<asl version="550"> // or whatever the current version is: "560" or "570"
  // mass of game content/code, there's some required stuff for quest engine to work: http://docs.textadventures.co.uk/quest/asl_requirements.html
</asl>

Library File:

<library>
  // mass of code/content additions for your game file
</library>

and then to add a library file's contents to a game file, you need to do this into the Game File's code (or can also be done through the GUI/editor):

<asl version="550">
  <include ref="NAME_OF_LIBRARY_FILE.aslx" />
</asl>

note that the order (top-down) matters, as the library files are what initialize (build) up your game file (and also the quest engine itself too! quest is very powerful program, you can create your own quest engine if you good programmer. The default quest engine is built from: English.aslx and Core.aslx, but the Core.aslx is just a hub file for all of the individual 'core' library files, which can be seen in the quest folder), if the library files are dependent on each other, then obviously their order matters.

also, note that the library files has to be in the same folder as your game file and/or the quest engine (quest.exe) --- I can never remember which it is, lol, so that quest can find and use your library files in your game.


so, if the downloaded library/game file isn't working... it's probably zipped as a 'xxx.quest' (for publishing online) file (or maybe jsut as a zip file or some other file format), which has to be unzipped, to get at its actual 'xxx.aslx' quest files.

if after you unzipped it, and it's still not working (such as maybe it's an 'xxx.html' file)... you can try just changing (renaming) its file extension to 'xxx.aslx', but note that many computers have the file extension hidden by default, so while you think you're giving it the extension of 'xxx.aslx', you're really just adding that to its name, for example:

my_file.aslx.txt (the 'xxx.txt' is hidden from you), instead of as an extension:

my_file.aslx

you can do google search of how to toggle on extensions being shown. for pcs, you got to find/get-to the 'folder options' place.


To download the library file, you need to right click the "Raw" button, and select "Save link as...". The file should be saved as LiquidLib.aslx (which is a text file; Quest libraries are just text).

In your game, go to "Included Libraries", click "Add", and then click "Browse". Navigate to the folder you saved LiquidLib.aslx in. Quest will then add the library to your game, and copy the file to the game folder. You will then need to save and reload your game.

All my libraries can be accessed this way from here:
https://github.com/ThePix/quest/wiki#libraries

That includes the up-to-date version of the conversation library.


Hi Pixie. I'm still experiencing problems when it comes to downloading the library.
I'm right-clicking on the "RAW" button, and selecting "Save link as...". The only file name that comes up is LiquidLib (no .aslx).
I've tried manually entering '.aslx', but to no avail.
When I come to add a library, the computer is finding no match. At the side of the search filename box, there is another dropdown box with 'Libraries (*aslx)' in it.
I had no trouble adding the 'Quest Game Source' format, that I've mentioned previously.
I also tried adding the 'Clothing Library' and the 'Shop Library'. No .aslx after the filename


That may be because Windows is set to hide the extension (which it is by default). If so, save as LiquidLib. If you open the folder you downloaded it to in Windows Explorer, what icon is used? It should be the same as for Quest games. If so, all well and good, and you should be able to find it when you click browse.

You can change whether Windows shows the extension from Windows Explorer. Press the Alt key to get menys to appear, then go to Tools - Folder Options, and the View tab. Untick "Hide extensions for known file types."


Could not get that to work either. Came up with my own solution. I copied the code in the library, went into the code view of the game, deleted whatever was there, then pasted the library code onto the now blank code screen. I was then able to "Save As...", with the appropriate library name, and as a quest game source. Went back into my game, and added the library. Browsed the file where I saved the library, and it now recognises the file extension 'Quest game source', with the Quest logo.


Glad you got it working somehow.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums