Headerless .pas NES roms

General No-Intro related discussions.
Post Reply
Vigi
Dumper
Posts: 175
Joined: 18 Jun 2008 10:16

Headerless .pas NES roms

Post by Vigi »

Hi,

I have 3 NES roms that have .pas extension:

Championship Rally (Europe)
Chessmaster (USA) (Rev A)
Racermate Challenge II (USA) (v5.01.033) (Unl)

is there any way to convert them into .nes format?
User avatar
C. V. Reynolds
Datter
Posts: 267
Joined: 17 Jun 2009 04:42

Re: Headerless .pas NES roms

Post by C. V. Reynolds »

You must add 16 bytes at the top of the files to act as the iNES header. Use a hex editor for this. The following bytes will change the pas to nes:

4E 45 53 1A 00 00 00 00 00 00 00 00 00 00 00 00

But note: That is a BLANK header. Emulators that contain header databases such as Nestopia Undead will still run files with blank headers if the game is present in its database. To fix these files fully, you need to insert the correct header data. This link has the basics:

http://wiki.nesdev.com/w/index.php/INES

But I think it's much easier to use Nestopia Undead's header editor feature.

As for what you should make the values? The following site may have the games in its database:

http://bootgod.dyndns.org:7777/profile.php?id=1986
Vigi
Dumper
Posts: 175
Joined: 18 Jun 2008 10:16

Re: Headerless .pas NES roms

Post by Vigi »

Thanks.. I only see Championship Rally on bootgod's db..

Are the hashes in the no-intro db supposed to be headerless?

It's just confusing that Romcenter detects all NES roms as .nes format except these 3.. they're all acquired from the "usual places".. Maybe they're still too new and someone's gonna add the header eventually?
User avatar
Connie
Datter
Posts: 228
Joined: 20 Jun 2008 12:15

Re: Headerless .pas NES roms

Post by Connie »

Speaking of which, "Chessmaster (USA) (Rev A)" is missing "The" in the title.

For headers, just use the same as other versions or test the popular mapper versions first. If the game runs, don't worry about the header values - they aren't part of the ROM data, just info on how the cart works.

Championship Rally (Europe) - 4E45531A081010000001000000000000
Chessmaster (USA) (Rev A) - 4E45531A080410000000000000000000
Racermate Challenge II (USA) (v5.01.033) (Unl) - 4E45531A040082A00000000000000000
Post Reply