I used the BMS from FEAR / FEAR2 / ARCH00 archives (script 0.4b), wich works great until..i want to unpack the big files (4Gb's or more), yes i use quickbms_4gb_files.exe latest version (6) and i get this error
I guess that without the full file it's impossible to find a solution. From what I have seen till now, it seems to work correctly and I "think" that gollum.embb should be extracted correctly. All the fields are correct with longlong so the problem is not there. The compression is zlib.
One thing you can try is replacing all the >= with u>= but I don't think it will change something. I have no other ideas at the moment.
Thanks for the file. Apparently it's not a bug in the script and not a bug in quickbms, it's really a file that has a size of 0x589fdbae bytes and quickbms cannot allocate that size because it's a 32bit application.
I tried to compile quickbms with Gcc 64bit but there are too many errors, so I give up.
The files are compressed in chunks, that's the reason why quickbms needs to pre-allocate the memory.
To be honest there is an alternative and very simple solution. Try the bms script I have attached. Now it uses the output file instead of a memory file, answer 'a' when quickbms will ask you to overwrite the file.
Remember to use quickbms_4gb_files.exe.
PS: the problem with the over 2gb memory can be solved compiling quickbms with "-Wl,--large-address-aware", I will do it in the next version
- The following output file already exists: bundles\resistance.bndlxml05 Do you want to overwrite it? y = overwrite (you can use also the 'o' key) n = skip (default, just press RETURN) a = overwrite all the files without asking r = automatically rename the files with the same name s = skip all the existent files without asking
(remember that you are in append mode so be sure that the output folder was empty otherwise the new data will be appended to the existent files!) y