Skip to content

Releases

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 12:51
Immutable release. Only release title and notes can be modified.
v0.4.0
31fab63

Added

  • dade sims3 extract unpacks The Sims 3 .Sims3Pack files and DBPF .package files without s3pi or .NET, writing each resource decompressed under its type, group, and instance.
  • dade itgps2 extract converts the PlayStation 2 discs of In The Groove and of the In The Groove 2 beta to a StepMania data tree. Songs come out as simfiles with WAV music and MPEG movies, neither re-encoded, beside courses, themes, note skins, and characters.
  • dade thps2pc skater2glb writes each skater model as a skinned GLB with its embedded textures, one joint per body part, and its clips as glTF animations. Outfits and low-detail models are given the clips the game shares between skaters, matched by part name.
  • dade mkw extract writes the skeleton of every model with more than one bone into its GLB as a glTF skin, with rest pose, inverse bind matrices, and up to four weighted bones for each vertex. Blender imports the skin as an armature.
  • dade mkw extract decrypts .bfttf and .bfotf fonts to TTF, OTF, or TTC under fonts.
  • dade mkw extract writes the skeletal animations of each archive as JSON under animations, each quantised cubic curve decoded to Hermite keys with a frame, a value, and a slope.
  • The level 0 GLB of a model with more than one bone embeds the skeletal clips of its animation archives as glTF animations, sampled at every frame. Blender lists the clips as actions of the armature.
  • The animation JSON files of dade mkw extract record material animations. A texture pattern, such as the blinking eyes of a driver, is written as the texture shown from each keyframe on.
  • dade sopranos unpack --convert and dade sopranos gltf write a .glb for each rigged object of a .SGP2 library, with its .SKL2 skeleton as a glTF skin and the level's .SAM2 clips as animations. Vertex weights are provisional. The files record which bones move a vertex and not how much, and a vertex following two bones weighs each at a half.
  • dade amplitude unpack writes the default FreQ avatar as one skinned GLB, freqmaker/avatar_default.glb, with one animation for each frame range of the game's avatar animations. Each arm is posed by the game's two-bone inverse kinematics. --bpm sets the tempo the animations are timed at (120 by default).
  • dade.harmonix.rnd reads Amplitude's Rnd::Mesh (revision 14) objects, with their bone weights and bind transforms, and its Rnd::TransAnim (revision 3) objects field by field.
  • dade xg2 xg2-to-glb writes each Extreme-G 2 rider as a skinned GLB, with one joint per bone of its skeleton, the game's vertex weights, and every motion clip as an animation.
  • dade monopoly08 extract writes the Xbox 360 mesh of Mr. Monopoly as a GLB with a glTF skin of 93 joints. The motions of every motion bank animating his skeleton (idles, walks, runs, and cutscenes) become glTF animations, decoded from the SKA codec of EA's character toolkit.
  • dade maxpayne skin2glb converts every character of Max Payne and Max Payne 2 to a GLB rigged to its skeleton, with a glTF skin, per-vertex joints and weights from the .skd, and the animations its scripts list as glTF animations. A JSON file beside each GLB records the bones and each clip's file, frame count, frame rate, and animation indices.

Changed

  • PS2 3D icons (.ico, .icn) are written as GLB, and as glTF with the texture beside it as PNG, instead of OBJ. Each animation shape is a morph target, the frames are a glTF animation of the target weights, the vertex colours are retained, and compressed textures are decoded.
  • Iso9660Image is renamed ISO9660Image, and the THPS2 Pkr* classes are renamed PKR*.
  • An Amplitude .tnm is decoded as a Rnd::TransAnim keyframe animation, and its JSON sidecar lists every rotation, translation, and scale key. A FreQuency .tnm is scanned for references as before.

Fixed

  • The texture list an Amplitude Milo scene stores between its object table and its first object is read and recorded in manifest.json as textures. It was previously read as the start of the first object, and 49 meshes of the FreQ maker (among them the feet and the lower arms) did not convert.
  • Extreme-G 2 motion clips decode an eight-bit curve as a base plus an 8.8 step, as the game does, and a sixteen-bit curve at full width rather than as eight-bit samples.
  • Extreme-G 2 clip GLBs place each joint at its pivot and turn it about the skeleton's axes, in the order its channel codes give.
  • A GLB without meshes omits the empty meshes array the glTF validator rejects.
  • Max Payne 2 models split into per-material batches now index each batch's own vertices and draw each batch with its material. Model images are found whatever the case of their directory.

Removed

  • The OBJ output of PS2 3D icons, and dade.common.ps2_icon.ps2_icon_decompose.

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 03:28
Immutable release. Only release title and notes can be modified.
v0.3.0
7c5d60e

