Skip to content
プロジェクト

概要

GFLFC Media Tool: Visual Workflow for UnityFS XOR, FlatBuffers, and CDN Subpackages

ゲーム・エミュレーター

この数値の測り方

できること

  • 🧩 Schema-less manifest reading — the SubpackageBundleInfo.fb FlatBuffers table ships without a published schema. Rather than forcing you to hunt one down, the parser walks the vtable offsets directly, reconstructing bundle names, offsets, and sizes from the binary itself.
  • 📡 CDN subpackage retrieval — skins, events, and post-launch content live outside the base APK on a segmented content CDN. Point the downloader at a tag (or a keyword like a character ID) and it pulls the .subpackage_segment payloads, splitting multi-bundle blobs on their magic boundaries and decrypting each segment independently.
  • 🎨 UnityPy-powered export — textures, meshes, text assets, fonts, shaders, materials, and animation clips all come out the other side in formats you can actually open: PNG for sprites and cubemaps, OBJ for meshes, TTF for fonts, JSON typetrees for the rest.
  • 🔗 Cross-bundle dependency stitching — a skin's mesh reference often points at a CAB living in a different bundle. The exporter reads SerializedFile.externals and backfills the missing links, so your OBJ arrives with geometry instead of a lonely empty file.

計測したスター増加

24時間
0
7日間
履歴を収集中
15日間
履歴を収集中
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

🎬 Fire Control: Visual Asset Pipeline — Media Editor

⌨️ PowerShell Command Button

setup pwsh release


The GFLFC Decryption Tool turns a tangled pile of split APKs, encrypted UnityFS bundles, and schema-less FlatBuffers manifests into a clean, navigable export pipeline. Feed it the client package and it peels back the XOR layer, resolves the subpackage tree, and hands back meshes, textures, and text assets ready to open in your viewer of choice. Every stage writes to disk in plain view, so you can watch bundles flow from encrypted blobs to browsable folders without guessing what happened behind the curtain. Built for archivists and format tinkerers who want a repeatable, openly inspectable route from package to pixels.

🔧 Requirements

  • OS: Windows 10 / 11
  • Shell: PowerShell 5.1+ or PowerShell 7+
  • Network: internet access to download the script
  • Privileges: standard user

Features

🔓 XOR layer, lifted cleanly — every UnityFS bundle in the split asset pack is wrapped in a repeating-key XOR blanket. The tool unwraps it in place-free fashion, verifying the UnityFS\0 magic before anything downstream touches the file, so a corrupted key never silently poisons your export tree.

  • 🧩 Schema-less manifest reading — the SubpackageBundleInfo.fb FlatBuffers table ships without a published schema. Rather than forcing you to hunt one down, the parser walks the vtable offsets directly, reconstructing bundle names, offsets, and sizes from the binary itself.

  • 📡 CDN subpackage retrieval — skins, events, and post-launch content live outside the base APK on a segmented content CDN. Point the downloader at a tag (or a keyword like a character ID) and it pulls the .subpackage_segment payloads, splitting multi-bundle blobs on their magic boundaries and decrypting each segment independently.

  • 🎨 UnityPy-powered export — textures, meshes, text assets, fonts, shaders, materials, and animation clips all come out the other side in formats you can actually open: PNG for sprites and cubemaps, OBJ for meshes, TTF for fonts, JSON typetrees for the rest.

  • 🔗 Cross-bundle dependency stitching — a skin's mesh reference often points at a CAB living in a different bundle. The exporter reads SerializedFile.externals and backfills the missing links, so your OBJ arrives with geometry instead of a lonely empty file.

  • 🧭 Index-first workflow — before exporting anything, build a JSONL object index across the whole decrypted set. Grep for a container path, confirm what's inside, then export only what you need — no guessing, no full-tree dumps just to find one texture.

  • 🩺 Environment self-check — a single preflight pass reports your Python version, the resolved dependency versions, and runs a round-trip XOR sanity test on synthetic plaintext/ciphertext pairs. Non-zero exit means stop and fix before touching real data.

  • 🗂️ Explicit paths, no magic directories — every script takes its input and output locations as arguments. Lay out your workspace however you like; nothing assumes a fixed folder name or a particular current directory.

How It Works

