Coder Social home page Coder Social logo

Comments (5)

HebaruSan avatar HebaruSan commented on June 16, 2024

It's because that file is only on Windows. On Linux:

~/.local/share/Steam/steamapps/common/Kerbal Space Program$ ls -gGh
...
-rwxrwxr-x  1 6.2K 2021-06-24 12:49 PM KSP.x86_64
...

And the file contents/format are completely different.

If KSP2 ever releases for other platforms, we're going to have to beg the devs to add a buildID.txt equivalent file and do the same thing over there.

from ckan.

JonnyOThan avatar JonnyOThan commented on June 16, 2024

Is there really no possible solution here? Can’t the file filter just include all possible exe names?

from ckan.

HebaruSan avatar HebaruSan commented on June 16, 2024

I guess we could still get the version info from buildID.txt but have the add-instance window prompt for something else.

Can you find somebody with KSP1 on Mac? The GUI doesn't run there anymore, but it might again someday if we get .NET7 figured out, and I can't remember whether GameData is inside or outside the KSP.app bundle.

from ckan.

HebaruSan avatar HebaruSan commented on June 16, 2024

Found one on Discord#macos. KSP.app is the closest thing to KSP_x64.exe, but unfortunately an app bundle is a directory at the filesystem level, so the file selection prompt can't pick KSP.app.

image

from ckan.

HebaruSan avatar HebaruSan commented on June 16, 2024

Side note, oh boy, this is going to break when KSP2 starts installing mods to GameData/Mods.

public bool GameInFolder(DirectoryInfo where)
=> Directory.Exists(Path.Combine(where.FullName, "GameData"));

from ckan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.