SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Sub/Naval + Other Games > Classic Subsims
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 07-02-25, 06:21 PM   #1
Sheppard
Sparky
 
Join Date: Mar 2005
Posts: 152
Downloads: 226
Uploads: 0
Default Reimplementing Silent Hunter 1

This is something I've been banging around for about a day or two.

I've got most of the art assets from SH extracted -- but SH used a "next generation" non standard SHP asset format to represent it's sprited ships; so current SHP extractors don't work for getting the sprites for ships out.

I've got some data dumped and formatted nicely:

Quote:
<Submarine>
<Name>Balao</Name>
<HullNumber>285</HullNumber>
<ServiceStart>
<Month>7</Month>
<Year>43</Year>
</ServiceStart>
<ServiceEnd>
<Month>10</Month>
<Year>45</Year>
</ServiceEnd>
<Class>Balao</Class>
</Submarine>
Quote:
<Commander>
<Name>Fluckey, E. B.</Name>
<TonnageSunk>
<December1941>0</December1941>
<January1942>0</January1942>
<February1942>0</February1942>
<March1942>0</March1942>
<April1942>0</April1942>
<May1942>0</May1942>
<June1942>0</June1942>
<July1942>0</July1942>
<August1942>0</August1942>
<September1942>0</September1942>
<October1942>0</October1942>
<November1942>0</November1942>
<December1942>0</December1942>
<January1943>0</January1943>
<February1943>0</February1943>
<March1943>0</March1943>
<April1943>0</April1943>
<May1943>0</May1943>
<June1943>0</June1943>
<July1943>0</July1943>
<August1943>0</August1943>
<September1943>0</September1943>
<October1943>0</October1943>
<November1943>0</November1943>
<December1943>0</December1943>
<January1944>0</January1944>
<February1944>0</February1944>
<March1944>0</March1944>
<April1944>0</April1944>
<May1944>4855</May1944>
<June1944>10617</June1944>
<July1944>0</July1944>
<August1944>5633</August1944>
<September1944>31177</September1944>
<October1944>0</October1944>
<November1944>15261</November1944>
<December1944>0</December1944>
<January1945>23246</January1945>
<February1945>0</February1945>
<March1945>0</March1945>
<April1945>0</April1945>
<May1945>0</May1945>
<June1945>0</June1945>
<July1945>3620</July1945>
</TonnageSunk>
</Commander>
I have some game screens (leaving port/arriving at port) reimplemented using HTML/JS as "placeholders" to work out concepts during rapid development.

I have reverse engineered/dumped the bitmapped fonts used by SH:





I may or may not go anywhere with this -- but one thing I'm aiming for is a spiritual re-implementation, rather than an exact 1:1 reconstruction; to save time on reverse engineering and to implement capabilities not possible in the original SH.

For example, I already know a very good equation (the Admiralty Constant) that can estimate submerged resistance very well instead of whatever Aeon/SSI used for SH.

But anyway; don't expect anything from this for a looong time, if ever.
Sheppard is offline   Reply With Quote
Old 07-03-25, 08:53 AM   #2
Aktungbby
Gefallen Engel U-666
 
Aktungbby's Avatar
 
Join Date: Jul 2013
Location: On a tilted, overheated, overpopulated spinning mudball on Collision course with Andromeda Galaxy
Posts: 17,658
Downloads: 24
Uploads: 0


Default

Quote:
Originally Posted by Sheppard View Post

But anyway; don't expect anything from this for a looong time, if ever.
...well....Einsteiin once said hypothetically: "time is an illusion"...so no problem. Keep at it!
__________________

"The world is too rediculous to even live in!"- Little Big Man
Aktungbby is online   Reply With Quote
Old 07-06-25, 06:02 PM   #3
Sheppard
Sparky
 
Join Date: Mar 2005
Posts: 152
Downloads: 226
Uploads: 0
Default

SUBS DAT is (mostly) deciphered

