Jump to content

[1.8.0] KSP-AVC Add-on Version Checker Plugin - MiniAVC-V2 Now available


linuxgurugamer

Recommended Posts

23 minutes ago, DefenderX1 said:

Looks like 1.4.4 killed this mod. I no longer get any prompts about mods being out of date.

So unless every one of my magically upgraded themselves it's broke. (And no I'm not using CKAN so they didn't update themselves.)

Would be nice to see a log file

Link to comment
Share on other sites

On 6/29/2018 at 7:59 AM, linuxgurugamer said:

Would be nice to see a log file

Ooh, there's log files. Cool.

Spoiler

Executing: MiniAVC - 1.0.3.2
Assembly: E:\Games\Steam\steamapps\common\Kerbal Space Program\GameData\000_ClickThroughBlocker\MiniAVC.dll

[Log 08:49:04.8318905]: Starter was created.
Executing: MiniAVC - 1.0.3.3
Assembly: E:\Games\Steam\steamapps\common\Kerbal Space Program\GameData\Endurance\MiniAVC.dll

[Log 08:49:04.8358794]: Starter was created.
Executing: MiniAVC - 1.0.3.1
Assembly: E:\Games\Steam\steamapps\common\Kerbal Space Program\GameData\KAS\Plugins\MiniAVC.dll

[Log 08:49:04.8468500]: Starter was created.
Executing: MiniAVC - 1.0.3.0
Assembly: E:\Games\Steam\steamapps\common\Kerbal Space Program\GameData\KIS\Plugins\MiniAVC.dll

