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 01-21-23, 04:10 PM   #1
SwissSubCommander
Gunner
 
Join Date: Jan 2016
Location: Roma, Italia
Posts: 93
Downloads: 345
Uploads: 2
Default



This is how far I am.
Yes I figured out that the "awardsitems_x" files are the ones that need changing.
I did edit them, simply pasting the italian medals over the corresponding german ones.
But alas! instead of a shiny medal there is only an empty background!

I successfully implemented them for the crew management screen

They are: - u-boat sign = distintivo sommergibili
- u-boat front clasp = distintivo della divisione atlantica
- iron cross 2. class = medaglia al valore di marina in bronzo
- iron cross 1. class = medaglia al valore di marina in argento
- german cross = medaglia al valore di marina in oro
- knights cross = croce di guerra al valor militare
__________________

"Da mesi e mesi non faccio che pensare ai miei marinai che sono onorevolmente in fondo al mare. Penso che il mio posto è con loro."
-Carlo Fecia di Cossato
SwissSubCommander is offline   Reply With Quote
Old 01-21-23, 06:05 PM   #2
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,098
Downloads: 451
Uploads: 2


Default

Do your files match in bit depth and extension name, as the originals?
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 01-22-23, 08:45 AM   #3
SwissSubCommander
Gunner
 
Join Date: Jan 2016
Location: Roma, Italia
Posts: 93
Downloads: 345
Uploads: 2
Default

Quote:
Originally Posted by propbeanie View Post
Do your files match in bit depth and extension name, as the originals?
How do I check what bit depth the original has?
And how do I change it if needed?
__________________

"Da mesi e mesi non faccio che pensare ai miei marinai che sono onorevolmente in fondo al mare. Penso che il mio posto è con loro."
-Carlo Fecia di Cossato

Last edited by SwissSubCommander; 01-22-23 at 09:09 AM.
SwissSubCommander is offline   Reply With Quote
Old 01-22-23, 03:51 PM   #4
ElCid97
Machinist's Mate
 
Join Date: Nov 2019
Location: Miami, FL
Posts: 127
Downloads: 121
Uploads: 5


Default

What graphics/imaging program are you using? To check the data for the file, you would have to open it and then check the properties from there. If you need to change it, then it's part of the saving procedure. I believe that all the "dds" and "tga" files are 32-bit in format/depth, so you shouldn't have any issues there.

I'm not sure if it's a Win-7 thing, but when I right-click on a "tga" or "dds" file, the properties option only gives me generic info and nothing from the file. This is because they are 32-bit. If I do the same with a "png" or a "jpg" or another 24-bit file, I can see the size and bit depth info for them.

When modifying with GIMP (the program I use) I just make sure to NOT click on compression when it's offered for the dds files. I also agree (YES) to the option for creating mip-maps from a drop-down option. I haven't had any issues yet with this method of doing this. I'm sure there's a similar method for other imaging programs. Just the procedure for getting there may be somewhat different.

I haven't used the "tga" files yet, but I believe you DON'T want the compression option there either.

I believe if you compress the files they are then NOT 32-bit, and therefore can't be read by the sim. That was the case with flightsim files for FS9/FSX which I have considerable experience with. I don't see why this sim would be any different regarding the images/textures.

By the way, how did you get the image you posted to copy to an imaging program? I've tried Ctrl+F11 and PrintScreen, but none of them work for me. All I get is either a black box or a screen-shot of the imaging program I would be in.

Hope this helps.

ElCid97
ElCid97 is offline   Reply With Quote
Old 01-22-23, 04:31 PM   #5
SwissSubCommander
Gunner
 
Join Date: Jan 2016
Location: Roma, Italia
Posts: 93
Downloads: 345
Uploads: 2
Default

GIMP seems like a handy program.
I will try it out
WHat do you mean? How I took the screenshot or how i uploaded it?
__________________

