TR1X
TR1X copied to clipboard
Feature request: texture packs
Is there any plans to implement TR Xtra :HD textures packs like TombATI? Thanks
Currently there is no plan but it's good to have a ticket to track this. Thanks.
Would be neat to have this!
Is there a documentation of those texture packs? By looking the available texture packs, it seems to me that there are two formats, somehow called "TombATI" and "Glidos" formats. Intuitively, I suspect that an MD5 or something like that is calculated on the original texture and if the value matches with one provided by the texture pack, then the original bitmap is replaced with something else. But actually I have not found a description about the way they must work.
Is there a documentation of those texture packs? By looking the available texture packs, it seems to me that there are two formats, somehow called "TombATI" and "Glidos" formats. Intuitively, I suspect that an MD5 or something like that is calculated on the original texture and if the value matches with one provided by the texture pack, then the original bitmap is replaced with something else. But actually I have not found a description about the way they must work.
Idk if there's official documentation, but TR2Main apparently works similar to TombATI's implementation.
From what I read about it, in TR2Main you can make a folder called textures/texpages
. All custom texture pages are placed in there and TR2Main reads this folder and builds a new texture page. You need to get the game to read a page's hex code and replace the same one in the level file.
the docs on how they are made are here https://www.glidos.net/retext.html?lang=en#create but basically yes it makes a hash of the texture page, then when you select the texture it hashes what is uploaded, then it looks for a file with the hash name and references that file instead.
I'd prefer TR2Main approach as it's more scalable in my opinion. And easier to tinker with.