I was trying to to use this plugin with TENCHI MUYO! 1.1 translated to English.
The plugin is installed correctly and the SNES ROM Loader appears in Ghidra's loader list. But when I importing the ROM, Ghidra defaults to Raw Binary because the SNES loader does not auto-detect the file as a supported SNES ROM.
After checking the ROM header manually, the ROM appears to be:
File size: 0x300200 bytes
SMC header: 0x200 bytes
Actual ROM size: 0x300000 bytes / 3 MiB / 24 Mbit
Internal header: 0x101C0 in the file
Title: TENCHI MUYO! 1.1
Map mode: 0x31
Mapping: HiROM / FastROM
Checksum: 0xCE1A
Complement: 0x31E5
Reset vector: 0x8000
The declare ROM size byte = 0x0B that means 2 MiB. But the actual file size is 3 MiB. Since this is a translated from japanese idk if this messup the ROM size.
Checking a bit of SnesRomHeaderDetector it seens that it will reject the room if
declaredRomSize < romSize
That seens to be my case:
declaredRomSize = 0x200000
romSize = 0x300000
But again is just a theory.
I was trying to to use this plugin with TENCHI MUYO! 1.1 translated to English.
The plugin is installed correctly and the
SNES ROM Loaderappears in Ghidra's loader list. But when I importing the ROM, Ghidra defaults toRaw Binarybecause the SNES loader does not auto-detect the file as a supported SNES ROM.After checking the ROM header manually, the ROM appears to be:
The declare
ROM size byte = 0x0Bthat means 2 MiB. But the actual file size is 3 MiB. Since this is a translated from japanese idk if this messup the ROM size.Checking a bit of
SnesRomHeaderDetectorit seens that it will reject the room ifThat seens to be my case:
But again is just a theory.