Jump to content

Kaptain's Log Dev Thread - RC-2(9/12/2017) Now Available!!!!!


Recommended Posts

Quote

Captain's log, Stardate 43539.1. We have moved into orbit around Bre'el IV. With the assistance of the planet's emergency control center, we are investigating a catastrophic threat to the population from a descending asteroidal moon.


For those who wish to record your efforts, the Kaptain's Log is for you.

This mod will automatically record events as they happen.  For many of them, an optional window can open to allow you to enter your own notes.

Release Candidate 2

https://github.com/linuxgurugamer/KaptainsLog/releases/tag/0.0.1.16

  • Fixed some typos on the Intro screen
  • Fixed performance issue in SpaceCenter and Editor

 

Beta history in spoiler below

Spoiler

Release Candidate 1

https://github.com/linuxgurugamer/KaptainsLog/releases/tag/0.0.1.15

Note, the Feature List below is incomplete.

Important:  Delete the following file and directory before installing this:

  • (savedir)/KaptainsLog.cfg
  • (savedir)/KaptainsLogScreenshots/

The following is the list of changes since Beta 8:

  • Fixed performance issue where the log was being spammed with file io errors
  • Fixed problem with Messages window not draggable
  • Moved the HTMLTemplates folder into the PluginData folder to keep ModuleManager from rebuilding if a template is changed
  • Moved the UnusedHTMLTemplates into PluginData for the same reason
  • Added a couple of debug statements to the Start() and Awake() methods
  • Removed all access of the escape key
  • Changed default option for "Hide UI for screenshot" setting to be false
  • Changed method of getting screen messages, now using callbacks
  • Added Intro window
  • Added initial sort window, currently only sorts when selected, will eventually always keep in current specified sort order
    •         Secondary sort is always universal time, except when sorting by universal time; when primary sort is Universal time, secondsry sort is vessel id
  • Added code to keep list sorted when adding new rows
  • Added reverse sort
  • Added export button to image display screen, to export a single entry
  • Added new flag for template file to indicate it's for a quickExport only
  • Added multiple buttons to Intro Window for each section
  • Added new class to save/load global settings
  • Added new option to specify if global settings should be used for all settings
  • Added option to each settings sections about global settings for that section
  • Fixed message icon filters for upper center
  • Added collapse of display when one of the followiing fields are sorted:
    •      VesselID, VesselName, MainBody
  • Added Questionmark icon in upper left of window, it opens the intro/help window when clicked
  • Added Quick Export
  • Added Delete button (to delete all selected rows)
  • Added confirm before mass delete
  • Made global count for screenshots, now saved in global settings
  • Added saving of export settings, & quick export settings
  • Added flag to LogEntry indicating whether the screenshot had the GUI hidden or not
  • Added new template field:  [ScreenshotNoGui], will only show a screenshot if it didn't have the GUI displayed
  • Changed screenshot options to be specific to each, so that some can have screenshots with the GUI, and some without.
  • Removed some options related to screenshots from the general settings since they weren't needed anymore 
  • Fixed internal index counter
  • Added space between thumbnails
  • Added check on load to be sure the index isn't greater than logIdx, this can happen from a crash, or a revert/exit.  If check fails, sets logIdx to 1 greater than loaded index value
  • Moved permanent screenshotcnt to ScenarioModule
  • Merged both Scenario Modules
  • Disabled the "Log Entry Saved" message
  • Added check to NOT record log entry if debris got modified/destroyed

Beta 8

Added code to keep list sorted when adding new rows
Added reverse sort
Added export button to image display screen, to export a single entry (not functional yet)
Added new flag for template file to indicate it's for a quickExport only
Added multiple buttons to Intro Window for each section
        (still need to take pic and add images)
Added new class to save/load global settings
Added new option to specify if global settings should be used for all settings
Added option to each settings sections about global settings for that section
Fixed message icon filters for upper center

Beta 7

  • Changed default option for "Hide UI for screenshot" setting to be false
  • Changed method of getting screen messages, now using callbacks
  • Added Intro window
  • Added initial sort window, currently only sorts when selected, will eventually always keep in current specified sort order
    • Secondary sort is always universal time, except when sorting by universal time; when primary sort is Universal time, secondsry sort is vessel id

Beta 6

  • Removed all usage of the escape key

Beta 5

  • Fixed problem with Messages window not draggable
  • Moved the HTMLTemplates folder into the PluginData folder to keep ModuleManager from rebuilding if a template is changed
  • Moved the UnusedHTMLTemplates into PluginData for the same reason
  • Added a couple of debug statements to the Start() and Awake() methods

