Main Menu

Springsharp (SS3B3) in Wine

Started by Guinness, July 07, 2017, 09:26:05 AM

Previous topic - Next topic

Guinness

Using pure luck, I got SS3B3 to acutally work in Wine on my Mac this morning (using homebrew). Quick summary:

Run wine in 32 bit mode:


# brew install wine
# brew install winetricks
# mkdir ~/.wine32
# WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks fontsmooth=rgb
# WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks dotnet20
# export FREETYPE_PROPERTIES="truetype:interpreter-version=35"
# WINEARCH=win32 WINEPREFIX=~/.wine32 wine ./SpringSharp3b3.exe


EDIT: Note that sometime along the way fonts stopped working. This is a apparently a product of freetype changing. The workaround is to use "export FREETYPE_PROPERTIES="truetype:interpreter-version=35"". I added that to the instructions above.

The filebrowser works, so open and save look to work, which was the thing that always seemed to screw up before. With this, I bashed out a quick test AC:

QuoteWine Test, Test Country Cruiser laid down 1900

Displacement:
   7,830 t light; 8,196 t standard; 9,000 t normal; 9,644 t full load

Dimensions: Length (overall / waterline) x beam x draught (normal/deep)
   (503.61 ft / 492.13 ft) x 61.52 ft x (19.63 / 20.72 ft)
   (153.50 m / 150.00 m) x 18.75 m  x (5.98 / 6.32 m)

Armament:
      4 - 8.27" / 210 mm 45.0 cal guns - 284.97lbs / 129.26kg shells, 150 per gun
     Breech loading guns in turret on barbette mounts, 1900 Model
     2 x Twin mounts on centreline ends, evenly spread
      8 - 5.91" / 150 mm 45.0 cal guns - 103.86lbs / 47.11kg shells, 150 per gun
     Breech loading guns in casemate mounts, 1900 Model
     8 x Single mounts on sides, evenly spread
      8 hull mounts in casemates- Limited use in heavy seas
      12 - 3.46" / 88.0 mm 45.0 cal guns - 20.97lbs / 9.51kg shells, 150 per gun
     Breech loading guns in deck mounts, 1900 Model
     12 x Single mounts on sides, evenly spread
      Weight of broadside 2,222 lbs / 1,008 kg

Armour:
   - Belts:      Width (max)   Length (avg)      Height (avg)
   Main:   3.94" / 100 mm   492.13 ft / 150.00 m   15.75 ft / 4.80 m
     Main Belt covers 154 % of normal length

   - Gun armour:   Face (max)   Other gunhouse (avg)   Barbette/hoist (max)
   Main:   3.94" / 100 mm   3.94" / 100 mm      3.94" / 100 mm
   2nd:   3.94" / 100 mm   3.94" / 100 mm            -

   - Armoured deck - single deck:
   For and Aft decks: 0.98" / 25 mm
   Forecastle: 0.98" / 25 mm  Quarter deck: 0.98" / 25 mm

   - Conning towers: Forward 7.87" / 200 mm, Aft 0.00" / 0 mm

Machinery:
   Coal fired boilers, complex reciprocating steam engines,
   Direct drive, 4 shafts, 17,000 ihp / 12,682 Kw = 21.04 kts
   Range 6,000nm at 10.00 kts
   Bunker at max displacement = 1,448 tons (100% coal)

Complement:
   461 - 600

Cost:
   £0.804 million / $3.218 million

Distribution of weights at normal displacement:
   Armament: 420 tons, 4.7 %
      - Guns: 420 tons, 4.7 %
   Armour: 1,900 tons, 21.1 %
      - Belts: 1,129 tons, 12.5 %
      - Armament: 317 tons, 3.5 %
      - Armour Deck: 381 tons, 4.2 %
      - Conning Tower: 73 tons, 0.8 %
   Machinery: 2,656 tons, 29.5 %
   Hull, fittings & equipment: 2,855 tons, 31.7 %
   Fuel, ammunition & stores: 1,170 tons, 13.0 %
   Miscellaneous weights: 0 tons, 0.0 %

Overall survivability and seakeeping ability:
   Survivability (Non-critical penetrating hits needed to sink ship):
     9,120 lbs / 4,137 Kg = 32.3 x 8.3 " / 210 mm shells or 1.3 torpedoes
   Stability (Unstable if below 1.00): 1.37
   Metacentric height 4.2 ft / 1.3 m
   Roll period: 12.6 seconds
   Steadiness   - As gun platform (Average = 50 %): 100 %
         - Recoil effect (Restricted arc if above 1.00): 0.43
   Seaboat quality  (Average = 1.00): 2.00

