Dialogue files not packing correctly

Discussion in 'Mods' started by hojichas, Jul 15, 2017.

  1. hojichas

    hojichas Space Spelunker

    I was editing several dialogue files, and only Alex.yaml managed to pack, while the rest got this error:
    Code:
    Z:\Users\hoji\Desktop\ModTool>xnb_node pack 2unpacked/ 2packed/
    
    fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv4 not supported in this platform
    
    fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
    
    fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv6 not supported in this platform
    
    fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
    
    fixme:ver:GetCurrentPackageId (0x119f638 0x0): stub
    
    fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
    
    fixme:toolhelp:Heap32ListFirst : stub
    
    fixme:ntdll:EtwEventRegister ({77754e9b-264b-4d8d-b981-e4135c1ecb0c}, 0x48dea0, 0x0, 0xf1ef68) stub.
    
    fixme:ntdll:NtQueryVolumeInformationFile 0x90: volume info not supported
    
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    
    fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x10001123, 0x10021018, 0x10021030) stub.
    
    fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x1001ea78, 43) stub
    
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    
    fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x3d1123, 0x3f2010, 0x3f2028) stub.
    
    fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x3ef3b8, 43) stub
    
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    
    fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
    
    2unpacked\NPCDispositions.yaml
    
    Z:\Users\hoji\Desktop\ModTool\xnb-node\main.js:65
    
                    throw e;
    
                    ^
    
    
    SyntaxError: Unexpected end of input
    
        at Object.parse (native)
    
        at getValue (Z:\Users\hoji\Desktop\ModTool\xnb-node\typeyaml.js:203:18)
    
        at getObject (Z:\Users\hoji\Desktop\ModTool\xnb-node\typeyaml.js:180:21)
    
        at getObject (Z:\Users\hoji\Desktop\ModTool\xnb-node\typeyaml.js:182:21)
    
        at Object.parse (Z:\Users\hoji\Desktop\ModTool\xnb-node\typeyaml.js:222:12)
    
        at packXnb (Z:\Users\hoji\Desktop\ModTool\xnb-node\main.js:50:25)
    
        at Z:\Users\hoji\Desktop\ModTool\xnb-node\main.js:60:16
    
        at Walker.<anonymous> (Z:\Users\hoji\Desktop\ModTool\xnb-node\main.js:100:13)
    
        at emitThree (events.js:110:13)
    
        at Walker.emit (events.js:188:7)
    
    fixme:msvcrt:__clean_type_info_names_internal (0x349348) stub
    
    fixme:ntdll:EtwEventUnregister (deadbeef) stub.
    
    fixme:ntdll:EtwEventUnregister (0) stub.
    
    fixme:ntdll:EtwEventUnregister (deadbeef) stub.
    
    fixme:ntdll:EtwEventUnregister (0) stub.
    These were very simple dialogue edits (changing names & pronouns, nothing major), and I can't really understand what went wrong in the packing process, especially since I got Alex's file to work properly. Thanks for looking!
     
    • MysticTempest

      MysticTempest Scruffy Nerf-Herder

      It looks like a formatting error. That message on the lower half of the output:
      "throw e; SyntaxError: Unexpected end of input"

      Double check your edited yaml files for any missing exclamation marks, and especially double check your quotation marks too, spaces; etc.
      If you need help looking them over feel free to send them my way.
       
      • hojichas

        hojichas Space Spelunker

        @MysticTempest Here's Vincent's file; I just changed "brother" to "sister", since I'm using a genderbent Sam portrait. Perhaps it's the formatting that's wrong, since I can't seem to find the error.

        Thank you so much for the help!
         

          Attached Files:

        • MysticTempest

          MysticTempest Scruffy Nerf-Herder

          Thanks, that one looks fine. It packed by itself; when I tested it.
          What about that "NPCDispositions.yaml" one mentioned before the crash?

          I haven't seen XNBnode do it's thing alphabetically, but XNBnode might be hitting that one & crashing before it can get to some of your dialogue files.
           
          • hojichas

            hojichas Space Spelunker

            @MysticTempest Ah, I figured it out! The text editor I was using kept changing the quotation marks to different symbols. I've managed to repack all the files. Thanks again for the help! c:
             

            Share This Page