Jump to content

[1.12.x] Vessel Viewer Continued


linuxgurugamer

Recommended Posts

2 hours ago, linuxgurugamer said:

Sorry, you are wrong.  The modules depend on RPM for various things and wont compile without RPM being installed.  As it was, i had to copy the shader files fromRPM into the JSIPartUtilities mod before I could get it working.

I promise, I didn't recompile or install RPM to get that picture.  I used JSIPartUtilities 0.5.0.4 and nothing else.  The VesselViewerRPM module has no external dependencies (well, it leans on the main VesselViewer module, which is where that shader comes in, but you've already taken care of that); it just has methods that tell it which buttons get clicked, and produces a screen image and menu output accordingly, which MAS calls just as well as RPM did.  The same goes for Scansat and Docking Port Alignment Indicator, which have also been "ported" to MAS with minimal or no changes on their part.

Link to comment
Share on other sites

2 hours ago, linuxgurugamer said:

New release, 0.8.8.1

  • Updated path in one of the InstallCheckers

@elGremlin This will fix the bad install message

Cool, THX!

8 minutes ago, elGremlin said:

Cool, THX!

I will read the manual how to give you more details as yes, this fixed the InstallCheckers, but in game I see message that VesselViewer is not installed

Link to comment
Share on other sites

2 hours ago, Kerbas_ad_astra said:

I promise, I didn't recompile or install RPM to get that picture.  I used JSIPartUtilities 0.5.0.4 and nothing else.  The VesselViewerRPM module has no external dependencies (well, it leans on the main VesselViewer module, which is where that shader comes in, but you've already taken care of that); it just has methods that tell it which buttons get clicked, and produces a screen image and menu output accordingly, which MAS calls just as well as RPM did.  The same goes for Scansat and Docking Port Alignment Indicator, which have also been "ported" to MAS with minimal or no changes on their part.

The dependencies come when compiling.  The 1.8.1 version of the game is now not showing an error if a dependency is missing, until it tries to access that missing dependency.

If I can't compile it, I won't release it.

Link to comment
Share on other sites

I'm not able to use VesselViewer with RPM anymore.  I've tried different IVAs and the Probe Control Room.  All the other screens work except Vessel Viewer.  Pressing the VesselViewer button causes the RPM screens to become unresponsive.  Running KSP 1.8.1 and VesselViewer 0.8.8.3.  Applicable lines in player.log might be:

ADDON BINDER: Cannot resolve assembly: JSIPartUtilities, Culture=neutral, PublicKeyToken=null
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading Crash Report
FileNotFoundException: Could not load file or assembly 'JSIPartUtilities, Version=0.5.0.4, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
  at JSI.Handlers.InternalVesselView.Start () [0x00000] in <ca26f00f668549b9bcfd397f761e6d6c>:0 
 
(Filename: <ca26f00f668549b9bcfd397f761e6d6c> Line: 0)

ArgumentNullException: Value cannot be null.
Parameter name: shader
  at (wrapper managed-to-native) UnityEngine.Material.CreateWithShader(UnityEngine.Material,UnityEngine.Shader)
  at UnityEngine.Material..ctor (UnityEngine.Shader shader) [0x00007] in <5aeafee3fea24f37abd1315553f2cfa6>:0 
  at SCANsat.JUtil.DrawLineMaterial () [0x00017] in <532e0c7735694646a2dba646ef08b593>:0 
  at SCANsat.SCAN_UI.JSISCANsatRPM.Start () [0x00290] in <532e0c7735694646a2dba646ef08b593>:0 
 
(Filename: <5aeafee3fea24f37abd1315553f2cfa6> Line: 0)

FileNotFoundException: Could not load file or assembly 'JSIPartUtilities, Version=0.5.0.4, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
  at JSI.Handlers.InternalVesselView.Start () [0x00000] in <ca26f00f668549b9bcfd397f761e6d6c>:0 
 
(Filename: <ca26f00f668549b9bcfd397f761e6d6c> Line: 0)

Player.log is attached.

I am posting this here instead of over in the RPM thread because only VesselViewer is unresponsive.

Thanks,

Matt

https://www.dropbox.com/s/qi1rg1k185n80wa/Player.log?dl=0

Link to comment
Share on other sites

1 hour ago, orionguy said:

FileNotFoundException: Could not load file or assembly 'JSIPartUtilities, Version=0.5.0.4, Culture=neutral, PublicKeyToken=null' or one of its dependencies. at JSI.Handlers.InternalVesselView.Start () [0x00000] in <ca26f00f668549b9bcfd397f761e6d6c>:0

