ReSho 64

ReSho 64 is a Windows port of Samurai Shodown 64 that offers widescreen support and sharper 3D graphics.

README

ReSho 64

Samurai Shodown 64, rebuilt for Windows.
An unofficial PC version of SNK's 1997 Hyper Neo Geo 64 arcade fighter, in widescreen and sharp 3D.

Latest release Downloads Windows Licence

Download · Install · How to play · Widescreen · The menu · Playing online · Troubleshooting

Haohmaru against Nakoruru in the snow, widescreen with enhanced graphics

Important

ReSho 64 does not include the game. You need your own legally obtained copies of two arcade ROM sets, as MAME names them: sams64.zip (Samurai Shodown 64 / Samurai Spirits / Paewang Jeonseol 64) and hng64.zip (the Hyper Neo Geo 64 system ROMs). Setup builds the game from them on your PC. The download contains only ReSho 64's own code and the open-source tools it uses.

Tip

The pause menu: press Tab or Esc (on a controller, Back + Start).

Warning

This is an early test release. The game has been played by hand from power on through fights, and in long automated tests. Online play is experimental: it has only been tested on one PC through simulated internet connections, never between two real PCs. Reports of anything that looks, sounds or feels wrong are very welcome.

Contents

What ReSho 64 adds

WidescreenFights fill a 16:9 screen, with more of the arena at the sides. The full-screen artwork (sword clashes, super moves, win portraits) is placed for widescreen too, and the menu shows a preview of each choice.
Sharper 3DFighters and stages redrawn on your graphics card at your screen's resolution. Or keep the arcade's own 512×448 picture (F9 switches).
Your screen, your wayWindow, borderless or exclusive full screen; 4:3, stretched or pixel-perfect scaling; sharp, smooth, scanlines, or the look of an arcade monitor (CRT, flat or curved).
ControlsKeyboard and Xbox-style controllers for two players, two ready-made controller layouts and full remapping.
Arcade settings in a menuFree play, difficulty, rounds to win, continue, violence level and more, without the operator menu.
Every regionJapan, USA, World or Korea, from the menu.
Online versus (experimental)Two players over the internet or a home network, with rollback. See Playing online.
NativeNot an emulator: the arcade code is recompiled into a Windows program.
Ukyo against Galford on the ship Hanzo against Kazuki at sunset Shiki against Genjuro Haohmaru's flaming slash at the temple

The game

Samurai Shodown 64 (Samurai Spirits in Japan) is a weapon-based fighting game that SNK released in arcades in 1997 on its Hyper Neo Geo 64 board: the series' first step into 3D. Fighters move around the arena as well as back and forth, and the stages have more than one area. Its ink-drawn super moves, sword clashes and blood-red finishes come straight from the 2D games.

What you need

  • 64-bit Windows 10 or 11.
  • A graphics card with Direct3D 11.
  • Your own sams64.zip and hng64.zip (see the note at the top).
  • About 600 MB of free disk space while installing. The installed game takes about 160 MB.
  • A keyboard, or one or two Xbox-style (XInput) controllers.

Install

  1. Download ReSho64-Setup.zip from the latest release and unzip the whole folder anywhere.
  2. Run Setup.exe.
  3. Choose your sams64.zip and hng64.zip and where to install, then press Install.

Setup checks the ROMs, builds the game from them on your PC and adds desktop and Start menu shortcuts. It takes a minute or two. No administrator rights are needed and nothing is downloaded: everything Setup uses is in the folder you unzipped, which you can delete afterwards. Setup also makes the game's icon, the pause menu's artwork and the widescreen preview pictures from your own ROMs, so the download holds none of the game's artwork.

Any MAME version's sets work as long as they are complete: Setup finds the files it needs by checksum, whatever they are named. hng64.zip must include the I/O board file tmp87ph40an.bin.

Note

Setup isn't code-signed, so Windows may show "Windows protected your PC". Choose More info, then Run anyway. If your antivirus blocks Setup.exe, that is an automatic guess about new, unsigned programs: allow it in the antivirus's history list and run Setup again.

Updating

Download the new ReSho64-Setup.zip and install into the same folder as before. Your settings, controls and the arcade's saved settings and records are kept.

Uninstalling

