jshackles / idle_master_py

The Python version of Idle Master
GNU General Public License v2.0
230 stars 71 forks source link

Commandline-Only version? #27

Open wohfab opened 8 years ago

wohfab commented 8 years ago

Is there any possibility to have a commandline only version of this tool?

I really like the tool but do not see the advantage of an image floating around on my desktop.

Actually I planned to maybe setting this up on a server which has no GUI at all.

adam1x commented 8 years ago

I guess if you open steam-idle.py, and take out these: try: import Tkinter as tk except ImportError: import tkinter as tk gui = init_gui(str_app_id) gui.mainloop() and also the function: init_gui() You'll be able to disable the GUI. As far as i can tell, these are the only places anything GUI related is called.

jayme-github commented 8 years ago

@wohfab I've done a command line (and Qt) rewrite at https://github.com/jayme-github/steam_idle

wohfab commented 8 years ago

@adam1x Thank you. But this won't work. I get an error because of wrong number of arguments.

@jayme-github Thanks, but how would this work, when I cannot start steam?

jayme-github commented 8 years ago

@wohfab It won't but you need steam for idle master too.

icecollapse commented 8 years ago

This might help to run steam : https://developer.valvesoftware.com/wiki/SteamCMD

Gummibeer commented 7 years ago

@alexspataru It doesn't - SteamCMD has no active session. It logs in for this command and after this it's out again. The reason why steam is needed is cause the idle process has to register itself as a steam game and steam itself tracks the card drops and so on. So the only version is to remove the gui part and use it on a RasPI or something like this. The next problem is that steam has changed it's cookie lifetime so that you have to change the settings 1-2 times per day.

The only solution, I've created for this problem is that I'm using the Steam API to get my owned games and play them ordered by playtime. It works pretty the same except that it plays all games and not just the ones with card drops. There is also no card-drop API by steam.

I will create an issue with my pure time-idler in some minutes.

Edit: #29 - Pure game time idler