RPGHacker / asar

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

check title command #320

Closed hansbonini closed 5 months ago

hansbonini commented 5 months 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 5 months 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 5 months 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 5 months 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 5 months 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 5 months 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.