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

Alternative models? #7

Open
YellowOnion opened this issue Jul 7, 2022 · 4 comments
Open

Alternative models? #7

YellowOnion opened this issue Jul 7, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@YellowOnion
Copy link

Hey, so I think the weapon textures look great, but the world textures can look a bit weird in some situations.

As mentioned in another issue, some textures are rather noisy, and I wonder if some of the dedither models could help here, the 4xFSDedither variants look pretty good, https://upscale.wiki/wiki/Model_Database#Dithering

There's also the HDCube scaler looks promising.

I'm on AMD and Linux so I'm not really sure how to extract textures from Q2 or run pytorch on my hardware, I would love to do some comparisons otherwise.

@Calinou Calinou added the enhancement New feature or request label Jul 7, 2022
@Calinou
Copy link
Owner

Calinou commented Jul 7, 2022

Related to #4.

Feel free to experiment with other models, but it's important that the sense of detail and "grittiness" is not lost on the world textures. As for skies, I think running a simple denoising pass would do the trick. I used GIMP's denoising filter for the weapon textures, but I haven't found a way to run it automatically on all textures.

I'm on AMD and Linux so I'm not really sure how to extract textures from Q2 or run pytorch on my hardware, I would love to do some comparisons otherwise.

You can run https://github.com/joeyballentine/ESRGAN on the CPU with the --cpu command line argument. It'll be slower compared to running it on a GPU, but it should still complete 🙂

https://github.com/joeyballentine/ESRGAN also has options to handle seamless textures and transparency, so it should be much more convenient compared to https://github.com/xinntao/ESRGAN.

@YellowOnion
Copy link
Author

Is wally the only app available for texture extraction? might have to use wine which I would rather not.

@Calinou
Copy link
Owner

Calinou commented Jul 9, 2022

Is wally the only app available for texture extraction? might have to use wine which I would rather not.

I used SLADE to export folders of textures within the PAKs to PNG images. It works well, but unfortunately, you have to extract them folder-by-folder as I couldn't find a way to do it recursively. This was back in December 2019, so maybe it changed since then.

@JH828
Copy link

JH828 commented Oct 8, 2023

Wouldn't play Q2 without this mod. But maybe it can be improved.
I'd go with Real-ESRGAN which is newer and much faster, run the realesrgan-4xplus and then realesrgan-4xplus-anime on the first upscale if things end up blurry, then downscale if needed. But there are newer models available out there, up to you ofc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants