Flex2 icon indicating copy to clipboard operation
Flex2 copied to clipboard

Sonic 1 2005 Compatibility

Open IsoKilo opened this issue 1 year ago • 4 comments

It seems that in adding compatibility with the GitHub disassembly's use of mapmacros, 2005 users have been left behind. Loading doesn't work out of the box because Flex 2 can't assume that the base offset of the mappings is 0. And saving forces it into the mapmacros format. I understand that the GitHub disassembly and mapmacros are the standard now, but some of us like to do things the old fashioned way.

IsoKilo avatar Mar 07 '24 09:03 IsoKilo

You can save in the existing format by editing the mapping script to remove the mapmacros part. The next version will have a checkbox to disable this on the fly without having to edit the mapping script.

Not sure what you mean about assuming the base offset. Loading should still work fine, do you have an example?

kirjavascript avatar Mar 07 '24 09:03 kirjavascript

image The label Map_Sonic is kept outside of the mapping file itself. So when Flex2 attempts to load it this error pops up image This was not an issue in previous versions

IsoKilo avatar Mar 07 '24 09:03 IsoKilo

Ah thanks for the example!

I'll get this fixed for the next version that I hope to have out soon with a bunch of new features and fixes.

kirjavascript avatar Mar 07 '24 09:03 kirjavascript

I've found a simple way to fix this was to include an older version of the Sonic 1 script in your scripts folder. I have both scripts present in my setup, with the current one labeled as "Sonic 1 MapMacros". image

MDTravisYT avatar Apr 21 '24 03:04 MDTravisYT