Windows Settings → Apps → ReSho 64 → Uninstall, or run Uninstall.exe in the install folder. It asks whether to keep your settings, and removes only the game's own files.

How to play

Character select
  1. Start the game from its shortcut. It boots like the arcade machine, into the title.
  2. Insert a coin, then press Start. With Free play on (menu, Game page), Start alone is enough.
  3. Pick your fighter. The second player joins at any time with a coin and their own Start.

The cabinet has a stick and four buttons: A weak slash, B strong slash, C kick, and D, which moves your fighter around the arena when held with the stick.


Keyboard
Player 1Player 2
StickArrow keysR F D G
A / B / C / DZ / X / C / VA / S / Q / W
Start / insert coin1 / 52 / 6
MenuTab or Esc
Controllers

The first controller connected is player 1, the second player 2.

Standard (default)Neo Geo pad
StickD-pad or left stickD-pad or left stick
A weak slashXA
B strong slashYB
C kickAX
D move aroundB or RBY
Start / insert coinStart / BackStart / Back
MenuBack + StartBack + Start
Changing controls

On the menu's Controls page, choose Player and the control, and press Enter (A on a controller). Press a controller button to add it (again to take it off; up to three per control), or a key to make it the keyboard key. Esc closes the box. Restore defaults puts both players back on the original keys and the Standard scheme.

Widescreen

Turn it on with Display → Picture shape: Widescreen (it needs Enhanced graphics). Fights then fill a 16:9 screen: the game's own 3D arena simply carries on at the sides. The title, character select and other flat screens stay 4:3, with black sides or a dark blurred copy of the picture (your choice). The game starts in the arcade's 4:3 until you turn widescreen on. The same moment both ways:

The same moment in arcade 4:3 and in widescreen
An ink-drawn super move in widescreen Rimururu's ice super move

The game's full-screen artwork was drawn for a 4:3 screen, so ReSho 64 places each kind for widescreen in its own way. The Widescreen page of the menu has a row for each, with a picture of how each choice looks:

ChoiceWhat it does
As drawn (the default for most)The game's own picture at its own size. A portrait against one edge moves out to that side of the screen; a background carries on at the sides; nothing is stretched that doesn't need to be.
Faces moved out (sword clash)The two fighters' faces slide in from the left and right edges, with the middle left clear.
StretchedWidened to fill the screen.
Edges stretchedOnly the outer strips are widened, so the middle keeps its shape.
Arcade 4:3Left as it was, in the middle.

Health bars can sit where the arcade put them, or move out to the screen edges.

The menu's Widescreen page, with its preview picture

The menu

Press Tab or Esc on the keyboard, or Back + Start on a controller. The game pauses while the menu is open. Its backdrop is a fighter's illustration, drawn from your ROMs.

ControllerKeyboard
MoveD-pad or stickArrow keys
Choose / changeAEnter
BackBEsc
Switch pagesLB / RBQ / E
CloseStartTab
PageWhat's there
DisplayWindow / borderless / exclusive full screen, window size, monitor, picture shape (4:3, stretch, whole-number scale, widescreen), enhanced or original graphics, quality, screen filter (sharp, smooth, scanlines, CRT, CRT curved), frame pacing, graphics card, frame-rate counter
WidescreenHealth bars, and how each kind of full-screen picture is shown in widescreen (see above)
AudioVolume, mute
ControlsController schemes, keys and buttons for each player, sticks, dead zone, restore defaults
GameFree play; language / region (Japan, USA, World or Korea; applies after a restart)
RulesThe arcade operator's settings (below)
OnlineExperimental. Host a game, join one by address, input delay, this PC's address, leave
SystemResume, the arcade's operator menu, restart, quit
KeyDoes
Alt+Enter or F11Window / full screen
F9Enhanced graphics on / off
F2The arcade's Test button (operator menu)
9The arcade's Service button
The menu's Display page

Arcade settings

The title screen

The arcade machine had an operator's menu for the owner of the cabinet. ReSho 64 puts its settings on the pause menu's Rules page and keeps them in the arcade's own save memory, so they agree with the original menu (still there: System page, or F2). They apply from the next game.

  • Difficulty: Easy, Normal, Hard, Hardest.
  • Rounds to win, against the computer and in versus.
  • Continue: whether you can carry on after losing.
  • Violence: level 3 is red blood (the default here); levels 1 and 2 show a white splash instead, the arcade's default outside Japan.
  • Sound in the title demo, the credit counter on screen, and one coin for versus.

