Sunday, July 28, 2013

Music stuff

This should be an amusing experiment, when I get around to it.


Thursday, July 25, 2013

God damnit, Secret of Mana.

So, I figured out the reason map 258's collisions look wrong.  Some maps are set to use layer 2 for collision data instead of layer 1.  This is all well and good, except the bit that controls this isn't on the map, it's on the DOOR LEADING IN.  So theoretically, a map could have either state.  I'm hoping none do, because the collision data is what's originally used to determine where doors are.

So to determine the right collision state for a map, now I have to pick through all the doors leading to it, and see what the value of this bit is.

Edit: I ran a quick loop, and there are no two doors leading to the same map with different collision flags.  Why the fuck store this on the door then, when it's clearly a property of the target map.  Another thing for me to move to make everything properly editable...

Oh, and on a completely unrelated note, as a child I always thought there was something secret in this door in Northtown that I could never figure out how to get to:


Turns out, there isn't even a trigger on that spot.  More disappointment.

Wednesday, July 24, 2013

Positionable Composite Map Triggers

The first draft of this is in, with a few hundred new bytes of som-code generated by the editor if you change the composite maps.  Triggers can now be placed freely, rather than dealing with tile types.  After hours of crashing, it plays smoothly now and behaves at least somewhat like the original.

Waterfall maps work fine... I can play to Potos and kill the Mantis Ant.

Potos Inn takes me to Northtown.

Huh.  Close enough?

Edit:  Found what's causing this.  Fix tomorrow.

Saturday, July 20, 2013

Build 0210

More things.

 - Change "Doors" checkbox to "Triggers" on Composite Map Editor.
 - Fix issues with display of Tileset 8 flags.
 - Add checkbox to view 3BPP tiles as second half of palette in
   raw tiles editor.
 - Add/implement some new edit linkages between tileset screens.
 - Fix issue where flipping to the Tileset16 editor from the
   composite map editor would not update the selected tile16 index
   and such correctly until you clicked on them.

https://dl.dropboxusercontent.com/u/19968993/som/FileListing.html

https://dl.dropboxusercontent.com/u/19968993/som/build%200210/somedit0210.rar

https://dl.dropboxusercontent.com/u/19968993/som/release_notes.txt

Friday, July 19, 2013

Build 0209

Goddamn mouse wheel.

 - Fix failure to update scrollbar size for events list when window resizes.
 - Implement File->Exit that for a long time did nothing.  Oops.
 - Fix issue where spamming the mousewheel on the event editor would crash
   the application under Windows 7.
 - Fix issue where scrollable area less than the size of the scrollbar would
   sit at the bottom/right instead of top/left.
 - Fix issue where map piece width/height were not adjustable.

https://dl.dropboxusercontent.com/u/19968993/som/FileListing.html

https://dl.dropboxusercontent.com/u/19968993/som/build%200209/somedit0209.rar

https://dl.dropboxusercontent.com/u/19968993/som/release_notes.txt

Thursday, July 18, 2013

Build 0208

A few more minor fixes.

 - Fix some exceptions when changing tilesets on map pieces editor.
 - Remove outdated event editor options and add option to show dialogue
   and non-dialogue events with either in-game font or Courier New.
 - Change sprite exception that comes up often for non-working sprites
   to a debug log message so it stops spamming the messages area.
 - Fix exception if trying to "Open in another window" with nothing
   selected.
 - Tweak handling of horizontal scrollbar for music view; it should be
   a little more accurate now.
 - Fix positioning of text on samples screen about how sound effects samples
   don't work yet.

https://dl.dropboxusercontent.com/u/19968993/som/FileListing.html

https://dl.dropboxusercontent.com/u/19968993/som/build%200208/somedit0208.rar

https://dl.dropboxusercontent.com/u/19968993/som/release_notes.txt

Build 0207

Fixing stuff as I find it.  Trigger refactoring stuff is not in this build.

 - Fix miscalculation of code size for modified trigger data.
 - Fix issue where clicking a trigger would throw an exception.
 - Fix incorrect calculation of scrollbar maximums for composite maps.

https://dl.dropboxusercontent.com/u/19968993/som/FileListing.html

https://dl.dropboxusercontent.com/u/19968993/som/build%200207/somedit0207.rar

https://dl.dropboxusercontent.com/u/19968993/som/release_notes.txt

To the guy who's having .NET problems, here's a link to a map editor app I wrote for a lesser-known MMORPG that I play called Darkages.  It won't fully function without the game's data files, but it should open to a big white screen with some controls and a title that is a random Mitch Hedberg quote.  Does this one run for you?

https://dl.dropboxusercontent.com/u/19968993/som/MapEditor.exe