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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-12-14, 06:02 PM   #1
TG626
Lieutenant
 
Join Date: Jan 2014
Location: USS Seal - Somewhere in the Pacific
Posts: 268
Downloads: 141
Uploads: 3
Default Looking for some Technical help.

I've discovered S3D Silent 3ditor and I'm picking through the files...

I noticed the following WTF in CaptainRoom.dat

in Node - ID13 (which is the "captains photo" on your desk) the texture listed is "oficer.tga" (yes it's actually misspelled) but the texture displayed in game is "CaptainPicture/picture.tga"

Why?

There is an oficer.tga in the textures directory, but I've never seen it in game.

Also, how does the game know to get a .dds file rather then a .tga (I'm guessing it's in the engine, based on detail settings)
__________________
T. E. Thompson, LTCDR
Commanding Officer, U.S.S. Seal (formerly S-40 (SS-145))
TG626 is offline   Reply With Quote
Old 02-12-14, 09:55 PM   #2
aanker
Pacific Thunder
 
aanker's Avatar
 
Join Date: Apr 2004
Location: Yellow Sea
Posts: 1,896
Downloads: 236
Uploads: 14


Default

Quote:
Originally Posted by TG626 View Post
I've discovered S3D Silent 3ditor and I'm picking through the files...

I noticed the following WTF in CaptainRoom.dat

in Node - ID13 (which is the "captains photo" on your desk) the texture listed is "oficer.tga" (yes it's actually misspelled) but the texture displayed in game is "CaptainPicture/picture.tga"

Why?

There is an oficer.tga in the textures directory, but I've never seen it in game.

Also, how does the game know to get a .dds file rather then a .tga (I'm guessing it's in the engine, based on detail settings)
Just look at the folder structure:
Silent Hunter Wolves of the Pacific\Data\CaptainPicture\picture.tga
You can put any picture you like that is this size and it will be on your desk in the office. The game doesn't care if some graphics are tga or dds. Size (file size) could e a factor in the use of dds format.
__________________
" Bless those who serve beneath the deep,
Through lonely hours their vigil keep.
May peace their mission ever be,
Protect each one we ask of thee.
Bless those at home who wait and pray,
For their return by night and day."

aanker is offline   Reply With Quote
Old 02-13-14, 12:14 PM   #3
TG626
Lieutenant
 
Join Date: Jan 2014
Location: USS Seal - Somewhere in the Pacific
Posts: 268
Downloads: 141
Uploads: 3
Default

That much I know.

In fact:



That's a picture of my wife and I right there...

No, what I was saying was that while picking through catainroom.dat I was expecting to see "picture.tga" as the texture for that part of the model, but it's not, it's "oficer.tga"

Every other "node" of the model has an associated texture, and that name matches what you see in the game. Only the picture is different, and I was wondering why/how it's done.

My ultimate goal is to have a deeper understanding of the inner workings of the game.

Can't help it, I've been mucking about with game code, mods, and hacks since the days of my Coleco ADAM computer... (Google it)
__________________
T. E. Thompson, LTCDR
Commanding Officer, U.S.S. Seal (formerly S-40 (SS-145))
TG626 is offline   Reply With Quote
Old 02-13-14, 02:24 PM   #4
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

If you use a Captain's name that is hidden in the SH4.exe the coffee mug gets a different texture.
Use any Hex editor to see the names.
  Reply With Quote
Old 02-13-14, 04:59 PM   #5
aanker
Pacific Thunder
 
aanker's Avatar
 
Join Date: Apr 2004
Location: Yellow Sea
Posts: 1,896
Downloads: 236
Uploads: 14


Default

Quote:
Originally Posted by TG626 View Post
My ultimate goal is to have a deeper understanding of the inner workings of the game.

Can't help it, I've been mucking about with game code, mods, and hacks since the days of my Coleco ADAM computer... (Google it)
The simple answer is the code from SH3 was used to save time in making SH4, slightly modified of course to create the Pacific campaign, and the graphics were 'improved'.

One of the first pre-release movies about SH4 proudly displayed the large amount used to achieve a more realistic behaving ocean.

Back to your issue, there are many files that are not used that are still in the file structure.

Yep, Coleco ADAM - just before I had any interest in computers... the end of that decade (80's) I forced myself to buy a computer and learn how to use it.... lol
aanker is offline   Reply With Quote
Old 02-14-14, 08:34 PM   #6
merc4ulfate
DILLIGAF
 
merc4ulfate's Avatar
 
Join Date: Feb 2007
Location: florida
Posts: 2,058
Downloads: 210
Uploads: 0
Default

I get a kick out of having my fiancées photos on my desk in the office ... with her hands tied together ...

I love the pin ups for loading screens that Traveler has in his mods.
__________________
Self-education is, I firmly believe, the only kind of education there is.
~Isaac Asimov~

Mercfulfate
将補
日本帝國海軍

merc4ulfate 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 05:15 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.