Are you sure you have JSIPartUtilities installed?  It's bundled with VesselViewer (in the 'JSI' folder -- note that it occupies different subfolders than RPM, so even if you've got RPM you need to copy it over), and you can also download it separately:

 

Link to comment
Share on other sites

1 hour ago, orionguy said:

Running KSP 1.8.1 and VesselViewer 0.8.8.3.

I use VV 0.8.6.1 RPM-only version and it works in 1.8.1 It's a bit outdated but it's the last release of RPM-only version without toolbar-related hard dependencies and it still works. 

Link to comment
Share on other sites

37 minutes ago, Kerbas_ad_astra said:

Are you sure you have JSIPartUtilities installed?  It's bundled with VesselViewer (in the 'JSI' folder -- note that it occupies different subfolders than RPM, so even if you've got RPM you need to copy it over), and you can also download it separately:

 

Thank you.  This solved the problem.

I had installed VesselViewer from CKAN and JSIPartUtilities was not linked as a dependency.  

Works perfectly now.  Thanks again!

Link to comment
Share on other sites

  • 4 weeks later...

Haven't had much luck getting the button to appear in the SPH for VV.  I do get the message confirming everything is installed...  and the Toolbar Controller shows Vessel Viewer on "Stock" but there's no VV button on the stock toolbar.

Any suggestions?

 

Edited by XLjedi
Link to comment
Share on other sites

30 minutes ago, XLjedi said:

Haven't had much luck getting the button to appear in the SPH for VV.  I do get the message confirming everything is installed...  and the Toolbar Controller shows Vessel Viewer on "Stock" but there's no VV button on the stock toolbar.

Any suggestions?

 

Make sure all dependencies are installed

If that doesn't work, then post a log file (Player.log if KSP 1.8.x, otherwise output_log.txt)

Link to comment
Share on other sites

10 hours ago, linuxgurugamer said:

Make sure all dependencies are installed

If that doesn't work, then post a log file (Player.log if KSP 1.8.x, otherwise output_log.txt)

Yeah, it was a vanilla install and I have all the dependencies installed...  Tried installing it with CKAN once just to make sure I wasn't missing something.

  • Click Through Blocker  0.1.9.4
  • Toolbar  1.8.0.5
  • ToolbarControl  0.1.9.4
  • JSI Part Utlities  0.5.0.4  
  • KSP-AVC  1.4.1.1
  • VesselView  0.8.8.3
  • VesselMover 1.8 (this is the only non-dependent mod I have)

[ERR 20:47:23.442] ADDON BINDER: Cannot resolve assembly: VesselViewRPM, Culture=neutral, PublicKeyToken=null

I'm seeing the above error code in the log file below.  Am I missing something to do with RPM?

 

Spoiler

[LOG 20:47:21.887] ******* Log Initiated for Kerbal Space Program - 1.8.1.2694 (WindowsPlayer x64) en-us *******
Kerbal Space Program - 1.8.1.2694 (WindowsPlayer x64) en-us


OS: Windows 10  (10.0.0) 64bit
CPU: Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz (8)
RAM: 16099
GPU: Intel(R) UHD Graphics 620 (4152MB)
SM: 50 (Direct3D 11.0 [level 11.1])
RT Formats: ARGB32, Depth, ARGBHalf, Shadowmap, RGB565, ARGB4444, ARGB1555, Default, ARGB2101010, DefaultHDR, ARGB64, ARGBFloat, RGFloat, RGHalf, RFloat, RHalf, R8, ARGBInt, RGInt, RInt, BGRA32, RGB111110Float, RG32, RGBAUShort, RG16, BGRA10101010_XR, BGR101010_XR, R16


Log started: Sat, Dec 07, 2019 20:47:21


