Skip to content

CTR Native — beta 9 — full native graphics/input/debug suite

Choose a tag to compare

@Alihkhawaher Alihkhawaher released this 21 Sep 17:25
· 6 commits to master since this release

CTR Native — beta 9

Native PC build of Crash Team Racing (PS1, 1999), built on the
CTR-ModSDK decompilation. This release
packages the full native graphics + input + debug feature set with every fix to
date. No game data is included — bring your own disc image (NTSC-U).

Main menu

Live controls overlay Attract demo race Arcade character select

What's in this build

Graphics

  • True-resolution rendering — internal resolution 1×–8× plus Auto, presented
    directly from the supersampled render target (SSAA box-filter pack-down;
    2D blocks keep nearest so HUD/menus stay pixel-crisp). PgUp / PgDn.
  • Anti-aliasing (Tab) — edge-directed, color-space blend gated by a per-pixel
    2D mask: 3D gets smoothed, 2D stays sharp.
  • Scaled dithering — the PSX 4×4 ordered dither scales with the render target so
    supersampling averages it away instead of leaving grain.
  • Bilinear filtering (F3), aspect ratio control (Home), window size
    presets (End, includes 320×240 / 480×360 for 1×-sized windows).
  • Fullscreen toggle fixed for good: leaving fullscreen restores your windowed
    size (the display size is never stored as your window preference again).
  • A CTR-specific icon (taskbar, window, launcher).

PGXP — two modes, both working; run one at a time

  • PGXP textures (P) — perspective-correct texture interpolation. Nothing
    moves on screen; cannot tear. Recommended.
  • PGXP geometry (G) — subpixel vertex positions (clamped window). Run it
    alone; enabling both modes together reproduces tearing (see note below).
  • Implementation is an address-keyed memory cache (provenance from the game's
    own GTE stores) with a coordinate-matching fallback — an independent
    reimplementation, see CREDITS.md.
  • Status view (O) shows exactly what is corrected; freeze-frame (H) helps
    isolate any residual artifact.
  • Known limitation: geometry mode may seam where neighbouring triangles are
    unmatched, magnified by high internal resolutions. Use one mode at a time.

Input & gamepads

  • Four pad slots always presented (multitap bus fixed per session).
  • Sticky reconnects (a pad returning re-attaches to its player slot).
  • Keyboard can be assigned to any player slot (F4 at runtime).
  • One pad can no longer drive two players (duplicate-open fix).
  • Per-cardinality options in the launcher: pad layout, keyboard slot, deadzone
    (5% default), analog, rumble.

Debug tooling (kept on purpose, --verbose default / -q quiet)

  • F7 VRAM dump pack — exact PSX VRAM (vram_*.bin, 1024×512), decoded
    preview, and the on-screen frame (frame_*.bmp), timestamped.
  • F12 screenshots (upright, true colors) — screenshots/ctr_YYYYMMDD_HHMMSS.bmp.
  • O PGXP status view, H freeze-frame, F1 wireframe, F2 textureless,
    F5/F8 save/load state, F9/F10 replay record/stop.
  • Overlay with live controls reference (every toggle, every key).

Fixes since beta 8

  • Fullscreen toggle no longer stores the display size as your window size.
  • Main-menu polygon shredding with PGXP on (near-match disabled + aligned-quad
    guard + address-keyed binding).
  • PGXP bind freshness reworked (frame-era based): stale refusals 1.9M → 0 per run.
  • F12 / --dump-boot captures were upside-down and color-swapped — fixed.
  • crash fix (intro, ~2 min in), boot/legal screen black-frame fix.
  • gamepad duplicate-open fix, launcher layout fix.

How to run

  1. Unzip anywhere.
  2. Run ctr-native.exe — it will ask for / use the disc image path in
    ctr-native-config.json (game_data.disc_image). NTSC-U (SCUS-94426) only;
    PAL/NTSC-J are refused with a message by design.
  3. ctr_config_launcher.py (needs Python + tkinter) gives a GUI for every
    option, including pointing at your disc image.

Credits & licensing

  • This port builds on CTR-tools / ctr-native and CTR-ModSDK (GPL-3.0).
  • PGXP originates with iCatButler (PCSX-Reloaded, GPL-3.0); the PGXP here
    is an independent reimplementation — see CREDITS.md for full attribution.
  • Crash Team Racing and all game content are property of their respective
    owners; no game assets are distributed here.