Forboding Angel wrote:SMFED is how he did SSB dry. It takes all of 3 seconds to change the height. No recompiling or anything. I also find it funny that he claims to have used a hex editor. For what? Changing the map name? Everyone knows that if you leave the smt with the same filename, then just change the smf and smd to whatever you want, the name of the map gets changed...
However, I digress.
You're quite correct regarding smfed. However, as I wanted to rename the smt as well [don't ask why], I was forced to hex edit and discovered some more intracacies about the smf format itself. For instance, instead of just a text string referring to the filename of the smt texture, a few hex codes coming from the smt file are also stored in the smf file, presumably as an identifier or a pointer of some sort.
In addition, changing the length of the text string also changed the size of the smf file itself. This caused the rest of the file to fail when read by the Spring engine, and I discovered that there are additional hex codes at the beginning of the file that refer to the location of the rest of the map data [feature data specifically im guessing] later on in the file. Those have to be updated accordingly to make sure the file is read correctly.
Finally, because the minimap in SSB v2 has water on it, and I wanted a minimap reflecting dry terrain, I decided to use NOiZE's SSB v1 minimap, where he did not include the water in the picture. Since minimap size is fixed, all I had to do was to find the chunk of raw data that was the minimap, then swap it out using the hex editor.