The King of Fighters '95 Full Cart

The King of Fighters '95 Full Cart
Version 2.1.0-beta.1


What if the Saturn had received its Neo Geo ports on cartridge instead of CD?

This project takes the Japanese Saturn version of KOF '95 and moves the whole game from the CD to a big cartridge. No loading screens, the arcade speed, and two ways to hear it: a 48 MB cartridge with the Neo Geo arcade sound built in, or a 32 MB cartridge that plays the music of the disc in the drive, including the orchestral arranged soundtrack of the Neo Geo CD and PlayStation versions.

From the VS screen to the fight: 4.5 seconds on the original Saturn CD, 0.6 seconds on the cartridge.

loading_compare.gif


NEW in 2.1.0-beta.1
  • Arcade-level slowdowns: about 1 late frame in 1,900 in CPU vs CPU fights on every stage, measured on MiSTer (the Neo Geo board loses about 1 in 1,400). The dojo, the heaviest stage, is now at the arcade level, and the waterfall stage is much smoother.
  • Controls as fast as the arcade: a button press shows on screen 5 frames later, like on the Neo Geo (7 in 2.0.0-beta.2).
  • Bug fixes: the cutscene after Saisyu, the team picture of the cutscenes, the team-order screen after a mirror match, player 2 joining in, and a few display glitches (far background, waterfall checkerboard, missing pixels on MiSTer, a win-pose frame, the dojo statue).
  • Closer to the arcade: Omega Rugal's flash is blue, and the far background sits on the same line as on the Neo Geo.
  • 48 MB cartridge: the sound effects and voices now start at the same moment as on the Neo Geo.
  • A new 32 MB "CD audio" cartridge, with the music of the disc in the drive (see below).
  • A new builder: the Neo Geo set is optional, your dumps are checked as soon as you pick them, the disc can be a .cue, a lone track 01 .bin or an .iso (any Japanese pressing), a Build button that tells you which cartridge you'll get, and a new dark look.

NEW: one cartridge, three soundtracks

kof95_one_cart_three_soundtracks.png


The 32 MB "CD audio" cartridge has the same speed, controls and fixes, with the Saturn sound effects and voices. The music comes from whatever disc is in the drive:
  • Saturn disc: the original Saturn soundtrack.
  • Neo Geo CD disc: the orchestral arranged soundtrack.
  • PlayStation disc: the orchestral arranged soundtrack too, in its slightly different PlayStation mix.
  • No disc: the game runs fine, just without music.
The cartridge recognises the disc by itself, puts every arranged piece in its place (stages, bosses, endings, menus) and loops them seamlessly. It needs no Neo Geo ROM set, fits carts limited to 32 MB, and replaces version 1.1.0.

What you get
  • No loading screens. From the team screen to the fight, the game takes the same time as the Neo Geo arcade board (7 stages out of 8).
  • The arcade speed and the arcade controls, on both cartridges.
  • 48 MB cartridge: the Neo Geo arcade soundtrack, sound effects and voices, played from the cartridge, in time with the picture. No CD at all.
  • 32 MB cartridge: the Saturn sound effects and voices, and the music of the disc in the drive: Saturn, Neo Geo CD or PlayStation.
  • Team-order screen as on the arcade: the characters taunt once the order is chosen.
  • Same graphics and same gameplay as the Saturn release.

How to play
  1. Download the builder for your system: 2.1.0-beta.1 on GitHub.
  2. Start kof95_cart_builder and choose your own dumps:
    - the Japanese disc (T-3101G): its .cue with its .bin tracks, its track 01 alone as a .bin, or an .iso
    - the 2 MB ROM cartridge sold with the game: mpr-18811-mx.ic1
    - optional, for the 48 MB cartridge: the Neo Geo MVS ROM set, kof95.zip
    Press Build: about 3 minutes for the 48 MB cartridge (kof95_cart.ss and kof95_cart_48M.bin), a few seconds for the 32 MB one (kof95_cart_cd_audio.ss and kof95_cart_cd_audio_32M.bin).
  3. Play:
    - Mednafen: open the .ss file. Keep the region on Japan. For the 32 MB cartridge, give it the disc too: mednafen -ss.dbg_exe_cdpath "path/to/disc.cue" kof95_cart_cd_audio.ss
    - MiSTer: core Saturn_MiSTer_Cart v1.1.0 or later, "ROM 32/48M" mode, load the .bin as the cartridge. For the 32 MB cartridge, also load the disc image of your choice (Saturn, Neo Geo CD or PlayStation). Region: Japan.

No game data is included: everything comes from your own dumps. Please never share the built images.

Real hardware
Not ready yet. Thanks to hitomi2500's tests on a Wasca cartridge, the 48 MB image now boots on a real Saturn once its cartridge bus timing is patched, with some defects left. The 32 MB cartridge hasn't been tried on real hardware yet. We are working on it.

The game was not rewritten, it was patched. The part of the game that reads files from the CD now reads them from the cartridge, the waits that were only there for the slow CD drive were removed, and the sound requests of the game go to a new player of the arcade music and sounds, running on the Saturn's second processor. Where the arcade version is faster, the Saturn version was measured against it frame by frame and tuned to match: more of the stages is now drawn by the second video chip, and the busiest parts of the game's code run as native code.

The hard part: the Saturn's graphics chips cannot read the cartridge directly, and the sound chip has its own small memory, so every piece of data has to be copied to the right place at the right time. The arcade music is rebuilt on your PC from the arcade sound program, run by an emulated Z80, then converted for the Saturn's sound chip.

The arranged soundtrack: the Neo Geo CD and PlayStation discs have their tracks in a completely different order, and each arranged piece is split into an intro track and a loop track. At the first music request, the cartridge asks the CD drive where the disc ends, which tells the Saturn, Neo Geo CD and PlayStation discs apart. The order of the tracks comes from the Neo Geo CD game itself: its sound driver has a table "music code -> CD track", and the Saturn game uses the same music codes as the arcade. Each piece plays from its start to the end of its sound (the Neo Geo CD tracks end with about 10 seconds of silence), then its loop track over and over.

Source code and details: github.com/YudoMatso/kof95_sat_full_cart (GPL-3.0).

Thanks
hitomi2500 for testing on real hardware, srg320 for the MiSTer Saturn core this project's core is based on, and the Mednafen authors.

Bugs, ideas, results on your setup: please post here. If the build fails, attach kof95_cart.log from the output folder.
 
Last edited:
King of Fighters '95 Saturn – full cartridge, v2.0.0-beta.2 (pre-release)
I tried running it on wasca. After patching both IPs to euro region, it booted on my EU saturn, but it quits to bios after ~2 seconds of black screen. Is there a way to diagnose the problem? I looked up start/end of CS0/CS1 and random memory locations (with mem viewer loaded from CD), didn't see any mismatches.
 
I tried running it on wasca. After patching both IPs to euro region, it booted on my EU saturn, but it quits to bios after ~2 seconds of black screen. Is there a way to diagnose the problem? I looked up start/end of CS0/CS1 and random memory locations (with mem viewer loaded from CD), didn't see any mismatches.
Thanks for testing! Two things to try:

- Boot with the CD drive empty. After a cart boot, a disc in the drive can make the game go back to the BIOS. That would fit the 2 seconds of black screen.

- Slower cart timing. This build reads the cart at full speed, which may be too fast for a real cart. In the .ss, change the byte at 0x1F00C0D and at 0x1F01151 from 00 to 40.

Let me know what happens!
 
Back
Top