Please delete the old folder before installing Beta 5

BETA 4

  • Removed option to override the Pause menu (for now)
  • Blizzy toolbar button now working
  • Text added to all events logging
  • Added more events which don't have either "pause" or "screenshot" options:
    • Log on science changed
    • Log on science received
    • Log on orbital survey completed
    • Log on Reputation Changed
    • Log on Triggered Data Transmission
    • Log on Vessel Rollout
    • Log on Part Upgrade Purchased
    • Log on Part Purchased
    • Log on Funds Changed

Third BETA Released

  • Fixed title for option in settings for Pause on Crew EVA (it was the 2nd Flag Plant)
  • Fixed the Save screenshot as jpg to default to false
  • Fixed typo in the Hime when no messages tooltip
  • Fixed double colon, in the "Keep messsages for"
  • Reordered settings columns and pages
  • Added setting column for logging events
  • Added options to log/not log specific events
  • There are now 4 events which don't have "pause" options:
  • Log on Kerbal passed out from G-force
  • Log on Flight Log Recorded
  • Log on Progress Achievement
  • Log on Progress Completion
  • Added options to control screenshots for specific events
  • Shortened text for "Save screenshots/thumbnails in save folder"
  • Added settings to specify which events to take snapshots on
  • Added option to put thumbnails into a subfolder, defaulting to true
  • Clicking on a thumbnail now brings up an image viewer of the image, scalable 
  • Now deletes screenshots and thumbnails when last log item referring to them is deleted.
  • Added buttons for individual filters onto main screen

There are a lot of new options, please take a few minutes to review the options in the Settings screen.

Second BETA Released:

https://github.com/linuxgurugamer/KaptainsLog/releases

Changes:

  • Fixed label on entry field window
  • Made mod follow the UI visiblity flag
  • Added upper limit on altitude and speed filters, upper limits specified in settings
  • Added option to allow windows to be off-screen
  • Fixed upper limit of time filter to be current time + 2 hours
  • Fixed issue where filters were being applied even if disabled
  • Changed default thumbnail size from 60 to 120
  • Added option to save screenshots in save directory rather than global save directory
  • Added ScenarioModule to save screenshot count to fix issue of invalid screenshots being saved.
  • Added code to update image cache while screenshots are in progress and window displayed
 

Functionality

  • Automatically record events as they happen
  • Automatic screenshot at time of event, savable as either JPG or PNG format, or both
  • Configurable thumbnail size of screenshots
  • Display optional window during event record for personal notes
  • Manual entry of logs at any time
  • Optional overriding of Escape menu when in flight screen
  • Display of log entries on screen
  • Selection of which fields to display
  • Ability to filter on any of the fields
  • Ability to sort on some vields
  • Export to CSV
  • Export to HTML using template files
  • View individual images
  • Quick export single row (from the Image Viewer screen)
  • Attach selected image to a manual log entry
  • Captures Screen Messages
  • Display Screen messages in window
  • Screen messages can be filtered
  • Filter specified screen messages from list
  • Ability to add a screen message to the log
  • Intro window with full explanation of all screens
  • UI can be hidden for individual events for screen capture
  • Edit existing entries
  • Delete single entries
  • Delete selected entries
  • Collapse of view when sorted by vessel id, name or mainbody
  • Settings can be specific to a single save or global for all saves

Events Recorded

  • Flight Log Recorded
  • Part Died
  • Launch
  • Stage Separation
  • Part Couple (dock)
  • Vessel Modified
  • Stage Activate
  • Orbit Closed (enter orbit, not from a launch)
  • Orbit Escaped (achieve escape velocity)
  • Vessel Recovered
  • Landed
  • Crew Modified
  • Progress Record
  • Kerbal Passed Out From Gee Force
  • Crew Killed
  • Crew Transferred
  • Dominant Body Change (SOI change)
  • Flag Plant
  • Crew On EVA
  • Manual Entry

Data items being captured are:

  • Vessel name (or Kerbal name)
  • Universal Time
  • UTC time
  • Mission Time
  • Situation
  • Body (which SOI is the vessel in)
  • Control level
  • Altitude
  • Speed
  • Event type
  • Notes (entered by player)
  • Screenshot (both full size and thumbnail)

The HTML template files are in a simple format (not yet finalized).  Essentially, for each template, there will be three files:

  • Header file
  • Detail line file
  • Footer file

I am writing the following simple templates for the initial release:

  • Detailed with Full Size Images
  • Detailed with Thumbnails
  • Details, No images

Additional submissions would be greatly appreciated once I get to a beta release.

I will be looking for beta testers soon, please contact me if you have any questions.

