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

[scriptdocs] Path references are incorrect #1962

Open
oznogon opened this issue Apr 8, 2023 · 0 comments · May be fixed by #1963
Open

[scriptdocs] Path references are incorrect #1962

oznogon opened this issue Apr 8, 2023 · 0 comments · May be fixed by #1963

Comments

@oznogon
Copy link
Contributor

oznogon commented Apr 8, 2023

@daid via Discord:

Audio can be in /scripts/audio/ as well. Nothing is special about /resources/ or scripts, both paths get searched.

Yes, resources, then scripts then packs. The order in which resource providers get build in main.cpp

Remove or correct scripting docs references to specific paths that suggest either resources/ or scripts/, which are incorrect.

Document the full traversal order in the wiki for reference:

if mod=something, then ~/.emptyepsilon/resources/mods first if $HOME is defined, then packs in ~/.emptyepsilon/resources/mods, then resources/mods, then packs in resources/mods, then resources/, then scripts/, then packs/, then if $HOME is defined then ~/.emptyepsilon/resources, then ~/.emptyepsilon/scripts, then packs in ~/.emptyepsilon/packs, and then if there's a RESOURCE_BASE_DIR defined then resources and scripts and packs in there

then EE checks that same list, in the same order, for a corresponding locale subdirectory for the main .po files

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 a pull request may close this issue.

1 participant