Quickbms and Shadow of Mordor
Posted: Wed Oct 22, 2014 12:09 pm
first off, I'm not a bms-scriptor. end quote 
I've been working on this game lately, primarily writing batchfiles to ease export management (and some other similar stuff): see here (viewtopic.php?f=10&t=12035&start=60).
I was also interested to see if it could be possible to inject the embb-files back into the Arch05 files. Not that it would be important here, but I had [Watch Dogs] in mind. I had done some testing with that game, but needed some 'compressed' data info to get it going. And I thought that Quickbms could give me that info.
In short: I found what I needed, but now like to "extend" this a bit more.
Find attached a doc explaining what I did.
I just recap the questions/requests here:
1. can one redirect the "print" statement to a file (instead of screen now)
2. can one count/report the skipped chunk_blocks
3. why the difference of 8 bytes (offset address), and will it have an impact somewhere
4. can one derive the compression "settings/params" from an original compressed file
(and not just for zlib as in this case, but also for xbox compress, lzma, etc)
thx in advance for any input,
p
UPDATE: with the help from #aluigi, I got the 'redirect' solved (pt 1.) (script added)
I've been working on this game lately, primarily writing batchfiles to ease export management (and some other similar stuff): see here (viewtopic.php?f=10&t=12035&start=60).
I was also interested to see if it could be possible to inject the embb-files back into the Arch05 files. Not that it would be important here, but I had [Watch Dogs] in mind. I had done some testing with that game, but needed some 'compressed' data info to get it going. And I thought that Quickbms could give me that info.
In short: I found what I needed, but now like to "extend" this a bit more.
Find attached a doc explaining what I did.
I just recap the questions/requests here:
1. can one redirect the "print" statement to a file (instead of screen now)
2. can one count/report the skipped chunk_blocks
3. why the difference of 8 bytes (offset address), and will it have an impact somewhere
4. can one derive the compression "settings/params" from an original compressed file
(and not just for zlib as in this case, but also for xbox compress, lzma, etc)
thx in advance for any input,
p
UPDATE: with the help from #aluigi, I got the 'redirect' solved (pt 1.) (script added)