Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » High res textures
Re: High res textures [message #367477 is a reply to message #367476] Fri, 16 January 2009 00:24 Go to previous messageGo to previous message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma:
General (1 Star)
Nero wrote on Fri, 16 January 2009 01:14

Saberhawk wrote on Thu, 15 January 2009 22:15

Nero wrote on Thu, 15 January 2009 13:50

Hey everyone,

I was just trying something a short while ago. I wanted to see if Renegade supports High-Res textures like 1024x1024 and bigger. Unfortunately, when I replace the original textures with the high-res ones, Renegade either displays black textures or it will crash.

Then I asked Di3HardNL about it. He didn't seem to know anything about it either, but he said: 'Maybe you can change Renegade's texture settings in an .INI file or something.'

My question, does Renegade support textures this big. Else, how can I possibly fix this problem (I think Renegade should be able to support high-res textures).

BTW: I think Saberhawk might know the answer xD



You totally think right!

Texture size is limited by two things in Renegade. First is the maximum texture resolution supported by your video card. For most video cards, 2048x2048 is a safe best. That limitation however is done by your hardware and *not* Renegade. This brings us to limit #2, Renegade's texture loader. It's a two part loader. You have the thumbnail manager system (aka .thu files) which holds a "thumbnail" of the texture and relevant information such as the texture format and dimensions. Renegade loads the thu files every game start and makes attempts at updating it from what it can see. However, it tends to fetch that information from textures inside always.dat and the mix files. When it tries to load a texture and finds a loose file in the data folder which has a different size and/or format goes "Oh shit!" and simply aborts texture loading rather than try to fix things. The texture loader also doesn't understand texture formats other than DXT1-5 for dds files and downconverts all tga textures to 16 bit because of a registry setting which is set by default to 16.


So what you are trying to say is:

If I delete the .thu files and load the map, my textures won't be black anymore?

=============

I was just looking at my registry files, and I saw this key:

Texture_Resolution : REG_DWORD : 0x00000000(0)

What does that key mean? Has that something to do with it?


If you delete the thu files and load the map, your textures *should* be showing up, but this is Renegade Razz

As for the reg key, leave it alone. It's the "Texture Detail" slider in wwconfig and ingame configuration.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Swimming script
Next Topic: Hello ! Scripts doesn't show up in vista?
Goto Forum:
  


Current Time: Fri Dec 20 09:03:30 MST 2024

Total time taken to generate the page: 0.00739 seconds