Jump to content

[1.12.3] KSP Chroma Control - 1.12.9.3-prerelease {07 Jan 2022}


zer0Kerbal

Recommended Posts

 

This post is WIP

 

68747470733a2f2f696d672e736869656c64732e 68747470733a2f2f696d672e736869656c64732e 68747470733a2f2f696d672e736869656c64732e
68747470733a2f2f696d672e736869656c64732e 68747470733a2f2f696d672e736869656c64732e badge.svg

originally by @FauserneEist

This mod adds keyboard lighting functionality to Kerbal Space Program. Talking about it really doesn't do it much good. Take a look at this awesome video from GameInstructor, who tested the mod and explains it very comprehensively: 

Curseforge-400x400.jpg

 

Features

  • Function keys 1 to 0 are only lit, if the underlying action group actually does anything. The keys are displayed in two different colors, depending on whether the action group is toggled or not.
  • The keys for SAS, RCS, Gears, Lights and the Brakes are lit up in different colors, indicating if the respective system was activated or not.
  • The amount of resources in the current stage is displayed on your keypad and the keys to the left of it (PrtScr, ScrLk, ..., PageDown)
  • The color of W, A, S, D, E and Q varies slightly depending on whether you're in precision or normal steering mode
  • The keys for timewarp control are lit either red for physics timewarp or green for normal timewarp