[LOG 20:47:21.907] ActionCanvas MASK: 3458764513820540928
[LOG 20:47:21.908] AppCanvas MASK: 3458764513820540928
[LOG 20:47:21.909] MainCanvas MASK: 3458764513820540928
[LOG 20:47:23.309] Load(Assembly): 000_ClickThroughBlocker/MiniAVC
[LOG 20:47:23.310] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\000_ClickThroughBlocker\MiniAVC.dll
[LOG 20:47:23.333] Load(Assembly): 000_ClickThroughBlocker/Plugins/ClickThroughBlocker
[LOG 20:47:23.333] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\000_ClickThroughBlocker\Plugins\ClickThroughBlocker.dll
[LOG 20:47:23.336] AssemblyLoader: KSPAssembly 'ClickThroughBlocker' V1.8.0
[LOG 20:47:23.336] Load(Assembly): 000_Toolbar/MiniAVC
[LOG 20:47:23.337] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\000_Toolbar\MiniAVC.dll
[LOG 20:47:23.338] Load(Assembly): 000_Toolbar/Plugins/aaa_Toolbar
[LOG 20:47:23.338] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\000_Toolbar\Plugins\aaa_Toolbar.dll
[LOG 20:47:23.341] AssemblyLoader: KSPAssembly 'Toolbar' V1.0.0
[LOG 20:47:23.342] AssemblyLoader: KSPAssemblyDependency 'ClickThroughBlocker' V1.7.0
[LOG 20:47:23.342] Load(Assembly): 001_ToolbarControl/MiniAVC
[LOG 20:47:23.342] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\001_ToolbarControl\MiniAVC.dll
[LOG 20:47:23.344] Load(Assembly): 001_ToolbarControl/Plugins/ToolbarControl
[LOG 20:47:23.344] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\001_ToolbarControl\Plugins\ToolbarControl.dll
[LOG 20:47:23.346] AssemblyLoader: KSPAssembly 'ToolbarController' V1.0.0
[LOG 20:47:23.347] AssemblyLoader: KSPAssemblyDependency 'ClickThroughBlocker' V1.0.0
[LOG 20:47:23.347] Load(Assembly): JSI/MiniAVC
[LOG 20:47:23.347] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\JSI\MiniAVC.dll
[LOG 20:47:23.348] Load(Assembly): JSI/PartUtilities/Plugins/JSIPartUtilities
[LOG 20:47:23.348] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\JSI\PartUtilities\Plugins\JSIPartUtilities.dll
[LOG 20:47:23.350] AssemblyLoader: KSPAssembly 'JSIPartUtilities' V0.1.0
[LOG 20:47:23.350] Load(Assembly): KSP-AVC/Plugins/KSP-AVC
[LOG 20:47:23.350] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\KSP-AVC\Plugins\KSP-AVC.dll
[LOG 20:47:23.352] Load(Assembly): Squad/Plugins/KSPSteamCtrlr
[LOG 20:47:23.352] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\Squad\Plugins\KSPSteamCtrlr.dll
[LOG 20:47:23.354] Load(Assembly): VesselMover/Plugins/VesselMover
[LOG 20:47:23.354] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\VesselMover\Plugins\VesselMover.dll
[LOG 20:47:23.356] Load(Assembly): VesselView/MiniAVC
[LOG 20:47:23.356] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\VesselView\MiniAVC.dll
[LOG 20:47:23.358] Load(Assembly): VesselView/Plugins/VesselView
[LOG 20:47:23.358] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\VesselView\Plugins\VesselView.dll
[LOG 20:47:23.360] AssemblyLoader: KSPAssemblyDependency 'ClickThroughBlocker' V1.0.0
[LOG 20:47:23.360] AssemblyLoader: KSPAssemblyDependency 'ToolbarController' V1.0.0
[LOG 20:47:23.360] Load(Assembly): VesselView/Plugins/VesselViewPlugin
[LOG 20:47:23.360] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\VesselView\Plugins\VesselViewPlugin.dll
[LOG 20:47:23.361] AssemblyLoader: KSPAssemblyDependency 'ClickThroughBlocker' V1.0.0
[LOG 20:47:23.361] AssemblyLoader: KSPAssemblyDependency 'ToolbarController' V1.0.0
[LOG 20:47:23.361] Load(Assembly): VesselView/Plugins/VVDiscoDisplay
[LOG 20:47:23.361] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\VesselView\Plugins\VVDiscoDisplay.dll
[LOG 20:47:23.362] AssemblyLoader: KSPAssemblyDependency 'ClickThroughBlocker' V1.0.0
[LOG 20:47:23.362] AssemblyLoader: KSPAssemblyDependency 'ToolbarController' V1.0.0
[LOG 20:47:23.362] Load(Assembly): VesselView/Plugins/VVPartSelector
[LOG 20:47:23.362] AssemblyLoader: Loading assembly at C:\Users\Desktop\Games\KSP\Kerbal Space Program 1.8.1\GameData\VesselView\Plugins\VVPartSelector.dll
[LOG 20:47:23.363] AssemblyLoader: KSPAssemblyDependency 'ClickThroughBlocker' V1.0.0
[LOG 20:47:23.363] AssemblyLoader: KSPAssemblyDependency 'ToolbarController' V1.0.0
[LOG 20:47:23.364] AssemblyLoader: Loading assemblies
[ERR 20:47:23.442] ADDON BINDER: Cannot resolve assembly: VesselViewRPM, Culture=neutral, PublicKeyToken=null

