jakkn / nwn-devbase

Command line tool used to version control NWN module development
37 stars 17 forks source link

Path issues #31

Closed LordOfMyatar closed 4 years ago

LordOfMyatar commented 4 years ago

Trying to run this command: PS D:\Projects\LOM\lom> .\nwn-build.rb extract [ERROR] Cannot find nwn_erf (needed for packing and extracting). Is it on your PATH? [ERROR] Aborting.

I cannot find nwn_erf anywhere on my harddrive. I can find nwn-erf in the ruby folder. Am I missing something?

squattingmonk commented 4 years ago

nwn_erf is from neverwinter.nim rather than nwn-lib. You can install that, but I think you can also set ERF_UTIL to nwn-erf in your config.rb.in.

jakkn commented 4 years ago

Correct, nwn_erf is from the nim tools that offer a performance benefit compared to the ruby tools, with the downside of needing both. I had planned to move on to nim only, but yaml support dragged on. You can configure devbase to use nwn-erf if you want.

If ruby tools is too slow you can configure to use nim tools only, at the cost of json instead of yaml. Shout out if you need a hand and I can provide an example.

I'll close the issue for now since it's caused by environment configuration, but feel free to continue the conversation if you have further questions.