Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't know how to change game directory for CKAN #2061

Closed
Grievous1 opened this issue May 29, 2017 · 12 comments
Closed

Don't know how to change game directory for CKAN #2061

Grievous1 opened this issue May 29, 2017 · 12 comments

Comments

@Grievous1
Copy link

CKAN Version: 1.22.2

Operating System: Windows 10

The issue you are experiencing: I know the issue is that CKAN is automatically looking for KSP in "C:/Program Files 86x/etc./Steam/KSP, however, due to permissions issues on my PC, I have had to re-install steam to the directory "C:/Games/Steam" to be able to modify what I need to. Any help on changing the directory to search for KSP through CKAN would be appreciated.

               Thanks,
      -Griev
@ndfmoab
Copy link

ndfmoab commented May 29, 2017

You can add / delete instllations of KSP through File -> Select KSP Install. Theoretically you can manage several KSP installs with CKAN.

@politas
Copy link
Member

politas commented May 29, 2017

Or from a command line, ckan.exe ksp (list|remove|add)

@Grievous1
Copy link
Author

The only problem is that whenever I open CKAN, it says 'ERROR: Cannot locate KSP in C:/etc/Program files/Steam/KSP and just instantly crashes. I have this problem with any version of CKAN I install, but I will try the command prompt suggestion.

@Grievous1
Copy link
Author

Can't get even the command prompt to work... I don't know what to do now.

halp

@politas
Copy link
Member

politas commented May 30, 2017

Does it crash when you run this?

ckan.exe ksp list

If so, you'll need to get into Registry Editor, and go to HKEY_Current_User/Software/ckan to clear out your data there.

@Grievous1
Copy link
Author

Wait, do I do that in the command prompt that opens with CKAN, or open an entirely different one?

@Grievous1
Copy link
Author

Grievous1 commented May 31, 2017

Not sure if this will help, but hopefully someone can debug it and figure it out for me.

 Unhandled exception:
 System.IO.FileNotFoundException: Error reading the c:/program files 
 (x86)/steam/SteamApps/common/Kerbal Space Program/CKAN/downloads directory.
    at System.IO.FileSystemWatcher.StartRaisingEvents()
    at CKAN.NetFileCache..ctor(String _cachePath)
    at CKAN.KSP..ctor(String gameDir, IUser user)
    at CKAN.KSPManager.LoadInstancesFromRegistry()
    at CKAN.Main..ctor(String[] cmdlineArgs, GUIUser user, Boolean showConsole)
    at CKAN.GUI.Main_(String[] args, Boolean showConsole)
    at CKAN.CmdLine.MainClass.Gui(GuiOptions options, String[] args)
    at CKAN.CmdLine.MainClass.Main(String[] args) 

My current KSP directory is C:\Games\Steam\steamapps\common\Kerbal Space Program by the way.

@Grievous1
Copy link
Author

Okay, I've fixed the issue. Hooray for unlocker software!
Turns out the issue was that the CKAN directory had been locked for no reason when I uninstalled steam... thanks windows.
I deleted the file via an unlocker tool created a new dummy CKAN folder, and voilà! problem solved.

Thanks everyone who tried to help, I just did a bit of digging around in files and figured it out.

@MysticalFists
Copy link

@politas Thanks so much! I hadn't played in a while and Steam auto-updated. Tried everything to get CKAN working. The regedit worked!~

@D4rKing
Copy link

D4rKing commented Nov 5, 2018

A bit late, but my CKAN launcher, when asking for my install path (I changed it), the installer itself won't let me select it properly. It'll show the install menu, but instead of having a selecting a button, it only has a "open" button, which pretty much does what you think it does. I cannot therefore select my install directory for KSP and play the game. I feel like it's something really simple I'm just missing, but can't figure out. Please help.

@HebaruSan
Copy link
Member

@D4rKing, select the buildID64.txt file.

@D4rKing
Copy link

D4rKing commented Nov 5, 2018

I owe you my life. Thanks!

Sorry, something went wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants