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)

7thSeal 10-18-10 05:56 PM

Quote:

Originally Posted by TheDarkWraith (Post 1517111)
just finishing up the options migrater.

Works like a charm... why didn't this brilliant idea come to mind about 20 versions back? :haha:

Jk, great work once again TDW. :rock:

TheDarkWraith 10-18-10 06:05 PM

Quote:

Originally Posted by 7thSeal (Post 1517379)
Works like a charm... why didn't this brilliant idea come to mind about 20 versions back? :haha:

it did but didn't have time to sit down and really think about how to make it correctly. Once I finally sat down and documented what I wanted to do, what was involved...basically devised a program 'plan' then I implemented said plan. Worked like a charm for me also.
To sit down and just throw code together makes for disaster. When you carefully plan it it works right the first time (hint hint Ubi) :D

In case anyone is wondering, the two applications included were made using Visual Studio 2008. Programming language used was C#.

Not too familiar with Visual Studio 2010 but I'm fiddling with it more and more every day. The .NET framework v4.0 introduces some neat items :yep:

I see you found the options migrater app intuitively easy to use? What about the ShipsJournalEditor app? I updated that with a help file and tooltips to make it easier to use.

DavyJonesFootlocker 10-18-10 06:12 PM

Can some one explain how this works?

TheDarkWraith 10-18-10 06:13 PM

Quote:

Originally Posted by DavyJonesFootlocker (Post 1517393)
Can some one explain how this works?

can you be more specific? How what works?

DavyJonesFootlocker 10-18-10 06:16 PM

The Journal.

7thSeal 10-18-10 06:21 PM

Quote:

Originally Posted by TheDarkWraith (Post 1517385)
it did but didn't have time to sit down and really think about how to make it correctly. Once I finally sat down and documented what I wanted to do, what was involved...basically devised a program 'plan' then I implemented said plan. Worked like a charm for me also.
To sit down and just throw code together makes for disaster. When you carefully plan it it works right the first time (hint hint Ubi) :D

From being a user of your mod since its early release I've always liked how you've taken it in steps and implemented everything gradually. Has pretty much kept this mod always running smoothly for me with the few bugs being fixed quickly as your work continuously moved forward. :salute:

Quote:

I see you found the options migrater app intuitively easy to use? What about the ShipsJournalEditor app? I updated that with a help file and tooltips to make it easier to use.
Yessir, as soon as I looked under the File tab and saw the 'Open old options file' all the steps needed to continue was easy enough to follow along. I haven't tried the ShipsJournalEditor yet but will give that a go here shortly. :up:

TheDarkWraith 10-18-10 06:21 PM

Quote:

Originally Posted by DavyJonesFootlocker (Post 1517397)
The Journal.

The journal is:
- everything that is output to your messagebox in game everyday
- items not shown in your messagebox in game everyday
- additions/notes/entries added by user per day

Basically it's a running log of everything that has happened during your career or whatever you want to use it for (items shown/not shown in the messagebox in game). It's a living journal. You can add notes to it, you can edit entries, you can delete entries....it's your journal. Think of it as a diary of your career if that helps to solidify what it's for.

I hope to expand it to be able to:
- include pictures
- include ship's sunk/damaged
- ??

DavyJonesFootlocker 10-18-10 06:27 PM

OK I tried it but is there somewhere the entries are saved?

TheDarkWraith 10-18-10 06:32 PM

Quote:

Originally Posted by DavyJonesFootlocker (Post 1517410)
OK I tried it but is there somewhere the entries are saved?

The files are saved in \Silent Hunter 5\Logs.

They aren't readily viewable with notepad or anything so you either view them in game (Ship's Journal) or use the included ShipsJournalEditor app (which you can get to by clicking on your ship's journal name under the opening screen Ship's Journal).

Either of the two methods listed will allow you to edit/add/delete entries and open/save the changes made in your journal (the in-game Ship's journal editor allows you to import another journal into yours)

TheDarkWraith 10-18-10 06:59 PM

Quote:

Originally Posted by 7thSeal (Post 1517404)
From being a user of your mod since its early release I've always liked how you've taken it in steps and implemented everything gradually. Has pretty much kept this mod always running smoothly for me with the few bugs being fixed quickly as your work continuously moved forward. :salute:

and will continue to move forward....now with it being easier for you all to update your options file :DL

I'm a self taught programmer. Been programming since I was 8. Can program in many languages including assembly (computers, micro-controllers, embedded systems, PLCs, etc.). Dad taught me the incremental program style and that is how I do it to this day. That is why you see me release so many versions. Each version usually targets one specific idea or implementation. This makes it easy to track down bugs/errors and implement the required fixes for them.

Any ideas as to how to improve this mod even more?

I'm working on something better than the pencil marks that the game only allows you to display on the maps currently. Automation will be getting some updates here soon also :DL

DavyJonesFootlocker 10-18-10 07:08 PM

I got an error message about cannot find ShipJournal folder.

TheDarkWraith 10-18-10 07:14 PM

Quote:

Originally Posted by DavyJonesFootlocker (Post 1517442)
I got an error message about cannot find ShipJournal folder.

interesting....are you using the latest version of the mod (v4.7.0)?

All the apps are located in \Silent Hunter 5\data\Applications\

see if that folder exists with the mod enabled

All the journals are stored in \Silent Hunter 5\Logs

If you've never made a journal then that's why you're getting the error message. Select Ship's Journal from the opening game menu which will cause the game to create the required folder.

DavyJonesFootlocker 10-18-10 07:25 PM

Yes using the latest version and I found the app and the log folder but when I press the name of the journal in-game it takes me back to desktop with a message that says cannot find folder.

TheDarkWraith 10-18-10 08:07 PM

Quote:

Originally Posted by DavyJonesFootlocker (Post 1517454)
Yes using the latest version and I found the app and the log folder but when I press the name of the journal in-game it takes me back to desktop with a message that says cannot find folder.

did you install the game via steam or from DVD?

DavyJonesFootlocker 10-18-10 08:19 PM

Disc.


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