Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-b option for Mac OSX binary incorrectly appending target file to batch-out path #29

Open
DMHoodoo opened this issue Dec 30, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@DMHoodoo
Copy link

Using:
macOS Mojave 10.14.6

My scripts are located in: ./are-resources/scripts/*
My intended batchoutdir: ./compiled-resources/

Running the following command:
./nwnsc -Q -n "/Users/hok/Library/Application Support/Steam/steamapps/common/Neverwinter Nights" -i "are-resources/scripts" -b ./compiled-resources/ ./are-resources/scripts/gs_m_load.nss

Brings about the error:
Compiling: gs_m_load.nss
Error: Unable to open output file ./compiled-resources//are-resources/scripts/gs_m_load.ncs.

I was able to create a workaround by removing the ./ in the target file and creating a new directory: "compiled-resources/are-resources/scripts" and running the following command
./nwnsc -Q -n "/Users/hok/Library/Application Support/Steam/steamapps/common/Neverwinter Nights" -i "are-resources/scripts" -b ./compiled-resources/ are-resources/scripts/gs_m_load.nss

This actually output the .ncs in ./compiled-resources/are-resources/scripts/ instead of ./compiled-resources/ like I originally wanted. It retrieves the scripts fine from./are-resources/scripts/ so it seems like the batch-out option has a minor issue.

@jakkn jakkn added the help wanted Extra attention is needed label Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants