Minor bug with Ubisoft Massive SnowDrop Engine SDFTOC->SDFDATA script

Doubts, help and support about QuickBMS and other game research tools
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Minor bug with Ubisoft Massive SnowDrop Engine SDFTOC->SDFDATA script

Post by LolHacksRule »

The script is working perfectly from my testing but as of the latest update, the script always errors out after properly extracting the final file. This seems to occur on Mario + Rabbids and the Switch ver of South Park TFBW, but I haven't tested other SnowDrop games. It wouldn't make sense to provide sample files due everything extracted is accurate and it is just a bug with the script.

Code: Select all

Error: incomplete input file -1:
       Can't read 3 bytes from offset *.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file -1  100%!  *   *   . offset *

Last script line before the error or that produced the error:
  99  get fileId long MEMORY_FILE
  coverage file 0    *%   *    *    . offset 00000010
  coverage file 1     0%   116        *   . offset 00000000
  coverage file -1  100%!  *   *   . offset *
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Minor bug with Ubisoft Massive SnowDrop Engine SDFTOC->SDFDATA script

Post by aluigi »

As far as I remember that format and the script are a mess. Too messy for working on them again and that error may be caused by whoever knows what different field.