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

Implement using a custom, user-specified fmod dll path #45

Merged
merged 3 commits into from
Oct 16, 2022

Conversation

K0lb3
Copy link
Contributor

@K0lb3 K0lb3 commented Oct 13, 2022

This PR implements a way to specify the fmod lib that pyfmodex should load.
It does so by using the environment variables. If PYFMODEX_DLL_PATH is set as environment variable, then pyfmodex will load the fmod lib from the value of this environment variable. If PYFMODEX_DLL_PATH is not set, then the default lookup code is used. Therefore this PR doesn't break existing code.

It resolves #44

(This has to be added as note to the merged PR details.)

@K0lb3
Copy link
Contributor Author

K0lb3 commented Oct 13, 2022

Based on a quick test I made locally,
it works for Win x64 and Linux x64.
So considering the overall simplicity,
I assume that it works for other archs and Mac as well.

@tyrylu tyrylu merged commit 71e3f31 into tyrylu:master Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom FMOD lib path
2 participants