Activates your Steam keys in bulk.
Can also query and activate all Steam keys from your HumbleBundle account.
As this uses Steam's new online key registration form, it does not require a Steam client.
Works on Windows / Linux / macOS.
Usage: activator [--verbose] [ACTION] [ACTION-ARGUMENTS]...
Options:
ACTION Action to perform (see list below)
Actions:
humble-bundle Activate all Steam keys from your HumbleBundle library
hb-keys Activate Steam keys from HumbleBundle product keys from file
steam-keys Activate Steam keys from file
- Visit your HumbleBundle keys page and claim any unclaimed Steam keys you wish to activate (see Notes below)
- Follow the configuration instructions below
- Run
./activator humble-bundle
- Create a text file, and paste your Steam keys in it (one key per line, and nothing else)
- Follow the configuration instructions below (you can skip the HumbleBundle configuration)
- Run
./activator steam-keys path/to/your/steam-key-list.txt
-
-
Windows: Download and run the installer
-
macOS:
brew install dmd dub
-
Arch Linux:
pacaur -S dmd dub
-
Anything else:
curl -fsS https://dlang.org/install.sh | bash -s dmd
-
-
Run
dub build
.
To allow the program to access your Steam and HumbleBundle accounts, you must export your cookies from said websites from your web browser.
Instructions:
- Visit https://store.steampowered.com/ in your web browser of choice.
- Ensure that you are logged in. If you aren't, log in now.
- Open the Developer Console or equivalent (usually done by pressing F12).
- Open the "Network" tab in the Developer Console (or equivalent).
- Reload the page.
- Click on the very first request added to the request list, which should be for the https://store.steampowered.com/ page.
- Find the "Request headers" pane in the Developer Console or equivalent.
- Find the "Cookie" header within.
- Copy the value of the cookie header.
- Create the text file
cookies/store.steampowered.com.txt
under this project's directory. - Paste the value of the cookie header.
- Repeat the above steps substituting
store.steampowered.com
withwww.humblebundle.com
.
Log in sessions may expire after a few days, so you may need to repeat the above steps should the program stop working.
To prevent redoing previous work, this program will aggressively cache all requests to Steam and HumbleBundle. Delete the cache/
directory to force the program to re-check for new keys.
In addition to the cache, the program will save a report of key activations to the file results.txt
, and will skip over keys listed in that file.
-
Steam's key activation is severely throttled. After 10 unsuccessful key activations, no keys can be activated for an hour. This program will keep retrying until the cooldown expires, however activating a lot of keys may take up to several days.
-
This program will not claim unclaimed Steam keys from your HumbleBundle library. If you wish to claim all Steam keys, you must first go through https://www.humblebundle.com/home/keys and click on all "Activate on Steam" buttons yourself. This must be done manually because this action is not undoable, and precludes gifting the game key using HumbleBundle's website to someone else.
-
Run the program with the
--verbose
switch to enable verbose mode. This will show details for all HTTP requests. -
Cached responses may contain additional information. The program will print URLs and file names their responses are cached to in verbose mode.