Jump to content

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


linuxgurugamer

Recommended Posts

  On 6/29/2018 at 11:36 AM, 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.)

Expand  

Would be nice to see a log file

Link to comment
Share on other sites

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

Would be nice to see a log file

Expand  

Ooh, there's log files. Cool.

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 6/30/2018 at 1:29 PM, DefenderX1 said:

Ooh, there's log files. Cool.

 

Expand  

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.

  On 6/30/2018 at 10:59 AM, FreeThinker said:

@linuxgurugamer

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

Expand  

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

  On 6/30/2018 at 2:09 PM, 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.

Expand  

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

  On 6/30/2018 at 2:38 PM, 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 ?

Expand  

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

  On 6/30/2018 at 3:16 PM, linuxgurugamer said:

Actually, this line:

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

the other lines are mainly informational

Expand  

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

  On 6/30/2018 at 3:35 PM, 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"

 

Expand  

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

  On 6/30/2018 at 3:58 PM, 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

Expand  

But that's exactly what I did

Edited by FreeThinker
Link to comment
Share on other sites

  On 6/30/2018 at 5:28 PM, linuxgurugamer said:
Expand  

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

  On 6/30/2018 at 5:42 PM, 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?

Expand  

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

  On 7/31/2018 at 6:08 AM, 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.

Expand  

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.  

  On 7/31/2018 at 6:08 AM, blowfish said:

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

Expand  

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

  On 7/31/2018 at 3:58 PM, blowfish said:

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

Expand  

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:

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 7/31/2018 at 10:25 AM, linuxgurugamer said:

Not sure what you are referring to.  

Expand  

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

  On 8/1/2018 at 1:30 AM, 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.

Expand  

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

  On 8/1/2018 at 1:58 AM, 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.)

Expand  

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