Added

  • dade mkw extract converts Mario Kart World models into one GLB per detail level, textures into PNG, sound effects into WAV, and BGM streams into FLAC from an unpacked NUP directory.

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 21:37
Immutable release. Only release title and notes can be modified.
v0.2.0
0c075c8

Added

  • dade tgr extract converts the assets of Top Gear Rally (Nintendo 64, the North American, Japanese, and European releases) and of Boss Rally, its Windows release. Cars, tracks, sky panoramas, and the models of the menus become GLB with their textures embedded and written beside them as upright PNGs. The music is written as the FastTracker 2 modules it ships as and rendered to WAV. The disc may be a cue sheet, a .bin, an ISO image, or a directory. Its bitmaps, icons, and .img images become PNG, the resources of its programs are written out, and its CD audio becomes FLAC.
  • The ISO 9660 reader reads the Joliet tree when an image has one, and the long names it records are returned with their case retained.
  • dade misc ds-store reads a Finder .DS_Store desktop database and writes it as JSON. The file is a Buddy allocator file storing one B-tree, and the tree is flattened into one entry per file name, with the . entry belonging to the folder itself. Icon positions (Iloc), window frames (fwi0), modification dates in either the dutc form or the Core Foundation blob form, and property lists that store a view's settings are decoded; every other blob is reported as hex. The allocator's blocks, directories, and free lists are reported alongside the records.

Removed

  • Support for Python 3.10. Python 3.11 or later is now required.

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 10 Sep 17:16
Immutable release. Only release title and notes can be modified.
v0.1.0
de0c3ff