Source Code: https://github.com/linuxgurugamer/KaptainsLog

Download:https://github.com/linuxgurugamer/KaptainsLog/releases

License: GPLv3

Edited by linuxgurugamer
Link to comment
Share on other sites

  • 2 weeks later...

This is an amazing idea. My historical records have been limited only to plaques on flags, and I've been itching for something that is accessible and won't require writing a whole paragraph. Thank you very much for this, and I look forward to its development.

Link to comment
Share on other sites

This is a super intriguing mod, would it be possible assign a user-defined "Class" and "Variant" tag manually against craft so that the player could track, say, how many 'Phoenix 5Bs' they've launched in comparison to 'Phoenix 9A IVs', as an example?

Edit: It's obviously nice that we can name our craft but it can be difficult to categorize craft either recovered, lost or in flight.

Edited by Poodmund
Link to comment
Share on other sites

6 minutes ago, linuxgurugamer said:

No need.  I haven't released it yet.

But I missed out on all the hype I could have had.  :)

 

I created my own system for tracking missions in my games.  It looks like this does a lot of that automatically.

 

On 7/26/2017 at 9:10 PM, linuxgurugamer said:

Export to HTML using template files

But it appears that I might have to redesign my tracking site soon.

Link to comment
Share on other sites

9 hours ago, razark said:

But I missed out on all the hype I could have had.  :)

 

I created my own system for tracking missions in my games.  It looks like this does a lot of that automatically.

 

But it appears that I might have to redesign my tracking site soon.

Yup!

Link to comment
Share on other sites

I've been waiting for it, thanks for the release :) Maybe will try to dig into my html knowledge to make some templates. What exactly would you need/what's the main syntax?

Some things I've noticed in the settings menu:

  • There's two "Pause on flag plant" options, not sure if intended.
  • Maybe have "Save screenshot as jpg" off by default? 
  • "Hide when no messages" tooltip has a typo: Hide the windw....
  • "Keep messages for (minutes)" has double colon. Also not sure what does this exactly mean, the log isn't persistent?

XGd022D.png

Will keep testing later today :) 

Link to comment
Share on other sites

