Jump to content

[Alpha] [Plugin] [1.0.4] Kerbal Recorder & Gameframer.com


noisybit

Recommended Posts

FYI: The mod has moved into beta. New thread in the release forums here.

 

 

 

Kerbal Recorder Alpha 0.5.2

Gameframer is a new service for gamers currently in alpha testing for KSP. Automatically upload your vessels and missions to view, share, and analyze.

Gameframer.com aims to extend your gaming experience with detailed analysis and great visualizations. The entire idea grew out of a plugin I was working on for KSP and I'm excited to be launching and developing the idea here in the KSP community.

[table]

[tr]

[td]

 

DOWNLOAD:

[/td]

[td]Gameframer_0.5.2-alpha.zip[/td]

[/tr]

[tr]

[td]

 

MORE INFO:

[/td]

[td]KSP Home, Vessel Gallery, and Mission Gallery[/td]

[/tr]

[/table]

What is it?

A plugin that records details about the ships you build and the missions you fly and a website that allows you to view and share them. Vessel images are captured using the wonderful Kronal Vessel Viewer. Significant mission events are captured in short videos and still images.

How do I install it?

Download the plugin and drag the Gameframer folder into your Gamedata.

How do I use it?

To Start

The first time you load the Space Center you will be prompted to choose a generated username and agree that it's okay to upload some of your gameplay to gameframer.com.

In the VAB or SPH

By default the plugin will upload a vessel when you save it. You can turn this off and control upload manually if you prefer. You can also delete vessels you have uploaded.

During Flight

When you begin a mission you will be prompted to record it. If you answer yes then while you fly the plugin will automatically record short video clips when something interesting happens. This currently means things like stage activation, launch, orbit achieved, etc.

You can also record time-lapse videos anytime you want. Press the record button and then stop it when you want.

Alpha?

I need your help making sure my servers are solid and the mod doesn't summon the Kraken. Please post feedback here or email [email protected].

 


CHANGELOG

0.5.2 Misc Fixes #2 (10/22/2015)

 

  • Pause button in mission works now
  • Can delete events from the mission details window
  • Links to your vessel/mission gallery from the mod

 

0.5.1 Misc Fixes (10/21/2015)

 

  • Fix mod detection
  • Delete timelapse on cancel
  • Adjust land/launch criteria

 

0.5 aka "Back from the dead" (10/16/2015)

 

  • Update to KSP 1.0.4
  • New on demand time-lapse recording
  • Fixed incorrect vessel calculations

 

0.4 Release lost in space and time

 


0.3.2 Crash fixes

 

  • Crash entering VAB/SPH after flying a mission
  • Bug deleting vessels
  • Bug terminating vessel from tracking center

 

 

0.3.1 Bug fixes

 

  • Mission recording auto/manual option works now
  • Missions are automatically deleted on revert
  • Launch event fires when the vessel leaves the ground, not stage 1 activate
  • More reliable vessel uploads, small fixes.

 

0.3

 

  • Key mission events (launch, orbit, etc.) are automatically captured with telemetry, images and short GIFs.
  • Mission stats: distance traveled, duration, career & science mode results
  • Delta-V, height, etc. calculations stored for vessels
  • Better mod detection

 

0.2

 

  • Memory leaks fixed; performance improved; Upload bug fixed

 

0.1 aka "Cross your fingers"

 

  • First release; limited features; tiny servers

 

 


THANKS

 

  • TriggerAu for his plugin framework which helped clarify the mysteries of writing one's first mod
  • Kronal and bigorangemachine for the fantastic Vessel Viewer code
  • r4m0n for MechJeb which flew hundreds of test flights for me and computers deltav for vessels
  • You awesome people for helping me test

 

 


Plugin source code provided at Github.

This software is provided "as-is" with no warranties.

Copyright 2015 All rights reserved.

Edited by noisybit
v0.5.2
Link to comment
Share on other sites

Warning:There is almost certainly a memory leak. Apologies in advance.

this really makes me not want to test this but i will as it sounds interesting

Edit: Dont know if its possible or in scope of the mod but a way to upload and share the .craft file would be cool

