SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-23-10, 02:30 PM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

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
TheDarkWraith is offline   Reply With Quote
 

Tags
dbrn, favorite, new ui

Thread Tools
Display Modes

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 07:34 AM.


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.