[ERR 20:47:23.443] ADDON BINDER: Cannot resolve assembly: VesselViewRPM, Culture=neutral, PublicKeyToken=null

[ERR 20:47:23.447] AssemblyLoader: Exception loading 'VVPartSelector': System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at AssemblyLoader.LoadAssemblies () [0x000e6] in <9d71e4043e394d78a6cf9193ad011698>:0 

Additional information about this exception:

 System.IO.FileNotFoundException: Could not load file or assembly 'VesselViewRPM, Version=0.8.8.3, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'VesselViewRPM, Version=0.8.8.3, Culture=neutral, PublicKeyToken=null'

 System.IO.FileNotFoundException: Could not load file or assembly 'VesselViewRPM, Version=0.8.8.3, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'VesselViewRPM, Version=0.8.8.3, Culture=neutral, PublicKeyToken=null'

 System.IO.FileNotFoundException: Could not load file or assembly 'VesselViewRPM, Version=0.8.8.3, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'VesselViewRPM, Version=0.8.8.3, Culture=neutral, PublicKeyToken=null'

[LOG 20:47:23.453] VesselModules: Found VesselModule of type AxisGroupsModule with order 999
[LOG 20:47:23.455] VesselModules: Found VesselModule of type FlightIntegrator with order 0
[LOG 20:47:23.460] VesselModules: Found VesselModule of type CommNetVessel with order 999
[LOG 20:47:23.464] VesselModules: Found 3 VesselModule types
[LOG 20:47:23.474] 
************************************************************************

 

Edited by XLjedi
Link to comment
Share on other sites

11 hours ago, XLjedi said:

Haven't had much luck getting the button to appear in the SPH for VV.  I do get the message confirming everything is installed...  and the Toolbar Controller shows Vessel Viewer on "Stock" but there's no VV button on the stock toolbar.

Any suggestions?

 

Are you sure you've got the right Vessel Viewer?  This one is for looking at your vessel in-flight, to visually track temperature, resource levels, and so on.  Kronal Vessel Viewer is the one for making blueprints in the editor.

Link to comment
Share on other sites

20 minutes ago, Kerbas_ad_astra said:

Are you sure you've got the right Vessel Viewer?  This one is for looking at your vessel in-flight, to visually track temperature, resource levels, and so on.  Kronal Vessel Viewer is the one for making blueprints in the editor.

Ah... well, doesn't matter then.  I was looking for KVV and got confused with this one as if it were a new version.

I'll have to continue to explore "plan B"

Edited by XLjedi
Link to comment
Share on other sites

On 12/8/2019 at 5:35 AM, XLjedi said:

Ah... well, doesn't matter then.  I was looking for KVV and got confused with this one as if it were a new version.

I'll have to continue to explore "plan B"

So how did you do your plan B? Did you actually use GIMP/PS to carefully cut out your ships? (I know it's possible, but real tedious)

Link to comment
Share on other sites

5 minutes ago, Jestersage said:

So how did you do your plan B? Did you actually use GIMP/PS to carefully cut out your ships? (I know it's possible, but real tedious)

I just added the 1.8.1 parts to 1.7.3 for the time being.  ;-D

Link to comment
Share on other sites

2 minutes ago, Jestersage said:

All I can say is ??? -- as in, I am confused. Did you modified KVV, or...

I have a 1.7.3 install with KVV that works... 

I took the new 1.8.1 parts from the GameData parts directories that I needed, and just added them to my 1.7.3 GameData parts directories so I could use KVV to get the images that I wanted.

In short, I didn't do anything to KVV...  I just added the new 1.8.1 parts to my 1.7.3 installation.   (yes, it was sneaky, hehehe)

Granted, I'm not particularly satisfied with the approach and may look into alternatives once I have some time off during the holidays.

 

Edited by XLjedi
Link to comment
Share on other sites

  • 3 months later...

Hello @linuxgurugamer,

i was wondering if there is any way to make the vessel viewer dependant on a working connection when using remotetech mod? Sometimes i'm too stupid, failing to see the "no connection" dialog and i keep activating/deactivating stuff... :confused:

btw thanks for making and adopting so many mods! One reason that brought me back to ksp.

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