Hi. Just wanted to share that referencing the SMB1 Autosplitter I was able to successfully modify your NES script (MM2 specifically) to work with Nestopia UE 1.51.1. Perhaps you could reference this as well to add support for other emulators/versions if you are still developing these (I prefer Nestopia myself since there is less input lag in my experience)
state("nestopia", "1.51.1")
{
// base 0x0000 address of ROM : "nestopia.exe", 0x17A8EC, 0, 8, 0xc, 0xc, 0x70;
// just add your fceux offset to 0x70 to get the final nestopia offset
byte bosshp : "nestopia.exe", 0x17A8EC, 0, 0x731;
byte myhp : "nestopia.exe", 0x17A8EC, 0, 0x730;
byte mylives : "nestopia.exe", 0x17A8EC, 0, 0x118;
byte mytitlescreen : "nestopia.exe", 0x17A8EC, 0, 0x520;
byte mycontroller : "nestopia.exe", 0x17A8EC, 0, 0x95;
byte soundfx : "nestopia.exe", 0x17A8EC, 0, 0x152;
byte stage : "nestopia.exe", 0x17A8EC, 0, 0x9A;
}
Hi. Just wanted to share that referencing the SMB1 Autosplitter I was able to successfully modify your NES script (MM2 specifically) to work with Nestopia UE 1.51.1. Perhaps you could reference this as well to add support for other emulators/versions if you are still developing these (I prefer Nestopia myself since there is less input lag in my experience)