[Log 08:49:04.9107745]: Starter was created.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Log 08:49:15.3574258]: Starter was destroyed.
[Exception 08:49:15.2866181]: System.FormatException: True is not a valid boolean value
  at System.Xml.XmlConvert.ToBoolean (System.String s) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlCustomFormatter.FromXmlString (System.Xml.Serialization.TypeData type, System.String value) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.GetValueFromXmlString (System.String value, System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlTypeMapping typeMap) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadPrimitiveValue (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList, Boolean readByOrder) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstanceMembers (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstance (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot (System.Xml.Serialization.XmlTypeMapping rootMap) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000] in <filename unknown>:0 

[Exception 08:49:15.3683971]: System.IO.IOException: Sharing violation on path E:\Games\Steam\steamapps\common\Kerbal Space Program\GameData\000_ClickThroughBlocker\MiniAVC.xml
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0 
  at System.IO.FileStream..ctor (System.String path, FileMode mode) [0x00000] in <filename unknown>:0 
  at MiniAVC.AddonSettings.Load (System.String rootPath) [0x00000] in <filename unknown>:0 
  at MiniAVC.AddonLibrary.ProcessAddonPopulation (System.Object state) [0x00000] in <filename unknown>:0 

[Log 08:49:15.3574258]: Starter was destroyed.
[Exception 08:49:15.3723863]: System.FormatException: True is not a valid boolean value
  at System.Xml.XmlConvert.ToBoolean (System.String s) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlCustomFormatter.FromXmlString (System.Xml.Serialization.TypeData type, System.String value) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.GetValueFromXmlString (System.String value, System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlTypeMapping typeMap) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadPrimitiveValue (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList, Boolean readByOrder) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstanceMembers (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstance (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot (System.Xml.Serialization.XmlTypeMapping rootMap) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000] in <filename unknown>:0 

[Exception 08:49:15.3743814]: System.FormatException: True is not a valid boolean value
  at System.Xml.XmlConvert.ToBoolean (System.String s) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlCustomFormatter.FromXmlString (System.Xml.Serialization.TypeData type, System.String value) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.GetValueFromXmlString (System.String value, System.Xml.Serialization.TypeData typeData, System.Xml.Serialization.XmlTypeMapping typeMap) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadPrimitiveValue (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList, Boolean readByOrder) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstanceMembers (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstance (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot (System.Xml.Serialization.XmlTypeMapping rootMap) [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () [0x00000] in <filename unknown>:0 
  at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000] in <filename unknown>:0 

[Log 08:49:15.4751107]: Identical remote version found: Using remote version information only.
[Log 08:49:15.4751107]: https://raw.githubusercontent.com/dboi88/CSI-Cargo-Freighter/master/FOR_RELEASE/GameData/CoyoteSpaceIndustries/Freighter/CSIFreighter.version
    NAME: CSIFreighter
    URL: https://raw.githubusercontent.com/dboi88/CSI-Cargo-Freighter/master/FOR_RELEASE/GameData/CoyoteSpaceIndustries/Freighter/CSIFreighter.version
    DOWNLOAD: https://github.com/dboi88/CSI-Cargo-Freighter/releases
    GITHUB: NULL
    VERSION: 0.3.1
    KSP_VERSION: 1.3.1
    KSP_VERSION_MIN: 1.3.1
    KSP_VERSION_MAX: 1.3.1
    CompatibleKspVersion: False
    CompatibleKspVersionMin: True
    CompatibleKspVersionMax: False
    CompatibleGitHubVersion: True

[Log 08:49:15.4860829]: Identical remote version found: Using remote version information only.
[Log 08:49:15.4771064]: Identical remote version found: Using remote version information only.
[Log 08:49:15.4781026]: https://raw.githubusercontent.com/dboi88/CSI-Cargo-Freighter/master/FOR_RELEASE/GameData/CoyoteSpaceIndustries/Freighter/CSIFreighter.version
    NAME: CSIFreighter
    URL: https://raw.githubusercontent.com/dboi88/CSI-Cargo-Freighter/master/FOR_RELEASE/GameData/CoyoteSpaceIndustries/Freighter/CSIFreighter.version
    DOWNLOAD: https://github.com/dboi88/CSI-Cargo-Freighter/releases
    GITHUB: NULL
    VERSION: 0.3.1
    KSP_VERSION: 1.3.1
    KSP_VERSION_MIN: 1.3.1
    KSP_VERSION_MAX: 1.3.1
    CompatibleKspVersion: False
    CompatibleKspVersionMin: True
    CompatibleKspVersionMax: False
    CompatibleGitHubVersion: True

[Log 08:49:15.4860829]: https://raw.githubusercontent.com/dboi88/CSI-Cargo-Freighter/master/FOR_RELEASE/GameData/CoyoteSpaceIndustries/Freighter/CSIFreighter.version
    NAME: CSIFreighter
    URL: https://raw.githubusercontent.com/dboi88/CSI-Cargo-Freighter/master/FOR_RELEASE/GameData/CoyoteSpaceIndustries/Freighter/CSIFreighter.version
    DOWNLOAD: https://github.com/dboi88/CSI-Cargo-Freighter/releases
    GITHUB: NULL
    VERSION: 0.3.1
    KSP_VERSION: 1.3.1
    KSP_VERSION_MIN: 1.3.1
    KSP_VERSION_MAX: 1.3.1
    CompatibleKspVersion: False
    CompatibleKspVersionMin: True
    CompatibleKspVersionMax: False
    CompatibleGitHubVersion: True

[Log 08:49:15.7747672]: E:\Games\Steam\steamapps\common\Kerbal Space Program\GameData\000_ClickThroughBlocker\ClickThroughBlocker.version
    NAME: ClickThroughBlocker
    URL: http://ksp-avc.cybutek.net/version.php?id=546
    DOWNLOAD: https://github.com/linuxgurugamer/ClickThroughBlocker/releases
    GITHUB: linuxgurugamer/ClickThroughBlocker
        LatestRelease: NULL
        AllowPreRelease: False
    VERSION: 0.1.6.5
    KSP_VERSION: 1.4.1
    KSP_VERSION_MIN: 1.4.1
    KSP_VERSION_MAX: 1.4.99
    CompatibleKspVersion: False
    CompatibleKspVersionMin: True
    CompatibleKspVersionMax: True
    CompatibleGitHubVersion: True
[Log 08:49:15.7747672]: http://ksp-avc.cybutek.net/version.php?id=546
    NAME: ClickThroughBlocker
    URL: http://ksp-avc.cybutek.net/version.php?id=546
    DOWNLOAD: NULL
    GITHUB: NULL
    VERSION: 0.0.1
    KSP_VERSION: 1.3.1
    KSP_VERSION_MIN: NULL
    KSP_VERSION_MAX: NULL
    CompatibleKspVersion: False
    CompatibleKspVersionMin: True
    CompatibleKspVersionMax: True
    CompatibleGitHubVersion: True
    UpdateAvailable: False

[Log 08:49:15.7777594]: E:\Games\Steam\steamapps\common\Kerbal Space Program\GameData\000_ClickThroughBlocker\ClickThroughBlocker.version
    NAME: ClickThroughBlocker
    URL: http://ksp-avc.cybutek.net/version.php?id=546
    DOWNLOAD: https://github.com/linuxgurugamer/ClickThroughBlocker/releases
    GITHUB: linuxgurugamer/ClickThroughBlocker
        LatestRelease: NULL
        AllowPreRelease: False
    VERSION: 0.1.6.5
    KSP_VERSION: 1.4.1
    KSP_VERSION_MIN: 1.4.1
    KSP_VERSION_MAX: 1.4.99
    CompatibleKspVersion: False
    CompatibleKspVersionMin: True
    CompatibleKspVersionMax: True
    CompatibleGitHubVersion: True
[Log 08:49:15.7777594]: http://ksp-avc.cybutek.net/version.php?id=546
    NAME: ClickThroughBlocker
    URL: http://ksp-avc.cybutek.net/version.php?id=546
    DOWNLOAD: NULL
    GITHUB: NULL
    VERSION: 0.0.1
    KSP_VERSION: 1.3.1
    KSP_VERSION_MIN: NULL
    KSP_VERSION_MAX: NULL
    CompatibleKspVersion: False
    CompatibleKspVersionMin: True
    CompatibleKspVersionMax: True
    CompatibleGitHubVersion: True
    UpdateAvailable: False

[Log 08:49:15.8829836]: E:\Games\Steam\steamapps\common\Kerbal Space Program\GameData\000_ClickThroughBlocker\ClickThroughBlocker.version
    NAME: ClickThroughBlocker
    URL: http://ksp-avc.cybutek.net/version.php?id=546
    DOWNLOAD: https://github.com/linuxgurugamer/ClickThroughBlocker/releases
    GITHUB: linuxgurugamer/ClickThroughBlocker
        LatestRelease: NULL
        AllowPreRelease: False
    VERSION: 0.1.6.5
    KSP_VERSION: 1.4.1
    KSP_VERSION_MIN: 1.4.1
    KSP_VERSION_MAX: 1.4.99
    CompatibleKspVersion: False
    CompatibleKspVersionMin: True
    CompatibleKspVersionMax: True
    CompatibleGitHubVersion: True
[Log 08:49:15.8829836]: http://ksp-avc.cybutek.net/version.php?id=546
    NAME: ClickThroughBlocker
    URL: http://ksp-avc.cybutek.net/version.php?id=546
    DOWNLOAD: NULL
    GITHUB: NULL
    VERSION: 0.0.1
    KSP_VERSION: 1.3.1
    KSP_VERSION_MIN: NULL
    KSP_VERSION_MAX: NULL
    CompatibleKspVersion: False
    CompatibleKspVersionMin: True
    CompatibleKspVersionMax: True
    CompatibleGitHubVersion: True
    UpdateAvailable: False

[Log 08:49:15.8849787]: Identical remote version found: Using remote version information only.
[Log 08:49:15.8849787]: https://raw.githubusercontent.com/BobPalmer/UmbraSpaceIndustries/master/FOR_RELEASE/GameData/000_USITools/USITools.version
    NAME: USI Tools
    URL: https://raw.githubusercontent.com/BobPalmer/UmbraSpaceIndustries/master/FOR_RELEASE/GameData/000_USITools/USITools.version
    DOWNLOAD: https://github.com/BobPalmer/UmbraSpaceIndustries/releases
    GITHUB: BobPalmer/UmbraSpaceIndustries
        LatestRelease: 0.12
        AllowPreRelease: False
    VERSION: 0.12
    KSP_VERSION: 1.4.1
    KSP_VERSION_MIN: 1.4
    KSP_VERSION_MAX: 1.4.9
    CompatibleKspVersion: False
    CompatibleKspVersionMin: True
    CompatibleKspVersionMax: True
    CompatibleGitHubVersion: True

[Log 08:49:15.8859763]: Identical remote version found: Using remote version information only.
[Log 08:49:15.8859763]: https://raw.githubusercontent.com/BobPalmer/UmbraSpaceIndustries/master/FOR_RELEASE/GameData/000_USITools/USITools.version
    NAME: USI Tools
    URL: https://raw.githubusercontent.com/BobPalmer/UmbraSpaceIndustries/master/FOR_RELEASE/GameData/000_USITools/USITools.version
    DOWNLOAD: https://github.com/BobPalmer/UmbraSpaceIndustries/releases
    GITHUB: BobPalmer/UmbraSpaceIndustries
        LatestRelease: 0.12
        AllowPreRelease: False
    VERSION: 0.12
    KSP_VERSION: 1.4.1
    KSP_VERSION_MIN: 1.4
    KSP_VERSION_MAX: 1.4.9
    CompatibleKspVersion: False
    CompatibleKspVersionMin: True
    CompatibleKspVersionMax: True
    CompatibleGitHubVersion: True

[Log 08:49:15.9029306]: Identical remote version found: Using remote version information only.
[Log 08:49:15.9029306]: https://raw.githubusercontent.com/BobPalmer/UmbraSpaceIndustries/master/FOR_RELEASE/GameData/000_USITools/USITools.version
    NAME: USI Tools
    URL: https://raw.githubusercontent.com/BobPalmer/UmbraSpaceIndustries/master/FOR_RELEASE/GameData/000_USITools/USITools.version
    DOWNLOAD: https://github.com/BobPalmer/UmbraSpaceIndustries/releases
    GITHUB: BobPalmer/UmbraSpaceIndustries
        LatestRelease: 0.12
        AllowPreRelease: False
    VERSION: 0.12
    KSP_VERSION: 1.4.1
    KSP_VERSION_MIN: 1.4
    KSP_VERSION_MAX: 1.4.9
    CompatibleKspVersion: False
    CompatibleKspVersionMin: True
    CompatibleKspVersionMax: True
    CompatibleGitHubVersion: True

[Log 08:54:24.2646872]: Starter was destroyed.
[Log 08:54:24.2517176]: Starter was destroyed.
[Log 08:54:24.2420448]: Starter was destroyed.
[Log 08:54:24.2646872]: Starter was destroyed.
 

 

Link to comment
Share on other sites

39 minutes ago, DefenderX1 said:

Ooh, there's log files. Cool.

 

Please dont' post log files here.  Put them on an upload site and post a link.

I need the output_log.txt, not the other file.

3 hours ago, FreeThinker said:

@linuxgurugamer

it would be useful if you added a link to http://ksp-avc.cybutek.net/ to the OP

No, because while it still works, I have no confidence that it will continue to work.  I've switched from using that to putting links to the .version file in my Github repo.  Less work to maintain.

Link to comment
Share on other sites

29 minutes ago, linuxgurugamer said:

No, because while it still works, I have no confidence that it will continue to work.  I've switched from using that to putting links to the .version file in my Github repo.  Less work to maintain.

Oh, I didn't know that. I now noticed the following line in your version file

"GITHUB": {
        "USERNAME": "linuxgurugamer",
        "REPOSITORY": "KSPAddonVersionChecker"
    },

Is this something new? Exactly what does this do? Will it verify release version at https://github.com/linuxgurugamer/KSPAddonVersionChecker/releases ?

Edited by FreeThinker
Link to comment
Share on other sites

37 minutes ago, FreeThinker said:

Oh, I didn't know that. I now noticed the following line in your version file


"GITHUB": {
        "USERNAME": "linuxgurugamer",
        "REPOSITORY": "KSPAddonVersionChecker"
    },

Is this something new? Exactly what does this do? Will it verify release version at https://github.com/linuxgurugamer/KSPAddonVersionChecker/releases ?

Actually, this line:

    "URL": "https://raw.githubusercontent.com/linuxgurugamer/KSPAddonVersionChecker/master/KSP-AVC.version",

the other lines are mainly informational

Link to comment
Share on other sites

21 minutes ago, linuxgurugamer said:

Actually, this line:


    "URL": "https://raw.githubusercontent.com/linuxgurugamer/KSPAddonVersionChecker/master/KSP-AVC.version",

the other lines are mainly informational

I see, so in the case of my Photon Sailor mod I would use

"URL":"https://raw.githubusercontent.com/sswelm/KSP-Interstellar-Extended/master/GameData/PhotonSail/Plugins/PhotonSailor.version"

Thanks for the tip

Edited by FreeThinker
Link to comment
Share on other sites

22 minutes ago, FreeThinker said:

I see, so in the case of my Photon Sailor mod I would use


"URL":"https://raw.githubusercontent.com/sswelm/KSP-Interstellar-Extended/master/GameData/PhotonSail/Plugins/PhotonSailor.version"

 

Not exactly.

What you want to do is to go to the file on Github, then click "Raw", and copy the url of the page that's displayed.  Doing it that way will ensure you don't have a typo

Link to comment
Share on other sites

5 minutes ago, linuxgurugamer said:

Not exactly.

What you want to do is to go to the file on Github, then click "Raw", and copy the url of the page that's displayed.  Doing it that way will ensure you don't have a typo

But that's exactly what I did

Edited by FreeThinker
Link to comment
Share on other sites

2 hours ago, linuxgurugamer said:

Please dont' post log files here.  Put them on an upload site and post a link.

I need the output_log.txt, not the other file.

Oh, wish you'd said that. 
Though, I don't see any output_log.txt. Where is it stored?

Link to comment
Share on other sites

26 minutes ago, linuxgurugamer said:

To be clear I wasn't really asking for support, I was telling you it broke in the last patch.
Secondly, read that and there is no output_log.txt. I'm asuming that KSP_Win should be my install directory, right?

I checked both:
steam\steamapps\common\Kerbal Space Program\KSP_x64_Data 
steam\steamapps\common\Kerbal Space Program\KSP_Data

But nothing found.

Nevermind, I found it in my user folder. 

https://drive.google.com/open?id=1_nOvR2h_W-qw0qNz9BT2tJx2UXnIu15J

Edited by DefenderX1
Update
Link to comment
Share on other sites

3 hours ago, DefenderX1 said:

To be clear I wasn't really asking for support, I was telling you it broke in the last patch.
Secondly, read that and there is no output_log.txt. I'm asuming that KSP_Win should be my install directory, right?

and I'm saying that it's working, which is why I asked for the log file.

And here is your first problem:

ADDON BINDER: Cannot resolve assembly: ToolbarControl, Culture=neutral, PublicKeyToken=null
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

ADDON BINDER: Cannot resolve assembly: ToolbarControl, Culture=neutral, PublicKeyToken=null

You need to install/update the Toolbarcontroller

I don't even see the KSP-AVC directory in the list of Folders and files in GameData

So, why don't you fix the problem I pointed out and, maybe, before saying that a mod has a problem, to possibly INSTALL IT?????

Link to comment
Share on other sites

  • 1 month later...

Also, it looks like a lot of the build depends on specific paths in your system.  The AssemblyInfo templates can use the relative path of the .version file, but the post-build is another matter.  Would it be reasonable to replace the hard-coded KSP path with a symbolic link from that KSP install to the output directory? (i.e. mklink /D R:\KSP_1.4.1_dev\GameData\KSP-AVC D:\Users\jbb\github\KSPAddonVersionChecker\Output\KSP-AVC).  I've used this approach extensively myself and I've found it to work well.

Also, what's the purpose of all the test case .version files?

Edited by blowfish
Link to comment
Share on other sites

4 hours ago, blowfish said:

Also, it looks like a lot of the build depends on specific paths in your system.  The AssemblyInfo templates can use the relative path of the .version file, but the post-build is another matter.  Would it be reasonable to replace the hard-coded KSP path with a symbolic link from that KSP install to the output directory? (i.e. mklink /D R:\KSP_1.4.1_dev\GameData\KSP-AVC D:\Users\jbb\github\KSPAddonVersionChecker\Output\KSP-AVC).  I've used this approach extensively myself and I've found it to work well.

Not really, I'm not sure how git would deal with that.  Keep in mind that this is a set up I evolved while maintaining and adopting over 130 mods.  It may not be best, but it works, and is consistent across all my mods

I'd suggest that you try the changes on your system, but don't commit them.  

4 hours ago, blowfish said:

Also, what's the purpose of all the test case .version files?

Test cases, I assume :D   Seriously, I recently adopted this mod and am still trying to get a handle on it

Link to comment
Share on other sites

4 hours ago, linuxgurugamer said:

Not really, I'm not sure how git would deal with that.

The link is from somewhere outside the Git repository to somewhere it it.  Git isn't even aware of its existence.

Link to comment
Share on other sites

44 minutes ago, blowfish said:

The link is from somewhere outside the Git repository to somewhere it it.  Git isn't even aware of its existence.

I'll play with it on some of my other mods, I'm working on one right now which would be a good candidate.  Maybe this will be beneficial, will have to see

 

Link to comment
Share on other sites

Well, once I got past the issue of an administrator can't create a symbolic link, it looks like it might work within my framework.

Really stupid of MS to do this.

Anyway, for anyone who would like to use the mklink in Win 10, you may need to do the following:

Spoiler

As stated here,

  • Creation of symbolic links requires the SeCreateSymbolicLinkPrivilege (“Create symbolic links”), which is granted only to administrators by default (but you can change that using security policy).

To change the policies:

  1. As an adminstrator, Launch secpol.msc via Start or Start → Run.
  2. Open Security Settings → Local Policies → User Rights Assignment.
  3. In the list, find the "Create symbolic links" item, which represents SeCreateSymbolicLinkPrivilege.
  4. Double-click on the item and add yourself (or the whole Users group) to the list.

 

Link to comment
Share on other sites

15 hours ago, linuxgurugamer said:

Not sure what you are referring to.  

This: https://github.com/linuxgurugamer/KSPAddonVersionChecker/commit/1fa681d3fb9f81aaf912fa7a666f1114b452feb6#diff-5b98a2e62ce1a2ba69744bbaef2c9dfaR49

And glad to hear the symbolic link stuff worked finally.  I don't recall having issues like the ones you're describing but maybe I've been creating symbolic links for so long that I just forgot.

Link to comment
Share on other sites

23 minutes ago, blowfish said:

This: https://github.com/linuxgurugamer/KSPAddonVersionChecker/commit/1fa681d3fb9f81aaf912fa7a666f1114b452feb6#diff-5b98a2e62ce1a2ba69744bbaef2c9dfaR49

And glad to hear the symbolic link stuff worked finally.  I don't recall having issues like the ones you're describing but maybe I've been creating symbolic links for so long that I just forgot.

Just guessing, but I suspect the "gibberish chars" may have been a Unicode BOM, which some editors insert into text files.  (It's not needed for UTF-8 so it's often omitted, but still allowed.  I think some editors insert it just to explicitly indicate that the file is UTF-8.)

Link to comment
Share on other sites

44 minutes ago, Wyzard said:

Just guessing, but I suspect the "gibberish chars" may have been a Unicode BOM, which some editors insert into text files.  (It's not needed for UTF-8 so it's often omitted, but still allowed.  I think some editors insert it just to explicitly indicate that the file is UTF-8.)

The only time I have a problem like that is with batch files being called by Visual Studio.  Calling them by hand works, but from inside VS, its wierd, so I just leave the first line of my batch files blank

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