FileRecTool v0.1.0
--------------------------------
This tool is part of Game Ripping Studio (GRS).
Licensing of this tool is same as for GRS.
--------------------------------
This tool will load a filelist generated by FileRipper(GRS) and inject extracted chunks back to original file.
You might also use this tool without filelist on single file.
Every file has own folder which includes all extracted chunks,for example file called 
"YourFile.ext" will have a own folder called "YourFile.rec" where all chunks will be saved.

You may add your own-made chunks to folder and this tool will inject them too.

Chunks has names in this format:
offset_filesize.extension

So in real,it will looks like:

0000000000_0000000256.dds - A dds texture saved on offset 0 with size 256 Bytes

Extension doesnt matter,you can rename extensions as you want,only offset and size is loaded.


Usage:

With filelist:
FileRecTool.exe -d -flm -fl "FileList.txt"

Without filelist:
FileRecTool.exe -d -sfm -f "YourFile.ext"


-d - Delete original chunks after injection
-fl - Specify name of used filelist
-f - Specify single filename for injecting
-sfm - Single file mode ( This means that single file will be used)  
-flm - FileList mode (Filelist will be used to load original files)

Error list:
ERROR(100) - Source file from filelist probably doesnt exists
ERROR(101) - No files(chunks) found in source directory
ERROR(102) - Source file from filelist was not loaded
ERROR(103) - One or more files was not injected 
ERROR(104) - No filelist loaded but expected
ERROR(105) - Injected chunk is bigger than original
ERROR(106) - Error when injecting chunk