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-18-23, 11:14 AM   #1
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

You do kind of have that KM with the compass displaying the heading, but the game does not have the logic for you to order "Bring her to 342T NOW!!!" and have the helmsman say "Aye aye, sir! 32 degrees rudder to port, bringing her to 342T!" For one thing, I do better math than the game, and doing such as that would involve something higher than algebra ( ), like (shudder) that trig-oh-not-me stuff... "TILT TILT TILT"...

Excellent stuff jimimadrid! Now, if we could just get you the code for the executable for SH4, and have you tweak directly in there...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 02-18-23, 01:19 PM   #2
jimimadrid
Sonar Guy
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 388
Downloads: 123
Uploads: 19


Default

Quote:
Originally Posted by propbeanie View Post
Now, if we could just get you the code for the executable for SH4...



Yeah, this would be fine.


Propbeany, maybe you have an idea:
I would like to add a lever in the periscope view to manually incrementally raise and lower the periscope.
Just as it goes with the German submarines in SH4.


jimimadrid is offline   Reply With Quote
Old 02-19-23, 07:45 AM   #3
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

Well... imagine that! I've been looking off and on at doing that also... I was thinking of trying to tie into the Insert/Delete and the PageUp/PageDown keys, but... zee skeelz, zay are lacking no?? lol - I am lost. So I was going to try to "copy" the section in menu_1024_768 for the U-Boats - if it's possible - and see what happens in the experimental labs here, I mean, besides smoke and CTDs...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 02-21-23, 05:52 AM   #4
jimimadrid
Sonar Guy
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 388
Downloads: 123
Uploads: 19


Default

Quote:
Originally Posted by propbeanie View Post
Well... imagine that! I've been looking off and on at doing that also... I was thinking of trying to tie into the Insert/Delete and the PageUp/PageDown keys, but... zee skeelz, zay are lacking no?? lol - I am lost. So I was going to try to "copy" the section in menu_1024_768 for the U-Boats - if it's possible - and see what happens in the experimental labs here, I mean, besides smoke and CTDs...



Yeah, i see.



Triyng to add new ItemID's to the Menu_1024_768 i get everytime a CTD with Missing MenuID blabla...
This means i'm missing where the ID's nbrs are managed.


My idea is to add a dial in the Dials.cfg to add the Periscope_up and periscope_down function.


Somebody some tips for me?
jimimadrid is offline   Reply With Quote
Old 02-24-23, 06:07 PM   #5
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,744
Downloads: 303
Uploads: 0


Default

Another great mod!! Hi Jimimadrid, you are like a scarecrow - outstanding in your field. A question that has nothing to do with this previous work but you are very good at interfaces - do you know how to increase the size of the crew special abilities icons? Like the green "MASTER ENGINEER" symbol in the picture below....I would like them to be maybe 2x - 2.5x bigger than they are now.... enlarged from 28 x 28 to 56 x 56 pixels ?

