SamuKata
FluffyQuack
FluffyQuack

patreon


REtool v0.206 - Automatic texture resolution reduction

 Uploaded new version: fluffyquack.com/tools/REtool.rar 

 v0.206 changes:
- Added "texInfo [file]" command for outputting all header info from a TEX file.

- Added "texReduce [file]" command for reducing the resolution of a TEX file. By default it will get divided by 4 (ie, 2048x2048 > 512x512) and the flags value in the header will be modified to include the "low res texture" flag so it can be used as non-stream texture. This is a good method for easily making lowres variants of textures when packaging a mod. Note that this only works with textures containing multiple mipmaps. When using this function, the new small texture will have "-small" added to its filename.

- Added "texReduceBy [#]" command for overriding the above default for texture resolution reduction. I recommend 4 as that's what Capcom seems to use for most or all textures. 

More usage information is available here: https://residentevilmodding.boards.net/thread/10567/pak-tex-editing-tool  

I eventually want to get to the point where you can create textures from scratch rather than having to use an existing texture as base. But problem is that there are unknown values within the TEX header (mostly within the flags value, where I only know one flag so far which is the "low res texture" flag).

I also want to add the ability to be able to replace image data in a texture using any number and resolution of mipmaps. This shouldn't too hard, I just need to figure out how one value is calculated.


More Creators