SmokeMonsterPacks / Nt-Mini-Noir-Jailbreak

Custom "Jailbreak" firmware for the Analogue Nt Mini V2 "Noir"
143 stars 14 forks source link

NES: Startropics - Won't register name #41

Closed Elrinth closed 3 years ago

Elrinth commented 3 years ago

Startropics via the NT Mini Noir jailbreak NES core won't register name. Once you input the name it still shown as blank afterwards. Game was patched via the header 2.0 patcher. However the CRC32 of the game is NOT the same as written in the 2.0 header file. Can't find the CRC32 of the same as the 2.0... Only find 4EC835B8 and 2ED79B73

Via Everdrive N8 u can play the European version and it works fine.

tjanas commented 3 years ago

A few things... where/how are you getting these checksums? If you open your "StarTropics (USA).nes" rom in NESExplorer, it should report that the PRG+CHR checksum (that's the checksum of the rom data, meaning that it's not including the header in its checksum calculation) is 889129cb, which would match the following:

    <game><!-- Licensed North America\Startropics.nes -->
        <prgrom size="262144" crc32="BEB88304" sha1="224D96BF55391C7E9B651EB4D6A8F06FAF6E29DA" sum16="B119" />
        <chrrom size="262144" crc32="42236F71" sha1="A6038C0785BE19C1215351E5F053272BF231B78F" sum16="A9C5" />
        <rom size="524288" crc32="889129CB" sha1="74C53FE9AC779F146C59AC01E701C9BF912B3C7B" />
        <prgnvram size="1024" />
        <pcb mapper="4" submapper="1" mirroring="H" battery="1" />
        <console type="0" region="0" />
        <expansion type="1" />
    </game>

With a correct NES2.0 header applied, you could expect the checksum of the file to be 5F212B6F. Note that checksums are case-insensitive.

The header bytes for the rom referenced above should be the following (and as generated by the NES2.0 header script): 4E 45 53 1A 10 20 42 08 10 00 40 00 00 00 00 01

tjanas commented 3 years ago

If you ran the script, are you sure you set TRIAL_RUN = 0 in the python script? I would also recommend setting VERBOSITY = 4. The script will print out the old and new NES2.0 header if it was incorrect..

tjanas commented 3 years ago

image

tjanas commented 3 years ago

In regards to checksum 2ED79B73 that you mentioned initially (the SMDB checksums are based on the overall file including the header), I suspect you are using this file and that you did NOT let the script alter its header, because this SMDB entry has an iNES1.0 header and is technically incomplete/incorrect for old Everdrive N8 compatibility: EverDrive N8/1 US - R-Z/StarTropics (USA).nes fdd3d68c7b5b2f9dc7ec50d9888b0a8edbaaec28 02c6bc59abdf527679a7962c5b390ea6 2ed79b73

Once you run the script correctly it should change this file:

X:\tmp\20201212\test>nes_header_repair.py
Reading XML, please wait...
Evaluating files...
Updating header for SHA1:74C53FE9AC779F146C59AC01E701C9BF912B3C7B File: StarTropics (USA).nes
4e 45 53 1a 10 20 42 00 00 00 00 00 00 00 00 00 (old)
4e 45 53 1a 10 20 42 08 10 00 40 00 00 00 00 01 (new)

Processing complete.
Elrinth commented 3 years ago

Thank you tjanas! It is indeed working as intended now. This can be closed now.

sponge9012 commented 3 years ago

i am still having trouble with this. startropics 1 and 2 can not add a save file name or progress beyond that screen

tjanas commented 3 years ago

i am still having trouble with this. startropics 1 and 2 can not add a save file name or progress beyond that screen

@sponge9012 Have you confirmed your StarTropics (USA) nes rom is headered correctly? You should expect the file to have a CRC32 checksum of 5F212B6F

sponge9012 commented 3 years ago

i am still having trouble with this. startropics 1 and 2 can not add a save file name or progress beyond that screen

@sponge9012 Have you confirmed your StarTropics (USA) nes rom is headered correctly? You should expect the file to have a CRC32 checksum of 5F212B6F

thank you, not only did it work, but it seems that i am also able to add IPS patches and it still works. thanks