Quote:
<Submarine index="9">
<ClassName>TENCH</ClassName>
<SecondaryClassName>TENCH</SecondaryClassName>
<SubSlotID>8</SubSlotID>
<UnknownByte1>4</UnknownByte1>
<SHP1Name>SUB-8.SHP</SHP1Name>
<SHP2Name>P_TENCH.SHP</SHP2Name>
<StartingMonth>2</StartingMonth>
<StartingYear>1945</StartingYear>
<EndingMonth>10</EndingMonth>
<EndingYear>1945</EndingYear>
<DeckGuns>2</DeckGuns>
<DeckGunCaliberInches>5</DeckGunCaliberInches>
<UnknownVariableDG>0</UnknownVariableDG>
<BowTorpedoTubes>6</BowTorpedoTubes>
<SternTorpedoTubes>4</SternTorpedoTubes>
<BowTorpedoes>12</BowTorpedoes>
<SternTorpedoes>6</SternTorpedoes>
<LengthFt>312</LengthFt>
<BeamFt>27</BeamFt>
<DraftFt>15</DraftFt>
<TestDepthFt>400</TestDepthFt>
<PeriscopeDepthFt>65</PeriscopeDepthFt>
<RadarDepthFt>48</RadarDepthFt>
<PeriscopeHeightFt>68</PeriscopeHeightFt>
<RadarMastHeightFt>40</RadarMastHeightFt>
<DeckGunDepthFt>30</DeckGunDepthFt>
<UnknownDepthFt>50</UnknownDepthFt>
<DisplacementSurfaced>1860</DisplacementSurfaced>
<DisplacementSubmerged>2428</DisplacementSubmerged>
<DisplacementDeath>2438</DisplacementDeath>
<TopSpeedSurfacedKts>20.75</TopSpeedSurfacedKts>
<TopSpeedSubmergedKts>8.75</TopSpeedSubmergedKts>
<MotorCountDiesel>4</MotorCountDiesel>
<MotorCountElectric>4</MotorCountElectric>
<DieselFuelGallons>117000</DieselFuelGallons>
<DieselDailyConsumptionGallons>7209</DieselDailyConsumptionGallons>
<PowerSurfaced>5400</PowerSurfaced>
<PowerSubmerged>2740</PowerSubmerged>
<DragSurfaced>351</DragSurfaced>
<DragSubmerged>688</DragSubmerged>
<RangeSurfaced>12000</RangeSurfaced>
<RangeSurfacedSpeed>10</RangeSurfacedSpeed>
<RangeSubmerged>95</RangeSubmerged>
<RangeSubmergedSpeed>5</RangeSubmergedSpeed>
<UnknownVariable2>4294967295</UnknownVariable2>
<DieselChargeRate1>-372</DieselChargeRate1>
<DieselChargeRate2>-279</DieselChargeRate2>
<DieselChargeRate3>-186</DieselChargeRate3>
<DieselChargeRate4>-93</DieselChargeRate4>
<SurfacedAstern>100</SurfacedAstern>
<SurfacedStopped>0</SurfacedStopped>
<SurfacedOneThirds>40</SurfacedOneThirds>
<SurfacedTwoThirds>93</SurfacedTwoThirds>
<SurfacedStandard>186</SurfacedStandard>
<SurfacedFull>320</SurfacedFull>
<SurfacedFlank>400</SurfacedFlank>
<SubmergedAstern>10</SubmergedAstern>
<SubmergedStopped>0</SubmergedStopped>
<SubmergedOneThirds>50</SubmergedOneThirds>
<SubmergedTwoThirds>120</SubmergedTwoThirds>
<SubmergedStandard>190</SubmergedStandard>
<SubmergedFull>270</SubmergedFull>
<SubmergedFlank>400</SubmergedFlank>
<ElectricConsumptionRate1>-372</ElectricConsumptionRate1>
<ElectricConsumptionRate2>-279</ElectricConsumptionRate2>
<ElectricConsumptionRate3>-186</ElectricConsumptionRate3>
<ElectricConsumptionRate4>-93</ElectricConsumptionRate4>
<UnknownValue236>2097</UnknownValue236>
<UnknownValue240>2097</UnknownValue240>
<UnknownValue244>65536000</UnknownValue244>
<UnknownValue248>688128</UnknownValue248>
<UnknownValue252>1389363</UnknownValue252>
<UnknownValue256>2503475</UnknownValue256>
<UnknownVariable364>10</UnknownVariable364>
<Description>Virtual copies of the Gato/Balao Class, they were more strongly built and had a better internal layout allowing four more reloads to be carried. New, slower-running diesels made these boats considerably quieter. Only ten completed their training in time to see action in the Pacific.</Description>
Sheppard is offline   Reply With Quote
Old 07-06-25, 06:05 PM   #4
Sheppard
Sparky
 
Join Date: Mar 2005
Posts: 152
Downloads: 226
Uploads: 0
Default

Regarding this from SUBS.DAT

Quote:
<DieselFuelGallons>117000</DieselFuelGallons>
<DieselDailyConsumptionGallons>7209</DieselDailyConsumptionGallons>
I figured out that part of HOMEPORT.DAT was this (data from Pearl Harbor)

Quote:
<PatrolZone01TravelMiles index="952">4000</PatrolZone01TravelMiles>
<PatrolZone02TravelMiles index="953">4000</PatrolZone02TravelMiles>
<PatrolZone03TravelMiles index="954">5000</PatrolZone03TravelMiles>
<PatrolZone04TravelMiles index="955">5200</PatrolZone04TravelMiles>
<PatrolZone05TravelMiles index="956">5000</PatrolZone05TravelMiles>
<PatrolZone06TravelMiles index="957">0</PatrolZone06TravelMiles>
<PatrolZone07TravelMiles index="958">4300</PatrolZone07TravelMiles>
<PatrolZone08TravelMiles index="959">3000</PatrolZone08TravelMiles>
<PatrolZone09TravelMiles index="960">3800</PatrolZone09TravelMiles>
<PatrolZone10TravelMiles index="961">0</PatrolZone10TravelMiles>
<PatrolZone11TravelMiles index="962">0</PatrolZone11TravelMiles>
<PatrolZone12TravelMiles index="963">0</PatrolZone12TravelMiles>
<PatrolZone13TravelMiles index="964">0</PatrolZone13TravelMiles>
<PatrolZone14TravelMiles index="965">0</PatrolZone14TravelMiles>
<PatrolZone15TravelMiles index="966">3000</PatrolZone15TravelMiles>
This is how, when you start a career mission; the game knows that it will take you about X days to travel to Patrol Zone N; and you'll consume Y gallons of diesel; setting your fuel tank level at the beginning of the campaign game play mode.
Sheppard 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 04:59 PM.


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.