Edited by BrutalRIP
Link to comment
Share on other sites

this really makes me not want to test this but i will as it sounds interesting

Edit: Dont know if its possible or in scope of the mod but a way to upload and share the .craft file would be cool

Fair point. The next release in a day or two should fix the leak and another bug or two. I'll be sure to update the original post.

The .craft files are automatically uploaded along side the other ship data. (There's a "KSP craft file" link at the top of each vessel page: e.g. http://gameframer.com/#/ksp/vessel-details/54882a9203bc638ad395c291)

Link to comment
Share on other sites

Fair point. The next release in a day or two should fix the leak and another bug or two. I'll be sure to update the original post.

The .craft files are automatically uploaded along side the other ship data. (There's a "KSP craft file" link at the top of each vessel page: e.g. http://gameframer.com/#/ksp/vessel-details/54882a9203bc638ad395c291)

Lol my bad its nearly 4am here neeed sleeeep. zzzzzzz

Link to comment
Share on other sites

awww shucks, I was hoping it was this. Still, I like the concept and will be keeping an eye on it...

Haha, sorry. I admit my uninspired mod name is not super descriptive. Kerbal Recorder will not allow mission replay in the game but instead will try to capture a comprehensive summary of the mission for later review on the web.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

This looks really neat! ill sign up and give it a spin.

I think this mod deserves a bit more attention! Ill port back with feedback!.

I really like the vessel viewing section.

EDIT: out of curiosity any thoughts on adding a downloadable craft file to the vessel gallery page?

Edited by rabidninjawombat
Link to comment
Share on other sites

This looks really neat! ill sign up and give it a spin.

I think this mod deserves a bit more attention! Ill port back with feedback!.

I really like the vessel viewing section.

EDIT: out of curiosity any thoughts on adding a downloadable craft file to the vessel gallery page?

Thanks for the feedback! I actually just temporarily removed the Craft download link until I fix a small bug that I'm working on now. Should have it back soon.

The vessel section is a little more flushed out than the mission section but I'll be working on both this week.

BTW, no signup required, just download the mod and pick a username!

Link to comment
Share on other sites

Hey, I'm red-dragon on GameFramer, and I love this work--but I noticed that both 0.2 and 0.3 tend to hang for long periods when I try to upload a craft. In 0.3 it stays on "Busy." Suggestions? I'm happy to supply files if you tell me which. Thanks.

Link to comment
Share on other sites

Hey, I'm red-dragon on GameFramer, and I love this work--but I noticed that both 0.2 and 0.3 tend to hang for long periods when I try to upload a craft. In 0.3 it stays on "Busy." Suggestions? I'm happy to supply files if you tell me which. Thanks.

Nice vessels. :) I'm guessing the upload in 0.3 isn't succeeding? Let me look through the logs and get back to you. What are your computer and network specs in general (i.e. crappy/decent/badass)? What are long periods for the pause, >10 seconds?

Did you select "Single image" for the "Event Recording" option in "Settings" before the mission you are flying now?

Edited by noisybit
add q.
Link to comment
Share on other sites

Nice vessels. :) I'm guessing the upload in 0.3 isn't succeeding? Let me look through the logs and get back to you. What are your computer and network specs in general (i.e. crappy/decent/badass)? What are long periods for the pause, >10 seconds?

Did you select "Single image" for the "Event Recording" option in "Settings" before the mission you are flying now?

I've recently graduated to BadS specs--64-bit PC (running x86 build though) with a GTX 745 card. And by "long" I mean I can give it as long as I want but it never seems to leave the Busy status. And I have not had a successful upload in a while too. Something is hanging.

And yes, I was using "Single image" for the Event Recording setting.

Link to comment
Share on other sites

I've recently graduated to BadS specs--64-bit PC (running x86 build though) with a GTX 745 card. And by "long" I mean I can give it as long as I want but it never seems to leave the Busy status. And I have not had a successful upload in a while too. Something is hanging.

And yes, I was using "Single image" for the Event Recording setting.

