Repository navigation
Releases
psxstack 0.3.19
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_extraisset_system_extra) (#114).<PREFIX>_PORT_MENU_SCREENtakes the page names;settingsstill opens Video. The settings file and the contract are unchanged:PSXSTACK_APIstays 1. - Save states: a run with no game (a
disc_requiredgame's--input-testwithout 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-stateand--load-statewithout the game are refused (status 64) (#115). - Tests:
tests/hello_test.py --menualso builds hello as adisc_requiredgame (-DHELLO_DISC_REQUIRED=ON): without a disc it refuses to start, and its input self-test passes without the game.
psxstack 0.3.18
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'sgame_state_scene(), read once per vsync; each set is a filter and its crt values, kept invideo.scene_2dbesidevideo.filter/video.crt(the 3D set), with--filter-2don 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_APIstays 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
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 andLICENSE.
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
A patch release over 0.2.0. dw2003recomp's main pins this tag.
Fixed
runtime/mods_data.cfailed 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
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_DRIVERswitches 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(defaulton).perspectivealso adds perspective-correct texturing and is off by default. - Post-processing filters (#15, #19, #21):
video.filter/--filter none|sharp|scanlines|crt|smooth(defaultnone).video.crtsets the scanlines, the mask and the curvature.smoothworks on the 1x picture. The software renderer stays unfiltered and logs that it is. - Texture replacement (#11, #17, #18):
--dump-textures DIRwrites each texture the game samples as a PNG named by its key. Texture packs (mod.jsonplus PNGs) go in through--texture-packor--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, andsave_state/load_stateover 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
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").