Repository navigation
v0.0.1
·
170 commits
to master
since this release
Immutable
release. Only release title and notes can be modified.
Added
- Merged a collection of separate game asset extractors into a single
dadepackage, each exposed as a sub-command:amplitude(Amplitude/FreQuency),bit192(Tone Sphere),bitrock(InstallBuilder installers),i76(Interstate '76),incoming(Incoming),marmalade(Marmalade SDK),monopoly08(Monopoly 2008),thps2pc(Tony Hawk's Pro Skater 2 PC), andxg2(Extreme-G and Extreme-G 2). - A single multi-command entry point, invoked as
dade <game> <subcommand>. dade jubeatplusgroup for the Konami iOS game jubeat plus:unpackconverts a whole download to formats that open outside iOS. It accepts an.ipa, the.appbundle, thePayloaddirectory, or a directory holdingPayload, never writes to the source, and mirrors the bundle into the output directory. Apple-optimised (CgBI) PNGs are rewritten bypngdefry; enciphered.textextures are deciphered and rewritten the same way;.cafsound effects are rewrapped as WAV byffmpeg;.jbttune packages and the marker and share-image ZIPs are unpacked into directories named after themselves, with every entry deciphered and decoded; note charts become JSON with every event's panel, hold length, tempo, and time; and property lists, localisation tables, Core Data models, theSC_Infobookkeeping, and the executable's properties all become JSON. Every other file is copied unchanged. The assets use the sameBFCodeccipher as pop'n rhythmin, under seven keys of their own.--no-pngand--no-audioskip the two conversions that need a helper tool, and-j/--jobssets the pool size.dade rbplusgroup for the Konami iOS game REFLEC BEAT plus:unpackconverts a whole download to formats that open outside iOS,extract-assetsunpacks one of the three downloadable texture archives, anddump-chartwrites a single note chart.unpackaccepts an.ipa, the.appbundle, thePayloaddirectory, or a directory holdingPayload, never writes to the source, and mirrors the bundle into the output directory. A%09d.rbtune package becomes a directory: its metadata as JSON, its artwork and name strips as ordinary PNGs, each of its three note charts as both JSON and a rendered strip image, and its two audio streams as.m4a. Loose Apple-optimised PNGs are rewritten bypngdefry,.cafsound effects become WAV, and property lists, localisation tables, Core Data models, and theSC_Infobookkeeping all become JSON. Mach-O images are left behind entirely. Every other file is copied unchanged. The assets use the sameBFCodeccipher as pop'n rhythmin and jubeat plus, under two keys of their own, neither of which appears in the executable as a passphrase.- The RBFF note chart, versions 10 to 14: a header giving the scroll speed, end time, and record counts, then variable-length note records carrying an inline path-point array and an optional chain block, then thirty-six byte tempo events, then sixteen-byte slide records. A note's hit time is its two stored times added, which is also what makes two notes simultaneous. A chain is the note record's own doubly linked list: its chain block names the note before it and the note after it by identifier, with -1 at each end. Every one of the five flag bits a note carries is exactly redundant with another field: two mark a note struck at the same moment as one on its own or the other side, and the rest mark a chain block, a free note, and a note that travels to the other side to be swiped back, which the engine counts as a side object and which is the same bit as the one marking a path.
- A note's route selector, derived from its second target coordinate the way the engine derives it, says whether the chart names the note's lane. One naming a lane, 0 to 6, comes straight down into that lane and no randomness touches it: that is every slide and every vertical note. One naming 7, 8, or 9 is aimed at one of the three alternative targets beyond the lanes. Only a note naming nothing is laid out at run time, from a generator seeded with
rand(), so that part of a chart falls differently on every play. - A slide's records are its waypoints, one per point the finger passes through. Each gives the lane to be in and, in the same shape a note's own timing takes, a spawn time and a travel time whose sum is the moment to be there. The travel time is one constant per chart, the scroll lead-in, and the waypoints land on musical divisions of the tune's own tempo.
dade rhythmingroup for the Konami iOS game pop'n rhythmin: theBFCodeccipher (Blowfish with one deviation in its F function),dump-charafor downloaded character data,dump-idxfor AEP animation indexes,dump-mapfor sugoroku boards (JSON, a text board, or a rendered PNG),dump-sheetfor note charts from.orband.acvsong packages (JSON or a DDR-style strip image), andextract-dialoguefor the board dialogue pools inside an app binary.dade miscgroup for formats that belong to no single game:coredatadeserialises a compiled Core Data mapping (.cdm) or managed object (.mom) model to JSON, dumps the raw keyed archive, or emits the effective SQLite migration script;stringsreads an Xcode.stringstable in either the compiled or the old-style text form.dade misc macho dump, which writes the properties of a Mach-O image as JSON: the header and its flags, the segments and their sections, the libraries it links against, its UUID and source version, the minimum OS it declares, the entitlements inside its code signature, and, for an image bought from the App Store, theLC_ENCRYPTION_INFOcommand that says its text is still enciphered. It accepts an application's executable, a framework, or a dynamic library, thin or universal, and reads every architecture slice. It decrypts nothing and disassembles no code.dade misc sc-info dump, which describes theSC_InfoFairPlay bookkeeping in a purchased application bundle: the store item ID and App Store link, the manifest, the.sinfpurchase record and its atom tree, the.supfand.suppsupplements broken into their length-prefixed parts, the two Apple FairPlay certificates they embed with every extension broken out, the.supxtagged entries, and cross-checks between the parts. It accepts an.ipa, read in place without being unpacked, or theSC_Infodirectory, the bundle, thePayloaddirectory, or a directory holdingPayload. Every bundle in the download is read, including the app extensions underPlugInsand the watch app underWatch;--main-bundlekeeps only the application and--bundle NAMEkeeps one named bundle. Every set of protection files in anSC_Infois read, not only the first, since a directory can hold one set per executable.--jsonprints the same information as JSON, one entry per bundle, and--regionsupplies the storefront when noiTunesMetadata.plistsits beside the bundle. It decrypts nothing and prints no key material.ian2objandextract-pvr-packcommand-line utilities, nowdade incoming ian2objanddade incoming extract-pvr-pack.ian2objconverts Dreamcast*_M.BINmodel packs in addition to PC.ianmeshes.-j/--jobsoption to run Incoming file conversions concurrently, defaulting to the CPU count.- Three more shared modules under
dade.common, each lifted from a game package once a second consumer appeared:apple_pngfor thepngdefryconversion of Apple-optimised PNGs,audiofor theffmpegrewrap, andfontsfor the fontconfig lookup that picks a font with Japanese coverage.dade.jubeatplus.images,dade.jubeatplus.audio, anddade.rhythmin.renderkeep every name they exported. - Shared format code used by more than one game lives in a single
dade.commonpackage: WAV, PNG, and PPM writers, an LZSS decompressor, a Twofish cipher, theBFCodecBlowfish variant shared by pop'n rhythmin and jubeat plus, a CookFS reader, memory-mapped and byte-range readers, native-tool location, a converter registry, worker-pool helpers, per-run context, and text and filename utilities.
Changed
- Renamed the project from
incoming-extractortodade. The Incoming extractor is now thedade incomingsub-command and its package moved fromincoming_extractortodade.incoming. - File conversions now run concurrently across a pool of worker tasks instead of one at a time.
- The
.cfg,.sav,.xxx, and.levconverters now decode the files into fully structured JSON using schemas reverse-engineered fromincoming.exe, with named fields and a verified config checksum, instead of emitting the body as base64. - Ported the asset-format reference into the Sphinx documentation under
docs/formats/and expanded the documentation into separate, well-organised pages.
Full Changelog: https://github.com/Tatsh/dade/commits/v0.0.1