Added

  • dade sopranos group for The Sopranos: Road to Respect (PlayStation 2). One unpack command takes the disc apart and converts everything it recognises. The argument may be a disc image, a directory searched recursively for .FS archives however they are cased, or any number of archives given directly. Each archive is unpacked into a directory titled after it with the region suffix dropped, and DATA_P.FS therefore becomes data. With --convert, the .LVL containers are split first and the assets inside them are converted by the same pass. .TEX2 texture banks become PNG with PlayStation 2 alpha rescaled to 0..255, .SGP2 prop libraries yield the PNGs they embed, .MSH and .MSB sound banks yield one WAV per sound, .MIH and .MIB music streams become WAV de-interleaved back to stereo, and .VO2 dialogue becomes WAV stitched from its AUDO blocks. The retail disc converts clean. --ignore-failures logs and skips an asset that will not convert rather than stopping.
  • A Sopranos level is written as a .glb with its props placed in it, alongside OBJ and MTL. Props are read from the .SGP2 libraries belonging to the level, and each is positioned and turned according to the .OLV file that records where the prop stands. A character with interchangeable wardrobe pieces is given one piece of each kind rather than all of them at once.
  • dade maxpayne group for Max Payne and Max Payne 2 (PC). ras-list and ras-extract read the RAS (Remedy Archive System) containers both games load everything from. A source may be a .ras archive, a .mpm mod package, a directory searched recursively, an InstallShield DATA1.CAB, an ISO, the .cue of a cue/bin pair, or a bare .bin. A raw BIN with no cue sheet is unwrapped by its sector sync patterns, and a rip that lost its cue still reads. Every member is LZSS-compressed and the archive tables are encrypted, both handled transparently, and --raw retains the RA-> and RC-> wrappers. Members are stored back to back with no offset field, and the directory therefore doubles as an integrity check. ras-list reports an archive as intact when the header, both tables, and every stored size account for the file exactly.
  • Both dade maxpayne archive commands take as many sources as a game shipped discs. A retail disc needs two routes at once. The level archives sit loose on the disc while the shared game database is inside DATA1.CAB and is unpacked with unshield, and a cabinet is skipped with a warning when unshield is missing. A cabinet does not have to fit on one disc. Max Payne 2 splits its cabinet across data1.cab, data1.hdr, and data2.cab on the install disc and data3.cab on the play disc, and the parts are gathered from every source given before the cabinet is unpacked once. The discs may therefore be given in any order and in whatever mixture of formats they were ripped to.
  • dade maxpayne inspect-tags decodes the tagged R_MemoryFile stream that every custom asset is built from, identifying each value's type. The walk stops where a level exits tagged territory, at the point its first untagged string begins.
  • dade maxpayne ldb2glb converts levels to binary glTF, one .glb per .ldb, in parallel across every core, and dade maxpayne ldb-textures writes a level's embedded images out on their own. Each .glb includes the level's architecture, its props, the game's texture coordinates, and every embedded image. Both games are read, and the game a level came from does not have to be given. A Max Payne 2 level opens with LDB2 and is recognised by it. Pass --database and the NPCs and pickups are drawn with their models, read from the first game's skins and level_items directories; without --database they are written as empty nodes with names.
  • Every clip a prop can play (a door swinging either way, a lift rising, a fan turning) comes out as a glTF animation with a name, and a viewer can list and play the animations. A level stores a clip as two poses and two curves, one giving the distance travelled in world units and the other how far the prop has turned. Both are baked into keyframes on the way out, and a clip that moves nothing is dropped.
  • The baked lighting, the sky, and the decal layering are all written out. Each level's atlases are embedded, each face identifies the atlas that lights it, the second coordinate set addresses the atlas, and the lightmap goes in glTF's occlusion slot, the closest the format has to a lightmap. A level's skybox faces get a flat unlit colour and close the level off wherever it opens to the air, and omitting them would put a hole through every street. Graffiti, signage, and switchable surfaces are lifted about eight millimetres along the face normal. A level places each of these surfaces in exactly the plane of what it covers, and nothing in the file marks which is which.
  • dade.maxpayne.ldb2 reads Max Payne 2 levels as a separate reader feeding the same exporter. The sequel retains the tagged stream and the archives and rearranges everything above them. Its strings live in one pool addressed by byte offset, its textures are DDS in five groups rather than one, its vertices are packed float arrays behind a sixteen-bit index buffer, and its collision is Havok. A room includes the transform that puts it in the world. The first game deferred placement to the exit graph, and a room had to be assembled by walking the graph. Geometry an artist placed more than once is written once and referred to afterwards. The sequel also states each surface's draw order, and its decals are therefore lifted from what the level records rather than from the geometry.
  • dade rbplus site builds a browsable, static site from a collection of .rb tune packages. It writes every tune's charts as JSON and ships a React page that draws them in the browser. The result can be served from anywhere, GitHub Pages included. Tunes are grouped by artist and title and can be filed A-Z or by gojūon row, and the search matches the Hepburn romanisation of a kana reading. A Japanese title therefore resolves from a Latin keyboard. Pass --base for a project site served from a sub-path. --base also writes a 404.html, and a link to one tune opens it directly.
  • A package with only a basic chart, its medium and hard entries empty, is recognised as an extend note, a SPECIAL chart sold for a tune that already exists. dade rbplus site files it under the tune it extends, worked out from the numbering, rather than listing it separately.
  • The dade rbplus site output is an installable app. It ships a web app manifest, a service worker, and icons. A browser therefore offers to install it and opens an already-seen tune offline. The manifest's addresses are relative, and it installs the same from a dedicated domain or from a --base sub-path.
  • dade rbplus dump-chart --flip draws the chart with time running downward, the way the notes fall down the screen.
  • dade xg2 xg1-to-glb, dade xg2 xg2-to-glb, and dade xg2 xg2-pc-to-glb convert Extreme-G and Extreme-G 2 levels, models, and track objects to binary glTF. A level is not a display list. It is an LZHUF-compressed bytecode that the loader at 0x8004FDB8 walks once to build the display lists the hardware then draws, and the geometry therefore comes out by running the same interpreter, dispatched through the jump table at 0x8004BA98. Every opcode is decoded whether or not it includes geometry. Each consumes a fixed number of bytes, and skipping one by the wrong amount desynchronises everything after it. Extreme-G 2's dialect has twenty opcodes rather than fifteen and a visibility byte in front of every triangle, and the Windows port's tracks are the console's levels with their multi-byte fields swapped. One interpreter therefore serves all three builds. Models are ordinary display lists and are read straight off. A track's power-up pads and flame columns are placed from the entity stream the track region's +0x40 pointer identifies, their models read from a second code segment the ROM stores compressed. The port's bikes are not converted. They take their vertices from segment 8. The engine fills segment 8 at run time, and the vertices are not in the game's files at all.
  • dade xg2 xg2-to-glb also writes each BMC motion clip as an animation. The skeleton the clips drive has no separate file. It is a region inside every rider model, identified by the seventh of the eight segment pointers in the model's header, and its 27 bones have 61 degrees of freedom. With the root's six, the degrees of freedom are exactly the 67 curves every clip has. A curve is a binary angle, a full turn to 65536. Anatomy confirms the scale rather than assumption. Across the seventeen clips, the scale bends the knees 130 and 122 degrees and the elbows 136 and 145, against roughly 135 and 150 for a real rider.
  • The LZHUF (LHUF/HUFF) codec is implemented, and the archive entries that used to be dropped now decode. It was a placeholder that raised, and every LHUF entry was logged and skipped. dade xg2 extract-xg1 wrote its level containers as raw compressed slices and skipped the texture banks altogether, and both now come out decoded, the banks as PNG. It is the Okumura and Yoshizaki lineage, with the ring buffer zero-filled rather than space-filled and the decompressed size taken from the archive header rather than from a prefix on the stream, both as the game's decompressor at FUN_80057698 does it.
  • The dade xg2 commands that take the Windows port's DATA1 directory (extract-xg2-pc, xg2-pc-to-glb, and montage-pc) now also accept the disc it came on, as an ISO image or as the .cue or .bin of a cue/bin pair. The disc is extracted to a temporary directory and read from there. File names are matched without regard to case. ISO 9660 stores them upper-cased where an installation stores them lower-cased.
  • An N64 ROM is accepted in any of the three byt...
