sysClosePack

Closes an asset pack and deletes the temporary extraction directory. Takes tempPath (path to temporary directory returned by sysOpenPack). Returns nothing.

System

Parameters & Returns

Parameters

tempPath String

Returns

Void

Quick Summary

Closes an asset pack and deletes the temporary extraction directory. Takes tempPath (path to temporary directory returned by sysOpenPack). Returns nothing.

Technical Exegesis...

Recursively deletes the temporary directory that was created by sysOpenPack, cleaning up all extracted files. If tempPath is NULL or empty, the function does nothing. Use this when finished using assets from a pack to free up disk space.

Deletes the entire directory tree including all subdirectories and files. Should be called with the path returned by sysOpenPack. Important to call this to avoid leaving temporary files on disk. Does not affect the original .bbpk pack file.

Example

Example.bam
; No example implemented yet