Changelog

V1.91 - 03/06/2011
RBF-Editor:
- fixed crash occurring when trying to paste a value to a value of another type
- the tool will no longer crash when copying tables


V1.9 - 03/05/2011
General:
- first steps to Retribution-compatibility
- you can now select to test mods using Retribution
- when releasing your mod you can now choose to create a launcher for Retribution
- improved logging
- new config system: the settings for plugins are now (finally!) stored in plugins.config instead of plugins.config.config ;)
- the tool will now attempt to automatically open DoW2's FLB file from ATTRIB:simulation\attrib\fieldnames.flb
- general code cleanup

RBF-Editor:
- complete rewrite of the RelicBinaryFile-code (faster, cleaner and easier to work with/expand)
- added options to open/save files as Retribution-RBFs
- removed XML mode (might return but nobody was using it anyway, right?)

PlugIns:
- merged cope.dll and cope.IO.dll
- updated UniFile class to be more consistent with regard to method accessibility


V1.883 - 01/11/2011
General:
- Improved logging

PlugIns:
- (everything from V1.882)


V1.882 - 01/09/2011
PlugIns:
- added FileManager.GetToolByFilePath(string path)


V1.881 - 12/24/2010
RBF-Editor:
- fixed RBF-Search and improved result-view (which is now sorted by file)

PlugIns:
- non .NET DLLs from the plugins folder will now be ignored


V1.88 - 12/23/2010
PlugIns:
- added plugins\ and plugins\filetypes to the DLL-searchpath; DLLs required by plugins now can go in those folders as well
- added UCSManager.ReloadModUCS() method to allow UCS reloading after a plugin changed the UCS
		UCSManager.ModUCSPath and UCSManager.DoW2UCSPath so plugins can load UCS files themselves


V1.871 - 08/31/2010
General:
- fixed an issue which caused the tool to 'forget' it's plugin-settings


V1.87 - 08/02/2010
General:
- fixed a bug which filled uncompressed files from SGA-archives with wrong data
- added support for SGA version 4.1 (CoH: Online China) and 5.1 (CoH: Online North America)
- added 'delete/rename/paste file' to the combined file tree
- added 'copy file' to both the combined and the virtual file tree


V1.86 - 07/17/2010
General:
- added error-message for duplicate UCS-indices

RBF-Editor:
- RBF-library will now always show the correct submenu
- changed the 'Add to library' dialog so [RETURN] doesn't close the dialog but adds another line to the tags
- selecting a RBF-value in the treeview will now also update the UCS-information
- 'Try to open file by value' now shows a warning if the file is already opened


V1.85 - 07/03/2010
General:
- the right-click for the virtual file tree was missing, added it
- fixed a problem with extracting some files from SGAs