Read more

v0.0.2

Choose a tag to compare

@github-actions github-actions released this 26 Aug 04:34
Immutable release. Only release title and notes can be modified.
v0.0.2
283ed24

Fixed

  • Fix the release assets.

Full Changelog: v0.0.1...v0.0.2

v0.0.1

Choose a tag to compare

@github-actions github-actions released this 26 Aug 04:08
Immutable release. Only release title and notes can be modified.
v0.0.1
03753ed

Added

  • Merged a collection of separate game asset extractors into a single dade package, 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), and xg2 (Extreme-G and Extreme-G 2).
  • A single multi-command entry point, invoked as dade <game> <subcommand>.
  • dade jubeatplus group for the Konami iOS game jubeat plus: unpack converts a whole download to formats that open outside iOS. It accepts an .ipa, the .app bundle, the Payload directory, or a directory holding Payload, never writes to the source, and mirrors the bundle into the output directory. Apple-optimised (CgBI) PNGs are rewritten by pngdefry; enciphered .tex textures are deciphered and rewritten the same way; .caf sound effects are rewrapped as WAV by ffmpeg; .jbt tune 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, the SC_Info bookkeeping, and the executable's properties all become JSON. Every other file is copied unchanged. The assets use the same BFCodec cipher as pop'n rhythmin, under seven keys of their own. --no-png and --no-audio skip the two conversions that need a helper tool, and -j/--jobs sets the pool size.
  • dade rbplus group for the Konami iOS game REFLEC BEAT plus: unpack converts a whole download to formats that open outside iOS, extract-assets unpacks one of the three downloadable texture archives, and dump-chart writes a single note chart. unpack accepts an .ipa, the .app bundle, the Payload directory, or a directory holding Payload, never writes to the source, and mirrors the bundle into the output directory. A %09d.rb tune 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 by pngdefry, .caf sound effects become WAV, and property lists, localisation tables, Core Data models, and the SC_Info bookkeeping all become JSON. Mach-O images are left behind entirely. Every other file is copied unchanged. The assets use the same BFCodec cipher 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 rhythmin group for the Konami iOS game pop'n rhythmin: the BFCodec cipher (Blowfish with one deviation in its F function), dump-chara for downloaded character data, dump-idx for AEP animation indexes, dump-map for sugoroku boards (JSON, a text board, or a rendered PNG), dump-sheet for note charts from .orb and .acv song packages (JSON or a DDR-style strip image), and extract-dialogue for the board dialogue pools inside an app binary.
  • dade misc group for formats that belong to no single game: coredata deserialises 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; strings reads an Xcode .strings table 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, the LC_ENCRYPTION_INFO command 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 the SC_Info FairPlay bookkeeping in a purchased application bundle: the store item ID and App Store link, the manifest, the .sinf purchase record and its atom tree, the .supf and .supp supplements broken into their length-prefixed parts, the two Apple FairPlay certificates they embed with every extension broken out, the .supx tagged entries, and cross-checks between the parts. It accepts an .ipa, read in place without being unpacked, or the SC_Info directory, the bundle, the Payload directory, or a directory holding Payload. Every bundle in the download is read, including the app extensions under PlugIns and the watch app under Watch; --main-bundle keeps only the application and --bundle NAME keeps one named bundle. Every set of protection files in an SC_Info is read, not only the first, since a directory can hold one set per executable. --json prints the same information as JSON, one entry per bundle, and --region supplies the storefront when no iTunesMetadata.plist sits beside the bundle. It decrypts nothing and prints no key material.
  • ian2obj and extract-pvr-pack command-line utilities, now dade incoming ian2obj and dade incoming extract-pvr-pack.
  • ian2obj converts Dreamcast *_M.BIN model packs in addition to PC .ian meshes.
  • -j/--jobs option 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_png for the pngdefry conversion of Apple-optimised PNGs, audio for the ffmpeg rewrap, and fonts for the fontconfig lookup that picks a font with Japanese coverage. dade.jubeatplus.images, dade.jubeatplus.audio, and dade.rhythmin.render keep every name they exported.
  • Shared format code used by more than one game lives in a single dade.common package: WAV, PNG, and PPM writers, an LZSS decompressor, a Twofish cipher, the BFCodec Blowfish 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-extractor to dade. The Incoming extractor is now the dade incoming sub-command and its package moved from incoming_extractor to dade.incoming.
  • File conversions now run concurrently across a pool of worker tasks instead of one at a time.
  • The .cfg, .sav, .xxx, and .lev converters now decode the files into fully structured JSON using schemas reverse-engineered from incoming.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