Loading...
  OR  Zero-K Name:    Password:   

Need help running Zero-K off of a flash drive

17 posts, 1723 views
Post comment
Filter:    Player:  
sort
12 years ago
So I am trying to install 0-K onto my flash drive, but somebody forgot to let me specify an install directory...(stupid). Also, the lobby does not save settings changes when I try to redirect it's addresses away from my documents and away from program files to folders i set aside for them in my flash drive.

How do i fix this, it is unacceptable at this time that Zero-K be tied to this specific computer.
+0 / -0
12 years ago
If you use the Spring installer you can specify a portable installation.
+0 / -0
12 years ago
right, but that isn't my problem. i already have the portable install of spring on my flash drive, but the Zero-K lobby insists on being installed where i dont want it to be. I need to know how to get it to shift operations so that they all occur exclusively on my flash drive.
+0 / -0
Downloading the zk subversion to the portable mods folder, adding ".sdd" to the folder name then using spring lobby might work (might not be stable though).
+0 / -0
12 years ago
by subversion you mean the folder that is currently in the 'My Games' area of my documents?
+0 / -0
USrankZag
12 years ago
The subversion is the absolute lastest test version published by the devs. For more info go to http://code.google.com/p/zero-k/wiki/Developing
+0 / -0

12 years ago
... OR go to the download page, look at method 2 for linux and you will get the mod file. Use it with springlobby and it should work. Just remember that you will have to update the mod manually.
+0 / -0
There is a zipped version of the Zero-K Lobby ( http://zero-k.info/lobby/zklobby.zip ) available from the Download page ( http://zero-k.info/Wiki/Download ). I believe that you can simply unzip that archive to any directory and then run Zero-K.exe from that directory.

The official Spring installer will (optionally) install a copy of the Zero-K Lobby within the same directory in which it installs the Spring engine.

The official Zero-K installer (the big button at http://zero-k.info/Wiki/Download, which links to http://zero-k.info/Home/Download, which automatically downloads http://zero-k.info/lobby/Zero-K.setup.exe) is a Windows "ClickOnce" installer, which installs the app into C:\Documents and Settings\userprofile\Local Settings\Apps or some other similar location depending on which version of Windows you have.

Note that the directory in which Zero-K Lobby is installed is generally different from the directory in which Zero-K Lobby maintains Spring game data (including the Zero-K mod and all other mods, and multiple versions of the Spring engine). By default that's in My Documents\My Games\Spring but you can change that. Note that that directory is also hard-coded into the Spring engine itself, although there are ways to override that as well.

Within Zero-K Lobby there is a setting (see the "Settings" tab) called "Data folder to store all game content". If you install Zero-K Lobby to your flash drive (try the zipfile method mentioned above), then run Zero-K Lobby, then change that setting within Zero-K Lobby to point to a different directory on your flash drive... then that should do what you're trying to do.

I think.

If you use Zero-K Lobby, then you don't need the portable Spring install. ZKL will maintain its own copies of the Spring engine and will store them in the game content directory.
+0 / -0


12 years ago
1) copy zero-k lobby to flash drive
2) Set "game data folder" path to flash drive

it will then download stuff to flashdrive and use it from there.

It might still create desktop shortcut in the system and store ZKL config in the system though.
+0 / -0
12 years ago
@Crazy Eddie, it didn't work. I simply cant get any changes i make to the game data address to stick. Every time i try to put in an address to my flash drive the change is reverted after i restart the lobby.
+0 / -0


12 years ago
I've noticed that the "Restart Lobby" button doesn't always work right. I've also noticed that sometimes a phantom instance of Zero-K Lobby and/or Spring can live in the process table even though the lobby and game both appear to be shut down. And there could be stray config data left in some odd place on your system. Any of those might be causing your troubles.

Try this:

1) If you're in Spring, exit the game.

2) Exit Zero-K Lobby (use Alt-F4 or click the Windows "X" button, since ZKL doesn't have a "close" or "exit" button of its own).

3) Start the Windows Task Manager. You can usually do this by pressing Ctrl-Shift-Escape.

4) Click on the "Processes" tab (not the "Applications" tab). Look in the list of processes for Zero-K and Spring. If they are there, kill them using the "End Process" button.

5) Use the Windows Control Panel "Programs and Features" or "Add/Remove Programs" control to uninstall the Zero-K program if it's listed there.

6) Download the zipped version of the Zero-K Lobby. Extract it to a directory like c:\temp\zk-test\zkl. Run c:\temp\zk-test\zkl\zero-k.exe

7) In the ZK Lobby, click on Settings. Double-click on "Data folder to store all game content". Change the setting to something like c:\temp\zk-test\gamedata. Press Enter to make sure the new setting gets stored. Then double-click on "Spring Path override". Change the setting to something like c:\temp\zk-test\gamedata\engine\88. Press Enter to store the setting.

Note that you don't need to create the c:\temp\zk-test\gamedata directory. ZKL should do this for you when you restart it.

8) Close the lobby with Alt-F4. Bring up the Task Manager. Make sure there's no running instance of Zero-K or Spring.

9) Start the lobby again by running c:\temp\zk-test\zkl\zero-k.exe (run it directly from the executable, not a shortcut or icon, to make sure that you're running the very same instance and not something else that might have gotten installed and hidden away someplace).

10) ZKL should create c:\temp\zk-test\gamedata and several directories underneath it, and it should start downloading version 88 of the Spring engine. And if you check the settings tab, the settings you changed should still be changed.

Try all that first with a temp directory on your hard drive instead of your flash drive.

If it doesn't work, try runing zero-k.exe as an Administrator, changing the settings, exiting, killing the processes if necessary, and starting it as an Administrator again.

If that doesn't work, I'm out of ideas.
+0 / -0
12 years ago
ok it is working now. thanks for your suggestions.
+0 / -0


12 years ago
Glad to hear it! Happy to help. :)
+0 / -0


12 years ago
Btw zipped version of ZKL wont self update, so keep that limitation in mind.
+0 / -0
12 years ago
I would totally help spread the word of this great game if only I could install it to flash drive and hand it out to my friends.

It really needs a completely portable installer version
+0 / -0

12 years ago
@licho: is this update thing on the todo list ? ;)
+0 / -0


12 years ago
Yes it is.
+0 / -0