"Da mesi e mesi non faccio che pensare ai miei marinai che sono onorevolmente in fondo al mare. Penso che il mio posto è con loro."
-Carlo Fecia di Cossato
SwissSubCommander is offline   Reply With Quote
Old 01-22-23, 05:28 PM   #6
ElCid97
Machinist's Mate
 
Join Date: Nov 2019
Location: Miami, FL
Posts: 127
Downloads: 121
Uploads: 5


Default

GIMP is basically an open source imaging program that allows you to work with layers and such, much like the payware ones. I figure since I'm only using it for a hobby that the price was worth it. (open source = free).

I'm on version 2.10.22, but it may be newer by now.

With regards to the images, I meant how to take them. Eventually I figured it out a little while ago when I started seeing several "bmp" files in the main SH4 directory that weren't there before.

I never would've thought that was the location that Ctrl+F11 would place them. I thought it was going to the save folder with the other stuff you save in-game.

Live and learn.

I'll post something once I clean them up.

Regards,

ElCid97
ElCid97 is offline   Reply With Quote
Old 01-24-23, 11:37 AM   #7
SwissSubCommander
Gunner
 
Join Date: Jan 2016
Location: Roma, Italia
Posts: 93
Downloads: 345
Uploads: 2
Default

So, progress has been made, but Im not quite there yet...
I edited the "Awardsitems 3&4" files.
I pasted every italian medal over the respective german one it should replace.
I tested this, after giving myself every medal by editing the savegame, but in the Awards-screen, the american medal wich is in "awardsitems 2" on the right hand side would show up
So I switched around the numbers of the files inside the menu_1024_768 file,
basically making every "awarditems 1" into a 3, every 2 into a 4 and vice versa...
When I did this, the "croce di guerra" showed up, the replacement for the german "knights cross" that sits in "awardsitems 4" on the right hand side.
Why this works is beyond me, since its basically loading a texture out of a foreign file...
Yay, an italian medal! Trouble is, it showed up for every single medal
Here is the awards-section of my menu_1024_768 file

Mat 0=data/menu/data/awardsitems_4.dds
Crop 0=0.5,0.0742188,0.5,0.851563
Mat 1=data/menu/data/awardsitems_3.dds
Crop 1=0.5,0.0742188,0.25,0.851563
Mat 2=data/menu/data/awardsitems_3.dds
Crop 2=0.75,0.0742188,0.25,0.851563
Mat 3=data/menu/data/awardsitems_4.dds
Crop 3=0,0.0742188,0.5,0.851563
Mat 4=data/menu/data/awardsitems_3.dds
Crop 4=0.25,0.0742188,0.25,0.851563
Mat 5=data/menu/data/awardsitems_3.dds
Crop 5=0,0.0742188,0.25,0.851563
Mat 6=data/menu/data/awardsitems_1.dds
Crop 6=0.25,0.0742188,0.25,0.851563
Mat 7=data/menu/data/awardsitems_1.dds
Crop 7=0.5,0.0742188,0.25,0.851563
Mat 8=data/menu/data/awardsitems_1.dds
Crop 8=0,0.0742188,0.25,0.851563
Mat 9=data/menu/data/awardsitems_1.dds
Crop 9=0.75,0.0742188,0.25,0.851563
Mat 10=data/menu/data/awardsitems_2.dds
Crop 10=0,0.0742188,0.5,0.851563
Mat 11=data/menu/data/awardsitems_2.dds
Crop 11=0.5,0.0742188,0.5,0.851563


And here are are the Awarditems 3 and 4 files respectively:





Any assistance would be highly appreciated
__________________

"Da mesi e mesi non faccio che pensare ai miei marinai che sono onorevolmente in fondo al mare. Penso che il mio posto è con loro."
-Carlo Fecia di Cossato

Last edited by SwissSubCommander; 01-24-23 at 11:48 AM.
SwissSubCommander is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 11:05 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.