SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Multiple UIs for SH5 with TDC (https://www.subsim.com/radioroom/showthread.php?t=166093)

sam0t 05-23-10 01:34 PM

Quote:

Originally Posted by kylania (Post 1396851)
First I'd suggest checking out my installation video walkthrough to make sure you have all the right folders in the right places. That video touches on editing the file as well. I'll include more detailed instructions here.

Very good and thorough guide Kylania, thanks for that. Maybe something like this could be added to the first post by DeathWraith. So that the next mod newbie does not have to spam the thread :)

TheDarkWraith 05-23-10 02:30 PM

Coded in the export/import of the ship's journal. I haven't coded in the part for exporting/importing with save games yet but you can import/export at will. This will allow you to keep a running log between missions.

It exports the ship's log as a binary file to save space (small size)

Here I started a new game and clicked on publish to export my ship's log:
http://www.subsim.com/radioroom/pict...pictureid=2130

You give it a filename WITHOUT extension. Also do not put any periods in the name! It will automatically append a .dat extension:
http://www.subsim.com/radioroom/pict...pictureid=2129

It saves the ship's journals in \Silent Hunter 5\Logs. If the folder doesn't exist it tells you that it doesn't and that it's creating the folder:
http://www.subsim.com/radioroom/pict...pictureid=2128

If it successfully exports the ship's journal then you see this:
http://www.subsim.com/radioroom/pict...pictureid=2127

To test the import I deleted many entries from my current ship's journal:
http://www.subsim.com/radioroom/pict...pictureid=2126

then I clicked on import and gave it the same filename that I saved it under:
http://www.subsim.com/radioroom/pict...pictureid=2125

and ship's journal and messagebox restored :rock::rock::|\\
http://www.subsim.com/radioroom/pict...pictureid=2124

kylania 05-23-10 03:09 PM

Quote:

Originally Posted by TheDarkWraith (Post 1401209)
It exports the ship's log as a binary file to save space (small size)

Nice work! A little confused by the binary file choice though, especially due to size, since $70 gets you a tetabyte of space these days.

Are there plans for any ability to read these files externally?

TheDarkWraith 05-23-10 03:18 PM

Quote:

Originally Posted by kylania (Post 1401247)
Nice work! A little confused by the binary file choice though, especially due to size, since $70 gets you a tetabyte of space these days.

Are there plans for any ability to read these files externally?

Yes sir :yeah: Due to the way I encoded the file it's very easy to read back the information from it.
The reason for binary encoding is so that languages with special characters are treated correctly. I don't want any more language dependency problems ;)

TheDarkWraith 05-23-10 04:55 PM

v2.7.0 released. See post #1 for details :|\\

BerntBalchen 05-23-10 08:15 PM

Thank you oh dark one. :up:

TheDarkWraith 05-23-10 09:57 PM

I made one mistake, or I should say omission, in the ship's journal. When it writes the ship's journal to the file it's not writing a 'magic' string value as the first entry. This 'magic' string value helps identify the file as a ship's journal file. This ensures that the contents are read correctly when the user selects a file because if the first entry read isn't the magic string then it's an incorrect file. This has been fixed in v2.8.0.
For those users who have ship's journal files already don't worry, I'm writing a tool that let's you view the files and edit them outside the game and it will also let you convert the file to the correct format (with a 'magic' string).

kylania 05-24-10 12:59 AM

Quote:

Originally Posted by sam0t (Post 1401181)
Very good and thorough guide Kylania, thanks for that. Maybe something like this could be added to the first post by DeathWraith. So that the next mod newbie does not have to spam the thread :)

Thanks! It's been my pleasure. I've added the tutorial posts I've made so far to my front page post on this thread. I've also included new photos of all the optional mod folders that ship with the mod, so you can see what each folder does. Also instructions for editing the options file to change UI styles. This way everything is in one place and not scattered across forums and threads. :DL

This is all in post #5 of this thread.

PEGAS 05-24-10 03:43 AM

Many thanks from Russian submariners for the menu for us!:up::salute:

dem 05-24-10 04:19 AM

ships journal
 
Hi cant get the journal to load back up again?

