Wwise-Unpacker icon indicating copy to clipboard operation
Wwise-Unpacker copied to clipboard

Error unpacking file - 'cant read XYZ from offset ABC'

Open kriegtiger opened this issue 2 years ago • 3 comments

Since the Doom Eternal soundtrack isn't available for purchase I was hoping to extract it from my game because the soundtrack freaking rocks. Ran across a post mentioning this project and was hopeful, but then ran into this error. Figured it would be worth mentioning to see if there's anything that can be done about it.

QuickBMS generic files extractor and reimporter 0.8.3
by Luigi Auriemma
e-mail: [email protected]
web:    aluigi.org
        (Jan 21 2018 - 15:18:31)

                   quickbms.aluigi.org  Homepage
                            zenhax.com  ZenHAX Forum
                               @zenhax  Twitter & Scripts

- start the scanning of the input folder: Game Files
- open input file C:\Users\dmnti\Desktop\Wwise-Unpacker-1.0.3\Game Files\.\.keep
- open script Tools\wavescan.bms
- set output folder Tools\Decoding

  offset   filesize   filename
--------------------------------------

- 0 files found in 0 seconds
  coverage file 0   100%   1          1          . offset 00000000
- open input file C:\Users\dmnti\Desktop\Wwise-Unpacker-1.0.3\Game Files\.\mus.pck
- open script Tools\wavescan.bms
- set output folder Tools\Decoding

  offset   filesize   filename
--------------------------------------

Error: incomplete input file 0: C:\Users\dmnti\Desktop\Wwise-Unpacker-1.0.3\Game Files\mus.pck
       Can't read 894983 bytes from offset 00088752.
       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 0   101%   567010     558930     . offset 00088752

Last script line before the error or that produced the error:
  62  log MEMORY_FILE OFFSET SIZE         # write file to memory

kriegtiger avatar Aug 17 '22 15:08 kriegtiger

As an alternative you can download the soundtrack from here https://downloads.khinsider.com/game-soundtracks/album/doom-eternal-original-game-soundtrack

mortalis13 avatar Aug 19 '22 13:08 mortalis13

As an alternative you can download the soundtrack from here https://downloads.khinsider.com/game-soundtracks/album/doom-eternal-original-game-soundtrack

True - and thank you for the link. Figured it was worth a shout-out to the devs though since it's a programmatic error though, might help for something in the long run.

kriegtiger avatar Aug 19 '22 21:08 kriegtiger

If there is an error parsing one file we should still continue with the rest of the files in /Game Files

Can we fix this by adding -. to quickbms as a command line arg?

CD-UNCC avatar Aug 16 '23 15:08 CD-UNCC