I understand where the images are (in data\menu\skins\[nationality]\gui\layout but I don't understand how cropping/enlarging works with menu1024.ini or your editing tools. Thank you!!


iambecomelife is offline   Reply With Quote
Old 02-24-23, 07:23 PM   #6
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Gone to Texas. No More Kleptocratic Government for me!
Posts: 4,711
Downloads: 508
Uploads: 31


Default

Quote:
Originally Posted by iambecomelife View Post
Another great mod!! Hi Jimimadrid, you are like a scarecrow - outstanding in your field. A question that has nothing to do with this previous work but you are very good at interfaces - do you know how to increase the size of the crew special abilities icons? Like the green "MASTER ENGINEER" symbol in the picture below....I would like them to be maybe 2x - 2.5x bigger than they are now.... enlarged from 28 x 28 to 56 x 56 pixels ?

I understand where the images are (in data\menu\skins\[nationality]\gui\layout but I don't understand how cropping/enlarging works with menu1024.ini or your editing tools. Thank you!!

did he just call jimi a "scarecrow"?
__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper


------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
KaleunMarco is offline   Reply With Quote
Old 02-25-23, 07:45 AM   #7
jimimadrid
Sonar Guy
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 388
Downloads: 123
Uploads: 19


Default

Quote:
Originally Posted by KaleunMarco View Post
did he just call jimi a "scarecrow"?

Yes, that's how I always look in the morning before I dress up and put on make-up
jimimadrid is offline   Reply With Quote
Old 02-25-23, 08:09 AM   #8
jimimadrid
Sonar Guy
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 388
Downloads: 123
Uploads: 19


Default

Quote:
Originally Posted by iambecomelife View Post

I understand where the images are (in data\menu\skins\[nationality]\gui\layout but I don't understand how cropping/enlarging works with menu1024.ini or your editing tools.

You can use the SH_MenuEditor.




You have to change this settings: (This changes the icon size on the noticeboard.)



[G61 I55]
Display= 2;linear
Zone= 538 326 40 40 0 1 0x61030004 1 -0.5 0x6103000A 0 0.5 10 0

[G61 I56]
Display= 2;linear
Zone= 510 326 40 40 0 1 0x6103000E 1 -0.5 0x61030004 0 0.5 10 0

[G61 I57]
Display=2;linear
Zone= 482 326 40 40 0 1 0x61030003 1 -0.5 0x6103000E 0 0.5 10 0

[G61 I58]
Display= 2;linear
Zone= 454 326 40 40 0 1 0x61030010 1 -0.5 0x61030003 0 0.5 10 0


This changes the iconsize on the Photo

[G61 I99]
Zone= 507 659 40 40 0 1 0x61050000 1 -1 0x61050003 -1 0.5 0 0





Here a little Demo with 40x40 pixel






PS:


Display= 0;No stretch = The graphic use the same pixel in the zoneline as in the Cropline.


Display= 2;linear = the graphics from the cropline will be enlarged/minimized to the setting of the Zoneline.


Take this everytime in mind










Hope this helps

Last edited by jimimadrid; 02-25-23 at 08:18 AM.
jimimadrid is offline   Reply With Quote
Old 02-19-23, 08:58 AM   #9
mazzi
A-ganger
 
Join Date: Mar 2018
Posts: 79
Downloads: 608
Uploads: 0
Default

Quote:
Originally Posted by jimimadrid View Post
I would like to add a lever in the periscope view to manually incrementally raise and lower the periscope.
Just as it goes with the German submarines in SH4.
This is technically impossible. The German and American interfaces are controlled by two differentsections of code in sh4.exe - this code works in different ways. The lever will not work for the Americans.
mazzi is offline   Reply With Quote
Old 07-12-25, 01:58 PM   #10
fitzcarraldo
Argentinian Skipper
 
fitzcarraldo's Avatar
 
Join Date: Jul 2009
Location: Somewhere between Buenos Aires and the Bungo Suido
Posts: 5,381
Downloads: 3484
Uploads: 0


Default

Hi Jimimadrid:

I´m using from the very start your mods, with FOTRSU (I never tried the mods with TMO). I take some screnshots of the control room, I have an issue with wall clock: no numbers.

If I disable your mods (all), I recover the complete wall clock.

I tried with and without Vickers interiors, also disabling one by one your mods, but the problem persists.

I tried some editing of the textures, with no luck. I think there is a texture o texture format provoking the issue.

I lived these years with the issue, not important, but I can´t live without your mods. It is - I believe - a little problem, I you have some time could you see if it is solvable?





My actual list of mods:

Generic Mod Enabler - v2.6.0.157
[E:\SH4\MODS]

100_FalloftheRisingSun_Ultimate_v1.8
101_FotRSUv18_FixPak
Nihon Kaigun v1.3a_FotRSU
Nippon_Maru_v1.9b_FotRSU
Combined Roster
399_NoScrollNavMap
801_UMark Invisible
650_OriginalFOTRS_Dudz
803_NoPlayerSubFlags
901_Strategic_Map_Symbols
451_TMOstyle_NavMapDots
451a_TMOstyle_NavMapDots_Nippon_Maru
451b_TMOstyle_NavMapDots_Nihon_Kaigun
450_MoonlightzSonarLines
SH5 TWoS Flags for SH4 FotRSU
Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN
FI-OQ_FotRSU_v1.8f_upcPatch
Realistic Floor Tiles for Fleetboat_Interior-Officers_Quarter
Snarf_WoodModelv2
851_Red_FotRSU_Logo
856_Col_FotRSU_Museum
Jimimadrid Sailors for FotRSU
Jimimadrid Optics
jimimadrid Shells
Jimimadrid SubManagement
SMALLER SEABED ROCKS
New Sounds for Fleetboat_Interior-Officer Quarters mod
EAX_SoundSim_FOTRSU_1.8
Enhanced SubSounds for SH4
SMALLER SEA PLANTS MEDIUM
sobers better rock Ver 2 mod
sobers better sand II
FOTRSU Less Jap Planes
Hitman's In Game TSAC v2.1
Targeting_Assistant_V1
FotRS_Chacalot-Porpoise
Speech_Overhaul
TDW_Ship_Plane_Fire_Damage_v1_3_SH4
BATTLEFLAG_CONNING_STURGEON_SS187
BATTLEFLAG_WARDROOM_STURGEON_SS187
BATTLEFLAGS_MERCHANT_SUNK_COUNT3
BATTLEFLAGS_WARSHIP_SUNK_COUNT1
RUBINI_CLOUDS_SH4
Lite Fog v2 + 100' Underwater Visability
305_LessJapaneseAirRadar
Vanilla Impurities
DarkerNightsEnv_V2
FOTRSU_1.8_SUB_SKINS_IN_4k
Jimimadrid Tools
Hamilton Gold Clock
FJB Brown Navigation Map
jimimadrid HUD
Jimimadrid Metalic Dials
Jimimadrid Salmon_Sargo Gui Dials
Jimimadrid TDC


Many thanks and best regards

Fitzcarraldo
__________________



My subject is War, and the pity of War. The Poetry is in the pity - Wilfred Owen.
fitzcarraldo is offline   Reply With Quote
Old 07-12-25, 03:36 PM   #11
jimimadrid
Sonar Guy
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 388
Downloads: 123
Uploads: 19


Default

Hi Fitz,


Thats what i found. On my system it works correctly.





In SH4GameFolder\Data\Textures\TNormal\Tex you should see the Common_TDC_Gauges (tga or dds)
Here you should see the clockdial.


Hope this helps
regards
jimi
jimimadrid is offline   Reply With Quote
Old 07-12-25, 06:39 PM   #12
fitzcarraldo
Argentinian Skipper
 
fitzcarraldo's Avatar
 
Join Date: Jul 2009
Location: Somewhere between Buenos Aires and the Bungo Suido
Posts: 5,381
Downloads: 3484
Uploads: 0


Default

Hi Jimimadrid:

This is my foler inside SH4. I have a "Common_TDC_Gauges_02Salmon.dds" and a "Common_TDC_Gauges_02S18.dds". I started the campaign with and S class and now a Salmon. I don´t see a "Common_TDC_Gauges.dds". I tried changing the name of the Salmon gauge to "Common_TDC_Gauges.dds" but doesn´t work, I have the same issue with clock without numbers.

Here a screenshot of my folder with the textures:



And this is my uboat selector french version with Sargo selected:



I don´t see in the "manual" mod Sargo dials a tex folder, I have only a menu folder.



Fitzcarraldo
__________________



My subject is War, and the pity of War. The Poetry is in the pity - Wilfred Owen.
fitzcarraldo is offline   Reply With Quote
Old 07-13-25, 04:03 AM   #13
jimimadrid
Sonar Guy
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 388
Downloads: 123
Uploads: 19


Default

Hi Fitz,


yes the name of the pics are Common_TDC_Gauges_02S18 and Common_TDC_Gauges_02Salmon.




As i see there is no Common_TDC_Gauges_02Salmon File in the Data/textures/TLowRes/Tex Folder.


Try to copy the Common_TDC_Gauges_02Salmon from the Tnormal/Tex to the TLowRes/Tex Folder.


Maybe your game try to find the graphic in this Folder.


regards
Jimi
jimimadrid is offline   Reply With Quote
Old 07-13-25, 10:12 AM   #14
fitzcarraldo
Argentinian Skipper
 
fitzcarraldo's Avatar
 
Join Date: Jul 2009
Location: Somewhere between Buenos Aires and the Bungo Suido
Posts: 5,381
Downloads: 3484
Uploads: 0


Default

Quote:
Originally Posted by jimimadrid View Post
Hi Fitz,


yes the name of the pics are Common_TDC_Gauges_02S18 and Common_TDC_Gauges_02Salmon.




As i see there is no Common_TDC_Gauges_02Salmon File in the Data/textures/TLowRes/Tex Folder.


Try to copy the Common_TDC_Gauges_02Salmon from the Tnormal/Tex to the TLowRes/Tex Folder.


Maybe your game try to find the graphic in this Folder.


regards
Jimi
No luck. I copy paste the texture in TLowRes but it is the same: no clock numbers.

I will try changing textures, etc, and will do a feedback. Annoying...

Many thanks and best regards.

Fitzcarraldo
__________________



My subject is War, and the pity of War. The Poetry is in the pity - Wilfred Owen.
fitzcarraldo is offline   Reply With Quote
Old 07-13-25, 02:42 PM   #15
jimimadrid
Sonar Guy
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 388
Downloads: 123
Uploads: 19


Default

Hi Fitz,


what happens if you change the files from .dds to .tga.


You should use an graphic program or an online imagechanger tool.


I have both extensions on my game. Maybe it uses only the .tga one.


regards
jimi
jimimadrid 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 10:45 AM.


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