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 01-11-19, 07:12 AM   #1
Badileus
Watch
 
Join Date: Dec 2018
Posts: 18
Downloads: 12
Uploads: 0
Default

Hi gap,

thanks for your reply. Here is the other dds-file:

https://www.dropbox.com/s/pxyzpos1as...R8C_2.dds?dl=0

With the "other plates" i mean these (for example), they seem to be individual plates:

https://imgur.com/a/spXpLxn

I followed your advice and saved the dds as you said, but when saving i got the message "image width and height must be multiple of four". Indeed the dds-files have all the width of 2047. I boldly changed it to 2048, but then in the game i get this:

https://imgur.com/a/zQfKPpd

So the area the game takes for the plates from the file is now double the width as before. I used a clean copy of the file. Are you sure with choosing "Generating MIP-Maps" and not "Using existing MIP-Maps"? I am not an expert in this, certainly you know what i did wrong...
Badileus is offline   Reply With Quote
Old 01-11-19, 11:23 AM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Badileus View Post
thanks for your reply. Here is the other dds-file:

https://www.dropbox.com/s/pxyzpos1as...R8C_2.dds?dl=0
I got the file, thank you too


Quote:
Originally Posted by Badileus View Post
With the "other plates" i mean these (for example), they seem to be individual plates:

https://imgur.com/a/spXpLxn
In which room?

Quote:
Originally Posted by Badileus View Post
I followed your advice and saved the dds as you said, but when saving i got the message "image width and height must be multiple of four". Indeed the dds-files have all the width of 2047. I boldly changed it to 2048, but then in the game i get this:

https://imgur.com/a/zQfKPpd

So the area the game takes for the plates from the file is now double the width as before. I used a clean copy of the file. Are you sure with choosing "Generating MIP-Maps" and not "Using existing MIP-Maps"? I am not an expert in this, certainly you know what i did wrong...
Stock CR9C2.dds is 512 x 512. The textures you sent me double this resolution to 1024 x 1024. Where is this 2047-pixel width coming from?

You can resize game textures, but you need to keep the same width/height ratio as in stock textures (or redo the UV mapping of the objects using those textures). Moreover, if you want to save the resized textures as signed DDS images, both width and height must be multiple of four. This is because the DDS compression uses groups of 4x4 pixel as compression unit.
Mipmaps are a series of pre-rendered copies of the main texture with progressively lower resolutions. They are useful in 3D imaging because they relieve the GPU from having to resample the textures in real time, when (during gameplay) the said texture is seen from a distance. If a texture is edited, it is a good rule to recalculate its MIP levels before saving, otherwise what you see at close and far distance won't match each other
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 01-11-19, 01:18 PM   #3
Badileus
Watch
 
Join Date: Dec 2018
Posts: 18
Downloads: 12
Uploads: 0
Default

This device is in the CR, to the left of the depth gauges and diving plane control.


When i open a dds-file with my photoshop plugin (choosing "default size" and "load MIP-Maps"), i get this:


https://imgur.com/a/VAuGO58


I thought it is normal, so that the textures for the different distances can be changed. And how many bpp shouldt it have? Here it has 8 bpp, but when i open it with IrfanView it tells me 24 or 32 bpp. I am a bit confused...
Badileus is offline   Reply With Quote
Old 01-11-19, 01:41 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Badileus View Post
This device is in the CR, to the left of the depth gauges and diving plane control.
Okay, found them. Their labels are in Uboat7_CT.dds

Quote:
Originally Posted by Badileus View Post
When i open a dds-file with my photoshop plugin (choosing "default size" and "load MIP-Maps"), i get this:


https://imgur.com/a/VAuGO58


I thought it is normal, so that the textures for the different distances can be changed. And how many bpp shouldt it have? Here it has 8 bpp, but when i open it with IrfanView it tells me 24 or 32 bpp. I am a bit confused...
Okay. Before a dds file is loaded, you should be prompted with a loading option menu. You should uncheck the option 'load MIP maps', and when you save, choose to (re)generate them. In this way, whatever change you have done to the texture, its MIP maps will be always updated with your changes
__________________
_____________________
|May the Force be with you!|
...\/

Last edited by gap; 01-11-19 at 02:47 PM.
gap is offline   Reply With Quote
Old 01-12-19, 07:59 AM   #5
Badileus
Watch
 
Join Date: Dec 2018
Posts: 18
Downloads: 12
Uploads: 0
Default

Thanks gap, I think I got the meaning of MIP-Maps now. It works now. Perhaps I try to play around a bit with TDW´s GR2-Editor, is there a good tutorial for beginners? But maybe this is too advanced for me...
Badileus is offline   Reply With Quote
Old 01-12-19, 02:08 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Badileus View Post
Thanks gap, I think I got the meaning of MIP-Maps now. It works now.


Quote:
Originally Posted by Badileus View Post
Perhaps I try to play around a bit with TDW´s GR2-Editor, is there a good tutorial for beginners?
I am afraid not. You can read its thread, start messing with it, and ask here in case you need help

Quote:
Originally Posted by Badileus View Post
But maybe this is too advanced for me...
Not that advanced, but you need to be familiar with 3D modelling and texturing in general and with the relevant terminology. Moreover, GR2 Editor is an unfinished tool: dpending on the GR2 file you want to edit, some ot its function might not work, work in a different way than supposed or even corrupt the file.

A bit annoying but nothing impossible though, and again, you can always ask for help.
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 01-13-19, 07:41 AM   #7
Badileus
Watch
 
Join Date: Dec 2018
Posts: 18
Downloads: 12
Uploads: 0
Default

I still have a little problem with my modified plates: They all work fine save one in the CR (from file CR9C_2.dds), image below. Ingame it looks ok from the right, but viewed from the left you can see the old label, mixed with the new one. These views are from the same distance! And it doesn´t change if i look from further away.


https://imgur.com/a/wMQMbig


I noticed, when i open this file with IrfanView (ver. 4.30), the changed labels look mixed up. Does this mean anything? What does the 24 bpp at the bottom mean? I thought I saved the file with 8 bpp.


https://imgur.com/a/E5NzUD9


By the way, there is another file with obviously unused plates (CR9C_8.dds), this time with mostly not TDC-terms, which couldt be useful for several devices. Even one with "Spannungsregler" (the term i used myself for the EER-plates) i found there, although spelled wrong. Don´t know if this file is a stock one or from some other interior mod. Here it is:


https://www.dropbox.com/s/1a0tt8keob...R9C_8.dds?dl=0
Badileus 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 07:13 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.