Thanks for the tip, aluigi, but in this case there is no visible difference for extraction speed, 10-20sec for 10min interval is within error margin for every run. While using -Q for suppressing all "open file" messages will noticeably reduce extraction time, especially for raw extract version of the script. You may consider adding a feature for suppressing such messages separately in future releases, but it's not a big deal, because formats like that are very rare and appear one time in a decade.
I'm more interested, is that possible to pass various mem files for log command on a condition (for caching purposes). For example, if I need to cache latest 10 used mem files and re-use them on condition, like:
1) Store usage of latest mem files in array (file name, mem file)
2) Check if mem file for such file name is already exist - if not, add it to array or replace existing one, if array is already full
3) Pass that changing mem file to log command
Omitting part with array and checks, which is quite obvious, building variable for different mem files is questionable - somehow like [string MEM = "MEMORY_FILE" , string MEM + i, log MEM OFFSET SIZE]. It may sound dumb, but I didn't even test possibilities yet.
@sinnerclown380: I was already asked about it in PM, so I'll just quote myself: "Due to the format complexity, I'm almost sure there will not be any tool or script with reimport function not now, nor in the future. It has too many cross-references (probably for multi-threading purposes) and the script is parsing like 1/3 of of them. I can imagine only manual edit of files, which are one-file-in-single-chunk-in-single-block files, but there are very few of them actually."
Theoretically replacing files via hooking should work, but currently the game is using EAC because of multiplayer features, so general hooks will not work and moreover, it will be illegal and may lead to account ban.
Thanks for lighting up, spiritovod