Loading ROMs with a header

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
Cecil
Paladin
Posts: 75
Joined: Fri Jul 30, 2004 2:25 am

Loading ROMs with a header

Post by Cecil »

First off, I'm using the 9/20 WIP, but this started happening ever since Nach added support for the special NSRT headers in zsnes. With some ROMs, if it has the header that NSRT identifies as "Exists (type?)", it won't load, and the ROM info that zsnes shows on the bottom of the screen is garbled. It's even worse with Dual Orb 2. I had just downloaded and patched the game this morning, and forgot to remove the header afterwards, and zsnes crashed when I tried to load it.

Edit: By the way Nightcrawler, you and your team did a good job on the patch. Good luck on your projects! :D
System Specs:

2.2GHz Athlon64 X2 4400+, 2GB DDR 400 SDRAM
EVGA Geforce 7600GT 256MB
Realtek AC '97
Microsoft Windows Vista Home Premium
Mexandrew
Taco Kid DX
Posts: 96
Joined: Wed Jul 28, 2004 3:53 am
Location: Ciudad Guzman, Jalisco, Mexico
Contact:

Post by Mexandrew »

I think you can fix it with -addhead instead of -addnsrt
B R O K E N .
Cecil
Paladin
Posts: 75
Joined: Fri Jul 30, 2004 2:25 am

Post by Cecil »

mexandrew wrote:I think you can fix it with -addhead instead of -addnsrt
I'm not talking about the special NSRT header that's used for Games with special controllers such as Mario Paint. NSRT indentifies that header as "NSRT". I'm talking about the header that NSRT adds to the ROM when you do use -addhead. The one that it identifies as "Exists (type?)" when you scan the ROM in NSRT. I was just saying in the first post that it started happening when NACH added support for the special NSRT headers.
Last edited by Cecil on Tue Sep 28, 2004 7:30 pm, edited 1 time in total.
System Specs:

2.2GHz Athlon64 X2 4400+, 2GB DDR 400 SDRAM
EVGA Geforce 7600GT 256MB
Realtek AC '97
Microsoft Windows Vista Home Premium
Mexandrew
Taco Kid DX
Posts: 96
Joined: Wed Jul 28, 2004 3:53 am
Location: Ciudad Guzman, Jalisco, Mexico
Contact:

Post by Mexandrew »

Well, I know NSRT 3.3 has 3 header modes:

-addhead: adds a normal header

-addnsrt: adds the NSRT header

-addspec: adds the NSRT header for special control games

Also, you can try to run your game without a header.
B R O K E N .
Cecil
Paladin
Posts: 75
Joined: Fri Jul 30, 2004 2:25 am

Post by Cecil »

mexandrew wrote:Also, you can try to run your game without a header.
That's what I do. I was just making the glitch known. With Dual Orb 2, I just forgot to remove the header after patching the ROM since the patch requires a ROM with a header.
System Specs:

2.2GHz Athlon64 X2 4400+, 2GB DDR 400 SDRAM
EVGA Geforce 7600GT 256MB
Realtek AC '97
Microsoft Windows Vista Home Premium
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

I'll look into the problem sounds a bit weird though, we'll see.

Edit:
Test example:

Code: Select all

---------------------Internal ROM Info----------------------
       File: spl4.swc
       Name: SUPER POWER LEAG 4    Company: Hudson Soft
     Header: Exists (type?)           Bank: HiROM
Interleaved: No                       SRAM: 64 Kb
       Type: SPC7110 + Batt            ROM: 16 Mb
    Country: Japan                   Video: NTSC
  ROM Speed: 120ns (FastROM)       Version: 1.0
   Checksum: Good 0x01AA             CRC32: C07F099D
        MD5: FEBCA3A92D34FFA119891247D9B27D09
--------------------------Database--------------------------
   Name: Super Power League 4
Country: Japan                  Version: 1.0
 Port 1: Gamepad                 Port 2: Gamepad
Genre 1: Unknown                Genre 2: None
ZSNES loaded it just fine...
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Cecil
Paladin
Posts: 75
Joined: Fri Jul 30, 2004 2:25 am

Post by Cecil »

Nach wrote:I'll look into the problem sounds a bit weird though, we'll see.

Edit:
Test example:

Code: Select all

---------------------Internal ROM Info----------------------
       File: spl4.swc
       Name: SUPER POWER LEAG 4    Company: Hudson Soft
     Header: Exists (type?)           Bank: HiROM
Interleaved: No                       SRAM: 64 Kb
       Type: SPC7110 + Batt            ROM: 16 Mb
    Country: Japan                   Video: NTSC
  ROM Speed: 120ns (FastROM)       Version: 1.0
   Checksum: Good 0x01AA             CRC32: C07F099D
        MD5: FEBCA3A92D34FFA119891247D9B27D09
--------------------------Database--------------------------
   Name: Super Power League 4
Country: Japan                  Version: 1.0
 Port 1: Gamepad                 Port 2: Gamepad
Genre 1: Unknown                Genre 2: None
ZSNES loaded it just fine...
Sorry, I should've mentioned it doesn't happen with all ROMs, though I don't know why. Maybe try some other ROMs? I'll get back to you in a bit.
System Specs:

2.2GHz Athlon64 X2 4400+, 2GB DDR 400 SDRAM
EVGA Geforce 7600GT 256MB
Realtek AC '97
Microsoft Windows Vista Home Premium
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

Maybe you should send Nach a problem ROM.
[u][url=http://bash.org/?577451]#577451[/url][/u]
Cecil
Paladin
Posts: 75
Joined: Fri Jul 30, 2004 2:25 am

Post by Cecil »

Nevermind, now it's not doing it for some reason, and I tried every ROM I have. :? And there all NSRT verified good dumps, except the ones I hard-patched, of course, so I don't know what's going on. I do know that this morning, after getting Dual Orb 2 and hard- patching it, it caused zsnes to crash until I removed the header. Then it worked fine. Oh, well, it's 10pm right now, so I guess I'll play a game for a bit and then go to bed and try to figure it out tomorrow.
System Specs:

2.2GHz Athlon64 X2 4400+, 2GB DDR 400 SDRAM
EVGA Geforce 7600GT 256MB
Realtek AC '97
Microsoft Windows Vista Home Premium
Nightcrawler
Romhacking God
Posts: 922
Joined: Wed Jul 28, 2004 11:27 pm
Contact:

Post by Nightcrawler »

What program did you use to hard patch the game? There a few out there that can mangle the ROM because they have some bugs.
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
Cecil
Paladin
Posts: 75
Joined: Fri Jul 30, 2004 2:25 am

Post by Cecil »

Nevermind on Dual Orb 2. I was using SmartIPS to patch it. I tried using SnesTool and it worked fine. But I know I had problems in the past with loading ROMs with this kind of header and It was happening with original, NSRT verified good dumps of ROMS. Maybe it got fixed without anyone realizing it? :? Oh, well, the subject is starting to make my head hurt, so if it happens again, I'll let you know then. :(
System Specs:

2.2GHz Athlon64 X2 4400+, 2GB DDR 400 SDRAM
EVGA Geforce 7600GT 256MB
Realtek AC '97
Microsoft Windows Vista Home Premium
Nightcrawler
Romhacking God
Posts: 922
Joined: Wed Jul 28, 2004 11:27 pm
Contact:

Post by Nightcrawler »

Ok.. that's good to hear.

For future reference I usually recommend SNESTool(DOS)or LunarIPS(Windows) for IPS patching.
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
Post Reply