MultiBound2 icon indicating copy to clipboard operation
MultiBound2 copied to clipboard

Missing decryption key(?) (v0.5.5)

Open Haano137 opened this issue 2 years ago • 35 comments

image Still managed to get this error despite already having downloaded my fair share of workshop mods, starbound and otherwise.

Haano137 avatar Jul 13 '22 16:07 Haano137

Band aid solution for windows:

Before you start, you should close steam.

  1. Go here C:/Users/<USERNAME>/AppData/Local/multibound/steamcmd
  2. Run the steamcmd.exe that's in the folder
  3. Run these commands:
  • force_install_dir C:/Users/<USERNAME>/AppData/Local/multibound
  • login
  1. Download a steam workshop mod by running this command workshop_download_item 211820 .
  2. Exit the cmd by using the quit command or just by closing it like any other program.

After this, multibound 2 should run as intended. Remember to close steam when playing starbound with multibound. Running multibound with steam in the background will force all workshop mods to be enabled.

Edit: Yeah no, these steps don't really work. Whatever success I had was more or less probably a fluke.

Haano137 avatar Jul 14 '22 16:07 Haano137

Downloading a workshop mod by running the command you provided results in failure on my side. As for the reason, I'm not sure.

Umbrozium avatar Aug 03 '22 12:08 Umbrozium

Downloading a workshop mod by running the command you provided results in failure on my side. As for the reason, I'm not sure.

You have to provide a mod ID for steamCMD to download, otherwise it just defaults to 0, and there is no mod with ID 0.

snepderg avatar Aug 05 '22 06:08 snepderg

I am having the same issue:

Windows 10 Home Ed.

Perhaps the fact that I have a custom Steam install location is affecting multibound2? I tried the force_install_dir, logging in, and installing a mod to get the decryption key like @Haano137 recommended, however mutlibound2 still cannot find the key.

Can I somehow supply the decryption key manually to the software? Any advice is appreciated, thanks. :)

snepderg avatar Aug 05 '22 06:08 snepderg

Downloading a workshop mod by running the command you provided results in failure on my side. As for the reason, I'm not sure.

You have to provide a mod ID for steamCMD to download, otherwise it just defaults to 0, and there is no mod with ID 0.

Yeah I did provide the ID, the issue was a bit different, but I fixed it.

Umbrozium avatar Aug 05 '22 06:08 Umbrozium

I am having the same issue:

Windows 10 Home Ed.

Perhaps the fact that I have a custom Steam install location is affecting multibound2? I tried the force_install_dir, logging in, and installing a mod to get the decryption key like @Haano137 recommended, however mutlibound2 still cannot find the key.

Can I somehow supply the decryption key manually to the software? Any advice is appreciated, thanks. :)

I tried to search for something like that, but no info about it seems to be available.

Umbrozium avatar Aug 05 '22 06:08 Umbrozium

Yeah, I'm having the same problem. My guess is that the software is looking for the default Program Files installation for Steam / my Steam Library instead of my custom one, which is on another drive.

snepderg avatar Aug 05 '22 06:08 snepderg

I am having the same issue:

Windows 10 Home Ed.

Perhaps the fact that I have a custom Steam install location is affecting multibound2? I tried the force_install_dir, logging in, and installing a mod to get the decryption key like @Haano137 recommended, however mutlibound2 still cannot find the key.

Can I somehow supply the decryption key manually to the software? Any advice is appreciated, thanks. :)

Yeah, tried doing the step again myself and looks like that success was more or less a fluke on my part. Couldn't replicate the steps on how I got it working so there's that.

Haano137 avatar Aug 05 '22 07:08 Haano137

I'm not willing to migrate a terabyte of steam library data to test this lol. Virtual machine maybe?

snepderg avatar Aug 05 '22 07:08 snepderg

Yeah, I'm having the same problem. My guess is that the software is looking for the default Program Files installation for Steam / my Steam Library instead of my custom one, which is on another drive.

Currently, what I do now is use the Multibound 2 update and load instances, rather than downloading workshop mods; granted, you have to shut down Steam after downloading the mods and before running Multibound since running both Steam and Multibound will force all mods to load.

Haano137 avatar Aug 05 '22 07:08 Haano137

So I need to download all my mods, copy them to the instance's mod folder, close steam, and run multibound?

Do let me know if I have the right understanding here.

snepderg avatar Aug 05 '22 07:08 snepderg

I'll be honest, I don't know a lot about manually creating an instance.

snepderg avatar Aug 05 '22 07:08 snepderg

So I need to download all my mods, copy them to the instance's mod folder, close steam, and run multibound?

Do let me know if I have the right understanding here.

You don't need to copy the workshop mods to your instance's mod folder, you just have to close steam. Also creating a manual instance is pretty simple. While using a collection is the easiest way of making an instance, you could just open the instance.json with any text editor and turn this block of code from this: image into something like this: image and you'll be free to add any kind of mod you see fit inside the json; granted, steam in still turned off

