RPGHacker / asar

(Now) official repository of the SNES assembler Asar, originally created by Alcaro
Other
195 stars 42 forks source link

check title command #320

Closed hansbonini closed 1 month ago

hansbonini commented 1 month ago

check title didn't find a match for title when rom file is Megaman X3 [U] [!].smc. Tried with different mapping modes.

It occurs on 1.91 build.

RPGHacker commented 1 month ago

How exactly did you use check title? Did you pass in the name of the ROM? If so, that would be incorrect. You're supposed to pass in the name in the ROM's header (which is usually displayed whenever you open a ROM in an emulator). If I remember correctly, whitespace also needs to be included.

hansbonini commented 1 month ago

check title "MEGAMAN X3 "

image

command line output:

$ asar.exe main.asm 'Mega Man X 3 (U) [!].smc'       
Error: The ROM title appears to be "á▒á@♥®▼øTø♀Ô0½¯íøkk┬ ", which looks like garbage. If this is the ROM title, add --no-title-check to the command line options. If the ROM title is something else, use snespurify on your ROM.

Addresses are mapped incorrect too, lorom was used. These issues only ocurrs with this game. I'm able to use all features with other games.

RPGHacker commented 1 month ago

Okay, so I guess is either it's some weirdness with headers, or with mapping modes. 🤔 What's the size of the ROM in bytes? Does it happen with all Mega Man X3 ROMs, or only with this particular (presumeably headered) one?

hansbonini commented 1 month ago

image No header is present on this rom.

image It works on japanese version.

image It works on european version.

Edit: image I got a rom from another source and it works. I don't have any idea what is happening, maybe a bad dump.

RPGHacker commented 1 month ago

Alright. I'll assume it was indeed just a bad dump, so I'll go ahead and close the issue for now. We can reopen it if the problem ever shows again on any ROM that seems to be clean.