![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
05-23-10, 01:34 PM
|
#2446 | |
|
Nub
![]() Join Date: Jan 2006
Posts: 4
Downloads: 1
Uploads: 0
|
Quote:
|
|
|
|
05-23-10, 02:30 PM
|
#2447 |
|
Black Magic
![]() |
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: You give it a filename WITHOUT extension. Also do not put any periods in the name! It will automatically append a .dat extension: 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: If it successfully exports the ship's journal then you see this: To test the import I deleted many entries from my current ship's journal: then I clicked on import and gave it the same filename that I saved it under: and ship's journal and messagebox restored ![]() ![]() ![]() |
|
|
05-23-10, 03:09 PM
|
#2448 | |
|
Silent Hunter
![]() Join Date: Aug 2006
Posts: 3,528
Downloads: 118
Uploads: 0
|
Quote:
Are there plans for any ability to read these files externally? |
|
|
|
05-23-10, 03:18 PM
|
#2449 | |
|
Black Magic
![]() |
Quote:
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 |
|
|
|
05-23-10, 04:55 PM
|
#2450 |
|
Black Magic
![]() |
v2.7.0 released. See post #1 for details
|
|
|
05-23-10, 08:15 PM
|
#2451 |
|
IntOpsVet
Join Date: Jul 2007
Location: Norway
Posts: 87
Downloads: 68
Uploads: 0
|
Thank you oh dark one.
__________________
--CURRENT BUILD-- CPU: Intel Core i9-14900KF 5.8GHz GPU: ASUS TUF Gaming GeForce RTX 4090 OC Edition RAM: Kingston FURY Beast RGB DDR5 5600MHz 64GB SSD: Kingston FURY Renegade PCIe M.2 NVME SSD 2TB CASE: Phanteks Eclipse G500A DRGB Mid Tower MoBo: ASUS ROG STRIX Z790-F GAMING PSU: Corsair HX1200, 1200W PSU Screen: ASUS 27" gamingskjerm ROG Strix XG27AQ x 2 |
|
|
05-23-10, 09:57 PM
|
#2452 |
|
Black Magic
![]() |
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). |
|
|
05-24-10, 12:59 AM
|
#2453 | |
|
Silent Hunter
![]() Join Date: Aug 2006
Posts: 3,528
Downloads: 118
Uploads: 0
|
Quote:
This is all in post #5 of this thread. |
|
|
|
05-24-10, 03:43 AM
|
#2454 |
|
Bilge Rat
![]() Join Date: May 2010
Posts: 1
Downloads: 80
Uploads: 0
|
Many thanks from Russian submariners for the menu for us!
|
|
|
05-24-10, 04:19 AM
|
#2455 |
|
Planesman
![]() Join Date: Jul 2008
Posts: 181
Downloads: 476
Uploads: 0
|
Hi cant get the journal to load back up again?
i can see it in the log file. ![]() 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++ |
|
|
05-24-10, 04:46 AM
|
#2456 |
|
Ace of the deep .
|
I reckon the problem is you dont have enough mods installed .
|
|
|
05-24-10, 05:38 AM
|
#2457 | |
|
Black Magic
![]() |
Quote:
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? |
|
|
|
05-24-10, 05:53 AM
|
#2458 |
|
Black Magic
![]() |
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. |
|
|
05-24-10, 05:59 AM
|
#2459 |
|
Planesman
![]() Join Date: Jul 2008
Posts: 181
Downloads: 476
Uploads: 0
|
Hi
a few more mods would to great ![]() 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 thank you all |
|
|
05-24-10, 06:12 AM
|
#2460 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
![]() |
| Tags |
| dbrn, favorite, new ui |
|
|
