|string||The full path and filename of the archive to check|
|string||The relative directory within the archive to count|
Returns the number of files contained within an individual directory within the given archive created with
xzip_create. An empty directory will return
-1 if the archive doesn't exist at all.
Unlike file names and other directories,
dir here should be written as a relative path. (i.e. If the directory is a subfolder, all parent folders must be included in the argument.)
As archives have no mount point, you should not supply a drive letter or leading slash when specifying a directory to list. Use
"" to list files in the root directory of the archive.
Due to GameMaker's string handling, slashes in paths should be escaped (i.e.
\). Do not add a final slash to directories!
By default, only the contents of the exact folder specified will be listed. To include the contents of any subfolders as well, see