Skip to content

Releases

psxstack 0.3.19

Choose a tag to compare

@gascarcella gascarcella released this 28 Oct 22:07
4007197

Settings split into four screens, and no save states in a run with no game (changes since 0.3.18).

  • Launcher and in-game menu: Settings is four screens, each its own entry in the navigation: Video (window, fullscreen, scaling, the rate, the menu's size), Graphics (the renderer, its resolution, 3D vertices and the filter set or sets, in tabs named by a game's scene labels, greyed out on the Software renderer), Audio and System (memory cards, updates, Steam, the settings file; the hook set_settings_extra is set_system_extra) (#114). <PREFIX>_PORT_MENU_SCREEN takes the page names; settings still opens Video. The settings file and the contract are unchanged: PSXSTACK_API stays 1.
  • Save states: a run with no game (a disc_required game's --input-test without its disc, #64) no longer arms them. Since v0.3.7 every window run did, and the first vsync, on main's stack, stopped the run (state: the vsync is not on the game stack or a fiber's, status 1): gascarcella/dcb_decomp's disc-free input self-test failed. Now the input self-test skips the quick slot's round trip (no game in this run) and goes on to the menu's; the hotkeys and the debug channel give the same reason; --save-state and --load-state without the game are refused (status 64) (#115).
  • Tests: tests/hello_test.py --menu also builds hello as a disc_required game (-DHELLO_DISC_REQUIRED=ON): without a disc it refuses to start, and its input self-test passes without the game.

psxstack 0.3.18

Choose a tag to compare

@gascarcella gascarcella released this 26 Oct 19:58
f93bf59

Separate present filters for a game's 2D and 3D scenes, and the VRAM extension (changes since 0.3.17).

  • Video: separate present filters for a game's 2D and 3D scenes (gascarcella/dw2003recomp#122, #111, #110). A game opts in with game.json's video.scenes (the rows' labels and the 2D set's default filter) and the adapter's game_state_scene(), read once per vsync; each set is a filter and its crt values, kept in video.scene_2d beside video.filter/video.crt (the 3D set), with --filter-2d on the command line. Both sets' pipelines stay built, so a scene change builds nothing. The launcher's Video screen and the in-game menu show a Filter row per set, the menu marking the one in use (port_video_scene()). Additive: PSXSTACK_API stays 1, and a game without scenes sees no change.
  • Existing players of a game that opts in: the filter they already chose becomes the 3D scenes' filter, and the 2D scenes take the game's 2D default (smooth for DW2003) until they change it.
  • VRAM: port_video_vram_extend, a 1024x1024 VRAM for textures and CLUTs in Psy-Q's 2 MB layout, on both renderers and in save states; port_video_widescreen_pad, how far past the display's edges the wide canvas shows (gascarcella/dw2003recomp#78, #109).

psxstack 0.3.17

Choose a tag to compare

@gascarcella gascarcella released this 25 Oct 02:25
b233693

A docs release: no code changed since 0.3.16, so a game's build is the same.

  • Docs: the README leads with the features, then using the stack from a game and developing it (#107); CONTRIBUTING.md, the ground rules, the gates and the pull request steps; CHANGELOG.md, every release since v0.1.0, out of the README (#108).
  • Repository: .github/CODEOWNERS; CI skips a change to it alone, as it does for Markdown and LICENSE.

The releases between 0.2.1 and this one are tags without GitHub releases; CHANGELOG.md has what each one changed.

psxstack 0.2.1

Choose a tag to compare

@gascarcella gascarcella released this 08 Oct 15:25

A patch release over 0.2.0. dw2003recomp's main pins this tag.

Fixed

  • runtime/mods_data.c failed to build on Ubuntu 24.04's gcc 13 at -O3 (the release's Release build, with -Werror). gcc reported a possible truncation in the settings paths (mods.<id>, mods.<id>.enabled). Those paths now bound the id at its field's size (%.63s), so the output doesn't change (#24).

Everything else is as in 0.2.0.

psxstack 0.2.0

Choose a tag to compare

@gascarcella gascarcella released this 08 Oct 15:00
84734a7

The hardware renderer's follow-ups and save states. dw2003recomp's main pins this tag. Every new feature is off by default except sub-pixel precision above internal scale 1.

What is new

  • D3D12 on Windows (#12): the hardware renderer's shaders are also built as signed DXIL, and SDL_GPU tries D3D12 first on Windows (SDL_GPU_DRIVER switches it). Under Wine, whose vkd3d refuses the swapchain settings, the renderer keeps the default swapchain (SDR, vsync) instead of falling back to the software renderer.
  • Sub-pixel precision (#14, #16, #22): a shadow of the GTE's projections keeps vertices off the whole-pixel grid at internal scales above 1. video.subpixel / --subpixel off|on|perspective (default on). perspective also adds perspective-correct texturing and is off by default.
  • Post-processing filters (#15, #19, #21): video.filter / --filter none|sharp|scanlines|crt|smooth (default none). video.crt sets the scanlines, the mask and the curvature. smooth works on the 1x picture. The software renderer stays unfiltered and logs that it is.
  • Texture replacement (#11, #17, #18): --dump-textures DIR writes each texture the game samples as a PNG named by its key. Texture packs (mod.json plus PNGs) go in through --texture-pack or --mods-dir. The launcher's mods page shows and orders the data mods.
  • A wide canvas (#13): the renderer can draw beyond the 4:3 frame, for a game's widescreen mod (dw2003recomp's is for battles).
  • Save states (#20): --save-state WHEN:FILE, --save-state-exit, --load-state FILE, and save_state/load_state over the debug channel. A state is the whole machine at the end of a vsync. It needs the same binary and the same refresh rate. About 8 MB, saved or loaded in under 0.1 s. Format and rules: docs/RUNTIME.md "Save states".

Consuming it: bump the submodule pin to this tag. A game that wants save states provides game_savestate (its mods' state), and a game whose mods need wide battles can use the wide canvas (docs/GAME_CONTRACT.md).

Known limits: D3D12 and save states have been tested under Wine and Proton but not yet on real Windows. A state is refused at a different refresh rate. Texture packs are matched by texture and palette (CLUT), so a texture with another palette needs its own entry. The software renderer has no filters and no sub-pixel precision.

psxstack 0.1.0

Choose a tag to compare

@gascarcella gascarcella released this 08 Oct 02:58
ec7927e

The first release: everything the Digimon World 2003 port builds on, as the psxstack/ submodule of dw2003recomp.

What is in it

  • The host runtime (runtime/): memory arena at the PS1's distances, N-slot overlay manager with data reset and address tables, interrupt pump and timing, software GPU, hardware renderer (SDL_GPU, internal resolutions), SPU and audio, input, memory cards, settings (--config, schema 1), per-frame log and input scripts, crash reports, the debug channel.
  • The Psy-Q shim (psyq/): one file per library over the hardware models; what its games call, growing per game.
  • The game description (schema/game.schema.json, tools/game_gen.py): identity, discs, rate, memory model, launcher strings, compiled in at configure time.
  • The build (cmake/psxstack.cmake): psxstack_add_game(), section renaming without a linker script, the post-link checks, the Windows cross-build (llvm-mingw).
  • The launcher (launcher/): SDL3 + Dear ImGui, settings, disc check, mod manifests, input bindings, a headless self-test; every string from the description.
  • Tools: port_gen.py, port_inventory.py (the host-compile gate), the MCP server over the debug channel.
  • examples/hello: a disc-free Psy-Q program built through the stack, its CI smoke test.
  • Docs: GAME_CONTRACT.md (what a game provides), PORT.md, RUNTIME.md, LAUNCHER.md, DECISIONS.md.

Consuming it: a submodule pinned at this tag; include(psxstack/cmake/psxstack.cmake) and psxstack_add_game(...); the launcher is its own CMake project under launcher/. docs/GAME_CONTRACT.md says what the game must supply.

Known limits: one game so far; the shim covers that game's Psy-Q subset; the Psy-Q declarations come from the game's recovered headers (docs/DECISIONS.md "Psy-Q headers").