Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kriegtiger opened this issue Aug 17, 2022 · 3 comments
Open

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

kriegtiger opened this issue Aug 17, 2022 · 3 comments

Comments

@kriegtiger
Copy link

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
@mortalis13
Copy link

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

@kriegtiger
Copy link
Author

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.

@CD-UNCC
Copy link

CD-UNCC commented Aug 16, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants