-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add support for loading JKA assets. #159
Commits on Mar 19, 2023
-
Add support for loading JKA assets:
- new cvar fs_assetsPathJKA; works similar to fs_assetsPath, but automatically tries to detect jka rather than jk2 (using registry keys on Windows and known paths on Mac) - new cvar fs_noJKA; disables loading of jka assets - jka assets are loaded before jk2 assets, thus jk2 files take precedence in case of conflicts - .shader files from jka assets are virtually renamed to .shader_jka and .shader_jka files are loaded with lower priority than .shader files - when trying to load an image the renderer tries to load all extensions without considering the jka assets and only includes jka assets if all extensions failed; this avoids cases of a higher priority extension images from the jka assets overriding jk2 images
Configuration menu - View commit details
-
Copy full SHA for 51ed961 - Browse repository at this point
Copy the full SHA 51ed961View commit details
Commits on Apr 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0614c82 - Browse repository at this point
Copy the full SHA 0614c82View commit details -
Replace FS_AddGameDirectory2 with FS_AddAssetsDirectoryJK2 and FS_Add…
…AssetsDirectoryJKA.
Configuration menu - View commit details
-
Copy full SHA for 2e4166d - Browse repository at this point
Copy the full SHA 2e4166dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecd871d - Browse repository at this point
Copy the full SHA ecd871dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4bc09f - Browse repository at this point
Copy the full SHA b4bc09fView commit details -
Make fs_assetspathjka and fs_loadjka cvars lowercase to be more consi…
…stent with existing cvars.
Configuration menu - View commit details
-
Copy full SHA for 0d68927 - Browse repository at this point
Copy the full SHA 0d68927View commit details
Commits on Apr 30, 2023
-
Fix fs_loadjka check being inverted (forgot to invert it when renamin…
…g the cvar from fs_noJKA to fs_loadJKA).
Configuration menu - View commit details
-
Copy full SHA for de3d8b3 - Browse repository at this point
Copy the full SHA de3d8b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 775cd2f - Browse repository at this point
Copy the full SHA 775cd2fView commit details -
If fs_basejka is not explicitly set as launch argument: - if fs_assetspathjka is set on launch (either manually or via detection for non-portable versions) the fs_basejka cvar is set to "base" - if fs_assetspathjka is not set on launch the fs_basejka cvar is set to "basejka" to make it easier to manually provide assets
Configuration menu - View commit details
-
Copy full SHA for e6804b6 - Browse repository at this point
Copy the full SHA e6804b6View commit details
Commits on May 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a8ba864 - Browse repository at this point
Copy the full SHA a8ba864View commit details