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

modelviewer doesn't load models added after starting #229

Open
hemebond opened this issue Oct 26, 2023 · 3 comments
Open

modelviewer doesn't load models added after starting #229

hemebond opened this issue Oct 26, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@hemebond
Copy link

modelviewer will only load models (mdl) if the model was there when FTEQW was started; even though it can "see" the model, and even suggests it. It will just return an error:

]/modelviewer monster.mdl
Unable to load monster.mdl
@eukara
Copy link
Contributor

eukara commented Oct 26, 2023

A workaround for this is to issue fs_restart before attempting to load the model.

@eukara eukara added the bug Something isn't working label Oct 26, 2023
@Shpoike
Copy link
Contributor

Shpoike commented Oct 30, 2023

hemebond, what do you propose? to do an fs_restart;vid_reload;snd_restart every time the user alt-tabs back, to reload any pk3s or models/textures or sounds that they moved around?...

If you don't like FTE's behaviour, just seta fs_cache 0; cfg_save once.
this will of course make it case-sensitive on linux and harm load times on windows, which should highlight WHY FTE behaves the way it does.
I did try adding file monitoring stuff, but I couldn't get it to behave properly (stupid stuff like no relative paths etc).

@hemebond
Copy link
Author

hemebond, what do you propose?

The main reason for raising it as an issue is that the inconsistent behaviour causes confusion. FTE could see the model, and prompted me to load it, and then told me it couldn't load it. That made me think the model was broken or in the wrong directory.

I moved the .mdl into several other directories before realising it would load it if I restarted FTE (obviously I know nothing about fs_cache at this point).

In my opinion, if modelviewer won't load it because it's not in the file cache, it should not show it as an option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants