Comments (3)
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.
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.
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)
- nwn_script_comp: Too many open files
- nwn_script_comp: Allow case-insensitive script parsing HOT 3
- Script comp fails on PRC includes HOT 1
- nwn_script_comp: v1.7.1 doesn't properly utilize threads HOT 2
- nwn_script_comp: Existing but null/empty include files trigger an "ERROR: FILE NOT FOUND" when compiling the script HOT 1
- nwn_script_comp: Mismatched data type between function declaration and implementation is not properly detected
- scriptcomp: Ability to emit warnings
- nwn_script_comp: type mismatch on assignment isn't detected in non-void-main and non-starting-conditional scripts
- nwn_script_comp: Wrong error type detected upon using an unknown identifier as an if() argument
- Error when using a positive value with the + sign HOT 1
- nwn_nwsync_write throw error about size HOT 1
- nwn_script_comp: Issues building on Windows 10 and not picking up $NWN_ROOT and $NWN_HOME environment variables on WSL2 HOT 2
- Windows releases have double ".exe.exe" extensions HOT 3
- Install Error: cannot open file: std/db_sqlite HOT 2
- NWN_GFF Assert Defects with gff output in stdout [Windows] HOT 3
- nwn_script_comp: Illegal storage access
- scriptcomp: ERROR: "for" STATEMENT CANNOT BE FOLLOWED BY A NULL STATEMENT.
- nwn_script_comp: Info level logs sent to stderr instead of stdout in node HOT 6
- nwn_script_comp: Custom directories for includes doesn't seem to be supported HOT 2
- nwn_script_comp: Cannot compile an include file on its own HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neverwinter.nim.