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

extension independent sound file path to be able to update res-packages with new format #642

Closed
illwieckz opened this issue Feb 28, 2015 · 3 comments
Labels
A-Audio T-Improvement Improvement for an existing feature

Comments

@illwieckz
Copy link
Member

Hi, it's not a bug, it's a feature request! 😃

You know, the texture shader path is extension independent. You can ship a tex-package_1.pk3 containing shaders with .tga extension then you can replace it by a tex-package_2.pk3 with shaders with .crn extension without breaking maps that depend on this shaders.

But if you ship a tex-package_1.pk3 with .wav sound files, then you replace it with a tex-package_2.pk3 with .opus sound files, you must rebuild all the maps that depends on it because the sound file path is extension dependant.

I read somewhere that you want to have sound shaders, but before that and without that, having a extension independant sound file path will be a great improvement 👍

@DolceTriade DolceTriade added A-Audio T-Improvement Improvement for an existing feature labels Feb 28, 2015
@Viech
Copy link
Member

Viech commented Mar 1, 2015

Do not put .wav files in a tex- package, the prefix is for texture packages only. (Actually it should only be used for well-formated texture packages as we might be more strict about the file hierarchies inside map- and tex- packages in the future.) Maybe use res- as a prefix for generic map resources.

@illwieckz
Copy link
Member Author

hmmm, OK, because I need to create a common packages with many files, not only textures, and they are messy like Tremulous was…

@illwieckz illwieckz changed the title extension independent sound file path to be able to update tex-packages with new format extension independent sound file path to be able to update res-packages with new format Mar 3, 2015
@illwieckz
Copy link
Member Author

We need this to be able to build against lossless assets and ship lossy assets without having to patch the entities lump inside the bsp.

Building against lossless assets is needed in some case (like alphashadow textures), so it must be allowed in general. All convert-able assets must be extension independent.

illwieckz added a commit to illwieckz/Unvanquished that referenced this issue Jul 19, 2015
illwieckz added a commit to illwieckz/Unvanquished that referenced this issue Jul 20, 2015
DolceTriade added a commit that referenced this issue Jul 26, 2015
allow extension independent soundfile path, fix #642
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Audio T-Improvement Improvement for an existing feature
Projects
None yet
Development

No branches or pull requests

3 participants