Let’s see then. Here is a dump of the header of the game “Wai Wai World (J)” patched with english translation:
00000000: 4E 45 53 1A 08 10 70 10 00 00 00 00 00 00 00 00 NES…p…
According to this document:
Bytes=> 0 1 2 3 4 5 6 7
N E S ^Z PRG CHR MAP/SW MAP/0(always)
4E 45 53 1A 08 10 70 10
PRG: 08 * 16k = 128k
CHR: 10 * 8k = 80k
MAPPER: 0x17 = 23
$ crc32 /tmp/ROMS/Wai\ Wai\ World\ \(J\)\ \[T-Eng\ Zynk\ v1.0\]\ \[Scroll\ Fix\ v1.0\].nes
1dfcc7ac
$ sha1sum /tmp/ROMS/Wai\ Wai\ World\ \(J\)\ \[T-Eng\ Zynk\ v1.0\]\ \[Scroll\ Fix\ v1.0\].nes
5065aa8a5bdd584724faf4da97f8e70931d9312f /tmp/ROMS/Wai Wai World (J) [T-Eng Zynk v1.0] [Scroll Fix v1.0].nes
Then I suppose I must introduce that info into NstDatabase.xml
like this:
<game>
<cartridge system="Famicom" dump="unknown" crc="2511E89C" sha1="A199B024B4C16D4E4787C59B029C977A4015E524">
<board mapper="23">
<prg size="128k" />
<chr size="80k" />
</board>
</cartridge>
</game>
What am I doing wrong? 
EDIT: Fix shit and added link.