STEAM 组
Giant Multiplayer Robot MRobot
STEAM 组
Giant Multiplayer Robot MRobot
14
游戏中
199
在线
成立于
2012 年 3 月 9 日
国家/地区
United States 
所有讨论 > 综合讨论 > 主题详情
intermaxim 2016 年 4 月 5 日 下午 12:54
Linux terminal client
Hei,

when travelling (like now) I'm on linux. I got fed up with the unresponsive GMR website and wrote a quick and dirty terminal client in python:

http://pastebin.com/ZK2CjfJM

1) Paste the code into a file, for example "/home/me/gmr-client.py"
2) Put in your authcode from the GMR website (you find it under download)
3) Edit the path to your civ-saves and save the file.
4) Run the client in a terminal with: python /home/me/gmr-client.py
5) Enjoy!
< >
正在显示第 1 - 3 条,共 3 条留言
intermaxim 2016 年 4 月 5 日 下午 1:25 
Oh and maybe I was a little short on words describing how uploads work...
1) When you download a game it will be names as following: gameId-turn
The turn is the total of submitted turns, sadly not the ingame turn number.
When you load the game, it is in first position, because it is the newest file in the folder
2) When you save the game, find the file you just loaded.
This is slightly more tricky as the files are no longer sorted by date.
It helps to have fewer files in the folder.
Select it and then add '-u' to the filename.
Now you can upload through the client.

I put it on github too:
https://github.com/intermaxim/GMR-PyTerminalClient/blob/master/gmr-client.py
Kavalor 2016 年 4 月 7 日 上午 11:31 
Interesting - thank you for the work
intermaxim 2016 年 5 月 31 日 下午 2:14 
I updated the github repo. Upload works flawlessly now. Anybody interested in "freezing" the python script into standalone binary files for linux/mac?
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50

所有讨论 > 综合讨论 > 主题详情