Popcorning Guinea Pig
Search Results for

    Show / Hide Table of Contents

    Class VfsBootstrap

    Probes the executable directory for a .cecal archive and constructs the correct runtime VFS stack. Called once by Init(int, int, int, string) so every subclass gets consistent initialization regardless of its Load override.

    Inheritance
    object
    VfsBootstrap
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: PopcorningGuineaPig.Engine.Assets.Cecal
    Assembly: PopcorningGuineaPig.Engine.dll
    Syntax
    public static class VfsBootstrap

    Methods

    | Edit this page View Source

    CreateDefault()

    Archive filenames probed in order next to BaseDirectory: {exeName}.cecal → game.cecal → assets.cecal. When an archive is found, returns a CompositeVirtualFileSystem layering it over a loose-file fallback. When none is found, returns null — every asset loader has a null-VFS branch that preserves the engine's pre-Story-7.5 behavior byte-for-byte, so games that never adopt .cecal keep their exact legacy paths (native Raylib.LoadTexture, File.ReadAllText, etc.).

    Declaration
    public static IVirtualFileSystem? CreateDefault()
    Returns
    Type Description
    IVirtualFileSystem
    • Edit this page
    • View Source
    In this article
    Back to top © 2024 Popcorning Guinea Pig Game Engine. A custom C# game engine for indie developers.