Full list of game effects

  • Stylized Kerbal Space Program logo that fades in on every scene that does not contain any noteworthy keyboard interaction (pressing Escape to go to the menu not being noteworthy enough to light up the key)
  • In the vessel editor, different kinds of keysets are lit up according to the current editor mode.
  • Control keys and toggleable function keys are lit up in different colors, showing whether the function is switched on or off during flight.
  • Reduced keyset lit for EVA mode
  • Resource gauges displayed on the keypad and the keys above the UpDownLeftRight keys.
  • Power failure animation on vessels that need power to be controllable
  • Crash animation that triggers when crashing a vessel's root part
  • Splashdown animation that triggers, when landing on water.
  • Vessel electricity status displayed on any Razer mouse and mousepad connected
  • Vessel heat displayed in three colors (blue = cool, red = warm/hot, yellow = you're in trouble), uses the scrollwheel and logo on mice and the bottom LEDs on the mousepad, as well as the keyboard logo.
  • "Dear GF, please don't disturb me now" feature on the headset. The device is colored red, when you can't quicksave right now. Turns green once quicksave is allowed again.
  • Vessel height above ground displayed on F1 to F4 keys (F1 = 10m, F2 = 50m, F3 = 100m, F4 = 1000m). The intensity changes, e.g. if F1 is fully lit and F2 is half lit, you are 30 meters above ground.

Installation

  1. Unzip the release archive and place the 000/KSPChromaControl folder in your KSP GameData directory.
  2. Start KSP and witness the awesomeness of highlighted function keys while kerbaling through space
  3. (optional) Move the file ChromaAppInfo.xml from the mod folder into the KSP folder, to allow Synapse to recognize the game properly.

How to support this and other great mods by zer0Kerbal

Support Patreon Github Sponsor Buy zer0Kerbal a snack


*red box below is a link to forum post on how to get support*

How to get support

Kerbal Space Program 1.12.2 — Unity 2019.2.2f1 — .NET Framework 4.7.2

@zer0Kerbal is now the maintainer!

Source here.

Download KSP Chroma Control on CurseForge

License: 68747470733a2f2f696d672e736869656c64732e

Original Thread here.

Enjoy!

Edited by zer0Kerbal
Link to comment
Share on other sites

  • 1 month later...
6 hours ago, xD-FireStriker said:

I installed this with no luck, Razer Synapses doesnt want to work for me. are there any good troubleshooting steps i can follow? 

Did you download from CurseForge or GitHub? Only the CurseForge version has the required DLL's included.

ETA: @zer0Kerbal, your mod works great! It really adds to the experience. The additional effects are nicely done.

Edited by Jack Wolfe
Link to comment
Share on other sites

10 hours ago, Jack Wolfe said:

Did you download from CurseForge or GitHub? Only the CurseForge version has the required DLL's included.

ETA: @zer0Kerbal, your mod works great! It really adds to the experience. The additional effects are nicely done.

i downloaded it from github, let me try from curseforge 

EDIT: That did the trick, Thanks @Jack Wolfe

Edited by xD-FireStriker
Link to comment
Share on other sites

12 hours ago, Jack Wolfe said:

ETA: @zer0Kerbal, your mod works great! It really adds to the experience. The additional effects are nicely done.

Thank you @Jack Wolfe! All the credit goes to the original author - @FauserneEist

Although I did add one or two, and fixed one or two (like the / and \ being swapped)

+1 :rep:for the assist!

2 hours ago, xD-FireStriker said:

EDIT: That did the trick, Thanks @Jack Wolfe

Glad it is working for you @xD-FireStriker!

 

I had it working - then it stopped on my system - which is a mess - constantly installed, and uninstalling - moving things, my system would give LTT a headache! :o

Link to comment
Share on other sites

  • 2 weeks later...
25 minutes ago, physius said:

I've downloaded it from GitHub, but I can only find the old version of the on CKAN

Read the 3rd post up from yours.

Link to comment
Share on other sites

  • 9 months later...
3 hours ago, linuxgurugamer said:

Think you can update CKAN for this?  I just got my keyboard fixed, would like to install it with CKAN if possible

 

LGG

It is up for an update in January, I will publish the SpaceDock listing and push the CKAN button .

I am about to replace the lmb in my two razer mice - and so would like it to work with those and my Huntsman as well.

What was wrong with the keyboard if you don't mind answering?

 

 

Edited by zer0Kerbal
flocking the trees
Link to comment
Share on other sites

59 minutes ago, zer0Kerbal said:

What was wrong with the keyboard if you don't mind answering?

 

One of the keys wasn't working, I really don't care that much about the colors, it's nice, but the feel of the keyboard is why I like it

I downloaded the last version from January, and am getting these errors constantly repeated in the log:

 Uploading Crash Report
 NullReferenceException: Object reference not set to an instance of an object
   at Corale.Colore.Core.RegistryHelper.TryGetSdkVersion (Corale.Colore.SdkVersion& ver) [0x0009a] in <9d81bb0e00ea44c3b3c4db1bde34399f>:0 
   at Corale.Colore.Core.Chroma.Initialize () [0x00027] in <9d81bb0e00ea44c3b3c4db1bde34399f>:0 
   at Corale.Colore.Core.Chroma..ctor () [0x00025] in <9d81bb0e00ea44c3b3c4db1bde34399f>:0 
   at Corale.Colore.Core.Chroma.get_Instance () [0x00015] in <9d81bb0e00ea44c3b3c4db1bde34399f>:0 
   at Corale.Colore.Core.Chroma.InitInstance () [0x00000] in <9d81bb0e00ea44c3b3c4db1bde34399f>:0 
   at Corale.Colore.Core.Keyboard..ctor () [0x00015] in <9d81bb0e00ea44c3b3c4db1bde34399f>:0 
   at Corale.Colore.Core.Keyboard.get_Instance () [0x00015] in <9d81bb0e00ea44c3b3c4db1bde34399f>:0 
   at KspChromaControl.ColoreDrain.ApplyToKeyboard (KspChromaControl.ColorSchemes.ColorScheme colorScheme) [0x00055] in <171e0c48e415421db8318eb98a3e60a0>:0 
   at KspChromaControl.ColoreDrain.Send (KspChromaControl.ColorSchemes.ColorScheme scheme) [0x00000] in <171e0c48e415421db8318eb98a3e60a0>:0 
   at KspChromaControl.KspChromaPlugin+<>c__DisplayClass8_0.<Update>b__0 (KspChromaControl.IDataDrain drain) [0x00000] in <171e0c48e415421db8318eb98a3e60a0>:0 
   at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <9577ac7a62ef43179789031239ba8798>:0 
   at KspChromaControl.KspChromaPlugin.Update () [0x000a4] in <171e0c48e415421db8318eb98a3e60a0>:0 
 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
 UnityEngine.DebugLogHandler:LogException(Exception, Object)
 ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
 UnityEngine.Logger:LogException(Exception, Object)
 UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

 

No idea what's going on, let me know if you want the complete  log file

 

Edit:  I think I figured it out, had to have the Chroma Connect module installed in Synapse.  You may want to update the instructions

What's really odd is that I have to install the module in Synapse 3, but need Synapse 2 to control the keyboard. although I don't need Synapse 2 to be running for KerbalChroma to control the keyboard lights

You may want to put a try/catch around the  ApplyToKeyboard() to report an error and exit if a failure condition is experienced, otherewise it can be a frustrating experience for anyone trying to use it

Edited by linuxgurugamer
Link to comment
Share on other sites

  • 1 year later...
On 7/25/2024 at 4:14 AM, Facteur_Rhesus said:

Hi, it's working great :p, but i'm using AZERTY keyboard (French keyboard) can in remap just some key and how can i do that ?

Thank you - and thank you for the question.

All the key bindings are hard-coded.

if you know how to compile it, the changes needed are minor and just a simple find-replace. The hard part of compiling is the dependency libraries.

Link to comment
Share on other sites

Thank   Thank you for your answer, i tried but i think it's out of my skill unfortunately :/.

In flightSceneManager i have  3 error

'RaycastHit' cannot be found

'Physics' does not exist in the current contextdon't exist in this context

'Collider' is defined in an assembly that is not referenced. You must add a reference to UnityEngine.PhysicsModule

My knowledge in programming is limited to basic stuff in python :D

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