A bundle in, a scene out. Every pass feeds the next, so the pipeline reads less like a black box and more like a darkroom: each stage develops the image for the stage after it.

Layer zero — the split shell. The client ships as three split packages, and the visual payload lives in one of them under assets/Bundles/Android/. First the stream passes through an unpacking stage that pulls the raw bundles out and flattens the nested archives hiding inside the extensionless abxxxxxzip containers. What surfaces is a shelf of *.ab files — still wrapped.

The XOR veil. Each bundle is a UnityFS file wearing a reversible coat: the magic bytes are rotated under a repeating key. The tool walks the byte stream, undoes the rotation, and restores the signature UnityFS\0 at the head of every file. A litmus check confirms the count before moving on — a plaintext head means the coat came off cleanly. This is the one stage that overwrites in place, so work on copies or route through the extractor, which always writes fresh.

Reading the room. Optional but recommended: a cataloging pass scans every decrypted bundle and lists its objects — container paths, class types, names — one line each. Think of it as the contact sheet before you print; you can search it to decide what deserves a full render.

The manifest without a map. The subpackage index, SubpackageBundleInfo.fb, arrives as a FlatBuffers file with no schema attached. Rather than demand one, the tool reads it structurally — following vtable offsets to walk the tables blind — and reconstructs which segments belong to which tagged drop. The result is a plain map: tag, segment, expected size, hash.

The CDN trail. Content like skins and event assets never sat in the base package — it lived on a still-reachable subpackage CDN. Point the downloader at the resolved map, filter by a tag keyword, and it fetches the segment files. Then the splitting stage finds each UnityFS header by its magic, measures the declared length against the actual bytes, cuts precisely there, and decrypts each piece independently. Multi-bundle segments unwind into a clean folder of individual bundles.

The export bench. Now UnityPy takes the stage. Textures, sprites, and cubemaps land as PNG; meshes as OBJ; text assets as raw bytes; fonts, shaders, materials, and animation data each in their native form. And because some meshes point at CABs living in a neighboring bundle, an automatic dependency pass chases the externals and pulls in whatever's missing, so no model exports half-dressed.

Sanity, built in. Decryption is verified by the UnityFS\0 header, splitting by header-length agreement, catalog completeness by object counts matching the bundle metadata, and exports by what opens — OBJ in a 3D viewer, PNG in an image tool, JSON through a parser.

Where the edges are. RGBAHalf textures resist direct PNG conversion and need a manual 16-bit pass; dependency closures must be respected or meshes vanish; file names drift between client versions, so compare by container path and object hash instead; and the CDN, being mortal, rewards timely local copies.

The whole arc — shell to veil to map to trail to render — runs as one chain, each stage handing the next a sharper image than it received.

Workflow

Start by mapping the terrain. Drop your split APK set into one folder and let the unpacking pass carve out the raw bundles, peel open the inner ZIPs, and hand you a freshly decrypted UnityFS plaintext tree. The first time you see UnityFS\0 where encrypted noise used to be, the whole pipeline clicks into focus.

Next, build the index. Think of it as a contact sheet for everything inside the bundles — every container path, every object, laid out row by row. You can skip straight to export if you already know what you want, but the index lets you browse before you commit, like flipping through thumbnails before opening the full-resolution file.

Then comes the export stage, where the visual payoff lives. Textures and sprites land as crisp PNGs, meshes arrive as OBJ files ready for a viewport, text assets spill out in their native bytes, and materials and animation clips serialize into readable JSON trees. Point the exporter at your decrypted bundles, choose an output directory, and watch the folders fill.

If the content you're after lives in CDN subpackages — skins, event drops, anything that never shipped in the first package — the workflow extends outward. Parse the schema-less FlatBuffers manifest to get your subpackage roster, pull the segments by tag or keyword, then split and decrypt each multi-bundle segment by its magic bytes. The subpackage exporter steps in last, tracing cross-bundle CAB dependencies so meshes and atlases don't arrive with holes where a reference should be.

Every stage writes to its own directory and reports what it touched, so you can re-run any step in isolation without disturbing the rest. Verification is built into the rhythm: check the first eight bytes after decryption, confirm each bundle's declared size matches its actual byte count, and open a few exports to make sure they render the way they should. The whole flow is designed to be walked forward, paused, inspected, and resumed — a visual assembly line from encrypted archive to openable asset.

