This is a Mapper Conversion hack for Ninja Gaiden ROM from MMC1 to MMC5.
Features:
Read the Readme for changes in this version v1.5.0
Ninja Gaiden
Mapper Conversion Patch
FROM Mapper 1 (MMC1) TO Mapper 5 (MMC5)
Converted by Dracula X
RELEASE DATE: 03/10/2020
Last Modified 10/31/2021
PRG Bankswitch Routine is at $C02A
To switch banks from $E000 - $FFFF, use like so:
LDA bank_number
JSR $C02A
JMP to any location in $8000-$BFFF
CHR Sprite Bankswitch Routine (Left side of PPU) is at $C000
To switch sprite pages, use like so:
LDA page_number
JSR $C000
CHR Background Bankswitch Routine (Right side of PPU) is at $C014
To switch background pages, use like so:
LDA page_number
JSR $C014
Nametable Mapping Routine (one of its uses is mirroring) new default location is at $FFF6
(#$50 for Horizontal, #$44 for Vertical)
To change mirroring for instance, use like so:
LDA mirroring_number
JSR $FFF6
16KB CHR-ROM pages is located at $20000
Credits:
Rockman or RetroRain: for info on how to convert the mapper!
Disch: for his mapper docs and a better MMC5 startup!
infidelity: for his notes on how to convert the mapper to MMC3. Most
of his info wasn't needed.
This patch does not work for:
Ninja Ryuuken Den (Japan)
Hacks supported:
All!
Hacks not supported:
Deadpool
Deadpool Hardcore Edition
Use Delta Patcher to patch the xdelta file to the ROM.
Ignore the checksum and then patch the file.
10/31/2021
Changes for this version 1.5.0:
All emulators are now supported.
Changes for this version 1.4b:
Removed Patch A & B because it's no longer needed since
I found a way to do this without a problem now.
Changes for this version 1.4a:
Fixed the script for not showing at the ending credits on the
Bloody Malth picture. I think the code is in the NMI setup.
Changes for this version 1.4:
Thanks to PolishedTurd for the info:
Fixed a bug where Right after the last cutscene, the music for the end credits starts to play,
and then the screen flashes gray and the music stays frozen on the current sound. It happens right when the image and text for the credits would appear.
It was the bankswitch code.
-----------------------------------------------------------------------------------------
Changed the main mirroring swap to a new default location $FFF6
I managed to fix all of the cutscenes mirroring.
I also managed to fix the messed up graphics for the cutscenes too. I add this
at $101F9 - $81E9 LDA #$01 STA $5101 and mirroring at $10209 - $81F9 to the default
mirroring location JSR $FFF6
Changes for this version 1.3:
Moved strikeable items to appear properly code to a new location at
$1FC00 - $FBF0
Changes for this version 1.2:
Fixed the CHR Right PPU screen and changed the PRG/CHR swapping with MMC5 equivalents to JSR's
to the fixed location.
Changes for this version 1.1:
Added two patches for this mapper hack.
Database match: Ninja Gaiden (USA)
Database: No-Intro: Nintendo Entertainment System (v. 20180803-121122)
File SHA-1: CA513F841D75EFEB33BB8099FB02BEEB39F6BB9C
File CRC32: 11F953F6
ROM SHA-1: 15F245161179AB1959B7DC20E82ADD024D23AA3D
ROM CRC32: 7C4A72D8