Skip to content

v0.4.0

Latest

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