Jump to content

[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
Link to post
Share on other sites
  • 1 month later...

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

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.  

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

Link to post
Share on other sites
  • 3 weeks later...
  • 2 weeks later...

@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(?).

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

Link to post
Share on other sites
  • 4 weeks later...

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
Link to post
Share on other sites
  • 2 weeks later...
  • 1 month later...

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?

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
Link to post
Share on other sites
  • 1 month later...

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
Link to post
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...