Guest
May 20, 2012, 3:23 pm UTCHome arrow Coding arrow Miscellaneous Programs arrow Dream Search & Replace / Repair
header image
Dream Search & Replace / Repair
Written by Dream Dancer   
Dec 29, 2010 at 08:16 AM

The Furcadia Map Fixer, as it was formerly known, has undergone an update to become an interactive search and replace program as well, it also incorporates the ability to generate Reset Dragonspeak and locations for selected items, floors, and/or walls.

The menu contains three items, the first two contain sub-menu's the third item is a STOP action, initially, all menu items are disabled except the Open and Exit items in the File menu. Once you open a dream map file, they become active.

  • File
    • Open - Brings up the open dialog for selecting a map file to fix, file is checked for magic and being a valid non-encrypted file.
    • Create Report - Creates a list of what's what in the selected file. This is an extensive listing of each line from the tabs which can be dumped to a text file for examination.
    • Create Locator - Creates a list of locations for selected items.
    • Create Reset DS - Creates Reset Dragonspeak for the dream for selected items. When used with walls, will create both left and right placement DS even if only one side is selected, this is due to DS doing a mass change on them all.
    • Create Unknown Locations - for when dealing with extended patch files, gives a list of all items in the dream which the program cannot locate in a patch file. This does not include the Must Replace items.
    • Exit - Duh.
  • Edit
    • Fix Selected - Starts the repair / replace action. You are prompted first with a dialog before proceeding.
    • Clear & Reset All - Clears all selected items and resets the tabs to the initially loaded state.
  • STOP - Stops the program when running any scans, loads, or replacements.

The program is hard coded with the current counts of the default Furcadia patch file counts, so any item on the map which exceeds the limits of them are flagged as Must Replace, this is non-negotiable. Unknowns are different however, the program does not replace them unless you first clear the unknown flag and then check it for replacing.

When selecting replacements, if you right click on an item in any list, you are presented with a dialog to permit you to select something other than the "Zero" element for the selection. The dialog checks for validity of the selected replacement before being permitted to be closed.

When you open a dream file, the program loads up the tabs with the information gained from reading the contents of the file:

Headers Standard Floors Extended Floors Standard Objects Extended Objects Walls
Headers from the file, like the height & width, along with any flags that are set for the dream. Floor tiles from floors & floors2. Floor tiles from the floore file, tiles 500 to 999. Standard objects from item, item2, item3 & item4. Objects from the iteme file, from 2400 to 3399 All the walls found in the dream.

Notation about when the program examines the walls, if there IS a wall_1 or wall_ 2 file in the patch folder, it's handled properly, otherwise it goes by what's in default.

Once loaded, each row in the map element tabs will have a count of the particular item found, along with an indication of the validity of the element, and which patch file it's coming from. When reading the results, if there was a patch file found in the patch folder, (if there's a patch folder and it was located), the column Patch File Name will have it listed there, along with the extension of the file. Otherwise it will be just the filename without extension to indicate it's a default patch element. The program does not show or count the number of "Zero" elements. This includes Shape 0 from Texture 1, AKA Wall Zero. Any other "Zero" or "Blank" walls are counted and displayed, along with the "Must Replace" indication.

The Indicators:

  • Empty checkbox, nothing will be done for this element.
  • Checked, this will be replaced with the element number in the Replace With column. OR is a selection for either of the menu items Create Reset DS or Create Locator.
  • Locked, this is considered a Must Replace element, it may cause issues with DreamEd or Furcadia.
  • Unknown, generally when it can't find a patch (e) file for the element, or the element is outside the count of the found patch file, like having object 2430 there but the patch file is only goes up to 2429.

To select a different element to replace the selected element, right click on the row and use the menu that pops up, (only one selection in it), to bring up the Replace With dialog. (CTRL+R also works for this.) Depending on whether it's floors or objects, or walls, it will either have a single text area for entering a value, or in the case of walls, a couple of drop down selectors to permit you to pick the Texture & Shape to replace it with. The dialog will give you an indication that the selection is valid by highlighting the helper text in red for invalid selections.

Before we get to the Fix Selected, the Clear & Reset All does what is expected, it resets the lists to the state they were in when the file was first loaded.

When you click the Fix Selected, you are presented with another dialog that contains a few options to set before the program does its thing:

  • Backup Dream File - Creates a backup of the file before executing the replacements, this will be date and time stamped yyyymmdd-hhmmss with the original name.
  • Put In \ repaired (Will be created) - stores the backup in a folder the program will create if it doesn't exist, recommended to keep the clutter in your dream folder to a minimum.
  • Link Left & Right Walls - unchecking this will replace the walls independantly, otherwise if you have selected a left wall to be replaced, the right wall of the same number will be replaced as well.

And once you click the Ok Do It, the program goes to work and when done, it will automatically save the report file, either into the repaired folder, or in the dream's folder. When the Report Dialog is dismissed, the dream file is rescanned and the lists are updated automatically.

Get the program from the download page: Furcadia Search & Replace / Repair

Last Updated ( Jan 07, 2011 at 07:46 AM )
<Previous
header image