Stardew valley : xnb node pack error

Discussion in 'Mods' started by Drei6, Apr 26, 2020.

  1. Drei6

    Drei6 Void-Bound Voyager

    So I'm trying to make a custom portrait using photoshop and cmd like I was made from 1 years ago

    I'm trying to use this command "xnb_node.cmd extract content (folder name) " and it went well

    But when I try to pack a yaml file into xnb file using "xnb_node.cmd pack content (folder name)" it got error like this.

    throw e;

    SyntaxError: Unexpected token M
    at Object.parse (native)
    at getValue (D:\xnb\app\typeyaml.js:203:18)
    at getObject (D:\xnb\app\typeyaml.js:180:21)
    at getObject (D:\xnb\app\typeyaml.js:182:21)
    at Object.parse (D:\xnb\app\typeyaml.js:222:12)
    at packXnb (D:\xnb\app\main.js:50:25)
    at D:\xnb\app\main.js:60:16
    at Walker.<anonymous> (D:\xnb\app\main.js:100:13)
    at emitThree (events.js:110:13)
    at Walker.emit (events.js:188:7)

    Does anyone know how to fix this?
    Ps.Sorry for my bad english btw

    Never mind I think i figure it out.
      Last edited by a moderator: Apr 26, 2020
    • Wingyl

      Wingyl Scruffy Nerf-Herder

      Yeah, XNB modding isn't really supported anymore; use Content Patcher instead, which doesn't require you to repack the files into XNBs
        Drei6 likes this.
      • lovemoon

        lovemoon Space Spelunker

        How did you fix that problem?
        I have exactly the same problem..........
        • Wingyl

          Wingyl Scruffy Nerf-Herder

          Use Content Patcher, which doesn't require you to pack your files into XNBs.

          Share This Page