V1.84 - 07/01/2010
General:
- fixed load-order of archives (files from older archives now won't overwrite files from newer ones)
- DATA and ATTRIB should no longer get mixed up when loading an archive
- 'Release' now only adds the created archvies to the module file, thus preventing crashes


V1.831 - 06/21/2010
RBF-Editor:
- auto-reloading while testing fixed


V1.83 - 06/20/2010
General:
- fixed crash when trying to add a non-existent file
- various fixes

RBF-Editor:
- added RBF-search (Plugins->Cope's RBF Editor->RBF Search)
- allows you to:
- search for either keys or values in either all RBFs or only those in a specific folder (see the 'Relative Path for Start-Node' textbox)
- quickly open the files which hold the finding (double-click result)
- will automatically display the selected result (right hand side of the screen)


V1.82 - 06/17/2010
General:
- fixed crash which occurred when testing the current mod multiple times
- simplified internal UCS-system to fix indexing problems
- UCS files will now be created as soon as they're needed (and not any earlier)
- activating advanced test mode now requires administrator priviliges
- various fixes for 'New Mod'


V1.81 - 06/16/2010
General:
- added 'Tools->Open DoW2 Log Directory'
- changing the language now works properly
- UCS index is now detected correctly
- UCS values with linebreaks will now be converted to one-liners
- reworked plugin system (no tutorial yet, nobody is interested in it anyway)
- added Advanced Testing Mode (see the options), commands for testing 'console':
	- print(string message) -- print to ingame console (e.g. print("TEST"))
	- PGM_ReloadGroup(string pathRelativeToPGMBasePath) -- reload RBF
	- PGM_GetBasePath() -- returns the base path of the PropertyGroupManager
	- PGM_GetGroup(string pathRelativetoPGMBasePath) -- returns a number (pointer) if the group exists, otherwise 0

RBF-Editor:
- you can now double-click table values in the grid view to open the table
- changed the editing behavior of cells to 'Edit on Enter'
- added options menu
- new feature: Auto-RBF reloading on saving the file while testing the game


V1.8 - 06/13/2010
General:
- added UCS support:
	- 'Tools->Add UCS String' ([CTRL]+[U]) allows you to quickly add UCS strings
	- automatic UCS file creation
- added 'Tools->Mod Settings' which allows you to change some global aspects of your mod
- 'Release Mod' will now also copy all archives which have been added using the 'Mod Settings' dialog
- User Guide updated ('What is a UCS file?', 'How can I add maps to my mod?', changing global stuff etc)
- various smaller fixes

RBF-Editor:
- added UCS lookup


V1.79 - 06/12/2010
General:
- added the ability to copy relative paths of files in the directory view
- copying and renaming files now does not cause crashes anymore


V1.78 - 06/11/2010
General:
- you can now specify additional parameters to be passed to DoW2 when testing the mod

RBF-Editor:
- multiple string values using the same key with a searchpath now cache the content of their comboboxes


V1.77 - 06/04/2010
RBF-Editor:
- when adding a value to the library you can now specify a submenu and choose only to update the tags (if an entry using that name already exists)
- submenues now work correctly
- added a "Add tags only if entry already exists" option
- tag-editor now shows the current tags


V1.76 - 06/03/2010
General:
- ImageViewerPlugin now immediatly releases the file it's previewing

RBF-Editor:
- changed-and-not-saved warning now appears when it's actually needed
- added submenues for library


V1.75 - 06/03/2010
RBF-Editor:
- added RBF-library, see User Guide for further information
- fixed exception occurring when trying to open a non-existent file from inside a RBF


V1.74 - 06/02/2010
General:
- name change to "Cope's DoW2 Toolbox"
- implemented a loading screen
- more fixes for "Release Mod"
- you can now set the tool as the standard app for DoW2-.module files (via "Open with...")
- title of main window will now adapt to the current mod
- added icon for application
- various smaller fixes
- added a user guide


V1.73 - 05/30/2010
General:
- fixes for "Release Mod"
- improved logging
- the tool will now disallow you to load module files which have overlapping data:common and attrib:common directories


V1.72 - 05/29/2010
General:
- fixed "New Mod"


V1.71 - 05/29/2010
General:
- improved memory management
- added a very basic text-editor
- added an image-preview plugin for DDS and TGA files
- lots of small bugfixes
- added hotkeys for hiding the directory view and for testing the mod
- [CTRL]+[S] will now save the file you're currently working with (no matter what plugin is editing the file)


V1.7 - 05/26/2010
General:
- fixed several bugs happening when renaming files
- "Hide File/Folder Icons" will now work properly again
- added a "Release Mod" feature which will pack the mod, create installation instructions and provide a very simple launcher


V1.69 - 05/23/2010
RBF-Editor:
- fixed crash when opening tables


V1.68 - 05/23/2010
General:
- you can now hide the directory-view
- added fancy icons
- random bugfixes

RBF-Editor:
- the GameData node will now expand automatically
- "Add Values To RBF-Dictionary" now works for string-values as well
- custom search paths can now be limited to certain file-extensions and ignore files whose names end with a specified string (see rbf_dictionary.txt for more information)
- improved performance for custom search paths and other things


V1.67 - 05/22/2010
General:
- fixed local files not opening at all

V1.66 - 05/22/2010
General:
- added "Open all Files in Selected Folder" to the directory-view; does not work recursively
- unsaved plugin-pages will now be marked with a '*' (can be disabled in the options)
- the tool will now prevent you from opening a file twice (can be disabled in the options)

RBF-Editor:
- disabled resizing of rows
- fixed combobox for values
- added "Copy As Corsix-String" option to copy a value in CorsixRBFConv-style
- added "Insert From Corsix-String" option to insert a value in CorsixRBFConv-style
- you can now set custom search-paths for keys (see rbf_dictionary.txt for instructions; if there are no instructions: start the tool once, close it and reopen the rbf_dictionary.txt)


V1.65 - 05/16/2010
RBF-Editor:
- added "Insert Into All Subtables" as an action to the context menu (useful for ai-tuning file)
- implemented a RBF-Dictionary which remembers values for different keys (see rbf_dictionary.txt)
- the editor will now populate comboboxes with files from the same directory as the current path in the combobox
- you can now open files from paths in RBFs


V1.64 - 05/15/2010
General:
- handling trillions of files at a time should now work crashless

RBF-Editor:
- changed true/false comboboxes to checkboxes
- changed textboxes for strings to comboboxes


V1.63 - 05/13/2010
General:
- disabling "Mark Changed Directories" now actually does something
- improved performance
- enabled tooltips for the directory view
- fixed crashes when deleting and / or moving directories


V1.62 - 05/05/2010
General:
- further improved logging system (which will now show which directories and archives are loaded)
- added a log message indicating that a mod has overlapping attrib and data directories
- settings are now saved correctly
- fixed a bug which prevented warnings from showing up
- fixed the icon for files in the Directory View
- fixed various crashes


V1.61 - 05/05/2010
General:
- improved logging system
- fixed a crash occurring when deleting folders or multiple files


V1.6 - 05/02/2010
General:
- added a possibility to launch the mod (Tools -> Test Mod), take a look into the Options-menu to set your steam path etc.
- added a logging system (see log.txt)
- reworked the directory view: you don't need to refresh anything anymore
- added a "virtual only" directory view which only displays files from the archives
- various smaller fixes

RBF-Editor:
- fixed a bug which occurred when having multiple files opened at a time

PlugIns:
- improved and simplified plugin-support:
	- all the important stuff can now be found in CopeModToolCore.dll (and cope.IO.dll for the UniFile class)
	- saving is much simpler now, you don't need to care for any tags of the UniFile
	- you can write to the logfile using LoggingManager.SendMessage(...)


V1.55 - 04/16/2010
RBF-Editor:
- fixed changes not being saved at all


V1.54 - 04/15/2010
General:
- added some more information like tooltips, message boxes etc...
- tuned the GUI in some parts
- some smaller fixes
- added an options-menu
	OPTIONS:
	- mark changed directories as well in red (default is on)
	- hide icons in directory-view (default is off)

RBF-Editor:
- added the possibility to save a file to XML and open XML files

V1.53 - 04/13/2010
General:
- fixed a bug which produced corrupt RelicChunkies
- added the 'New DoW2 Mod' option to the main menu

RBF-Editor:
- added tooltips


V1.52 - 04/11/2010
General:
- switched to x86

RBF-Editor:
- save-reminder is now DEFINITELY fixed

V1.51 - 04/11/2010
General:
- support for SGA archives of version 4 (used by Company of Heroes in all versions except CoH:Online)
- fixed an issue with wrong paths when using drag-and-drop with module and SGA files
- files from DATA now have correct paths

RBF-Editor:
- the Save-reminder message has been fixed

PlugIns:
- returning false in the method Close() will now stop the plugin from being closed


V1.5 - 04/9/2010
General:
- fixed a bug with the FileTypeManager
- null-reference exception in the directory view has been fixed
- added a RelicChunky viewer/editor, just double click any file; if it's a RelicChunky it's going to be opened (use the right click menu alternatively)
- files and directories will now appear properly sorted
- small UI-fixes etc....

PlugIns:
- reworked parts of UniFile:
	- merged
		protected virtual void WriteDataTo(Stream)
	  and
		public void WriteDataTo(Stream)
	  into
		public virtual void Write(Stream)
	- merged
		protected virtual void Read(Stream)
	  and
		public void ReadDataFrom(Stream)
	  into
		public virtual void Read(Stream)
	- UniFile.Close() now only needs to be called when constructing the UniFile using a stream, all other streams will be closed automatically
	- implemented the Set-property for both FileExtension and FileName of UniFile
- expanded the FileTypePlugin base class in order to provide a general 'Has the file been saved?'-check:
	- new method: public virtual void SaveFile() // called by the tool if there are still unsaved changes and the user decided to save them; the base implementation does nothing at all. This method shall STILL invoke the Saved-event (however, a plugin that does not have any saving abilities does not need to overwrite this method at all)!
	- new property: public virtual bool HasChanges // returns whether there are changes, base implementation just returns false
- packed all the plugin-stuff into an extra-dll: CopePlugIn.dll; this has been made prevent ring-dependencies


V1.4 - 04/6/2010
General:
- module files are now unloaded as soon as possible
- SGAs are now being loaded in shared access mode
- introduced a plug-in system allowing the user to bind specific file-extensions to their custom .NET Control
- the tool will now also load all the Data-stuff, making it yet more important for you to have different folders for Data and Attrib stuff

RBF Editor:
- the editor will now show a warning when trying to close an unsaved file


V1.32 - 03/25/2010
- improved compatibility with RBFs created by Corsix' RBFConv


V1.31 - 03/25/2010
- re-fixed a bug where the program would throw an exception when entering an empty string as a value 


V1.3 - 03/25/2010
- added the ability to load RBFs / SGAs along with drag-and-drop support for RBFs/SGA/Module
	-> loading any SGA / module will close all open RBF windows but you can load RBFs without closing anything
- added a tool tip for files outside of SGAs
- 'Open in Explorer' is now available for files as well
- added support for cross-RBF copy / paste
- the right part of the RBF editor is now automatically sorted, too
- changed some texts:
	- 'Insert Value' is now 'Paste Value'
	- 'Insert Value Into' is now 'Insert Into Value Table'
	- 'Cut Table' is now 'Cut Value'
- added various hotkeys:
	O GENERAL:
		- Open RBF: [ALT] + [O]
		- Open SGA: [CTRL] + [SHIFT] + [O]
		- Open Mod: [CTRL] + [O]
		- No hotkey for Close SGA / Mod has been added for 'security' reasons ;)
	O RBF EDITOR:
		- Copy Value: [CTRL] + [C]
		- Copy Value Path: [CTRL] + [SHIFT] + [C]
		- Cut Value: [CTRL] + [X]
		- Paste Value: [CTRL] + [V]
		- Insert Value Into Table: [CTRL] + [SHIFT] + [V]
		- Save File: [CTRL] + [S]
		- Close File: [CTRL] + [W]
- replaced some text boxes with combo boxes


V1.21 - 03/21/2010
- fixed a bug that occurred when copying tables
- added an 'About' box


V1.2 - 03/21/2010
- added support for copying non-table values
- the selected tab will now always be the newest one
- added a 'Refresh Folder' option which causes the program to scan the selected folder for any new files (does not work for the 'ATTRIB' node as this is only a virtual directory)
- added an 'Extract' and an 'Open In Explorer' feature for the file view
- the contents of RBFs will now appear in sorted order


V1.1 - 03/20/2010
- fixed a bug occurring when editing RBFs with more than one subtable in the GameData node
- the tool will now save relative to the module file
- the tool will now remember the last folder you've opened a module file from
- saving a file from a SGA archive and reloading it still loaded the file from the SGA; that's fixed now as well