Playing online (experimental)

This part is experimental. It has been tested with two copies of the game on one PC, through simulated slow and unreliable connections, and the two stayed in step every time. It has not yet been played between two real PCs. It connects the two players' PCs directly: there is no server, lobby or matchmaking.

Two players, each on their own PC with their own copy. One hosts and is player 1; the other joins and is player 2. Each plays with their own Player 1 controls.

  1. Host: open the menu, go to Online, choose Host a game. The game restarts and shows a waiting screen with your address.
  2. Joiner: on the Online page choose Address to join, type the host's address (Enter to start typing, Ctrl+V pastes), then Join a game.
  3. The game starts from power on for both of you, with the host's settings. Free play on the host saves putting in coins.
  • Same network: the joiner types the address the host's waiting screen shows.
  • Over the internet: the host's router must forward UDP port 7600 to the host's PC, or both players use a virtual-LAN tool such as Tailscale, ZeroTier or Radmin VPN.
  • Windows Firewall asks the first time you host. Choose Allow.
  • Both players need the same language / region, the same ROM sets and the same version of ReSho 64.
  • Input delay (Online page, the host's choice): 2 suits most connections. Raise it if the picture often jumps.
How it works, briefly

Both copies run the whole game from power on with the same settings, and send each other only what each player presses. Each plays your own presses a couple of frames late (the input delay), which is usually enough for the other player's to arrive in time. When they are late, the game carries on with a guess; if the guess was wrong, it goes back to its saved state from that moment and replays the frames since. That is "rollback". Every second the two copies compare a fingerprint of the game's memory, to be sure they are still playing the same game.

Your files

The game keeps everything in its install folder. It sends nothing over the internet except, in an online game, your controls to the other player.

FileWhat it is
settings.iniThe pause menu's settings
controls.iniKeys, controller buttons and schemes. It can be edited by hand; the comments at its top explain it
nvram.binThe arcade's own save memory: operator settings and records
previews\The Widescreen page's preview pictures, made by Setup from your ROMs
sams64.logWhat happened in the last run. sams64.old.log is the run before
setup.logWhat Setup did

To start completely fresh, delete settings.ini, controls.ini and nvram.bin while the game is closed.

Troubleshooting

Setup says a ROM file is missing or wrong.

Setup names the file. Both sets must be complete, and hng64.zip must include the I/O board file tmp87ph40an.bin (older MAME sets don't have it).

The picture looks wrong.

Press F9 to switch between Enhanced and Original graphics. If Original is right and Enhanced is not, update your graphics driver, and please report it with sams64.log.

Widescreen doesn't do anything.

Widescreen needs Graphics: Enhanced (Display page), and only fights are widened: the title, select screens and other flat screens stay 4:3 on purpose.

The game runs slowly.

Set Quality to Auto or Performance (Display page).

No sound.

Check Volume and Mute on the Audio page, and which device Windows is playing to.

If something else goes wrong, please open an issue and attach sams64.log from the install folder, and setup.log if the problem was with installing. For an online problem, the logs from both players help.

Known gaps

  • Not yet compared frame by frame with the arcade board; reports of anything that looks or sounds wrong are welcome.
  • Online play is experimental, for two players, and connects directly (no lobby).
  • The sound chip's echo effect isn't reproduced.
  • The game's unfinished hidden characters (data left in the ROM that was never playable) are not unlocked.
  • Setup is not code-signed. Windows only.

For developers

  • docs/DEVELOPING.md: building from source, the tools, the test options.
  • NOTES.md: the working diary. It records what was found in the game and the hardware, and why things are the way they are.

About and credits

ReSho 64 is made the same way as ReBuriki and ReBusters 2nd: the arcade program is translated into a native Windows program (a static recompilation), and portable code stands in for the arcade hardware.

Made with Claude, Anthropic's AI model. It stands on MAME and its Hyper Neo Geo 64 driver (the hardware code is ported from it), N64Recomp by Wiseguy, ReBuriki and ReLayer. Licences: LICENSE.md.

A fan project, not affiliated with or endorsed by SNK. Samurai Shodown and Hyper Neo Geo 64 are trademarks of their owners.