Thanks for the details. I tried to clean up all most of my debug message, but you could search for "KAR," or "ception" in KSP.log to see if anything turns up. I think it would be easiest if I just put together a debug build for you to collect some information. In the mean time, would you mind sending me a few vessels you were trying to save? (fewer mods the better) Thanks.

FYI, I fixed the flickering on mouse over on your mission images. That's when it flips to the animation, and you didn't have one.

Link to comment
Share on other sites

Thanks for the details. I tried to clean up all most of my debug message, but you could search for "KAR," or "ception" in KSP.log to see if anything turns up. I think it would be easiest if I just put together a debug build for you to collect some information. In the mean time, would you mind sending me a few vessels you were trying to save? (fewer mods the better) Thanks.

FYI, I fixed the flickering on mouse over on your mission images. That's when it flips to the animation, and you didn't have one.

Thank you for fixing the flicker so quickly! I really like the Mission Controller idea, too!

This is what I found in KSP.log:

[LOG 05:45:19.371] 3/4/2015 5:45:19 AM, KAR, TakleAndGetScreenshot took 29ms
[ERR 05:45:19.374] Could not allocate memory: System out of memory!
Trying to allocate: 25379812B with 32 alignment. MemoryLabel: Texture
Allocation happend at: Line:411 in
Memory overview




[ ALLOC_DEFAULT ] used: 516783646B | peak: 0B | reserved: 547707372B


[ ALLOC_GFX ] used: 683328179B | peak: 0B | reserved: 730235540B


[ ALLOC_CACHEOBJECTS ] used: 464840B | peak: 0B | reserved: 12582912B


[ ALLOC_TYPETREE ] used: 20472B | peak: 0B | reserved: 4194304B


[ ALLOC_PROFILER ] used: 484920B | peak: 0B | reserved: 8388608B




[ERR 05:45:19.376] Unable to retrieve image reference


[ERR 05:45:19.376] No Texture memory available to upload


[ERR 05:45:19.376] Unable to retrieve image reference


[LOG 05:45:19.397] 3/4/2015 5:45:19 AM, KAR, TakleAndGetScreenshot took 21ms
[ERR 05:45:19.400] Could not allocate memory: System out of memory!
Trying to allocate: 25379812B with 32 alignment. MemoryLabel: Texture
Allocation happend at: Line:411 in
Memory overview




[ ALLOC_DEFAULT ] used: 516784112B | peak: 0B | reserved: 547707372B


[ ALLOC_GFX ] used: 683328179B | peak: 0B | reserved: 730235540B


[ ALLOC_CACHEOBJECTS ] used: 464840B | peak: 0B | reserved: 12582912B


[ ALLOC_TYPETREE ] used: 20472B | peak: 0B | reserved: 4194304B


[ ALLOC_PROFILER ] used: 484920B | peak: 0B | reserved: 8388608B




[ERR 05:45:19.402] Unable to retrieve image reference


[ERR 05:45:19.402] No Texture memory available to upload


[ERR 05:45:19.402] Unable to retrieve image reference


[LOG 05:45:19.470] 3/4/2015 5:45:19 AM, KAR, Uploader start
[EXC 05:45:19.483] NullReferenceException: Object reference not set to an instance of an object
UnityEngine.WWWForm.AddBinaryData (System.String fieldName, System.Byte[] contents, System.String fileName, System.String mimeType)
Gameframer.WWWClient.AddBinaryData (System.String fieldName, System.Byte[] contents, System.String fileName, System.String mimeType)
Gameframer.VesselUploader.Start ()

So maybe it's just part overload? I'm going to remove some part mods and see if that helps.

Also, I noticed the Launch Profile Altitude portion doesn't properly record warps--that odd peak is where I warped to my apoapsis and circularized, followed by a planned landing. Also, the game crashed on initial landing and I had to start again, which is why the LPA curve repeats itself at the end. I don't know if there is any way of dealing with such factors...?

Edited by LitaAlto
Link to comment
Share on other sites

So maybe it's just part overload? I'm going to remove some part mods and see if that helps.