i can see it in the log file.:damn:

1, i do not get folder doesnt exist, but the folder is they

2, i do not get file created succesfully, but i can see the file

windons xp

mods install

Generic Mod Enabler - v2.4.0.145
[D:\Program Files\Ubisoft\Silent Hunter 5\MODS]
Sub_Exhaust_1_0_1_byTheDarkWraith
Sh5EnvMod3.3Multi
U-boat Historical Specifications 1.3
Manual Targeting Training Missions
Advanced Shift Keys 2.0
BRF 1.3 full
Critical hits 1.1 Torpedos
Dooms Decks for VIIABC 1.3
Enhanced FunelSmoke_by HanSolo78
Gisement
Gouldjg's Crew Management v1.2
Grossdeutscher Rundfunk
AilClimateZones 1.0
AilClouds 3.0
AilDeckwave 1.0
AilRain 1.0
AilSmoke 1.7
AilWhiteInterior 1.0
Lite Campaign LC 1.2
The Elite Campaign 1.1
No Damn Bubbles, No Damn Halo Mod
NDB,NDH OM#1 - No Dialog Indicator
Old Style Explosions V1.1
Radio Paris French Music Full Version 1.2
U-Boat Killer Mod
AlternateEndingScreen
Loading Screens Mod
sobers base wave mechanics for SH5 v2
TDC Tutorial Mission By EMTGUF
AilImpurity 1.2 extreme
NewUIs_TDC_2_7_0_ByTheDarkWraith
NewUIs_TDC_2_7_0_AllDials_TDC
NewUIs_TDC_2_7_0_emtguf_rework_scopes
MightyFine Crew Mod 1.2.1 Stock w beards
MFCM 1.2.1 OPTIONAL crash_dive workaround
MCCD_1.04_MFCM_1.2.1_compatible

But it is a very good mod nice work A++

THE_MASK 05-24-10 04:46 AM

I reckon the problem is you dont have enough mods installed .

TheDarkWraith 05-24-10 05:38 AM

Quote:

Originally Posted by dem (Post 1401632)
Hi cant get the journal to load back up again?

i can see it in the log file.:damn:

1, i do not get folder doesnt exist, but the folder is they

2, i do not get file created succesfully, but i can see the file

using windows explorer do you see the folder \Silent Hunter 5\Logs?

When you save the ship's journal you should see a dialog box pop up that says the file was created successfully. If you don't see this then the file was not created successfully and thus you didn't save the ship's journal and you won't be able to open it (import it).

Let's see if we can't figure out why:

what is the install path for Silent Hunter 5 on your system? What filename are you giving the ship's journal when you're trying to save it?

TheDarkWraith 05-24-10 05:53 AM

updated German menu file for v2.7.0 by Paco:
http://www.filefront.com/16532549/Ne...nu-by-Paco.7z/

also available at post #1 of this thread.

dem 05-24-10 05:59 AM

Hi
a few more mods would to great :yeah:

Yes i do see the logs using windows explorer

[When you save the ship's journal you should see a dialog box pop up that says the file was created successfully. If you don't see this then the file was not created successfully and thus you didn't save the ship's journal and you won't be able to open it (import it). this is not happering]

Install path D:\Program Files\Ubisoft\Silent Hunter 5

file name is Dave


ps can Sober think of ever mod i miss or should i remove sum:o

thank you all

TheDarkWraith 05-24-10 06:12 AM

Quote:

Originally Posted by dem (Post 1401712)
Hi
a few more mods would to great :yeah:

Yes i do see the logs using windows explorer

[When you save the ship's journal you should see a dialog box pop up that says the file was created successfully. If you don't see this then the file was not created successfully and thus you didn't save the ship's journal and you won't be able to open it (import it). this is not happering]

Install path D:\Program Files\Ubisoft\Silent Hunter 5

file name is Dave


ps can Sober think of ever mod i miss or should i remove sum:o

thank you all

what language are you playing the game with (German, English, French, etc.)? Can you send me the Dave.dat file from \Silent Hunter 5\Logs so I can see what it did?


All times are GMT -5. The time now is 04:03 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.