Skip to content

Wild9 Recompiled v0.2.4

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:35
22d0693

[0.2.4] - 2026-11-30

Features

  • (mods) Add Mac'Sheen mod that swaps Wex through W9.CDD deltas

    Players can now go through every level as Mac'Sheen instead of Wex, on
    foot, on the bikes and mounts, and at the checkpoints, with the stock
    USA disc still mounted. Patching the image was not an option: W9.CDD is
    followed directly by IPLOG_CD.STR, so feature overlays cannot make room
    for the larger blocks, and a derived disc would need xdelta3, a 578 MB
    cache file and would need a new .cue file to play the CD music.

    The new wild9.block_delta plugin rebuilds the changed level blocks in
    guest RAM while they load, from the stock bytes plus a W9BD delta made
    by Wild9-Assets-Exporter. It enlarges the read of each target block so the
    game allocates the rebuilt size, then replaces the buffer once the read
    completes and before the game parses it. A block is only rebuilt when
    its stock bytes match the expected SHA-256, and the delta is checked
    against the mounted W9.IDX and W9.CDD at activation, so any other disc
    or data keeps loading the original levels. Every decision is read from
    guest state, which keeps savestates and rewind safe during a load.

    The delta contains game-derived bytes, so like the Japanese text it
    never enters git. tools/embed_block_delta.py turns it into C under
    generated/, scripts/pack_generated_bundle.py gains --macsheen-delta
    to put it in the bundle, and CMake links it only when present. Without
    it, enabling the mod has no effect.

Bug Fixes

  • (mods) Cover widescreen bands on static screens and screen effects

    Title and loading images are drawn as a background of 32x32 tiles made
    from sprites, and a PSX sprite cannot be scaled, so in 16:9 they stayed
    inside the 4:3 area with empty bands on both sides. When
    tiled_layer_draw draws a static image for level_loading_screen,
    each tile sprite is now replaced by a textured quad stretched across
    the full wide view. The quads live in memory owned by the plugin, so
    the game buffers are never touched. Tiles whose texture reaches column
    or row 255 are split in two, because an 8 bit UV cannot end at 256 and
    the last texel would otherwise be lost. The text drawn on top, such as
    the level name and the blinking prompt, keeps its 4:3 placement.

    The Gulag explosion effect in screen_feedback_pulse_draw redraws the
    previous framebuffer with an additive red tint, scaled and offset
    around the centre. Only the 320x240 part of that framebuffer exists in
    VRAM, so the bands kept showing the live scene while the rest of the
    screen pulsed. The stock 4:3 effect is left as it is, and each outer
    edge now gets a band with the same scale, tint and offset that repeats
    the edge columns.

    The iris transition had the same problem, because its black masks
    stopped at the 4:3 edges and the bands stayed visible while it closed.
    The side masks are now rebuilt so they reach the band edges.