Also, I noticed the Launch Profile Altitude portion doesn't properly record warps--that odd peak is where I warped to my apoapsis and circularized, followed by a planned landing. Also, the game crashed on initial landing and I had to start again, which is why the LPA curve repeats itself at the end. I don't know if there is any way of dealing with such factors...?

Thanks so much for this. I don't think you should have to change anything, problem is on my end. I just tested it on around 2500 parts, crashed after repeated uploads. I know I've been a bit lazy cleaning up memory, I'll do a pass at that as well as put some extra debugging information in. I should get that out here today.

The altitude curve (and most of the mission stuff) on the website is just a placeholder for now. I record all telemetry at different intervals depending on roughly how far away you are from your sphere of influence. The end result will be multiple graphs with proper timelines. Thanks for pointing it out.

Edited by noisybit
words
Link to comment
Share on other sites

So maybe it's just part overload? I'm going to remove some part mods and see if that helps.

Also, I noticed the Launch Profile Altitude portion doesn't properly record warps--that odd peak is where I warped to my apoapsis and circularized, followed by a planned landing. Also, the game crashed on initial landing and I had to start again, which is why the LPA curve repeats itself at the end. I don't know if there is any way of dealing with such factors...?

Sorry for the delay. I had to deal with endless BSODs on my dev box (what is this, the early 1990s? :) ). I've cleaned up some more of my memory problems but it seems the Kronal Vessel Viewer which I'm using for the images has its own memory leak. I'll put that on my list and hopefully submit a pull request to them.

Please try out this test version if you get a chance. It should provide a more reliable vessel upload experience. Gameframer_red-dragon.zip (OUTDATED LINK REMOVED)

If you run into problems, click on the debug button and send me the log.

Now on to some website improvements...

- - - Updated - - -

I tested out the video recording option last night. It works really well, for the most part--but there is a weird effect where the camera appears to skitter, as if it is no longer centering the ship. It's obvious in the launch and first flight anigifs, here:

http://gameframer.com/#/ksp/mission-details/3691973772

This is because I am currently relying on the main camera (i.e. the one you control) for recording. If you move the camera while it's recording (as a normal person might) you'll get that weird effect. I need to sit down and do some math to figure out fixed camera placements so I can decouple from the main camera. This will also enable me to get some really cool angles on launch, separation, etc. and ensure visible bodies are in the background for space shots.

Edited by noisybit
removed link to old test version
Link to comment
Share on other sites

Ok played around with it a bit more.

Ive noticed that even when i set the mission recorder to only record when i tell it to (via the settings menu) it still automatically starts when i switch to a exisiting vessel (space station) Or launch a new vessel, So i have to stop the recording manual if i dont want that one archived.

Other little nitpick, i noticed there seems to be a upper limit on heighth of the vessel? My username is Iron-Viking (awesome name BTW) i uploaded the Starlifter craft (from Roverdudes mod) and the top and bottom seem to be cut off of the screenshot, even though the vessel fit inside the VAB.

Link to comment
Share on other sites

Ok played around with it a bit more.

Ive noticed that even when i set the mission recorder to only record when i tell it to (via the settings menu) it still automatically starts when i switch to a exisiting vessel (space station) Or launch a new vessel, So i have to stop the recording manual if i dont want that one archived.

Other little nitpick, i noticed there seems to be a upper limit on heighth of the vessel? My username is Iron-Viking (awesome name BTW) i uploaded the Starlifter craft (from Roverdudes mod) and the top and bottom seem to be cut off of the screenshot, even though the vessel fit inside the VAB.

I've added two bugs to my list. 1) Sticky auto/manual mission recording option and 2) Vessel height calculations for tall vessels (i.e. Starlifter. Cool ship BTW)

Thanks for the feedback, I'll roll these changes into the next plugin release. Hopefully I can get that out this by this weekend or early next week.

Link to comment
Share on other sites

This is very cool, but can I suggest that it captures the video for launch when the craft starts to move upwards? My shuttle has it's crew gantry disengage first, and then a 10 second countdown, with the main engines firing at 3 count, and the SRBs and clamps engaging at T-0.

http://gameframer.com/#/ksp/mission-details/4205372157

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...