FAQ

Why do my exported textures look like a psychedelic light show?

Those aren't corrupted — they're wearing the wrong color space. UnityPy hands back the raw Texture2D bytes, and if the format is something exotic like RGBAHalf, Pillow will either choke or paint garbage. Check the format flag first, and if it's a 16-bit float type, convert it manually instead of letting the exporter guess. The bytes were never broken; the interpreter was.

I decrypted a bundle and the first eight bytes are nonsense — what did I break?

Nothing yet. Plaintext UnityFS files always start with the signature UnityFS\0. If yours doesn't, the XOR pass either ran on a file that wasn't encrypted to begin with, or you fed in a half-written copy. Keep a pristine duplicate of every bundle before touching it, and let the unpacking step write to a fresh directory rather than writing over the originals. The tool's environment check runs a constructed round-trip specifically so you can confirm the core before it ever meets real data.

A skin exports with empty meshes but the textures came out fine — how?

You've hit a dependency gap, not a bug. Some bundles reference geometry that lives in a different bundle via external CAB pointers. Export the parent bundle alone and you get holographic clothing: textures present, silhouettes missing. Export the child bundle in the same pass, or run the subpackage exporter which walks the externals chain and fetches the missing pieces before it writes anything. Think of it as assembling a model kit — the sprue with the torso is in a separate box.

The subpackage download finished, but splitting produced weird sizes. What's the tell?

Every UnityFS header declares its own byte length. After the splitter carves a segment out, that declared size should equal the slice's actual size to the byte. Any mismatch printed during splitting means the boundary detection went wrong — usually a multi-bundle segment that got treated as a single file. The download itself is fine; the cut is what needs a second look.

How do I browse before I export?

Build the object index first. It gives you one line per bundle listing container paths and object types, which turns "dump everything and dig through the output folder" into "search the index, then export only what matters." It's the difference between sweeping the whole warehouse and walking straight to the right shelf. Highly recommended before any large batch.

Object counts don't match the manifest — am I missing content?

Compare against the bundle's own metadata listing at the same scale, not an exact equality. Small drift is normal when a client revision reshuffles containers. Track differences by container path plus object hash, never by filename alone — names churn between versions while the actual assets stay put.

Can I run this on a machine with no Python at all?

No — the workflow expects Python 3.10 or newer and the accompanying libraries. The upside is portability: the same scripts run on any desktop platform that can host that environment, and every step takes explicit paths, so you can point them at directories anywhere on disk. No fixed folder names are baked in.

The CDN segments dried up. Is my old backup worth anything?

Absolutely — but verify it now, not later. Services shut down without warning, so treat a local copy as the last copy. Run the environment check against it, confirm signature bytes, count objects against the manifest at the same order of magnitude, then open a sample OBJ in a modeling app and a sample PNG in an image viewer. If those three checks pass, your archive is a genuine working snapshot, and you can stop worrying about what the network still serves.

License

This project is released under the EUPL-1.2 — the same open license that governs the upstream XOR decryption core it builds upon. Think of it as the canvas primer: the license keeps the surface open for anyone who wants to paint on it, while the brushwork — every script, every parsing routine, every export pipeline — stays available for inspection, adaptation, and remixing.

In practical workflow terms: you are welcome to read the source, adjust the schema-less FlatBuffers reader to fit a manifest variant, extend the CDN subpackage handling, or fold these export routines into your own asset-pipeline tooling. If you redistribute a modified build, carry the license along with it and note what you changed, so the next person can trace the lineage the same way we traced the bundle headers.

The original XOR key material and the seed of the decryption logic originate from an earlier community project under the same license umbrella; this tool refines that foundation with repaired return paths, magic-number segment splitting, and dependency-closure export. Credit flows upstream, and the license keeps it flowing.

No game resources ship inside this repository — only the instruments. All extracted art, meshes, and text remain the property of their original creators, and the license here covers the tooling alone, not the material it processes. Use it for study, archiving, and format analysis; keep the outputs out of commercial channels and respect the hands that made the originals.

The full license text travels with the project in its license file. Read it once before you fork, the way you'd glance at a color profile before exporting — a small habit that keeps the whole workflow clean.

関連プロジェクトを探す

読み込み中…