Git Product home page Git Product logo

Comments (3)

nwngracken avatar nwngracken commented on August 29, 2024

I built niv/neverwinter_utils.nim in debug mode (I think) using this build.sh:

#!/bin/bash

set -e

pushd src
for v in *.nim; do
  echo "Building: $v"
  nim -o:"../bin/$(basename $v .nim)" -d:debug c $v
done
popd

Here's the result of trying to extract the same module with nwn_erf:

gracken@XXXX ~/git/nwn-devbase $ nwn_erf -x -f server/modules/v4_33.mod
nwn_erf.nim(78)          nwn_erf
nwn_erf.nim(52)          openErf
erf.nim(78)              readErf
resref.nim(25)           newResRef
Error: unhandled exception: '' is not a valid resref [ValueError]

from neverwinter.nim.

niv avatar niv commented on August 29, 2024

This appears to be erf files containing invalid entries (empty resref). I've pushed a quick fix, see if you can now extract your .mod.

Make sure to pull the latest from git, with submodules (git pull --recurse)

from neverwinter.nim.

nwngracken avatar nwngracken commented on August 29, 2024

I can, thank you!

New output:

W [2018-04-15T04:59:02] erf file contains entry with invalid resref at index 7511: '.0' is not a valid resref; rewritten to 'invalid_7511.0'

from neverwinter.nim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.