SnPRecompiled

SnPRecomp is a native PC port of Sin and Punishment for Windows and Linux that offers widescreen, high resolutions, and mouse aiming.

README

Sin and Punishment (2000 N64) Recompiled and Port

You will need the game file from a licensed copy in order to play it.

A native PC port of Sin and Punishment (Tsumi to Batsu: Hoshi no Keishousha), made by statically recompiling the N64 game with N64Recomp and running it on N64ModernRuntime with RT64 for rendering.

Unofficial, and not affiliated with the rights holders. No game data is included. You need your own dump of the game to build or play this.

Features

  • Runs natively on Windows. Linux and Steam Deck builds are untested.
  • Widescreen, with the HUD at the screen edges and the reticle reaching the full width (experimental).
  • High resolutions and framerates above 30 fps (experimental).
  • Mouse aim, Absolute (the reticle follows the pointer) or Relative.
  • Analog Aim for smoother aiming with a stick.
  • Twin-stick controller layout by default, fully remappable, and keyboard.
  • Plays the Japanese ROM or an English translation of it.
  • Texture packs: RT64 packs and Rice packs made for emulators.
  • CRT, Scanlines and LCD screen filters, and bloom.
  • Unlocks and cheats in the settings, no codes needed.
  • Add to Steam from the launcher, with artwork.

Game Files

You need your own data file: the Japanese release, or an English translation patched onto it. Known good:

ROMSHA-1
Tsumi to Batsu - Hoshi no Keishousha (Japan)581297b9d5c3a4c33169ae0aae218c742cd9cbcf
Sin and Punishment - Successor of the Earth (U), English translation5945ff3935d9d9531bbb5cfcabed7c198e2b2f41
Sin and Punishment - Successor of the Earth, English v1.0 [Zoinkity]e3906c919236dac6eba020b4b8c1df91fd725c5d

Other dumps work too: .z64, .n64 and .v64, and other translation patches as long as they only change text and graphics.

Start the game, pick Load ROM and select your file. It only has to be done once. You can keep one Japanese and one English ROM, each with its own saves, and pick either one with Start Game. Change ROM swaps one out.

Add a blank portable.txt in the application's folder to make it portable, if you want to save settings and saves locally.

Download

Get the latest build from the Releases page.

  • Windows: unzip it anywhere and run SnPRecompiled.exe.
  • Linux / Steam Deck (untested): extract the .tar.gz and run SnPRecompiled.sh. Settings and saves go in ~/.config/snprecomp.

On Steam Deck, in Desktop Mode, use Add to Steam on the launcher (or "Add a Non-Steam Game" in Steam), then play it from Gaming Mode.

Controls

F1 or Esc opens the settings. Change the controls on the Controls tab.

Mouse and keyboardController
MoveArrow keysLeft stick
AimMouse, or W A S DRight stick
FireLeft click / QRight trigger
JumpRight click / RLeft trigger
Aim mode (lock-on / free)Middle click / SpaceA
StartEnterStart

Mouse Aim, Mouse Sensitivity, Joystick Deadzone and Analog Aim are at the top of the Controls tab. Mouse buttons, side buttons too, can be bound like keys on the keyboard side of the Controls tab.

Texture Packs

  • RT64 packs (.rtz): install them from the Mods tab.
  • Rice packs (emulator hires_texture packs): put the pack's folder in the texture_packs folder. Graphics > Texture Packs > Open Folder opens it. Texture Packs can be turned off there too, before the game starts.

Tested with Vanit's English translation pack on the Japanese ROM. If both kinds of pack replace the same texture, the RT64 one is used.

Issues and Limitations

Known:

  • Beta.
  • Widescreen and framerates above 30 fps are experimental. If something looks wrong, check it at Original aspect ratio and Original framerate.
  • A few scenes show sky or nothing at the sides in widescreen, where the game has no scenery past the original 4:3 view.
  • Linux and Steam Deck builds are untested.

Else:

  • Please see the "Issues" section in GitHub. Screenshots or a short video help a lot.
  • If the game crashes, attach crash_log.txt from the game's folder.

Changes

See CHANGELOG.md.

Building

See BUILDING.md.

Credits

  • N64Recomp and N64ModernRuntime by Mr-Wiseguy and contributors, which this port is built with
  • RT64 by Dario and contributors, the renderer
  • RecompFrontend by the N64Recomp contributors, the launcher and input layer
  • Zoinkity, for the English translation of the game's text
  • Mouse Injector by Carnivorous, whose Sin and Punishment driver pointed to the reticle in memory
  • The CRT filter is based on Timothy Lottes' CRT shader, and the LCD filter on LCD3x by Gigaherz (both public domain)
  • The Rice texture pack hashing follows RT64's texture_hasher, based on GlideN64 and Rice Video (GPL)
  • Steam artwork from SteamGridDB, downloaded when you use Add to Steam
  • spimdisasm and rabbitizer for finding function boundaries, and n64sym by shygoo for identifying the N64 SDK's functions
  • The app icon's 罪 is drawn with Dela Gothic One (SIL Open Font License 1.1)

License

The project's own code is GPL-3.0; see COPYING. The game itself remains the property of its rights holders.