Change "locret_1990" to "PCycGHZ_Skip" (the code he provided was made for the old 2005 disassembly instead of the current version on GitHub) and delete the 2 lines of code under the "PalCycle_Title" label (they are no longer needed, as it shares the same function as Green Hill).
I do think a neat feature to eventually add is the ability to edit the palette cycle colours in the editor, rather than needing to do it in a program like Flex 2; a potential example of how they'd be setup in the main INI: Code (Text): palcyclefile=.../XXX/YYY.bin palcycleloc=PALLINE:PALCOLOR:PALLENGTH ("palcycleloc" as in which colours are highlighted to cycle in the editor; naturally, this also needs to account for stages with more than one cycle)
Popout window something like this? Also put a notice to the user if they change the size/frames they'll have to update the according palette cycle code, similar to how SonPLN warns about changing the plane size.
Kinda stupid question here, How would or do we chose which pixels on tiles receive the palette cycling or not?
Palette cycling applies to specific color indexes in the palette, so any tiles that use those indexes will have the cycle applied to them.
I would like to mention that I submitted a PR on GitHub with a fix for SonPLN's tile flipping and also added support for chunk flipping in SonLVL, which you enable in the stage layout class (Yundong made use of this via a custom build, and I've been messaged by another person who also implemented it into their hack and actually requested for me to get it properly done), and it's been sitting there for months now.
I know, and I'm sorry. I've been really lacking in motivation to do much of anything lately. I will try to get that merged within the week.
Yo @MainMemory I got another pull request that implements the rest of the 16-bit chunk ID support, because I accidentally left it unfinished.
Thanks for pulling in the changes, but I fucked up and didn't thoroughly test it well enough. "loopchunks" doesn't get parsed correctly, so an error is thrown whenever you load a Sonic 1 project that defines that. I sent in another pull request, and you should accept it ASAP @MainMemory
May I ask, is it possible we can get a feature added to SS1SSEdit to allow for custom block libraries? It's something that would really help S1Fixed (which uses a 7th emerald, and has plans for a brand new block)
It's certainly possible, I suppose. You could just fork it, if you really want. I can't promise anything otherwise.
Got this error when trying to use the LevelConverter. This has never happened to me before. Could it be update related? Code (Text): System.NullReferenceException: Object reference not set to an instance of an object. at SonicRetro.SonLVL.LevelConverter.MainForm.ConvertLevel() in C:\Programs\SonLVL\LevelConverter\MainForm.cs:line 465 at SonicRetro.SonLVL.LevelConverter.MainForm.button1_Click(Object sender, EventArgs e) in C:\Programs\SonLVL\LevelConverter\MainForm.cs:line 107 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I'm not sure what's wrong. I haven't forked or modified anything (yet). I'll redownload from GitHub later and try again.