Download Menu and Conversion patchesBy using Lunar IPS Patch "Ninja Gaiden III - Menu Patch.ips" to the original ROM of the game :
File: Ninja Gaiden III - The Ancient Ship of Doom (U) [!].nes
CRC: 902E3168
SHA-1: 503B64A28E0EAD2EE7312A46A4646B334A899846
System: NES-NTSC
Board: NES-TLROM, Mapper 4
PRG-ROM: 128k
CHR-ROM: 128k
By using Lunar IPS Patch "Ninja Gaiden I - MMC1 to MMC3 Patch.ips" to the original ROM of the game :
File: Ninja Gaiden (U) [!].nes
CRC: 7C4A72D8
SHA-1: 15F245161179AB1959B7DC20E82ADD024D23AA3D
System: NES-NTSC
Board: NES-SLROM, Mapper 1
PRG-ROM: 128k
CHR-ROM: 128k
All Credit for "Ninja Gaiden I - MMC1 to MMC3 Patch.ips" goes to infidelityThis rom can be run with
FCEUX under mapper 52 :
$6800 [ABCD EFGH] [D7--- ---D0]
A --> D7 --> x
B --> D6 --> 1
C --> D5 --> A18 [CHR]
D --> D4 --> A17 [CHR]
E --> D3 --> 1
F --> D2 --> x
G --> D1 --> A18 [PRG]
H --> D0 --> A17 [PRG]
ROM1 --> Ninja Gaiden III --> 1100 1101 --> CD
ROM2 --> Ninja Gaiden II --> 1101 1100 --> DC
ROM3 --> Ninja Gaiden I --> 1110 1110 --> EE
ROM4 --> Shadow Ninja --> 1111 1111 --> FF
NES ROM Structure :
header
PRG2
PRG1
PRG3
PRG4
CHR1
CHR2
CHR3
CHR4
Needed Chips :
29F040 --> PRG
29F040 --> CHR
AX5202p --> MMC3
74HC174 --> Latch
To make the cartridge use this schematic :
What's Ninja Shadow look like? Is it a hack of one of the NG games?
I actually made my own NES "Ninja Gaiden Trilogy" using mapper #47 I believe.
MottZilla wrote:
What's Ninja Shadow look like? Is it a hack of one of the NG games?
I actually made my own NES "Ninja Gaiden Trilogy" using mapper #47 I believe.
Ninja Shadow is "Shadow of the Ninja (U) [!].nes" which I made the name a little shorter (^_^)
Would you please explain a little more about your Trilogy hardware?
Are you using MMC3 patch for Ninja Gaiden I?
What TTLs do you use?
How do you generate the signal clock?
Is there any menu for it?
It is based on QJ-NES, which is just a MMC3 with a 74*161 mapped as PRG-RAM. The only difference is that I hookup 2 bits instead of just 1. There is no clock needed, and there is a menu. All 128K banks will reset to the menu, so the powerup/reset value of the register doesn't matter. And yes NG1 was converted to MMC3, but I didn't use anyone elses patch. I patched it myself.
I like the idea of including Shadow of the Ninja, but I'm using my Restored version of Ninja Gaiden 3 which has the passwords and difficulty like the Japanese version. So all the free space that might have fit a menu I think is greatly reduced. I suppose Ninja Gaiden 1 probably has plenty of space if I wanted to use it for a menu.
Excellent job, Farid. I'm really happy to see this. But can you please remove Ninja Shadow from the menu?
Why would you want to remove a game and waste space? =) And it's a good game too.
Because i don't see it as a 4in1 multicart. I see it as a Ninja Gaiden Trilogy. I don't need the rom removed from the chip (if i do that i think the schematic will be different). I just need the menu to say ninja gaiden 1,2,3 (without ninja shadow).
PS: yes, it's a very good game, i've beated blue shadow.
PS2: It would be great if the menu can be moved in Ninja Gaiden 2, because that way you can use Ninja Gaiden 3 - Restored Patch By MottZilla
Here it is :
Download Menu and Conversion PatchesROM1 --> NINJA GAIDEN III
ROM2 --> NINJA GAIDEN II
ROM3 --> NINJA GAIDEN I
NES ROM structure :
Header --> 16byte
PRG1 --> 128KB
PRG1 --> 128KB
PRG2 --> 128KB
PRG3 --> 128KB
CHR1 --> 128KB
CHR1 --> 128KB
CHR2 --> 128KB
CHR3 --> 128KB
This rom can be run with FCEUX under mapper 52 :
$6800 [ABCD EFGH] [D7--- ---D0]
A --> D7 --> x
B --> D6 --> 1
C --> D5 --> A18 [CHR]
D --> D4 --> A17 [CHR]
E --> D3 --> 1
F --> D2 --> x
G --> D1 --> A18 [PRG]
H --> D0 --> A17 [PRG]
ROM1 --> Ninja Gaiden III --> 1100 1100 --> CC
ROM2 --> Ninja Gaiden II --> 1110 1110 --> EE
ROM3 --> Ninja Gaiden I --> 1111 1111 --> FF
ROM header :
4E 45 53 1A 20 40 42 30 00 00 00 00 00 00 00 00
Schematic :
Note : for running on a real hardware 2 bits are enough
Thank you for your efforts. Tested on a nes2. Now i'm playing ninja gaiden 1. I'm at stage 4-2.
EDIT: I've started ninja gaiden 3. The game freeze at the beginning, when you start to go up.
EDIT2: If i connect chr and prg A17 and A18 to gnd, ninja gaiden3 works, so the problem is with the 74HCT174 connections.
EDIT3: I've tryed the first schematic. Same thing.
Did you remember to not connect A17 and A18 to the MMC3? Just a random guess.
Where does it freeze exactly?
Does it freeze on the same place every time, or just a random freeze?
Personally I haven't tested it on a real hardware
No. A17 and A18 are not connected to mmc3.
FARID, very good question. I belived the game freezes at the same place. At the beginning you go right and after that you start to go up. That's were it freezes. So i've done a few more tests. Start the game and i stand in one place - the game doesn't freeze. I start the game and move a few screens to the right and the turn back to the previous screen - the game freeze.
Maybe that's because my chip it's HCT and not HC?
Like i said, if i connect a17 and a18 to gnd (74hct174 it's removed), the menu starts, ninja gaiden 3 doesn't freeze.
Hello Farid
Can you make menu patch file for ninja ryukenden (J) trilogy
Now i tested on pal nes. Same thing. I must find a clone.
The 72pin clone arrived today, Entertainment Computer System made by SPACE. It looks like a smaller nes1 and it's PAL. The problem remains. Next step it's to find a 74hc174 (i doubt it will make a difference - currently tested hct and ls) and maybe find a mmc3 clone.
I found a MMC3 clone (labeled 88), thanks to MWK from famicomworld. The same thing happens.
any updates on this I've highly curious.
I am very busy and I don't have time to test it on a real hardware
but I will work on it whenever I have some free time
So please be patient
very interesting the freeze of Ninja Gaiden III is caused by an unwanted clock signal generation during the game play and it happens whenever you want to go back :
02:9903:2C E6 6F BIT $6FE6
So as a result one TTL (174) is not enough for this cartridge and it needs a 238
Mapper schematic will be very similar to
8 IN 1 SLROM MulticartridgeBut why does CPU access to this area($6FE6)?
If i can find a 238 i will try it.
PS: Also ng1 and ng2 seems to freeze, but more rare. Usully it freeze when you turn back a few screens.
FARID wrote:
But why does CPU access to this area($6FE6)?
Seems like a leftover read with no real purpose, you should be able to overwrite it with NOPs.
You shouldn't need the additional 74'138 for the protection. You should be able to just use a 74'161, with its /CLEAR, ↑LATCH, and /LATCHENABLE inputs.
Connect CPU D4..D7 to 161 D0..D3, connect Q0 and Q1 to PRG/CHR A17/A18, connect Q3 to /LATCHENABLE. /CLEAR and ↑LATCH are unchanged. I think you don't even need to change any of Farid's code, although you'll need to reorder the PRG banks or use the Ninja-Shadow-less version.
On the other hand, it's also utterly trivial to NOP out the BIT instruction — it's immediately followed by LDA #0 so I can't imagine it has any effect.
Thanks lidnariq, your idea is really awesome
Registers :
[D7-- --D0]
[ABCD EFGH]
A --> D7 --> x
B --> D6 --> x
C --> D5 --> x
D --> D4 --> x
E --> D3 --> x
F --> D2 --> LATCH [0:EN 1:DIS]
G --> D1 --> PRG A18 + CHR A18
H --> D0 --> PRG A17 + CHR A17
ROM1 --> Ninja Gaiden III --> 1100 1100 --> CC [MENU]
ROM2 --> Ninja Gaiden II ---> 1110 1110 --> EE
ROM3 --> Ninja Gaiden I ----> 1111 1111 --> FF
It's working! It's working!
Thank you Farid and Lidnariq!
Tested on a mmc3 and usa nes2.
Does anyone have a picture of the result? I'm curious how it looks. Thanks again.
FARID can you post source code for menu from first post, please
?
soulstorm wrote:
FARID can you post source code for menu from first post, please
?
You can use this :
MMC3 and MMC1 Menu for Famicom TXROM PCB reproduction
Thanks! But I want to make simple multicart for 4 games by using 2 x AT29C040 and 74HC174 as Latch.
No any CHR-RAM stuff needed. Also I can't understand how to make host game not first in game list.
Am I missing something important here?
I applied the correct patches to the correct ROMs, however, only ninja Gaiden 3 runs from the menu.
On emulator or real hardware?
Is the ROM structure correct?
header
PRG2
PRG1
PRG3
PRG4
CHR1
CHR2
CHR3
CHR4