Open Sewer56 opened 5 months ago
Applies to R3 and mods.
For example Riders.Tweakbox has a DirectX9 texture injector, this injector is generic, eventually this will be a standalone R3 mod, and possibly support other APIs.
In any case, an idea there is not to hash the entire file, but a subset of it.
4096 bytes is probably a decent starting point, assuming BC7 or DXT3/5 at 1 byte per pixel, this covers effectively a whole row (in pixel count) of a 4096x4096 texture.
Applies to R3 and mods.
For example Riders.Tweakbox has a DirectX9 texture injector, this injector is generic, eventually this will be a standalone R3 mod, and possibly support other APIs.
In any case, an idea there is not to hash the entire file, but a subset of it.
4096 bytes is probably a decent starting point, assuming BC7 or DXT3/5 at 1 byte per pixel, this covers effectively a whole row (in pixel count) of a 4096x4096 texture.