gum-bundle
Skill659 starsChanged 2 months agoMITView on GitHub
The .gumpkg bundle (format, gumcli pack, raw textures, loading). Triggers: gumpkg, GumBundleWriter, GumBundleLoader, GumProjectDependencyWalker, GumRawTexture, gumcli pack, packing a new file type.
In this repository69 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- debuggingSkill
- frb-build-verificationSkill
- frb-pixel-harnessSkill
- gum-architecture-layersSkill
- gum-cliSkill
- gum-cross-platform-unificationSkill
- gum-docs-writingSkill
- gum-file-pathsSkill
- gum-forms-behaviorsSkill
- gum-forms-controlsSkill
- gum-forms-default-visualsSkill
- gum-forms-itemscontrolSkill
- gum-forms-theme-importSkill
- gum-iconsSkill
- gum-issue-creationSkill
- gum-kernsmith-integrationsSkill
- gum-layout-engineSkill
- gum-layoutSkill
- gum-localizationSkill
- gum-monogame-renderingSkill
- gum-monthly-releaseSkill
- gum-project-versioningSkill
- gum-property-assignmentSkill
- gum-raylib-renderingSkill
- gum-releaseSkill
- gum-runtime-animation-chainsSkill
- gum-runtime-bindingSkill
- gum-runtime-fontsSkill
- gum-runtime-hot-reloadSkill
- gum-runtime-syntax-versionSkill
- gum-runtime-systemmanagers-initSkill
- gum-runtime-topologySkill
- gum-runtime-variable-referencesSkill
- gum-samplesSkill
- gum-serviceSkill
- gum-source-linked-projectSkill
- gum-themingSkill
- gum-tool-animationsSkill
- gum-tool-codegenSkill
- gum-tool-copy-pasteSkill
- gum-tool-delete-logicSkill
- gum-tool-dialogsSkill
- gum-tool-errorsSkill
- gum-tool-file-watchSkill
- gum-tool-font-generationSkill
- gum-tool-import-from-gumxSkill
- gum-tool-loggingSkill
- gum-tool-outputSkill
- gum-tool-pluginsSkill
- gum-tool-save-classesSkill
- gum-tool-screenshotsSkill
- gum-tool-selectionSkill
- gum-tool-tree-viewSkill
- gum-tool-undoSkill
- gum-tool-variable-gridSkill
- gum-tool-variable-referencesSkill
- gum-tool-viewmodelsSkill
- gum-unit-testsSkill
- gum-variable-deep-diveSkill
- The first 60 shown.
The file
Files
.gumpkg Bundles
A .gumpkg is one file holding a project's loose files. Code lives in GumCommon/Bundle/; gumcli pack is Tools/Gum.Cli/Commands/PackCommand.cs. See gum-cli for the command.
Shape
- Header is the 4 bytes
GUMPplus a version byte (GumBundleFormat). Version 2 is a zip with one Deflate entry per file; version 1 (brotli tar) is still read. - Each entry is keyed by the file's original project-relative path, so references in the project resolve unchanged.
Pack flow
GumProjectDependencyWalker.Walklists every file the project references (Core, FontCache, External). It is the one place that decides what a project depends on, so a new file type must be recognized there first.PackCommandrewrites PNG entries: it decodes them with StbImageSharp and stores raw RGBA (GumRawTexture, optionally premultiplied with--premultiplied-alpha) under the same path. A runtime tells a raw texture from a PNG byGumRawTexture.IsRawTexture, so the texture upload skips decoding.GumBundleLoaderpicks bundle or loose mode from the project's extension (.gumpkgversus.gumx/.gumj). Bundle entries reach the runtime throughFileManager's host stream hook, which wins over loose files.
Landmines
- A new source file type needs three changes: the walker (to list it),
PackCommand(to convert it), and each runtime's content loader (RenderingLibrary/Content/ContentLoader.cs, plus the Skia and Raylib loaders that have their own). Missing any one makes the packed project fail only at runtime. - Entries are keyed by original path, so one file used as two different things would need two entries under one key. The format has no way to do that today.
- The walker already opens
.achx/.achjfiles (AnimationChainListSave.FromFile) to list their frame textures, resolved the way the runtime resolves them. A chain's frame textures are packed along with it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