Hull form characteristics:
   Hull has raised forecastle,
     a ram bow and a cruiser stern
   Block coefficient (normal/deep): 0.530 / 0.538
   Length to Beam Ratio: 8.00 : 1
   'Natural speed' for length: 22.18 kts
   Power going to wave formation at top speed: 42 %
   Trim (Max stability = 0, Max steadiness = 100): 50
   Bow angle (Positive = bow angles forward): -5.00 degrees
   Stern overhang: 4.92 ft / 1.50 m
   Freeboard (% = length of deck as a percentage of waterline length):
            Fore end,    Aft end
      - Forecastle:   20.00 %,  26.25 ft / 8.00 m,  25.59 ft / 7.80 m
      - Forward deck:   30.00 %,  18.37 ft / 5.60 m,  18.37 ft / 5.60 m
      - Aft deck:   35.00 %,  18.37 ft / 5.60 m,  18.37 ft / 5.60 m
      - Quarter deck:   15.00 %,  18.37 ft / 5.60 m,  18.37 ft / 5.60 m
      - Average freeboard:      19.87 ft / 6.06 m

Ship space, strength and comments:
   Space   - Hull below water (magazines/engines, low = better): 112.8 %
      - Above water (accommodation/working, high = better): 157.4 %
   Waterplane Area: 20,736 Square feet or 1,926 Square metres
   Displacement factor (Displacement / loading): 103 %
   Structure weight / hull surface area: 95 lbs/sq ft or 464 Kg/sq metre
   Hull strength (Relative):
      - Cross-sectional: 0.94
      - Longitudinal: 1.77
      - Overall: 1.00
   Cramped machinery, storage, compartmentation space
   Excellent accommodation and workspace room
   Ship has slow, easy roll, a good, steady gun platform
   Excellent seaboat, comfortable, can fire her guns in the heaviest weather


Edit: edited subject to make it more searchable.

Guinness

Update: Open-source wine doesn't run on Mac OS Catalina (v15.5) because Apple ended support for 32bit binaries.

I was able to get SS3B3 running in Docker for Mac instead, using this docker container: https://hub.docker.com/r/scottyhardy/docker-wine/. It's usable, but slow.

Guinness

I gave up on running it in docker. I think the slowness is Xquartz, and I could probably tune it, but this wasn't what I wanted to be hacking on. So I installed Xubuntu linux in Virtualbox just to run SpringSharp. It's faster there and mostly works fine. The only thing that annoys me is having to use CTRL instead of CMD for copy/paste.

BTW: you don't need most of the instructions above. Just:

  • Linux flavor of choice
  • Wine and winetricks installed with package manager
  • install dotnet20 with winetricks: winetricks dotnet20

Then "wine SpringSharp3b3.exe" and you are off and running.

Guinness

TLDR: I can get SpringSharp 3 working on a Modern Mac again (yay!). Use https://getwhisky.app. Once you install that, it's pretty much follow the instructions to get SpringSharp running.

I created this just to test:
Whiskey Test, Test Battlecruiser laid down 1912

Displacement:
18,695 t light; 20,017 t standard; 21,128 t normal; 22,017 t full load

Dimensions: Length (overall / waterline) x beam x draught (normal/deep)
(528.36 ft / 520.00 ft) x 78.00 ft x (30.90 / 31.96 ft)
(161.04 m / 158.50 m) x 23.77 m  x (9.42 / 9.74 m)

Armament:
      10 - 12.00" / 305 mm 45.0 cal guns - 871.37lbs / 395.24kg shells, 150 per gun
  Breech loading guns in turret on barbette mounts, 1912 Model
  3 x 2-gun mounts on centreline ends, majority aft
1 raised mount aft - superfiring
  2 x 2-gun mounts on sides forward
      14 - 6.00" / 152 mm 45.0 cal guns - 108.92lbs / 49.41kg shells, 200 per gun
  Breech loading guns in casemate mounts, 1912 Model
  14 x Single mounts on sides, evenly spread
      4 - 3.00" / 76.2 mm 45.0 cal guns - 13.62lbs / 6.18kg shells, 150 per gun
  Anti-air guns in deck mounts, 1912 Model
  4 x Single mounts on centreline, evenly spread
      Weight of broadside 10,293 lbs / 4,669 kg
      Main Torpedoes
      2 - 21.0" / 533 mm, 23.00 ft / 7.01 m torpedoes - 1.448 t each, 2.897 t total
submerged side tubes

Armour:
   - Belts: Width (max) Length (avg) Height (avg)
