ReFury

ReFury is a native PC port of Fatal Fury: Wild Ambition for Windows, rebuilt from the ground up.

README

ReFury

Fatal Fury: Wild Ambition, rebuilt for Windows.
An unofficial PC version of SNK's 1998 Hyper Neo Geo 64 arcade fighting game.

Latest release Downloads Windows Licence

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

Terry against Geese in his dojo, widescreen and enhanced graphics

Important

ReFury does not include the game. You need your own legally obtained copies of two arcade ROM sets, as MAME names them: fatfurwa.zip (Fatal Fury: Wild Ambition / Garou Densetsu: Wild Ambition) and hng64.zip (the Hyper Neo Geo 64 system ROMs). Setup builds the game from them on your PC. The download contains only ReFury's own code and the open-source tools it uses.

Tip

The pause menu: press Tab or Esc (on a controller, Back + Start). Inside the menu the mouse works too: point at something to choose it, click to change it.

Warning

This is an early test release. In automated tests every fighter plays through arcade mode to their ending, and online play stays in step through simulated bad connections. Online play is experimental: it has only been tested with two copies of the game on one PC, never between two real PCs over the internet. Reports of how it works for you are very welcome.

Contents

What ReFury adds

Sharper 3DThe fighters and arenas are redrawn on your graphics card at your screen's resolution. Or keep the original picture (F9 switches).
WidescreenFights fill a 16:9 screen with more of each arena at the sides, with the health bars where the arcade put them or at the screen edges. Flashes and full-screen effects fill the width too.
Your screen, your wayWindow, borderless or exclusive full screen; 4:3, stretched or pixel-perfect scaling; sharp, smooth, scanlines or a CRT look.
Li Xiangfei unlockedThe hidden fighter is on the select screen, on by default (menu, Game page).
ControllersMost pads work: Xbox, PlayStation, Switch, 8BitDo, Saturn and Genesis adapters, arcade sticks (through SDL). The Neo Geo layout on the face buttons, the sidestep on the bumpers, a second ready-made layout and full remapping.
Arcade settings in a menuFree play, difficulty, timer speed, damage, rounds to win, violence, language, region and the rest of the operator's options.
Online play (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.
Against Mai at the waterfall Against Joe at sunset Against Yamazaki A K.O. in Geese's dojo

The game

Fatal Fury: Wild Ambition (Garou Densetsu: Wild Ambition in Japan) is SNK's 1998 retelling of the first Fatal Fury on the Hyper Neo Geo 64 board, the series' first fully 3D game: Terry Bogard, Andy Bogard and Joe Higashi enter the King of Fighters tournament in Southtown to take on Geese Howard. Twelve fighters, a sidestep into the background or the foreground, an arcade mode ending in Geese Tower, and an ending for every fighter.

The title screen The select screen

What you need

  • 64-bit Windows 10 or 11.
  • A graphics card with Direct3D 11.
  • Your own fatfurwa.zip and hng64.zip (see the note at the top).
  • About 500 MB of free disk space while installing. The installed game takes about 250 MB.
  • A keyboard, or game controllers: Xbox, PlayStation, Switch, 8BitDo, Saturn / Genesis adapters, arcade sticks and most other USB pads.

Install

  1. Download ReFury-Setup.zip from the latest release and unzip the whole folder anywhere.
  2. Run Setup.exe.
  3. Choose your fatfurwa.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 (Terry) 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 ReFury-Setup.zip and install into the same folder as before. Your settings, controls and the arcade's saved records are kept.

Uninstalling

Windows Settings → Apps → ReFury → 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

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

The cabinet has a stick and four buttons: A punch, B kick, C strong attack, and D, which with the stick up or down sidesteps into the background or the foreground. The game's own How to play demo, before the select screen, shows the basics.

Controls

Controllers

The first controller connected is player 1, the second player 2. ReFury reads controllers through SDL and the community SDL_GameControllerDB, so thousands of pads and adapters are recognised with their buttons in the right places: Xbox, PlayStation, Switch, 8BitDo, the Mayflash Saturn adapter, Retro-Bit Genesis pads, arcade sticks and more. Each is shown in the menu by its own name and uses the layout below as if it were an Xbox pad (A at the bottom, B on the right, X on the left, Y at the top).

A pad that isn't in the list still works: it becomes a controller the first time you press one of its buttons (so keyboards that also present a "gamepad" don't take a player's place), with its buttons 1-4 as A, B, X, Y. Set it up on the Controls page.

Standard (default)Alternative
MoveLeft stick or D-padLeft stick or D-pad
A (punch)AX
B (kick)BA
C (strong attack)XY
D (with the stick: sidestep)YB or RB
Step into the backgroundLBLB
Step into the foregroundRBLT
Start / insert coinStart / BackStart / Back
MenuBack + StartBack + Start

Step buttons: the arcade sidesteps with D and the stick up or down. The step buttons do it in one press: LB into the background, RB into the foreground. D + up / down still works. They are on by default; Controls → Show: Step buttons switches them off or moves them to other buttons or keys.

The Controls page, showing the step buttons
Keyboard
Player 1Player 2
MoveArrow keysR F D G
A / B / C / DZ / X / C / VA / S / Q / W
Start / insert coin1 / 52 / 6
MenuTab or Esc
Changing controls

On the menu's Controls page, choose Player and the control, and press Enter (A on a controller). Then press the button or key you want: it replaces the old one and the box closes. To give a control a second button (up to three), hold LB while pressing it; LB on its own, pressed and let go, becomes the button. Esc cancels. Restore defaults puts both players back on the original keys and the Standard scheme.


Widescreen

The Widescreen page

Set Display → Picture shape to Widescreen (it needs Enhanced graphics). Fights then fill a 16:9 screen and show more of each arena; screens the arcade drew for 4:3 only (the title, the select screen, the intro's letterboxed scenes) stay 4:3 in the middle. The Widescreen page has:

  • Health bars: where the health bars, portraits and power gauges go. Screen edges puts them out at the corners of the wide picture; Arcade position keeps them where the arcade had them, nearer the middle.
  • Fight flashes: flashes and full-screen effects during fights, like the blue "WILD AMBITION" screen and the white flash before a round. Stretched widens them to cover the whole screen; Edges stretched widens only their outer parts, so text in the middle keeps its shape; Arcade 4:3 leaves them at the arcade's size.
  • Sides on 4:3 screens: the title, select, versus and other screens the arcade only drew for 4:3 stay 4:3 in the middle, with black sides or a dark, blurred copy of the screen.

The menu

The pause menu's Game page

Press Tab or Esc on the keyboard, or Back + Start on a controller. The game pauses while the menu is open. Behind it is one of the fighters' select-screen pictures, made from your ROMs.

MouseControllerKeyboard
MovePoint at a row (or the wheel)D-pad or stickArrow keys
Choose / changeClick (‹ › step a value back and forth)AEnter
BackRight clickBEsc
Switch pagesClick the page's nameLB / RBQ / E
CloseRight clickStartTab

PageWhat's there
DisplayWindow / borderless / exclusive full screen, window size, monitor, picture shape (4:3, stretch, whole-number, widescreen), enhanced or original graphics, quality, screen filter, frame pacing (the arcade's 59.43 Hz, or your display's vsync), graphics card, frame-rate counter
WidescreenHealth bars, fight flashes, sides on 4:3 screens
AudioVolume, mute
ControlsController schemes (Standard, Alternative), keys and buttons for each player, step buttons, sticks, dead zone, restore defaults
GameFree play, region, language, Unlock Li Xiangfei
RulesThe arcade's fight 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

Arcade settings

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

  • Free play: Start alone begins a game.
  • Region: Japan, USA, World or Korea: which of the board's BIOS chips to use (the warning screen, the copyright line). Applies after a restart. New installs start on USA.
  • Language: English or Japanese.
  • Unlock Li Xiangfei: the hidden fighter on the select screen (at the left of the bottom row). Never written to the arcade's save memory.
  • Difficulty, timer speed, damage (against the CPU and in versus), rounds to win (against the CPU and in versus), event mode (for tournaments), violence (on by default; the Korea region always has it off, as the arcade does), sound in the title demo.

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 (up to 120 ms and 5% of packets lost, including long runs through whole fights), 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: keys or first controller.

  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 (the Xiangfei unlock included). 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 region, the same ROM sets and the same version of ReFury.
  • 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 (the whole machine, the sound board included) and replays the frames since, in a few thousandths of a second. 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 high scores
menu_art.pngOptional: put your own picture here to use it behind the pause menu
SDL2.dll, gamecontrollerdb.txtController support. A newer gamecontrollerdb.txt from SDL_GameControllerDB can replace this one
fatfurwa.logWhat happened in the last run. fatfurwa.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).

My controller isn't detected, or its buttons are in odd places.

Press any button on it: pads that aren't in the controller list wait for a first press. Then set its buttons on the Controls page (one press per control). A newer gamecontrollerdb.txt from SDL_GameControllerDB in the install folder may know it. Please report pads that don't work, with fatfurwa.log (it names every controller it sees).

Widescreen doesn't change anything.

Widescreen needs Enhanced graphics (Display page, or F9). Only fights are widened; the title, select and intro screens stay 4:3.

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 fatfurwa.log.

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 fatfurwa.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 a real arcade board; reports of anything that looks or sounds wrong are welcome.
  • Online play is experimental (see the top), for two players, and connects directly (no lobby).
  • In widescreen, the CREDITS counters sit at the arcade's 4:3 places until a round's health bars appear.
  • The PlayStation version's extras (its arranged soundtrack, Duck King and Mr. Karate) are not included.
  • 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

ReFury is made the same way as ReBuriki, ReBusters 2nd and ReSho 64: 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, SDL and SDL_GameControllerDB for controllers, ReBuriki and [ReLayer](https://github.com/QuietClubGames/ReLa