• v1.7.0 5801bf6420

    github-bot released this 2026-11-25 09:49:37 +00:00 | 0 commits to main since this release

    @⁠rpatty-dev on GitHub · 2026-11-25 09:50 UTC · original

    What's New in v1.7.0

    • SGD5 effect browser (PR #59 by @⁠Xyzstk): shaders are now shown as effect → technique → pass → shader, with verified parameter bindings and every compiled native variant. SGD5 is the default shader view.
    • Typed GXT tables (PR #60 by @⁠kaoru-maki): typed tables keep their empty rows, repeated entries and row order, with bounds checks on every read.
    • Streaming GXT discovery (PR #61 by @⁠kaoru-maki): typed GXT tables in large RPF archives are found with a bounded, sequential scan and open in the Explorer.
    • Faster Bink 2 playback (PR #58 by @⁠lalitshankarch): uses radvideo64.exe binkplay when it is available and falls back to binkplay.exe otherwise.

    Thanks to everyone who sent PRs and reports: @⁠Xyzstk, @⁠kaoru-maki, @⁠lalitshankarch, @⁠igvcc, @⁠Mrsuss60, @⁠asm512, @⁠tomilovsenya, @⁠worstgirlinamerica.


    Assets on GitHub (not copied here):

    Downloads
  • v1.6.0 ca4cd4c09b

    github-bot released this 2026-11-24 11:28:36 +00:00 | 18 commits to main since this release

    @⁠rpatty-dev on GitHub · 2026-11-24 11:28 UTC · original

    What's New in v1.6.0

    • World Viewer memory & smoothness (PR #52 by @⁠asm512): idle models are evicted from VRAM and meshes are prepared off the render thread, so long flights no longer stall or run out of memory.
    • PSIN tree view (PR #51 by @⁠asm512): collapsible tree view with in-place edits.
    • GXT export & in-file search (PR #54 by @⁠asm512, closes #50): export GXT UI/text tables as readable text and search inside file contents from the Explorer.
    • GXT small-table fix (PR #56 by @⁠Snorps37, closes #55): about 2,300 small text tables that failed before now decode through their string pool records.
    • ADAT audio fix (PR #57 by @⁠worstgirlinamerica, closes #48): misaligned ADAT stream tables are recovered when the forward scan misses streams.

    Thanks to everyone who sent PRs and reports: @⁠asm512, @⁠Snorps37, @⁠worstgirlinamerica, @⁠YellowMaker, @⁠crexlight.


    Assets on GitHub (not copied here):

    Downloads
  • v1.5.2 6a64e53f6d

    github-bot released this 2026-11-22 21:36:35 +00:00 | 25 commits to main since this release

    @⁠rpatty-dev on GitHub · 2026-11-22 21:40 UTC · original

    What's New in v1.5.2

    • PSIN Typed XML & Hashed Name Recovery (PR #45 by @⁠asm512): Typed XML viewer/exporter, in-place XML patching, case-sensitive joaat name recovery, and %LOCALAPPDATA%\PercyStar\names\ dictionary support.
    • Model Viewer: Vehicle Data Panel (PR #47 by @⁠asm512): Collapsible handling & physics component records with parent-chain inheritance and text copy.
    • Bink2 Container Parser & Batch CLI (credit Discord @⁠igvcc): Zero-dependency \BIK*/\KB2*\ header/audio/frame offset parser, --decode-audio, --decode-navmesh, and optimized \16x16\ BCPack seed swatch preview.
    • Windows Light Mode Fix (PR #44 by @⁠asm512): Keeps PercyStar dark theme readable when Windows uses light mode.
    • Tests: 120 passing (\cargo test --release, PR #46).

    Assets on GitHub (not copied here):

    Downloads
  • v1.5.1 23a28ba232

    github-bot released this 2026-11-22 19:06:21 +00:00 | 35 commits to main since this release

    @⁠rpatty-dev on GitHub · 2026-11-22 19:06 UTC · original

    PercyStar v1.5.1

    Highlights

    • Subtle GitHub Sponsors Support (src/main.rs, .github/FUNDING.yml, README.md):
      • Added a discreet ♥ Sponsor link beside the version number in the top bar and at the top of README.md (https://github.com/sponsors/rpatty-dev).
    • Includes all v1.4.8 / v1.5.0 improvements: RF World View, 0xB8 ArchetypeDefs stride, conjugated world quaternions, 200m 6 km spatial grid streaming, and lock-free streaming + TTPF handle reuse.

    Verification

    • cargo test --release: 98 passed; 0 failed (6 ignored)

    Assets on GitHub (not copied here):

    Downloads
  • v1.5.0 b2aced87e2

    github-bot released this 2026-11-22 18:38:44 +00:00 | 38 commits to main since this release

    @⁠rpatty-dev on GitHub · 2026-11-22 18:39 UTC · original

    Every hot path was timed on a real GTA VI build (Ryzen 5 3600XT, 16 GB RAM, game on a 7200 rpm HDD), then made faster without changing a single result. Best of 3 runs, warm files, same machine, back to back:

    Task v1.4.8 v1.5.0 Faster
    Load scan index at startup (1.32M entries) 1671 ms 640 ms 2.6x
    Build search index 687 ms 62 ms 11x
    Search query (adder) 54.5 ms 12.4 ms 4.4x
    Search query (tex_ bc7 -mip) 61.4 ms 11.9 ms 5.2x
    Save scan index 4227 ms 509 ms 8.3x
    Open 40 texture dictionaries (textures.rpf) 15428 ms 5980 ms 2.6x
    Decode 60 TTPF textures 9.8 ms 5.1 ms 1.9x
    Scan data.rpf (459 MB) 4517 ms 1887 ms 2.4x
    Scan shaders.rpf (393 MB) 1347 ms 945 ms 1.4x
    Scan script.rpf 34.5 ms 19.8 ms 1.7x
    Scan common.rpf 82.2 ms 49.6 ms 1.7x
    Scan packs.rpf (4.5 GB, disk bound) 40.4 s 33.3 s 1.2x

    Proof the output is identical: the benchmark prints a checksum of every scan result, every decoded pixel and the whole search index. All of them match between v1.4.8 and v1.5.0, and a save then reload of the scan index gives back the same data. Full raw output: docs/bench/v1.4.8_vs_v1.5.0.txt.

    Run it yourself: PercyStar.exe --bench "<game folder>" [runs] [filter] (filter is a comma list such as cache,txd,data.rpf).

    What changed:

    • BC1 / BC2 / BC3 / BC4 / BC5 / BC6H / BC7 decoding uses every CPU core (image split into bands of block rows). BC7 was 80% of texture dictionary load time.
    • zlib now uses the zlib-rs backend (pure Rust, faster inflate) for all archive reads.
    • Archive scanning probes every 4 KB page on all cores and reads the next 16 MB chunk on its own thread while the current one is probed, so the disk never waits. Same for the levels.rpf vehicle index.
    • Scan index (scan_cache_v9.tsv) loads and saves on all cores; a failed save no longer replaces a good cache with a cut one.
    • Search index, filtering and the Model Viewer list are built on all cores; sorting skips the merge buffer while keeping the exact same order.
    • Verified Test Suite: 98 passed; 0 failed (cargo test --release).

    Raw benchmark output

    PercyStar 1.4.8 bench, best of 3, D:\Grand Theft Auto VI Build
    cache: load index                      1670.8 ms
      (79 archives, digest 8d7d0203cea74231)
    cache: save index                      4226.8 ms
    cache: fill entry list                  555.9 ms
    search: build index                     686.5 ms
      (index digest e76551da894bc900)
    search: query 'adder'                    54.5 ms
      (241 hits)
    search: query 'tex_ bc7 -mip'            61.4 ms
      (24892 hits)
    search: query 'zzzz_no_match'            57.6 ms
      (0 hits)
      (1324566 entries)
    scan: script.rpf                         34.5 ms
      (1013 entries, digest 39e2de13d136ebcc)
    scan: common.rpf                         82.2 ms
      (275 entries, digest d134b8bf5f3842d7)
    scan: textures.rpf                      248.0 ms
      (4047 entries, digest 90c5e1929442220d)
    scan: shaders.rpf                      1347.4 ms
      (1 entries, digest 14af23f9317e0ab6)
    scan: data.rpf                         4516.5 ms
      (40348 entries, digest 8dbea80359262777)
    scan: packs.rpf                       40365.7 ms
      (58220 entries, digest 9325ccd7081a2d0e)
    scan: ttdb_graphics.ttpf                  0.2 ms
    decode: 60 TTPF textures                  9.8 ms
      (pixel digest d74dbf08781c3103)
    decode: 40 TXD dictionaries           15427.6 ms
      (pixel digest b9ff1b3afdc7518e)
    decode: 25 packs.rpf models               6.2 ms
      (25 decoded, (625, 800))
    PercyStar 1.5.0 bench, best of 3, D:\Grand Theft Auto VI Build
    cache: load index                       640.3 ms
      (79 archives, digest 8d7d0203cea74231)
    cache: save index                       509.1 ms
      (save then load gives the same index: true)
    cache: fill entry list                  450.3 ms
    search: build index                      62.1 ms
      (index digest e76551da894bc900)
    search: query 'adder'                    12.4 ms
      (241 hits)
    search: query 'tex_ bc7 -mip'            11.9 ms
      (24892 hits)
    search: query 'zzzz_no_match'             9.6 ms
      (0 hits)
      (1324566 entries)
    scan: script.rpf                         19.8 ms
      (1013 entries, digest 39e2de13d136ebcc)
    scan: common.rpf                         49.6 ms
      (275 entries, digest d134b8bf5f3842d7)
    scan: textures.rpf                      234.5 ms
      (4047 entries, digest 90c5e1929442220d)
    scan: shaders.rpf                       944.5 ms
      (1 entries, digest 14af23f9317e0ab6)
    scan: data.rpf                         1887.2 ms
      (40348 entries, digest 8dbea80359262777)
    scan: packs.rpf                       33297.3 ms
      (58220 entries, digest 9325ccd7081a2d0e)
    scan: ttdb_graphics.ttpf                  0.3 ms
    decode: 60 TTPF textures                  5.1 ms
      (pixel digest d74dbf08781c3103)
    decode: 40 TXD dictionaries            5980.3 ms
      (pixel digest b9ff1b3afdc7518e)
    decode: 25 packs.rpf models              10.7 ms
      (25 decoded, (625, 800))
    

    Existing installs update in place: the in-app updater picks up PercyStar_v1.5.0_Win64.zip (all versions since v1.0.3 use this layout).


    Assets on GitHub (not copied here):

    Downloads
  • v1.4.8 b394bd69bf

    github-bot released this 2026-11-22 17:41:23 +00:00 | 40 commits to main since this release

    @⁠rpatty-dev on GitHub · 2026-11-22 17:32 UTC · original

    PercyStar v1.4.8

    Highlights

    • RF World View & Proper World Loading (src/worldmap.rs, src/world_gpu.rs):
      • Added RF World View button with Time-of-Day presets (Dawn, Noon, Golden, Night), Water (V) toggle, 700m–16km draw radius presets, and C-down flight controls powered by PercyStar's PBR/sky/water/RT shaders.
      • Fixed CEntityDef world entity rotation (conjugated + finite-guarded quaternions) and replaced linear archetype distance scans with a 200m spatial grid streaming nearest-cell-first up to 6 km.
    • Stale Decode & Streamer Reliability (PR #43, @asm512):
      • Dropped superseded out-of-order selection decodes and cleared spinner on decoder panic.
      • Re-queued skipped world streamer models on mid-batch camera moves; lock-free per-worker streaming ((cores / 2).clamp(3, 6) threads).
    • World Textures, Cell Batching & Background Export:
      • Capped 128px mip reads (decode_ttpf_texture_capped) with shared texture uploads, 1 GiB byte-bounded TTPF cache, thread-local File handle reuse (LAST_TTPF_FILE), Rc<PathBuf> chunk cache keys, 1024m cell batching (draw cap 6000), and background Export All/Selected with Cancel.

    Verification

    • cargo test --release: 98 passed; 0 failed (6 ignored)

    Assets on GitHub (not copied here):

    Downloads
  • v1.4.7 1c00206f60

    github-bot released this 2026-11-22 16:09:49 +00:00 | 45 commits to main since this release

    @⁠rpatty-dev on GitHub · 2026-11-22 14:57 UTC · original

    PercyStar v1.4.7

    Highlights

    • 3D Model Viewer & Exporter Overhaul (contributed by @⁠Pokeralho / Luis F. in #42):
      • Multi-threaded band-parallel software rasterizer with adaptive resolution during camera movement.
      • Perspective-correct bilinear & trilinear mipmapped textures, linear-light lighting with normal mapping and overlay layers, and depth-sorted glass/decal blending.
      • Fixed-point top-left rasterization eliminating pinholes and shared-edge double-blending.
      • Corrected GLB and OBJ exports (normals, flipped V coordinates, materials).
    • Explorer Marquee Scroll Lock (#41):
      • Dragging a marquee selection box in the Explorer no longer snaps scroll back to the top.

    Credits

    Huge thanks to @⁠Pokeralho (Luis F.) for the PR #42 3D viewer & exporter overhaul!

    Verification

    • cargo test: 96 passed; 0 failed (6 ignored)

    Assets on GitHub (not copied here):

    Downloads
  • v1.4.6 76afdb8677

    github-bot released this 2026-11-22 14:41:53 +00:00 | 61 commits to main since this release

    @⁠rpatty-dev on GitHub · 2026-11-22 14:42 UTC · original

    PercyStar v1.4.6

    Fixes & Improvements

    • ADAT u16 & u32 Stream Table Support (#37): parse_adat_header() in src/awc.rs evaluates candidate chunk-table offsets (16 + sc * 4 for u32, 16 + sc * 2 and 8-byte aligned for u16, plus backward fallback) and picks the valid chunk table, fixing multi-hundred-stream banks (e.g. 503 streams) that previously showed bogus chunks.
    • Explorer Marquee Drag Selection (#38): Click and drag in the Explorer list to draw a selection rectangle across rows (Ctrl additive), paired with Ctrl+Click, Shift+Click, Ctrl+A, Ctrl+C, batch Export Selected, and multi-row context menus.
    • Breakthroughs PS09 Stage Audit Reconciled (#39): Reconciled docs/breakthroughs.json kpis[0] to 9,535 PS · 1,343 VS · 3,082 CS · 7,498 NGG · 64 RT and marked the earlier v1.3.0 raw heuristic split as superseded.
    • 3D World GPU Viewer Optimizations (src/world_gpu.rs): Automatic 16-bit index buffers (Uint16) when verts <= 65,535, time-budgeted upload backpressure (6ms / 8 batches per frame), and Ctrl precision slow-flight alongside Shift boost.

    Verified

    • cargo test: 66 passed; 0 failed; 5 ignored

    Assets on GitHub (not copied here):

    Downloads
  • v1.4.5 f9e0fad15d

    github-bot released this 2026-11-22 12:16:56 +00:00 | 65 commits to main since this release

    @⁠rpatty-dev on GitHub · 2026-11-22 12:17 UTC · original

    PercyStar v1.4.5

    Fixes & Improvements

    • BK2 Video Player (#35): Removed unsupported /NoBorder /DrawD3D11 /L /W640 /H360 CLI flags when launching binkplay.exe in docked mode (matching Pop-out playback), eliminating the RAD Video Tools alert popup. Docked embedding continues to strip borders and resize via Win32 SetWindowLongW + SetParent + MoveWindow.
    • Explorer Multi-Select (#36): Added full Explorer multi-selection and batch actions:
      • Ctrl+Click to toggle individual rows, Shift+Click for contiguous range selection, and Ctrl+A to select all filtered rows.
      • Batch Export Selected and Copy Path (Ctrl+C) across all selected entries.
      • Multi-row right-click context menu (Copy N File Names, Copy N Archive Paths, Copy N Offset Locations).

    Assets on GitHub (not copied here):

    Downloads
  • v1.4.4 dd7ad30ddb

    github-bot released this 2026-11-22 11:56:41 +00:00 | 66 commits to main since this release

    @⁠rpatty-dev on GitHub · 2026-11-22 11:56 UTC · original

    What's New in v1.4.4

    • BCPack BC1 Full-Resolution Decoding: Decodes Xbox Series BCPack BC1 .ttpf mip 0 chunks natively via bcpack-rs with OnceLock table caching, unlocking full-resolution BC1 textures on models and previews.
    • Texture Channel Isolation & Normal-Map Z Rebuild: Added RGBA | RGB | R | G | B | A channel isolation and Normal: rebuild Z (sqrt(1 - x^2 - y^2)) preview controls.
    • Unix / Linux AWC Audio Playback: Added #[cfg(unix)] playback via afplay (macOS) and pw-play / paplay / aplay (Linux) with fixed-point Q15 PCM volume scaling.
    • Community Credits: Updated README.md crediting all PR contributors and issue reporters.

    Tests: cargo test — 63 passed, 0 failed (5 ignored).


    Assets on GitHub (not copied here):

    Downloads