TR1X icon indicating copy to clipboard operation
TR1X copied to clipboard

Feature request: texture packs

Open Soupdragon1 opened this issue 3 years ago • 6 comments

Is there any plans to implement TR Xtra :HD textures packs like TombATI? Thanks

Soupdragon1 avatar Jan 17 '22 16:01 Soupdragon1

Currently there is no plan but it's good to have a ticket to track this. Thanks.

rr- avatar Jan 18 '22 19:01 rr-

Would be neat to have this!

wefalltomorrow avatar Mar 04 '22 14:03 wefalltomorrow

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.

carlo-bramini avatar Feb 25 '23 14:02 carlo-bramini

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.

image

walkawayy avatar Feb 26 '23 16:02 walkawayy

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.

oziphantom avatar Feb 26 '23 16:02 oziphantom

I'd prefer TR2Main approach as it's more scalable in my opinion. And easier to tinker with.

rr- avatar Mar 01 '23 20:03 rr-