Home
Up
Download Breakmap

Updated 6/30/07:
handles the new map format headers.

Modded 4/6/2005: Added a thunk which gets the headers of the selected map file and displays them.
Modded 4/17/2005: Added warning about problems accessing a Map which is "locked" by Furcadia because you've used the map in an upload operation, not much I can do about that. Have modified the manner in which I attempt to access the file, if you still get a RunTime Error 70 or such, let me know.

BreakMap: Ok, this started out VBA, but is now a stand alone application. What it does is "parse" a dream and product a "list of goods", what you have made the map with. So you can now see how many of which object you've used on the map. And floors. And walls.

Way back, I ran into a reason to actually study the map, and make some massive changes to which objects where uses where for I redefined the patch for a dream, and not just objects, walls as well. So I constructed a quick and dirty program which opened a map file, and changed them for me. This lead to developing a program which produced a list of all the objects, floors, and walls, which were used in the dream. But up until someone asked me if there was such a program, the program resided in a VBA script which ran in Excel and used the spreadsheet for the results.

Well, here it is as a dialog program.

Usage is simple, Browse to the dream you want a detailed breakdown of, open it, press OK, and well, it's rather fast, I put in some commentary stuff so you could see it was doing something, but on my machine, a full sized map takes about 7 seconds to process. Your milage may vary.

The program is now done to Edition II, the final version, unless there's a bug I left behind, or a feature someone would like to see. Which would not take a lot of effort on my part either.

The Other Buttons.

Oh yeah, Make (X,Y) and the Make DS buttons, and the Select All and them wonderful four, Counts, Selections, DS Lines, and Locations.

Lets start off with Counts: This is where the initial dump of counts ends up, once the map is processed, you will see your dream's contents listed as a bunch of <shape> <which> - <count> lines, if you click on the Selections, you get the same list, just in a ListBox, the Counts is a TextBox so you can cut and paste it to other files.

Once you get your results, going into Selections and clicking on any of the lines listed there will enable the rest of the buttons, (well, Select All enables just from your going into Selections ). As you click on the selections, the total of the selected items will be shown in the middle left of the upper part of the control. There's a limit to how much the control will process for each Make button and be able to display it in the control. This is about 580-590 lines of DS and about 1290 lines showing the location of any particular shape or floor or wall. If you exceed any of the internal limits for either action, the associated buttom will disable unless you have Save To File checked. Also, once you start making selections, the Select All will change to Clear All. BTW, double clicking on either a Floor, Object, or Wall line in the Selection list will highlight and select ALL of that section. I have not been able to successfully make it do the opposite, currently the only means of undoing that is to use the Clear All.

Pressing either of the Make buttons will then run through the dream, and create either a window (or file) of DS, or the X,Y locations of the selected shapes.

In DS mode, the DS Lines button will go down, and the TextBox will start off with:

(0:#) Trigger

Then fill up the rest of the way with:

(5:2) change floor type 500 to type 0.
(5:40) set the floor to type 500 at (0,0).
(5:40) set the floor to type 500 at (2,0).
(5:40) set the floor to type 500 at (98,59).

(5:5) change object type 3 to type 0.
(5:41) place object type 3 at (10,15).
(5:41) place object type 3 at (12,13).
(5:41) place object type 3 at (12,14).

If you need the (5:2) or the (5:5) to be a different object than 0, currently, you will have to manually change them. If you had Save To File Checked, then all you will see is the (0:#), (5:2) and (5:5) lines, the (5:40) and (5:41) lines are not shown. The purpose of this is to generate "Reset Code", something you put into your dream so that you can literally, reset either all of the dream, or much of the dream, to the same state that it was in when you uploaded, because, A) 5:2000 is broken, B) even if it wasn't, it still kicks all the furres out, making your own doesn't. Unless you code it to do so, ...

In X,Y mode, the Locations button will go down, and the TextBox will fill with lines of:

Floor 500 - 3
Floor: 500 @ (0,0)
Floor: 500 @ (2,0)
Floor: 500 @ (98,59)

Object 3 - 3
Object: 3 @ (10,15)
Object: 3 @ (12,13)
Object: 3 @ (12,14)

Unless, again, you have Save To File checked, in which case only the count lines are displayed.

A final note, once you press any of the "Action" buttons, the Exit button turns into Stop.

Happy Hunting.