|How To Setup Archives|
Supplemental Object Documentation
The archive files are a compressed pack format commonly used to store data loaded within the environment.
Load initializes the archive from the path specified.
Clean deletes the extracted files.
Unload safely discharges the loaded archive from memory.
The following example is based upon the engine being initialized at which point all files are extracted, and deleted prior to shutdown.
' Game Basic 3D Engine Build 4096 ' Copyright © Monarke Studios. All Rights Reserved. Private Pack As New GameBasic3D.Pack ' Engine.Initialize Pack.Load "./.." Pack.Extract Do ' Engine.Pipeline Loop Pack.Clean Pack.Unload ' Engine.End Set Pack = Nothing