SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
09-06-11, 05:13 AM | #1 |
Captain of the Nautilus
Join Date: Mar 2005
Posts: 146
Downloads: 223
Uploads: 0
|
Modding Silent Hunter 1.
I've looked through the SUBS.DAT file for SH:CE and deciphered maybe 65-70% of it using UGE -- Universal Game Editor, a old DOS-era editor that still works quite well for old style games.
Here's the output file for the TENCH entry block in SUBS.DAT created by UGE: Code:
=========================================================================== Num. Variable name OFFSET VAR.TYPE RANGE =========================================================================== 13 Tench Name #1 13921 9 letters TEXT 14 Tench Name #2 13931 9 letters TEXT 15 SHP File #1 13962 12 letters TEXT 16 SHP File #2 13976 12 letters TEXT 17 Surf Speed Range 14021 4 bytes +/- 2,147,483,648 18 Surf Range Speed 14025 4 bytes +/- 2,147,483,648 19 Subm Speed Range 14029 4 bytes +/- 2,147,483,648 20 Subm Speed Range 14033 4 bytes +/- 2,147,483,648 21 Bow TT 14037 4 bytes +/- 2,147,483,648 22 Stern TT 14041 4 bytes +/- 2,147,483,648 23 # Torp Bow 14045 4 bytes +/- 2,147,483,648 24 # Torp Stern 14049 4 bytes +/- 2,147,483,648 25 Deck Gun Count 14057 4 bytes +/- 2,147,483,648 26 Deck Gun Cal. (inch) 14061 4 bytes +/- 2,147,483,648 27 Length 14069 4 bytes +/- 2,147,483,648 28 Beam 14073 4 bytes +/- 2,147,483,648 29 Height 14077 4 bytes +/- 2,147,483,648 30 Test Depth 14081 4 bytes +/- 2,147,483,648 31 Periscope Depth 14085 4 bytes +/- 2,147,483,648 32 Radar Depth 14089 4 bytes +/- 2,147,483,648 33 Periscope Height 14093 4 bytes +/- 2,147,483,648 34 Radar Mast Height 14097 4 bytes +/- 2,147,483,648 35 Top Speed Surf 14109 10 letters TEXT 36 Top Speed Subm 14119 10 letters TEXT 37 Tench Surf Disp 14129 4 bytes +/- 2,147,483,648 38 Tench Subm Disp 14133 4 bytes +/- 2,147,483,648 39 Displacement Coeff 14137 4 bytes +/- 2,147,483,648 40 Tench Surf Power 14141 4 bytes +/- 2,147,483,648 41 Tench Subm Power 14145 4 bytes +/- 2,147,483,648 42 Surfaced Spd Coeff. 14149 4 bytes +/- 2,147,483,648 43 Submerged Spd Coeff. 14153 4 bytes +/- 2,147,483,648 44 # Diesel Motors 14181 4 bytes +/- 2,147,483,648 45 # Electric Motors 14185 4 bytes +/- 2,147,483,648 46 Diesel Fuel (gal) 14189 4 bytes +/- 2,147,483,648 47 Diesel Consumption?? 14193 4 bytes +/- 2,147,483,648 48 Surf Mot Coef. ??? 14197 4 bytes +/- 2,147,483,648 49 Surf Mot Coef. Stop? 14201 4 bytes +/- 2,147,483,648 50 Surf Mot Coef. 1/3 F 14205 4 bytes +/- 2,147,483,648 51 Surf Mot Coef. 2/3 F 14209 4 bytes +/- 2,147,483,648 52 Surf Mot Coef. STD F 14213 4 bytes +/- 2,147,483,648 53 Surf Mot Coef. FUL F 14217 4 bytes +/- 2,147,483,648 54 Surf Mot Coef. FLK F 14221 4 bytes +/- 2,147,483,648 55 Subm Mot Coef. ??? 14241 4 bytes +/- 2,147,483,648 56 Subm Mot Coef. Stop? 14245 4 bytes +/- 2,147,483,648 57 Subm Mot Coef. 1/3 F 14249 4 bytes +/- 2,147,483,648 58 Subm Mot Coef. 2/3 F 14253 4 bytes +/- 2,147,483,648 59 Sub. Mot Coef. STD F 14257 4 bytes +/- 2,147,483,648 60 Sub. Mot Coef. FUL F 14261 4 bytes +/- 2,147,483,648 61 Sub. Mot Coef. FLK F 14265 4 bytes +/- 2,147,483,648 =========================================================================== I've been able to edit in a pretty decent SSN-571 Nautilus into the game, but have been unable to find the numbers that handle battery capacity in SUBS.DAT; hence me posting this. Last edited by Sheppard; 09-06-11 at 07:11 AM. |
09-06-11, 01:19 PM | #2 | ||||
Pacific Thunder
|
Quote:
Kim created a program that combined all of Hawks Utilities plus changing the torpedo loadout and is called the Torpedo Change Tool - TCT. Furthermore, WEAPONT.DAT, ROSTERXX, Subs.dat, Ships.dat, RosterX.dat, Carsub.dat, and PZ.dat were all deciphered with a hex editor and almost all important bytes and bits were located for everything. The introduction: Quote:
Quote:
Quote:
Happy Hunting!
__________________
" 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." |
||||
09-06-11, 01:25 PM | #3 |
Pacific Thunder
|
Battery would be Submerged Range, correct?
__________________
" 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." |
09-06-11, 04:09 PM | #4 |
Pacific Aces Dev Team
|
Interesting, never had heard of that before aanker
If I could have one thing, and only one modded by code into SH1, then that would be a huge reduction in enemy traffic. The amount of traffic and contacts, specially in areas where it was truly scarce in real life, is what killed a big part of the fun for me, as it made huge tonnage figures too easy.
__________________
One day I will return to sea ... |
09-06-11, 04:12 PM | #5 |
Planesman
Join Date: Oct 2004
Location: USA
Posts: 181
Downloads: 28
Uploads: 0
|
I don't have anything useful to add as far as technical things go, but I would like to say that this is very interesting.
I downloaded a copy of this UGE program and tried to play around with my AOD install with it, but I couldn't figure out what to do. It just looks like a hex editor to me. I would like to be able to make some changes, or mods, to AOD as well. So I will be watching this thread for any more info about doing such things. |
09-07-11, 01:04 AM | #6 | |
Captain of the Nautilus
Join Date: Mar 2005
Posts: 146
Downloads: 223
Uploads: 0
|
aanker:
Where's the following document you cite here: Quote:
|
|
09-07-11, 08:08 AM | #7 | |
Captain of the Nautilus
Join Date: Mar 2005
Posts: 146
Downloads: 223
Uploads: 0
|
It's not a PURE hex editor, as it's file viewer screen displays things differently, in a format more legible to the average person. It also handles an editing front end; so that you don't need to write an editor; just give away the *.MDL file you've created.
Quote:
AOD...doesn't seem to be as easy. |
|
09-07-11, 08:05 PM | #8 | |
Planesman
Join Date: Oct 2004
Location: USA
Posts: 181
Downloads: 28
Uploads: 0
|
Sheppard, before you get too far into it I would advise you to take a look at the following excerpt from http://www.subsim.com/tips/tipaod.php.
Quote:
I'm going to try to give it another go. Maybe I can find some other useful things. |
|
09-08-11, 10:57 AM | #9 |
Pacific Thunder
|
I thought this was publicly available in the groups but I'm not having any luck finding it in either group (Yahoo). I'll write him and try and get permission. I agree, the more working on this, the better. Furthermore all of this work was wasted if nobody knows about it - right?
__________________
" 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." |
09-08-11, 03:50 PM | #10 |
Pacific Thunder
|
Good news, he zipped it up and will upload it. Very important work IMO and many hours invested. Please share what you find too Your hex editor on steroids looks great !!
__________________
" 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." |
09-10-11, 02:53 PM | #11 |
Captain of the Nautilus
Join Date: Mar 2005
Posts: 146
Downloads: 223
Uploads: 0
|
|
09-10-11, 03:53 PM | #12 |
Pacific Thunder
|
Yes, PacificThunder. I received the zip this morning and emailed back to see where he (or I) should put it - and did I have permission, etc, etc.
It seems logical that it should go there. ----
__________________
" 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." |
09-16-11, 06:27 PM | #13 |
Captain of the Nautilus
Join Date: Mar 2005
Posts: 146
Downloads: 223
Uploads: 0
|
Are you ever going to upload it, or will it remain lost forever?
|
09-16-11, 09:00 PM | #14 |
Pacific Thunder
|
I am waiting for permission - we must do these things right. When he lets me know where he wants it, I'll post back when I upload it. Should be soon.... and worth the wait - hang on
__________________
" 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." |
09-18-11, 03:22 PM | #15 |
Pacific Thunder
|
SH1 data file uploaded
Okay Sheppard and anyone else,
I received permission from Kim, got a whole lot more data than I thought existed, and the files are in a zip: Located in the Files section at: http://games.groups.yahoo.com/group/PacificThunder/ Zip is called: SH1database files.zip Its description is: "SH1 Database Project - Kim Rønhof" I hope it is helpful because Kim put a lot of work into getting the info to make his tools for SHCE - SH1. I hate to see this work go to waste or get lost! I also uploaded them here. http://www.subsim.com/radioroom/down...o=file&id=3377 Happy Hunting! Art
__________________
" 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." Last edited by aanker; 09-18-11 at 03:39 PM. |
|
|