Skip to content

Keeps saying "Expecting XNB, found """ #67

Description

@Julio8632

Whenever I try unpacking a file, it says this:

C:\Users\insertmynamehere\Desktop>xnbcli.exe unpack ".\packed" ".\unpacked"
[INFO] Reading file "packed\Lex.xnb" ...
[ERROR] Filename: packed\Lex.xnb
XnbError: Invalid file magic found, expecting "XNB", found "▼"
at Xnb._validateHeader (C:\snapshot\xnbcli\app\Xnb\index.js:0:0)
at Xnb.load (C:\snapshot\xnbcli\app\Xnb\index.js:0:0)
at processUnpack (C:\snapshot\xnbcli\xnbcli.js:0:0)
at Walker.walker.on (C:\snapshot\xnbcli\xnbcli.js:0:0)
at Walker.emit (events.js:198:13)
at Object.emitSingleEvents [as emitNodeType] (C:\snapshot\xnbcli\node_modules\walk\lib\node-type-emitter.js:58:13)
at Walker._wLstatHandler (C:\snapshot\xnbcli\node_modules\walk\lib\walk.js:88:19)
at C:\snapshot\xnbcli\node_modules\walk\lib\walk.js:106:12
at FSReqWrap.oncomplete (fs.js:154:5)

Success 0
Fail 1

I saw a similar issue from a different person, I'm trying the same thing he/she was doing, extract a file from a game on steam, and turn it into a .png
I just don't understand how the .xnb file is "zipped". I can't extract the raw file any further, so how would I unzip it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions