linuxgurugamer

[1.5.x] Loading Screen Manager

Recommended Posts

A forum user, @paulprogart, wrote this nice mod to customize the loading screen.  I also contributed a lot of code to it to provide it with a settings page.  

For some reason, he decided to pull the mod.  If there was an explanation, it doesn't exist any more. 

The license allows me to revive it.  I've tried to contact him, no response.

So, even though he would prefer not, I am reviving this now.  The mod is incredibly useful and fun.

Original thread is here:  http://forum.kerbalspaceprogram.com/index.php?/topic/156064-122-loadingscreenmanager-v110-show-your-own-images-while-ksp-loads/

LoadingScreenManager (LSM) is a simple plugin for KSP 1.3 that will show a slideshow of custom images while KSP loads, and also allows customizing the "witty loading tips" shown during loading.

Note regarding 1.4.x

The toolbar seems to be instantiated a bit later in the game, so the toolbar button is NOT visible when first getting to the Main Menu.  Simply get into a game scene and then exit back to the MainMenu, and the toolbar button will be there in the upper right of the screen.

New Features 1.2.3

  • Added logoScreen config value
  • Added logoTip config value
  • Added ability to read multiple config files
    • The mod now reads all config files in the LoadingScreenManager/PluginData directory.  Only files in the LoadingScreenManager/PluginData directory will be read for these config files.  The primary one is the LoadingScreenManager.cfg, other mods can add their own files.  The additional files can contain the same values as the primary one.  The following fields, if present in the additional config files, override the standard config file:
      • displayTime
      • fadeInTime
      • fadeOutTime
      • tipTime
      • includeOriginalTips
      • neverShowAgain
    • The logoScreen, logoTip and FOLDER sections are used as is.  They do not override, but are used alongside any others.

Features (v1.02)

  • Show your own images while KSP loads (PNG or JPG formats, any size)
  • Show multiple random images during loading as a slideshow
  • Configure multiple folders within the KSP install directory (defaults to Screenshots folder)
  • Use custom file masks (e.g. *.jpg, *.png) and optionally include files in subdirectories
  • Customize the time each image shows for as well as the transition fade times
  • Optionally include the default loading images in the slideshow
  • Eliminate possible repeats
  • Customize the length each "witty loading tip" shows for
  • Add your own loading tips (with option to keep/discard defaults)
  • BONUS: Will dump all the tips to the log if you really want to see them all
  • In-Game configuration screen (no need to edit config files)

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

Download:https://spacedock.info/mod/1422/LoadingScreenManager

License:  CC-BY-NC-SA-4.0

 

Edited by linuxgurugamer

Share this post


Link to post
Share on other sites

Oh man, this will be GREAT :D

Share this post


Link to post
Share on other sites

My pleasure.  I can't say my feelings when I found out on Sunday that he had pulled it.  No response to emails, seems to be totally gone from github

 

Share this post


Link to post
Share on other sites

You are a true saint :D

I lost count of how often I saw you continuing an abandoned mod and creating new quality of life mods. <3

 

Is there a chance to extend the functionality so it also displays tips and pics in the game/craft loading scene?

The pure Black screen with the spinning logo in the bottom right is really dull -.-

Share this post


Link to post
Share on other sites
2 minutes ago, million_lights said:

You are a true saint :D

I lost count of how often I saw you continuing an abandoned mod and creating new quality of life mods. <3

 

Is there a chance to extend the functionality so it also displays tips and pics in the game/craft loading scene?

The pure Black screen with the spinning logo in the bottom right is really dull -.-

Not really.  It's actually a ksp issue.  

Share this post


Link to post
Share on other sites
3 minutes ago, million_lights said:

dang it.

Welll I guess we will stare at that black screen for quite a while then.

-.-

Dang It!  Another of my mods :D

 

9 minutes ago, million_lights said:

dang it.

Welll I guess we will stare at that black screen for quite a while then.

-.-

I'll see about it, but it's rather low on my list of things to do

Share this post


Link to post
Share on other sites

Well, if its not too much trouble, could u please upload the original 1.2.2 version of this mod?Cause RO is not upgrade to 1.3 yet and I wanna stay at 1.2.2 while using this mod...

Share this post


Link to post
Share on other sites

@linuxgurugamer, it seems LSM is pulling tips from Contract Pack config nodes into the Loading Screen tip messages, i.e. both:

UrlConfig
{
	name = Strategia
	type = CONTRACT_GROUP
	parentUrl = Strategia/Contracts/Strategia
	url = Strategia/Contracts/Strategia/Strategia
	CONTRACT_GROUP
	{
		name = Strategia
		displayName = Strategia
		minVersion = 1.17.0
		agent = Strategia
		tip = Strategizing...
	}
}

... and 

UrlConfig
{
	name = ExplorationPlus
	type = CONTRACT_GROUP
	parentUrl = ContractPacks/ExplorationPlus/ExplorationPlus
	url = ContractPacks/ExplorationPlus/ExplorationPlus/ExplorationPlus
	CONTRACT_GROUP
	{
		name = ExplorationPlus
		displayName = Exploration Plus
		agent = Exploration
		minVersion = 1.21.0
		disabledContractType = ExplorationContract
		tip = Being "Explorery"
		DATA
		{
			type = int
			returnHome = Random(1,3)
		}
	}
}

Insert the loading screen tips, 'Strategizing...' and 'Being "Explorery"' in the roll of loading screen messages.

I was going to raise an issue on the Git repo but it seems they are disabled(?).

