Warning: 

	Be Careful when changing fields defined as Unknown,Col or containing a question 
	mark, changing these fields will have unpredictable results. Please backup any 
	file before making changes.

New:	Fixed display bug for Fire Angle in vehicles.adb
        Fixed the row  selection bug on ofrms with more columns than rows.
	Added "Clears Mines",W,57," 0 = No, 1 = Yes " column
	Updated Q&A.txt

Document:

	CC QClone V2.0.2


About:

	QClone is a editing util for *.adb files converted using 
	CplFilth's java utils.


Requires:

	Windows 95+

        CplFilth's java utils. (You will need the Java virtual Machine)

	Download form: http://www.student.oulu.fi/~psaastam


Features:

	Requires the filenames for the adb files and txt files to remain unchanged,
	as it matches the file name (without extension) to the name in QClone.ini.

	Requires the Repack and Unpack exe's of CpltFilths Java utils to be loacated
	in the Exe directory of QClone.

	When selecting files for loading, hold down Ctrl and Shift to select more 
	than one file.

	Click and drag fixed columns and rows to select complete blocks.

Current Data File Status or some of the main contributors:

	Elements (CplFilth)
	Weapons  (CplFilth)
	Vehicles (CplFIlth)
	AlsTeams (Incomplete)
	GETeams  (Incomplete)
	Soldiers (Undefined)
	BGroups  (Mick)
	FPools   (Shorbun)


Upgrades:

	Automatic conversion between all versions of Close Combat and all Mod data.
	Add error checking/validation.

History:

	QClone v1.1 : 		Supports all adb files.
	               		Save function added.
		       		Now extracts 4bit numbers when possible.	

	QClone v1.2 : 		Add data definition for elements.adb (Thanks again to CplFilth).
	               		Support for bit patterns.
		       		Added fixed column referencing.	

	QClone v1.3.1 : 	BGroups column names added but at the moment you can only edit 
				a BGroups Team types, allowing some influence of the actual units. 
				Refer to the column "Type" in the Team files for the actual Team Type 
				reference for BGroups. Thanx go to Mick for this one. 

				You can now exit out of the Debug loop.

	QClone v1.3.2 : 	Long descriptions have been added to some columns, appears as text in the 
				bottom right hand corner. Will give you info on columns and required values.

				Progress bar added for load routines, will try to improve the speed of loading
        			some of the larger files.

				FPools added, still some fields that appear to be unused. The column widths
			        may not be exact, but there should be no problem using whats been defined.
				Thanx go to Shorbun.

	QClone v1.3.3 : 	Added hidden columns, this will allow you to pad out to the end of a line
				without having to define all the fields. Only works as the last column
				setting.

				Also hide unwanted columns from the display.

	QClone v1.3.4 :		Fixed problems with the Team data.
				Basic Copy and Paste functions added. Cut, Search and Replace to follow.

	QClone V1.3.5 :		Automated CplFilths java utils into QClone, for a one stop conversion.
				The Repack and Unpack exe's download from CplFilths web page need to be
				copied into QClones Exe directory.

				Basic Copy and Paste functions cleaned up, still limited.
				Basic add Cut,Clear,Find and Replace.

	QClone V1.3.8		QClone will output\import all tables as a tab delimited file with headers. You can edit
				or import CC3 data this way, then reinsert it into CC4.

				QClone will export the relevant adb files their corresponding versions in CC3,
				this is a best fit. Some fields in CC3 are not available in CC4. You will have to
				sort these out yourself for the time being.

				Most columns port over in the correct order. Where possible, I have included a 
				similar or unsed field from CC4 for you to fill in later.

				QClone will translate CC4's True and False valuse to 1 and 0.

				Not much testing, as there is still a bit of work to get the files into
				a working game. The export function should speed this up a bit, and save some 
				time.

				Added a "Add New Row" and "Delete New Row", this will allow you to insert extra 
				units into CC4. They append and remove rows to the bottom of the grid. 

				Remeber to get CplFilths's update Java Utils (Data Sponge) for 
				the fix on the element file row count limit.

				The ability to import data will follow soon.

	QClone V1.3.8:		QClone now supports CC5 data, it has not been tested with CC5 so please let
				me know if there are any problems. You can convert data between CC4 and CC5
				by either using the tabbed delimited import and export, or the new "file type"
				feature in the save file dialog. Fixed a few bugs and added a few column descriptions.
	
				Fixed QClone so it uses both the old and new versions of Datasponge, as the new version
				can not unpack some of the data files correctly.

				Added an auto backup feature when saving adb's. The routing copys a tabbed delimited
	QClone V1.3.9:		file to the backup directory, use Import tab feature to restore the lost data.

	QClone V1.3.9c:		Added support for CC3 and started support for CC2, both have been added to 
				facilitate the automatic conversion of all Close Combat data files.

	QClone V2.0.0:		Added support for CC3 and started support for CC2. Both have been added to 
				facilitate the automatic conversion of all Close Combat data files (to be 
				added later). 

	QClone V2.0.1:		Fixed default CC5 directory bug.
        			Fixed CC4 repack problems.
				Online documentation.
				Fixed patched CC5 elements bug.

	Fixed bugs in the Importing and Exporting CC4 and CC5 data to CC3.
	>>>> See end of this file for more detail.
			
