Repository navigation
[2.1.2] - 2026-09-02
Fixes
- 3.x script demux: Treat Creator 3.x rollup
System.register("chunks:///_virtual/...")packs as SystemJS; demux one file per register id (e.g.Foo.ts) with stablecc._RF.pushUUID metas — no more bogussetters.ts/ emptymodule_N.jsstubs - Demux MD5-cache bundle scripts (
index.<hash>.js/game.<hash>.js); emit fusedchunks:///main.jspacks as gamemain.pack.js(not a vendor stub) - Park engine/vendor scripts (
_virtual_cc-*, spine/bullet, builtin-pipeline*, rollup helpers, cocos-js) underassets/Scripts/_vendor/ - Normalize
config.pathsdb://anddb:/(single-slash) so assets are not written under a literaldb:directory - Strip leading
assets/afterdb:/normalize — no doubleassets/<bundle>/assets/...prefix - Decode compressed uuids that carry
@subAsset/@mip@formatsuffixes sonative/...@….pnglookups succeed - Use
@suffixas ImageAssetsubMetasid; strip/texture//spriteFrame/@6c48a|@f9941from output paths; fold uuid-only@siblings onto parent ImageAsset (named or_packed/) - Sweep leftover
native/files; report per-bundle native image counts (and an explicit “import descriptors only” note for web-mobile with zero image bytes) - Issue #33: Write meta as
basename+ext+.meta(e.g.logo.png.meta); do not emit orphan.png.metawhen native PNG was not recovered - Issue #32 / #37: True 3.x builds emit scenes as
.scene(+ matching meta); classic 2.4 bundle flavor keeps.fire - Fold
Texture2D/SpriteFramesubAssetinto parentImageAsset.png.metasubMetas(Creator layout) - Strip trailing RootInfo from rehydrated IFileData; rehydrate packed Prefab pack sections end-to-end
- Clearer recovery report: game vs vendor script counts; bundle Named vs Packed columns
Features
- Issue #23: Demux packed bundle
index.js/game.jsinto per-module files underassets/Scriptswith.meta(preservescc._RFUUID mounts) - Wire
index.jsc/game.jscdecrypt on the 3.x path via existingjscDecryptor+--key/ auto-key helpers - Honor bundle
redirectentries when resolving assets
Tests
- Vendor script classification + demux under
_vendor/; report game/vendor + Named/Packed - Regression fixtures for meta names, no orphan meta without PNG,
.scenefor 3.x,.firefor 2.4, System.register demux, ImageAsset subMetas, packed Prefab rehydrate, MD5 index demux,db:/path strip
Install
npm i -g cc-reverse@2.1.2
npx cc-reverse@2.1.2 --path ./build --output ./out --verboseRelated: #23 #32 #33 #36 #37 (please retest on latest main / 2.1.2 once published)