On Sue’s Workshop
April 10, 2012 § 9 Comments
Today I am going to surprise you by actually having some content in my blog post. I’ve been working on the whole “saving the mapdata” part of the editor, which is a bit more difficult than it sounds because there are literally like five different ways to save it depending on what kind of mod you’re making or what you’ve modded with in the past.
The easiest one, for me, is either CS+ or the format I’m using for my own mod, since they’re just external files. Saving mapdata for Cave Story however, is a much more tricky maneuver since it’s all hard-coded into the executable.
The way Sue’s Workshop does it is to add an extra section to the end of the executable, and put all the new map data in there. Now, you may know that an .exe modified with Sue’s shouldn’t be touched with resource hacker – this is because the resource segment is now *before* this new map segment, so if you add music, or images and the resource size is larger than the original, it’ll overwrite your map data.
Cave Editor’s solution is to place the new map data *before* the resource segment, so that it doesn’t interfere with resource hacker. Cave Editor, having come after Sue’s Workshop, also has the ability to “convert” an exe that’s been modified with Sue’s to use the new Cave Editor way of storing the map data. However, due to slight differences in conventions this is also what makes the two editors incompatible.
My editor will follow Cave Editor’s format when it comes to CS mods, meaning it will be capable of loading both Sue’s and CE modded games. As well it’ll also have the drawback of being only forward-compatible with Sue’s. That editor is just too old and feature-barren to be worth supporting, along with the fact that it messes up your game’s data segments….
Now, you may have heard that there’s a new Sue’s Workshop coming out. This is a project that is (maybe?) under development by S. P. Gardebiter. I don’t know much about his format, but he seems to be leaning towards project-like mods (kind of like a solution in Visual Studio if you’ve ever used that maybe). I don’t think there will be a whole lot of cross-compatiblity… partly because I don’t know what he’s doing and partly because I don’t even know when he’s going to even finish that. It’s been on-and-off development for at least three years now and not even a public demo yet..
Gardebiter also doesn’t really know anything about data segments so I expect the new Sue’s to have all the same flaws the old one did. Tragic, really…
obligatory picture of my cat