!!!README!!!

Important Information:

	-Elric is a tool to process mesh files (NIF) and texture files (TGA,DDS) into a more optimized form Fallout 4 will load. 
	-NIFs may only process properly if they are exported from the "BGS Fallout 4 NIF Export Plugin Toolset", included with the Creation Kit modding tools.
	-This process will convert Havok data in an exported NIF to a format Fallout 4 will be able to load.
	-NIFs will only process if there is a parent folder somewhere in their directory hierarchy which contains the string "Meshes".
		-INCORRECT: 	C:\Fallout4\Data\Source\Geom\Mytest.nif will NOT process correctly.
		-CORRECT:	C:\Fallout4\Data\Source\Meshes\MyTest.nif
	
Configuration Steps:
	1.  Open Elrich.exe.
	2.  Select the File->"Load Settings" menu option.
		 -Navigate to your Elric/Settings/PCMeshes.esf file.
		 -Note: this will populate some of the properties of this tool. Additional configuration may still be required to fit your workflow.
	3.  OPTIONAL: Specify an Output directory for any processed files. Defaults to Elric/Processed/...
	6.  OPTIONAL: You can specify a log on conversion. The log supports wildcards (%m = month, %d = day, %y = year, etc...).
		 -For example: .\Logs\PCMeshes-%m-%d-%y_%h-%n-%s.elf
	7.  OPTIONAL: Select "Close Elric When Finished" to do exactly that (disabled by default in the settings file).
	8.  OPTIONAL: Select "Do Subdirectories" if you would like to process all files in a directory tree.
	9.  OPTIONAL: Select "Force Overwrite" if you would like the output files to always be written to their destination.
	10. OPTIONAL: Select "Only Process If Source Is Newer" to ignore processing source files which already have output with a more recent timestamp (must disble Force Overwrite to use this).

	
Processing Steps (After configuration):
	1. To convert a set of files, select the "Convert Files" button. Navigate to the directory with the files you want to process, and select any number of files for processing.
	2. To convert a directory, select the "Convert Directory" button. Navigate to the directory to process.
	3. Errors may be output for some processing failures, which can aid in debugging bad source assets.
	4. Assuming proper configuration, and no errors, any resulting processed files will be output in the specified Output directory. 

		
Additional Notes:
	1. The texture process functions as a configuration wrapper to Microsoft's DirectXTex texconv.exe processing tool (https://github.com/Microsoft/DirectXTex)
	2. Elric can be executed at the command line using the following format (update parameters to use full paths to any files/directories):
		"fullpath/Elric/Elrich.exe" "fullpath/PCMeshes.esf" -ElricOptions.ConvertTarget="fullpath1,fullpath2,fullpath3,..." -ElricOptions.OutputDirectory="fulloutputpath" 
		-The first parameter is the ESF file.
		-The ConvertTarget is a list of files or directories to process, delimited by a ",".
		-Note: Any XML options in the PCMeshes.ESF can be passed at the command line as optional overrides, if necessary.