Renaming locked files; file version checking
This is for Vindictus.
The game loads .hfs files, which are compressed files containing all of the game's data: models, textures, configs.
I have the tools to decompile the hfs files, modify and recompile them. However, the game gives an error message when loading the modded file and crashes.
QUESTIONS:
1. How does one find out how and when the game checks for the consistency of the hfs file (if it's checking for filesize, MD5, etc)?
2. Is it possible to unload a specific file and reload a different version of it after the consistency check?
I tried renaming the modded file with the name of the original after the game has loaded, but it says the original file can't be renamed because it's loaded by a process (in this case, the game itself).