Haano137 avatar Aug 05 '22 09:08 Haano137

Yeah, it definitely seems like a collection is better.

snepderg avatar Aug 05 '22 19:08 snepderg

If I understand correctly, it doesn't matter how I configure my instance.json if multibound2 cannot decrypt and update the addons. I've tried manually placing mods in the instance's mod folder and that doesn't seem to work either. Perhaps I had to configure the json for that?

Sorry for all the confusion.

snepderg avatar Aug 05 '22 19:08 snepderg

To manually pull the key:

  • Open <steam path>/config/config.vdf in your text editor of choice
  • Search for 211820; you should find a section with that name, with an attribute called DecryptionKey inside.
  • Copy that 64-digit hex string; open your MultiBound config file (config.json somewhere in your appdata folder if on windows) and insert that value as workshopDecryptionKey

zetaPRIME avatar Aug 05 '22 20:08 zetaPRIME

Awesome, thank you ^^

snepderg avatar Aug 06 '22 05:08 snepderg

Well, now we know how to get the decryption key, just need to figure out why else it won't update.

snepderg avatar Aug 06 '22 05:08 snepderg

Well, now we know how to get the decryption key, just need to figure out why else it won't update.

image yeah, it ain't helping. i fetched my decryption key but it still gives me this error, even with the "bandaid" solution that @Haano137 provided.

Umbrozium avatar Aug 06 '22 11:08 Umbrozium

Well, now we know how to get the decryption key, just need to figure out why else it won't update.

image yeah, it ain't helping. i fetched my decryption key but it still gives me this error, even with the "bandaid" solution that @Haano137 provided.

Yeah, wish I knew what else to try.

snepderg avatar Aug 06 '22 22:08 snepderg

... yeah, I should probably add some better logging for this @.@

zetaPRIME avatar Aug 07 '22 00:08 zetaPRIME

It's okay, just let us know if we can provide any more info

snepderg avatar Aug 07 '22 03:08 snepderg

i got this error but nothing was actually wrong, i just ignored it, manually added a mods folder with some non-workshop mods, and it booted up completely fine.

EDIT: never mind, it booted up one time and then stopped working completely

connorhedgehog avatar Aug 07 '22 14:08 connorhedgehog

@Haano137 I noticed that you posted about Chucklefish denying anonymous mod downloads, does that affect Steam?

Sorry if it's a stupid question.

snepderg avatar Aug 07 '22 22:08 snepderg

@Haano137 I noticed that you posted about Chucklefish denying anonymous mod downloads, does that affect Steam?

Sorry if it's a stupid question.

Must have mistaken me for someone else, I don't really remember posting anything about that, I could still give you an answer. Anyways, Steam has a developer feature that allows whether or not an anonymous account to download workshop files; which this Starbound mod client utilized. Someday, Chucklefish thought it was a good idea to turn that feature off, screwing over non-steam Starbound owners(gog.com, etc. etc.) and making it more difficult for Steam copy users like me to load multiple mod profiles.

Haano137 avatar Aug 08 '22 01:08 Haano137

@Haano137 I noticed that you posted about Chucklefish denying anonymous mod downloads, does that affect Steam? Sorry if it's a stupid question.

Must have mistaken me for someone else, I don't really remember posting anything about that, I could still give you an answer. Anyways, Steam has a developer feature that allows whether or not an anonymous account to download workshop files; which this Starbound mod client utilized. Someday, Chucklefish thought it was a good idea to turn that feature off, screwing over non-steam Starbound owners(gog.com, etc. etc.) and making it more difficult for Steam copy users like me to load multiple mod profiles.

So, essentially we'd have to be logged in via steamCMD to fetch content properly? (Assuming that multibound accounts for this in future)

snepderg avatar Aug 08 '22 22:08 snepderg

So, essentially we'd have to be logged in via steamCMD to fetch content properly? (Assuming that multibound accounts for this in future)

I'm afraid this is the case. My server has had to make a Steam account just to manage this one Starbound server.

RisingManes avatar Aug 09 '22 00:08 RisingManes

Nothing needs to be logged in, steamcmd just needs to have the decryption key in the proper place in order to fetch content. Things could be failing for a different reason, or it could be a case of something getting gummed up with steamcmd.

zetaPRIME avatar Aug 09 '22 09:08 zetaPRIME

Nothing needs to be logged in, steamcmd just needs to have the decryption key in the proper place in order to fetch content. Things could be failing for a different reason, or it could be a case of something getting gummed up with steamcmd.

Yeah, I tried it with just three mods and it doesn't want to fetch them

snepderg avatar Aug 09 '22 22:08 snepderg

... valve has changed something on their end to make my previously working method not work anymore. steamcmd just refuses, encryption key or no, and I have no idea how to work around whatever is going on here.

zetaPRIME avatar Aug 21 '22 04:08 zetaPRIME