SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-15-11, 11:10 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SteelViking View Post
Like I said, I made this change in Zedi's campaign files, and I did not see a difference. But, I would think things might run smoother if we were in fact pointing to the correct texture file.
Game engine doesn't care. If it can't find .tga and there is a .dds available (same name) it will use it. If both are available it will use the .dds.

I left the ships with Zedi's campaign as .tga in case someone wanted to use .tgas instead of .dds. Remember .dds is a compressed format that has to be uncompressed. TGA is not.
TheDarkWraith is offline   Reply With Quote
Old 05-15-11, 11:13 PM   #2
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Quote:
Originally Posted by TheDarkWraith View Post
Game engine doesn't care. If it can't find .tga and there is a .dds available (same name) it will use it. If both are available it will use the .dds.

I left the ships with Zedi's campaign as .tga in case someone wanted to use .tgas instead of .dds. Remember .dds is a compressed format that has to be uncompressed. TGA is not.
I figured the game engine didn't really have problem with seeing the wrong file extension since it still renders the textures, but I don't see why we should be telling it the wrong one when we know exactly what it is. It is one more operation for the game engine to deal with......

Edit: Also, .dds files only get compressed if you tell GIMP to compress them, otherwise it leaves them uncompressed. Where as Photoshop requires them to be compressed.....just one of the reasons I will never switch to Photoshop.

2nd Edit: Just look at my interior mod, I didn't compress any of the textures because .dds compression damages images.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 05-15-11, 11:15 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SteelViking View Post
I figured the game engine didn't really have problem with seeing the wrong file extension since it still renders the textures, but I don't see why we should be telling it the wrong one when we know exactly what it is. It is one more operation for the game engine to deal with......
Not really. All of that is loaded/figured out at game start. If you think it's doing it dynamically then pick a texture and change it while in game. See if the game engine uses the new texture.
TheDarkWraith is offline   Reply With Quote
Old 05-15-11, 11:18 PM   #4
brett25
Seasoned Skipper
 
Join Date: Mar 2008
Location: Oakland CA, USA
Posts: 737
Downloads: 570
Uploads: 0
Default

thanks for this excellent mod
brett25 is offline   Reply With Quote
Old 05-15-11, 11:20 PM   #5
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Quote:
Originally Posted by TheDarkWraith View Post
Not really. All of that is loaded/figured out at game start. If you think it's doing it dynamically then pick a texture and change it while in game. See if the game engine uses the new texture.
Good point, wasn't thinking about it in terms of program overhead, but still. We know we are dealing with .dds files, why not tell it to look for a .dds? I just don't see an advantage.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 05-15-11, 11:22 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SteelViking View Post
Good point, wasn't thinking about it in terms of program overhead, but still. We know we are dealing with .dds files, why not tell it to look for a .dds? I just don't see an advantage.
The only advantage I see to leaving them as .tga is so that users who can't make .dds files can still make .tga files for them. Trying to cater to the broadest range of users is why I left them as .tga.
TheDarkWraith is offline   Reply With Quote
Old 05-15-11, 11:29 PM   #7
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Quote:
Originally Posted by TheDarkWraith View Post
The only advantage I see to leaving them as .tga is so that users who can't make .dds files can still make .tga files for them. Trying to cater to the broadest range of users is why I left them as .tga.
Anyone who can make .tga files can make .dds files. If they can't, as in they don't have the right GIMP plug in, they can ask me for it, I will give it to them.

Edit: I really think we need to strive to clean up our mods, that is make them as stable as possible. Leaving loose ends like file extensions that are not correct seems like an unnecessary risk. But, I don't wish to argue, if this how everyone wants them left, so be it.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:11 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.