CleanTF2plus icon indicating copy to clipboard operation
CleanTF2plus copied to clipboard

Add the ability to choose the resolution of the output textures when selecting the grainy ones

Open micwoj92 opened this issue 4 years ago • 4 comments

So for example when on sv_pure it wont be 1x1, but 4x4.

micwoj92 avatar Jul 10 '20 02:07 micwoj92

The scripts internally do support this, but currently it's not a user-facing option in the generator.bat/sh. The reason I didn't make it an option was that it was a bit difficult to figure out a good way to word the prompt, and it has to enforce the texture sizes be a power of 2 as well.

You can manually change the 1 in lines 179-180 (https://github.com/JarateKing/CleanTF2plus/blob/master/generate.bat#L179) in the meantime.

JarateKing avatar Jul 10 '20 10:07 JarateKing

Hi, thanks for response. I figured that option out. Is there any future roadmap for this project?

micwoj92 avatar Jul 10 '20 11:07 micwoj92

If there's some promising leads / debug info for why the texture generation it can break for some people, that's priority number 1.

Until then though I'm not actively working on it.

JarateKing avatar Jul 10 '20 12:07 JarateKing

The scripts internally do support this, but currently it's not a user-facing option in the generator.bat/sh. The reason I didn't make it an option was that it was a bit difficult to figure out a good way to word the prompt, and it has to enforce the texture sizes be a power of 2 as well.

You can manually change the 1 in lines 179-180 (https://github.com/JarateKing/CleanTF2plus/blob/master/generate.bat#L179) in the meantime.

You could probably use the modulo operator, %% for batch and % for bash. E.g. resolution%2 = 0 if it is a power of 2.

Pyogenics avatar Jun 26 '23 21:06 Pyogenics