Plok Recomp

Plok Recomp is a native PC port of Plok for Windows and Linux with true widescreen and 60 fps.

README

Plok Recomp

A native recompilation of Plok (USA), built on snesrecomp.

Native Linux and Windows port with true widescreen (real extra picture on the sides, no stretching), 60 fps, gamepad support, a pixel-art settings menu (Insert), a subtle CRT filter and a launcher.

You must legally own a copy of the game. No ROM data is distributed with this project, in the repository or in any release. The recompiled C is generated locally from your own copy and is never committed.

Status

Version 0.1.0: playable. Widescreen was developed and checked on level 1; other levels and bosses are not yet verified (see ROADMAP.md). The Windows build has been cross-compiled but never run on real hardware.

ROM identity

File1bcf1830-Plok.sfc
Publisher—
Developer—
Year—
Mappinglorom
RegionUSA (North America)
Coprocessornone
CRC32bbd678f6
SHA-2560b3b0fd42bbe06a812053df376b183412fc0de335c4b7cb8e45f3fe47b0044e9

tools/regen.sh refuses to run against anything else, so a mismatched revision fails immediately instead of producing subtly wrong output.

Build

git submodule update --init --recursive
bash tools/regen.sh --rom /path/to/1bcf1830-Plok.sfc
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j

The ROM does not have to live in the repository — keeping it on your own drive is the better habit, and SNESRECOMP_ROM sets the path once for a shell. Without either, tools/regen.sh finds 1bcf1830-Plok.sfc at the repo root, then the path the setup wizard recorded in rom.cfg; .gitignore blocks both from ever being committed.

tools/regen.sh verifies the ROM, generates src/gen/*.c, and re-syncs recomp/funcs.h. Re-run it whenever you change anything under recomp/.

Run

./build/PlokSNESRecomp                     # launcher picks the ROM
./build/PlokSNESRecomp /path/to/1bcf1830-Plok.sfc # or name it and skip the launcher

With no ROM on the command line the build opens the recomp-ui launcher: a ROM picker with a verification badge, plus display / audio / input settings. Your choice is cached in rom.cfg beside the executable, so the next launch opens on it and "Skip launcher on boot" makes it immediate. If the launcher is not built in (--no-recomp-ui), the host falls back to a native file picker.

Either way the ROM is checked against the digests above before anything boots — a dump that could not have produced this build is refused at the door rather than mis-executing ten frames in.

Layout

PathWhat lives there
recomp/Analysis input: bank*.cfg, symbols.toml, generated funcs.h
rom_identity.txtROM digests — read by the build, tools/regen.sh and CI
src/Host code you own: main.c, game_rtl.c
src/gen/Generated C. Never committed — regenerate locally
snesrecomp/Framework submodule (owns lib/recomp-net, lib/retcomm-rbengine)
tools/regen.sh — the ROM → C pipeline
scripts/package_release.sh — player-facing zip
framework_pins.txtExact framework commits this project was scaffolded against

Controls and settings

Keyboard bindings live in keybinds.ini; Insert (or the pad's Guide button) opens the settings menu. Settings include aspect ratio, widescreen options (black edges, actors in margins, HUD corners), volume, CRT filter and rebinding.

Multiplayer

Single player.

License

This project's own source is under the license in LICENSE. The framework carries its own terms — see snesrecomp/LICENSE and snesrecomp/THIRD_PARTY_ATTRIBUTION.md. Neither covers the game data, which is not distributed here.