GoogleFrog,
quote: Have you had a chance to try running ZK offline using the wiki page I posted? |
No, I have not got around to that.
I do not have the time to look into the specifics, but without knowing what exactly your PlasmaDownloader does, it seems the Chobbyla class itself does little. In the semi-portable case it downloads the latest everything from the server, then makes an (I think redundant) API query to know which versions it must launch. The API query is made only for the engine, for chobby the "internal name", whatever it is, is obtained from the downloader.
If steamfolder.txt is present, it takes the engine version from steam_engine.txt and doesn't even touch the downloader. In case of chobby, it gets the tag from steam_chobby.txt, but then passes the info down to the downloader and I have no idea what happens there and if it even contacts the Internet, but hopefully it doesn't. From
this point of view Chobbyla should be perfectly capable of launching whatever you want provided you know how to populate steam_engine.txt and steam_chobby.txt.
In case of steam_engine.txt it's fairly simple (well actually not really), tl;dr would be
curl -X POST zero-k.info/ContentService -d 'GetDefaultEngineRequest {"DefaultEngine": "stable"}'But in case of the chobby tag, I don't have any idea, because, again, I do not have time to look at the PlasmaDownloader now. I tried uncompressing this file to get whatever chobby tags I even have
rapid/repos.springrts.com/chobby/versions.gz
I blindly chose "Chobby v0a.0.9.16" because it's "stable" and then run this command (I'm on penguinux) hoping it would work.
mono Zero-K.exe "Chobby v0a.0.9.16" 2025.06.2
It didn't.
Zero-K.exe Error: 0 : Unexpected error: System.NullReferenceException: Object reference not set to an instance of an object
at ChobbyLauncher.Chobbyla.Prepare () [0x001de] in <1059340fd3d04927af37a03e15acbfbd>:0I don't have the debug symbols, so I have no idea what happens here and can do no additional testing. It seemed to download the "Chobby v0a.0.9.16", so I tried putting that in steam_chobby.txt and "2025.06.20" in steam_engine.txt, but it doesn't launch, because somehow the chobby package is "corrupted". Apparently, "Chobby v0a.0.9.16" is not the tag used by the game.
tl;dr I need to know which is the chobby tag used by the game so I can put it in steam_chobby.txt and see if anything works.