Support:

	email address is: cceditor@madasafish.com

	Internet address is: http://www.madasafish.com/~cceditor


Testing:

	This application has been tested using files produced by CplFilth's data files,
	with CC4.

	Thanks to CplFilth for making CC4 data editing a reality.

	Sgt_Wilson

Info On Exporting and Importing Data:

There are limitations to the current CC3 import and export routines. When columns exist in CC3 but not CC4 or CC5 then I have to assign it to unknown CC4 column.

What happens is, when importing CC3 columns like Rarity (used only in CC3) I use a unknown CC4 and CC5 column to hold the data. So when you import CC3 data into CC4 data you can erase CC4 data, this was "unknown" so you would have to change it anyway to fit your new data. The same applies to exporting, when exporting CC4\5 teams to you will fill the Rarity column with the unknown CC4 data. In both cases you will have to go back and ensure that they are corrected.

The following tables and columns have been effected:

Teams (CC5,CC4 to CC3) will output

Col42="Unknown0",I,37,""
Col43="Unknown1",I,38,""
Col44="Unknown2",I,39,""
Col45="Unknown3",I,40,""
Col46="Unknown4",I,41,""
Col47="Unknown5",I,42,""
Col48="Unknown6",I,43,""
Col49="Unknown7",I,44,""
Col50="Unknown8",I,45,""
Col51="Unknown9",I,46,""
Col52="Unknown0",I,47,""
Col53="Unknown1",I,48,""
Col54="Unknown2",I,49,""
Col55="Unknown3",I,50,""
Col56="Unknown4",I,51,""
Col57="Unknown5",I,52,""
Col58="Unknown6",W,53,""
Col59="Unknown6",W,54,""
Col60="Unknown7",W,55,""
Col63="Unknown9",B,56,""
Col61="Unknown8",W,57,""

to CC3 as

Col36="Upgrade Path 1","Corresponding Team # from this team table "
Col37="Upgrade Path 2","Corresponding Team # from this team table "
Col38="Upgrade Path 3","Corresponding Team # from this team table "
Col39="Rarity Summer 41","In game Team description "
Col40="Rarity Fall 41","In game Team description "
Col41="Rarity Winter 42","In game Team description "
Col42="Rarity Spring 42","In game Team description "
Col43="Rarity Summer 42","In game Team description "
Col44="Rarity Fall 42","0 = None 1 = Very Rare	2 = Rare 3 = Scarce 4 = Normal	5 = Available 6 = Common 7 = Plentiful "
Col45="Rarity Winter 43","0 = None 1 = Very Rare 2 = Rare 3 = Scarce 4 = Normal 5 = Available 6 = Common 7 = Plentiful "
Col46="Rarity Spring 43","0 = None 1 = Very Rare 2 = Rare 3 = Scarce 4 = Normal 5 = Available 6 = Common 7 = Plentiful "
Col47="Rarity Summer 43","0 = None 1 = Very Rare 2 = Rare 3 = Scarce 4 = Normal 5 = Available 6 = Common 7 = Plentiful "
Col48="Rarity Fall 43","0 = None 1 = Very Rare 2 = Rare 3 = Scarce 4 = Normal 5 = Available 6 = Common 7 = Plentiful "
Col49="Rarity Winter 44","0 = None 1 = Very Rare 2 = Rare 3 = Scarce 4 = Normal 5 = Available 6 = Common 7 = Plentiful "
Col50="Rarity Spring 44","0 = None 1 = Very Rare 2 = Rare 3 = Scarce 4 = Normal 5 = Available 6 = Common 7 = Plentiful "
Col51="Rarity Summer 44","0 = None 1 = Very Rare 2 = Rare 3 = Scarce 4 = Normal 5 = Available 6 = Common 7 = Plentiful "
Col52="Rarity Fall 44","0 = None 1 = Very Rare 2 = Rare 3 = Scarce 4 = Normal 5 = Available 6 = Common 7 = Plentiful "
Col53="Rarity Winter 45","0 = None 1 = Very Rare 2 = Rare 3 = Scarce 4 = Normal 5 = Available 6 = Common 7 = Plentiful "
Col54="Rarity Spring 45","0 = None 1 = Very Rare 2 = Rare 3 = Scarce 4 = Normal 5 = Available 6 = Common 7 = Plentiful "
Col55="Can Clear Mine Fields","In game Team description "
Col56="Description","In game Team description "

And the above CC3 files will overwrite the CC4&5 columns when importing CC3 data.

Soldiers (CC5,CC4 to CC3) will output

Col43="Unknown1",W,2
Col44="Unknown2",W,5

to CC3 as

Col1="Nation","Nation = RU, GE or ANY "
Col4="Body Armour","In mm of penetrable steel "