Main: 8.00" / 203 mm 300.00 ft / 91.44 m 16.00 ft / 4.88 m
Ends: 3.00" / 76 mm 208.00 ft / 63.40 m 16.00 ft / 4.88 m
  12.00 ft / 3.66 m Unarmoured ends
Upper: 3.00" / 76 mm 300.00 ft / 91.44 m 8.00 ft / 2.44 m
  Main Belt covers 89 % of normal length
  Main belt does not fully cover magazines and engineering spaces

   - Torpedo Bulkhead - Additional damage containing bulkheads:
3.00" / 76 mm 300.00 ft / 91.44 m 24.00 ft / 7.32 m
Beam between torpedo bulkheads 59.00 ft / 17.98 m

   - Gun armour: Face (max) Other gunhouse (avg) Barbette/hoist (max)
Main: 12.0" / 305 mm 8.00" / 203 mm 8.00" / 203 mm
2nd: 4.00" / 102 mm 4.00" / 102 mm 4.00" / 102 mm

   - Armoured deck - single deck:
For and Aft decks: 3.00" / 76 mm
Forecastle: 3.00" / 76 mm  Quarter deck: 3.00" / 76 mm

   - Conning towers: Forward 12.00" / 305 mm, Aft 8.00" / 203 mm

Machinery:
Oil fired boilers, steam turbines,
Geared drive, 4 shafts, 61,020 shp / 45,521 Kw = 25.40 kts
Range 5,900nm at 12.00 kts
Bunker at max displacement = 2,000 tons

Complement:
876 - 1,139

Cost:
£1.883 million / $7.532 million

Distribution of weights at normal displacement:
Armament: 2,147 tons, 10.2 %
   - Guns: 2,142 tons, 10.1 %
   - Weapons: 6 tons, 0.0 %
Armour: 7,188 tons, 34.0 %
   - Belts: 2,403 tons, 11.4 %
   - Torpedo bulkhead: 799 tons, 3.8 %
   - Armament: 2,012 tons, 9.5 %
   - Armour Deck: 1,645 tons, 7.8 %
   - Conning Towers: 329 tons, 1.6 %
Machinery: 2,433 tons, 11.5 %
Hull, fittings & equipment: 6,376 tons, 30.2 %
Fuel, ammunition & stores: 2,434 tons, 11.5 %
Miscellaneous weights: 550 tons, 2.6 %
   - Hull below water: 300 tons
   - Hull above water: 100 tons
   - On freeboard deck: 100 tons
   - Above deck: 50 tons

Overall survivability and seakeeping ability:
Survivability (Non-critical penetrating hits needed to sink ship):
  25,364 lbs / 11,505 Kg = 29.4 x 12.0 " / 305 mm shells or 3.5 torpedoes
Stability (Unstable if below 1.00): 1.04
Metacentric height 3.7 ft / 1.1 m
Roll period: 17.0 seconds
Steadiness - As gun platform (Average = 50 %): 55 %
- Recoil effect (Restricted arc if above 1.00): 1.10
Seaboat quality  (Average = 1.00): 1.10

Hull form characteristics:
Hull has raised forecastle, rise forward of midbreak,
  a normal bow and a cruiser stern
Block coefficient (normal/deep): 0.590 / 0.594
Length to Beam Ratio: 6.67 : 1
'Natural speed' for length: 22.80 kts
Power going to wave formation at top speed: 57 %
Trim (Max stability = 0, Max steadiness = 100): 50
Bow angle (Positive = bow angles forward): 5.00 degrees
Stern overhang: 6.00 ft / 1.83 m
Freeboard (% = length of deck as a percentage of waterline length):
Fore end, Aft end
   - Forecastle: 15.00 %,  27.00 ft / 8.23 m,  27.00 ft / 8.23 m
   - Forward deck: 45.00 %,  25.00 ft / 7.62 m,  25.00 ft / 7.62 m
   - Aft deck: 25.00 %,  17.00 ft / 5.18 m,  17.00 ft / 5.18 m
   - Quarter deck: 15.00 %,  17.00 ft / 5.18 m,  17.00 ft / 5.18 m
   - Average freeboard: 22.10 ft / 6.74 m

Ship space, strength and comments:
Space - Hull below water (magazines/engines, low = better): 105.5 %
- Above water (accommodation/working, high = better): 141.5 %
Waterplane Area: 29,389 Square feet or 2,730 Square metres
Displacement factor (Displacement / loading): 100 %
Structure weight / hull surface area: 161 lbs/sq ft or 787 Kg/sq metre
Hull strength (Relative):
- Cross-sectional: 0.92
- Longitudinal: 2.29
- Overall: 1.00
Adequate machinery, storage, compartmentation space
Excellent accommodation and workspace room