A few suggestions/wishlist after some playtesting:

  • Make an option to choose which events to log (currently there're only options "pause at"). It's a bit annoying performing a rocket launch with your UI "blinking" every stage separation.
  • If possible, log messages/mission completions.
  • Log nesting (with expandable lists) by ship/UTC (i.e. day 1/2/3 events, ship x/y/z events...). Or make a more immediate UI for Filtering (i.e. in the same window?)
  • Ability to identify and mark accordingly (in the ship name/description) KRASH simulations. (i.e. "Ship 123 - SIM")
  • Ability to customize template for entries similar to the intro quote. Example: "Kaptain's log. [value] [value2], [value3]. End of log."

Also is there an option to remove/edit entries? Haven't noticed it so far.

Great job so far! I've tried to dig into the source code, and I really appreciate the effort put into this.

Edited by Yakvi
Expanded on a first point a bit
Link to comment
Share on other sites

I can appreciate that there is a lot of work that went into this but I can't seem to make it do quite what I was hoping it might. 

All I wanted was a resizable and scrollable window that showed a log of the messages displayed on the screen at the top left and top centre of the KSP screen i.e. experiment transmission results etc., preferably with an option to turn off the stock messages. I would have liked this because often these messages are obscured by mod screens. 

Link to comment
Share on other sites

16 hours ago, Foxster said:

I can appreciate that there is a lot of work that went into this but I can't seem to make it do quite what I was hoping it might. 

All I wanted was a resizable and scrollable window that showed a log of the messages displayed on the screen at the top left and top centre of the KSP screen i.e. experiment transmission results etc., preferably with an option to turn off the stock messages. I would have liked this because often these messages are obscured by mod screens. 

@DMagic just released a sime mod which does just that here:  

 

Link to comment
Share on other sites

19 hours ago, Yakvi said:

 

Also is there an option to remove/edit entries? Haven't noticed it so far

In the main window, click the red X to delete, click the pencil to edit.

You have some good ideas for future versions.  I will add the ability to specify which events to log today

19 hours ago, Yakvi said:

Ability to customize template for entries similar to the intro quote. Example: "Kaptain's log. [value] [value2], [value3]. End of log."

Not sure I understand, can you be a bit more specific?

19 hours ago, Yakvi said:

If possible, log messages/mission completions.

Not sure if I can, but I'll look into it

19 hours ago, Yakvi said:
  • Log nesting (with expandable lists) by ship/UTC (i.e. day 1/2/3 events, ship x/y/z events...). Or make a more immediate UI for Filtering (i.e. in the same window?)

Future enhancement, thanks for the suggestion

19 hours ago, Yakvi said:

Ability to identify and mark accordingly (in the ship name/description) KRASH simulations. (i.e. "Ship 123 - SIM")

Far future enhancement

Link to comment
Share on other sites

On 8/14/2017 at 3:17 AM, Yakvi said:
  • There's two "Pause on flag plant" options, not sure if intended.
  • Maybe have "Save screenshot as jpg" off by default? 
  • "Hide when no messages" tooltip has a typo: Hide the windw....
  • "Keep messages for (minutes)" has double colon. Also not sure what does this exactly mean, the log isn't persistent?
  • Pause on flag plant fixed, 2nd one was for Crew EVA
  • Fixed the Save screenshot as jpg
  • Fixed typo
  • Fixed double colon

These are the messages which appear on screen during the game, separate from the log files.  I'll add a tooltip to make it more obvious

Thanks, have some other things to implement, will try to get out a new update later today

Link to comment
Share on other sites

1 hour ago, linuxgurugamer said:
21 hours ago, Yakvi said:

Ability to customize template for entries similar to the intro quote. Example: "Kaptain's log. [value] [value2], [value3]. End of log."

Not sure I understand, can you be a bit more specific?

Currently all the information is stored as a table. What I would love to see is it being more... journal-ish. Example from another game (the Sea Dogs series):

1695r5W.jpg

In this case, it would be something along the lines of:

iF4vLdE.png

And this is an example of how it would look in the settings menu:

v4KI7x8.png

But yeah, that's probably something to be done far in the future.

 

Another bunch of bugs.

  • Even with the setting on, the button doesn't appear in Blizzy toolbar setup ("configure visible items").
  • A number of "vessel modified" logs without any explanation. Could be related to Connection state (I'm using RemoteTech)
  • "Close" button doesn't work for main window in my heavily modded save. Have to click on the toolbar every time. Works fine on stock. Not sure what may be the reason.
  • There's a lot of inconsistency about when the screenshots are taken. Still trying to find a pattern. It appears enabling jpg option solves the issue though. 
  • In the main window, items appear as editable (in text input boxes), while they aren't. 
  • "Save screenshots/thumbnails" text goes overboard

J0WvuZA.png

And a couple more suggestions :) 

  • Be able to bulk delete some entries (manual selection, or based on filter)
  • Log science/data transmition. 
  • Log parts explosion/destruction
  • Click on image to see the full size/open it outside the game
  • Save thumbnails to a subfolder

 

Link to comment
Share on other sites

1 hour ago, Yakvi said:

Another bunch of bugs.

  • Even with the setting on, the button doesn't appear in Blizzy toolbar setup ("configure visible items").
  • A number of "vessel modified" logs without any explanation. Could be related to Connection state (I'm using RemoteTech)
  • "Close" button doesn't work for main window in my heavily modded save. Have to click on the toolbar every time. Works fine on stock. Not sure what may be the reason.
  • There's a lot of inconsistency about when the screenshots are taken. Still trying to find a pattern. It appears enabling jpg option solves the issue though. 
  • In the main window, items appear as editable (in text input boxes), while they aren't. 
  • "Save screenshots/thumbnails" text goes overboard

J0WvuZA.png

And a couple more suggestions :) 

  • Be able to bulk delete some entries (manual selection, or based on filter)
  • Log science/data transmition. 
  • Log parts explosion/destruction
  • Click on image to see the full size/open it outside the game
  • Save thumbnails to a subfolder

The Blizzy button is known, not fully implemented.

Vessel modified logs are, ummm, interesting.  I'll see if I can add some text.

No idea about the close button, it does the same thing as clicking the toolbar button.

Screenshots are being worked on.

In the main window, they are editable so you can select and copy them.

Fixed the text.

Parts explosion/destruction are logged in the PartDied event

Other suggestions have been logged, thanks

 

Link to comment
Share on other sites

On 8/15/2017 at 9:49 AM, Yakvi said:

A number of "vessel modified" logs without any explanation. Could be related to Connection state (I'm using RemoteTech)

There should already have been something in the vessel modified text.

Please check again and be more specific

thx

Link to comment
Share on other sites

I noticed that it happens most of all after the game loads. 3-4 vessel modified messages in an arc of a few seconds. 

Another thing which I've noticed (and this one is huge), somehow this mod has a HUGE impact on my FPS, even in KSC. Maybe related, there's a constant spam of error messages in the log when in flight. 

sp9tvG1.png

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...