Share this post


Link to post
Share on other sites
Just now, Poodmund said:

@linuxgurugamer, it seems LSM is pulling tips from Contract Pack config nodes into the Loading Screen tip messages, i.e. both:


UrlConfig
{
	name = Strategia
	type = CONTRACT_GROUP
	parentUrl = Strategia/Contracts/Strategia
	url = Strategia/Contracts/Strategia/Strategia
	CONTRACT_GROUP
	{
		name = Strategia
		displayName = Strategia
		minVersion = 1.17.0
		agent = Strategia
		tip = Strategizing...
	}
}

... and 


UrlConfig
{
	name = ExplorationPlus
	type = CONTRACT_GROUP
	parentUrl = ContractPacks/ExplorationPlus/ExplorationPlus
	url = ContractPacks/ExplorationPlus/ExplorationPlus/ExplorationPlus
	CONTRACT_GROUP
	{
		name = ExplorationPlus
		displayName = Exploration Plus
		agent = Exploration
		minVersion = 1.21.0
		disabledContractType = ExplorationContract
		tip = Being "Explorery"
		DATA
		{
			type = int
			returnHome = Random(1,3)
		}
	}
}

Insert the loading screen tips, 'Strategizing...' and 'Being "Explorery"' in the roll of loading screen messages.

I was going to raise an issue on the Git repo but it seems they are disabled(?).

Issues now open on github, please add there

Share this post


Link to post
Share on other sites

I've looked at the code, I don't see any way this could be happening?

Is it possible that those "tips" are being included in the stock tips?

Please enable the "DumpTips" and start the game, then send me the log file.

Share this post


Link to post
Share on other sites

I assume this is open to pull requests, I have  couple of improvements I'd like to submit

 

(Just checking before investing my free time on it)

 

nevermind, took a look at the code and it would probably be easier to write a new one than to add what I wanted to add

Edited by Sigma88

Share this post


Link to post
Share on other sites

new release, 1.2.1:

  • KSP 1.3.1 update

Share this post


Link to post
Share on other sites

This mod is awesome! Love watching the images while the game is loading now. 

I've grabbed the few that came with Astronomer's Visual Pack as they were gorgeous! And added a few of my own into the folder.

Anyone know of additional packs of nice pictures to include in the folder?

 

 

Share this post


Link to post
Share on other sites
On 10/10/2017 at 10:47 AM, linuxgurugamer said:

new release, 1.2.1:

  • KSP 1.3.1 update

Not updated on SpaceDock yet.  Just a heads up.

Share this post


Link to post
Share on other sites

I love this mod, but I had an issue with it. After a few screens, it stops changing the pictures and the same one is shown over and over. Is it intended behavior?

Share this post


Link to post
Share on other sites

This is some real excrements mate. Thank you. Finally I don't need to wander around waiting for my KSP to load, I can be nostalgic. And now my piles and piles of screenshots seem worthwhile!

:P

Share this post


Link to post
Share on other sites

hi there. was looking through the log for a different issue and found this,

 

Spoiler

[LOG 02:43:52.597] [LSM] Loading configuration file:  C:/Program Files (x86)/Steam/steamapps/common/Kerbal Space Program/KSP_x64_Data/../GameData/LoadingScreenManager/PluginData/LoadingScreenManager.cfg
[WRN 02:43:52.598] File 'C:/Program Files (x86)/Steam/steamapps/common/Kerbal Space Program/GameData/PluginData/LoadingScreenManager/LoadingScreenManager.cfg' does not exist
 

i downloaded LSM from ckan, and the .cfg installed to "...gamedata/loadingscreenmanager/plugindata directory with no other folders created. is this some out dated part of the mod? or possibly something else?

Share this post


Link to post
Share on other sites
7 hours ago, Jesusthebird said:

hi there. was looking through the log for a different issue and found this,

 

  Hide contents

[LOG 02:43:52.597] [LSM] Loading configuration file:  C:/Program Files (x86)/Steam/steamapps/common/Kerbal Space Program/KSP_x64_Data/../GameData/LoadingScreenManager/PluginData/LoadingScreenManager.cfg
[WRN 02:43:52.598] File 'C:/Program Files (x86)/Steam/steamapps/common/Kerbal Space Program/GameData/PluginData/LoadingScreenManager/LoadingScreenManager.cfg' does not exist
 

i downloaded LSM from ckan, and the .cfg installed to "...gamedata/loadingscreenmanager/plugindata directory with no other folders created. is this some out dated part of the mod? or possibly something else?

I'll have to check, but I think this is ok, it just uses the defaults.

I'll take a deeper look later, in the meantime, I'm logging it as an issue

 

Not a bug, I confirmed.  It is looking for the file, but it isn't there, so it uses the defaults.

Edited by linuxgurugamer

Share this post


Link to post
Share on other sites

New release, 1.2.2

  • Fixed static windowid causing incompatibility with the KerbalX mod

If you aren't using the KerbalX mod, then you don't need to update this

Share this post


Link to post
Share on other sites

New release, 1.2.3

  • Thanks to @Sigma88 for the following:
    • Added code to remove dll from memory when mainmenu is reached
  • Added code copied from ModuleManager to only allow the latest version of the DLL to be used (if multiple are installed)
  • Reordered the changelog (now newest first)
  • Consolidated all logging into logging class, removes duplicated code
  • Added logoScreen config
  • Added logoTip config
  • Added ability to read multiple config files
Edited by linuxgurugamer

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now