2024-10-29
- automated retrieval of SteamLoginSecure (with a chromium browser and @rookie-rs/api library). Added dependency : nodejs
- displaying the current game is now done with Qt6, it supports "pure Wayland" compositor. Removed dependencies : pillow/tk librairies and Xorg. Added dependency : python-pyqt6
Example for Arch:
pacman -Suy python-beautifulsoup4 python-requests python-pyqt6 python-colorama
npm install @rookie-rs/api
VERSION 2.2 UPDATE
- Added cookie setting to fix idle count for non-English users
- Added Python3 Path checking
- Fixed SyntaxWarning
The script needs these Python packages to run:
- requests
- beautifulsoup4
- pillow (with jpeg and tk support)
- colorama
Example for Arch:
pacman -S python-beautifulsoup4 python-requests python-pillow python-colorama tk
- Log in to https://steamcommunity.com/
- Search your cookies for steamcommunity.com (Firefox user can use Shift-F9 to inspect cookie data Firefox v98.0 tested)
- Copy settings-template.txt and rename to settings.txt
- Edit setting.txt and copy-paste sessionid Content (an alpha-numerical code) from cookie data to the first field
- Copy steamLoginSecure Content (really long alpha-numerical code) from cookie into the second field in settings.txt
- Save settings.txt and exit
Important
store.steampowered.com and steamcommunity.com use different cookie data, if you get the error Invalid cookie data, cannot log into Steam
then make sure you are using the cookie data from steamcommunity.com and NOT store.steampowered.com.
Note
Steam login session will only last ~24hrs or less and will generate a new code when you log back in. Follow the above steps to get a new code.
- Create a file called blacklist.txt in the same folder as the script
- Add game ID, each game ID should be on a seperate line
- Save blacklist.txt and exit
Edit the setting.txt and in the sort field add the following
mostcards
(idles game with the most card drops remaining)leastcards
(idles game with the least card drops remaining)mostvalue
(idles game with the most expensive card drops remaining)leastvalue
(idles game with the least expensive card drops remaining)
Note
The old "Enhanced Steam" API was taken down but was revived by "IsThereAnyDeal" with a new browser extention and API, the new API is called "Augmented Steam". None of the APIs use user data but are only used to check the cards average price on steam market place and sort which games to idle appropriately.
- open terminal and
cd
to idle master folder python ./start.py
- While idling a game press
Ctrl-C
to access menu- q - Quit
- r - Resume idling
- s - Skip game (will skip idling this game)
- b - Blacklist game (add appID to blacklist.txt)
jshackles, Stumpokapow, Michael Noble.
VERSION 2.0 UPDATE
- Code Cleaned up and more consistant formatting
- Improved error handling, such as network loss and checking for cookie expiration without endless looping
- Code updated to be more compatable with languages other than english, as long as the languages uses western arabic numerals (0-9)
- Removed old win32 and macOS code
- Added .gitingore and removed config files from git, to make it easier to pull updates
- Added verioning to make it easier to troubleshoot issues
- Idle Sleep time now scales based on card count remaining, in 10 min intervals (5 cards remain = 50 mins sleep, 2 cards remain = 20 mins sleep, etc)
VERSION 2.1 UPDATE
- More code cleanup
- Fixed game name function
- Added user menu options for idling games (Press
Ctrl-C
to access menu while idling games)- q - Quit
- r - Resume idling
- s - Skip game (will skip idling this game)
- b - Blacklist game (add appID to blacklist.txt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. A copy of the GNU General Public License can be found at http://www.gnu.org/licenses/. For your convenience, a copy of this license is included.