You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* If the file does not exist, create it. If it does, delete everything inside it.
19
21
* Extract the zip release so all the contents are in that file.
20
22
* Start GOG Galaxy.
21
23
22
24
### Logging:
23
-
We tried to kill as many bugs and test as many behaviors as possible, but we aren't perfect. You may find some case we haven't tested. Please raise an issue here, and in the comment, attach your logs. They can be found here:
24
-
* For windows, this is `%programdata%\GOG.com\Galaxy\logs`
25
-
* For MacOS, this is `/Users/Shared/GOG.com/Galaxy/Logs`
25
+
We tried to kill as many bugs and test as many behaviors as possible, but we aren't perfect.
26
+
<br>You may find some case we haven't tested.
27
+
<br>Please raise an issue here, and in the comment, attach your logs.
28
+
<br>They can be found here:
29
+
* Windows:<br>`%programdata%\GOG.com\Galaxy\logs`
30
+
* MacOS: <br>`/Users/Shared/GOG.com/Galaxy/Logs`
26
31
27
32
We typically only need the `steam_<numbers and letters>.log` file.
28
33
29
34
## Setup (For Developers)
30
-
* Download Python 3.7.9 32-bit
35
+
* Download [Python 3.7.9 32-bit][Python379]
31
36
* Install it with the defaults
32
37
* Create a new virtual env:
33
-
- If you only have python 3.7.9<br/>
38
+
- If you only have Python 3.7.9<br>
34
39
`python -m venv .venv`
35
-
-IF you have multiple python versions installed (assumes you have `py` as well)<br/>
40
+
-If you have multiple Python versions installed (assumes you have `py` as well)<br>
36
41
`py -3.7 -m venv .venv`
37
42
* Activate the virtual env
38
-
- Windows, Powershell:<br/>
39
-
`.\.venv\Scripts\activate.ps1`
40
-
- MacOS, terminal:<br/>
41
-
`.venv/Scripts/activate
42
-
* Downgrade/Upgrade `pip`<br/>
43
-
- If you only have python 3.7.9<br/>
44
-
`python -m pip install --upgrade pip==22.0.4`
45
-
- IF you have multiple python versions installed (assumes you have `py` as well)<br/>
46
-
`py -m pip install --upgrade pip==22.0.4`
47
-
* Install the dev dependencies:<br/>
43
+
- Windows, Powershell:<br>
44
+
`.venv\Scripts\activate`
45
+
- MacOS, terminal:<br>
46
+
`.venv/Scripts/activate`
47
+
* Install the dev dependencies:<br>
48
48
`pip install -r requirements/dev.txt`
49
49
* Make your edits
50
50
* Update the protobufs (See README_UPDATE_PROTOBUF_FILES.md for more info)
51
-
Take notice of the initial diff between the files in `protobuf_files` and `protobuf_files/orig`
52
-
Generating the python files is done via:
51
+
<br>Take notice of the initial diff between the files in `protobuf_files` and `protobuf_files/orig`
52
+
<br>Generating the python files is done via:
53
53
`inv GenerateProtobufMessages`
54
54
* Build your edits:
55
55
`inv build`
@@ -60,74 +60,70 @@ We typically only need the `steam_<numbers and letters>.log` file.
60
60
* Build a release package (zip):
61
61
`inv pack`
62
62
63
-
This is a fork of the repository from FriendsOfGalaxy, intended to continue development until they resume their work.
64
-
65
-
**This is unofficial and purely maintained by fans!**
66
-
67
63
## Installation (non-developers)
68
64
69
65
*~~The latest release should be available for download via the "Connect" button in Galaxy~~*
70
66
We aren't ready to publish this project to Galaxy just yet. We have the tools to do so, but the code is not stable enough for us to consider that just yet.
71
67
72
-
In the meantime, we've provided a simplified version of the developer install process that only does the bare minimum to install the plugin. There are only a few commands you need to run, but if you want to know what they do, they are documented above each command. A tl;dr: version is below it. Please do the following:
68
+
In the meantime, we've provided a simplified version of the developer install process that only does the bare minimum to install the plugin. There are only a few commands you need to run, but if you want to know what they do, they are documented above each command. A tl;dr: version is below it.
69
+
70
+
Please do the following:
73
71
* Download or clone this repo. If you download a zip, make sure to extract it. You need to be in the main directory for this to work.
74
-
* Download Python 3.7.9 32-bit. If you have another version of python installed, make sure `install py` is checked. This makes it easier to select which version of python you are using and we need our virtual environment in 3.7.9. Also, make sure you have the setting that adds python to the path environmental variable checked (windows). These should be the default, but make sure anyway.
72
+
* Download [Python 3.7.9 32-bit][Python379].
73
+
<br> If you have another version of python installed, make sure `install py` is checked.
74
+
<br> This makes it easier to select which version of python you are using and we need our virtual environment in 3.7.9.
75
+
<br> If using Windows, make sure you have enabled the setting that `adds Python to the PATH environmental variable`.
76
+
<br> These should be the default settings, but make sure anyway.
75
77
* Create a new virtual env:
76
-
- If you only have python 3.7.9<br/>
78
+
- If you only have python 3.7.9<br>
77
79
`python -m venv .venv`
78
-
- IF you have multiple python versions installed (assumes you have `py` as well)<br/>
80
+
- IF you have multiple python versions installed (assumes you have `py` as well)<br>
79
81
`py -3.7 -m venv .venv`
80
82
* Activate the virtual env
81
-
- Windows, Powershell:<br/>
82
-
`.\.venv\Scripts\activate.ps1`
83
-
- MacOS, terminal:<br/>
84
-
`.venv/Scripts/activate.sh`
85
-
* Downgrade/Upgrade `pip`<br/>
86
-
- If you only have python 3.7.9<br/>
87
-
`python -m pip install --upgrade pip==22.0.4`
88
-
- IF you have multiple python versions installed (assumes you have `py` as well)<br/>
89
-
`py -3.7 -m pip install --upgrade pip==22.0.4`
90
-
* Use Pip to get the python tools we need to install the plugin. These will only be applied to the venv you created earlier:<br/>
83
+
- Windows, Powershell:<br>
84
+
`.venv\Scripts\activate`
85
+
- MacOS, terminal:<br>
86
+
`.venv/Scripts/activate`
87
+
* Use Pip to get the python tools we need to install the plugin.
88
+
<br>These will only be applied to the `.venv` virtual environment you created earlier:<br>
91
89
`pip install -r requirements/install.txt`
92
-
* Install the plugin. It should work if you have deleted the original plugin, but will patch it if it is there.<br/>
90
+
* Install the plugin. It should work if you have deleted the original plugin, but will patch it if it is there.<br>
93
91
`inv install`
94
92
95
-
### Installation (non-dev, Tl;Dr):
93
+
### Installation (non-dev, TL;DR):
96
94
97
95
<b>Windows (Powershell recommended)</b>
98
96
```
99
-
echo I have installed python 3.7.9 (32 bit). If not, the rest of this won't work.
97
+
@echo You must have installed python 3.7.9 (32 bit). If not, the rest of this won't work.
100
98
py.exe -3.7 -m venv .venv
101
-
echo if the previous command did not work, you do not have py installed or py is not in your PATH. If you only have python 3.7.9, run the next command. If it worked, skip the next command.
99
+
@echo If the previous command did not work, you do not have py installed or py is not in your PATH.
100
+
@echo If you only have python 3.7.9, run the next command.
101
+
@echo If it worked, skip the next command.
102
102
python.exe -m venv .venv
103
-
echo virtual environment is installed. on to the next step.
104
-
.\.venv\Scripts\activate.ps1
105
-
echo i am downgrading pip.
106
-
py.exe -m pip install --upgrade pip==22.0.4
107
-
echo if the previous command did not work, you do not have py installed or py is not in your PATH. If you only have python 3.7.9, run the next command. If it worked, skip the next command.
108
-
python.exe -m pip install --upgrade pip==22.0.4
103
+
@echo virtual environment is installed. on to the next step.
104
+
.venv\Scripts\activate
109
105
pip install -r requirements/install.txt
110
106
inv install
111
107
```
112
108
113
109
<b>MacOS</b> (assumes your shell is bash, which is the default. if you are good enough to change that, you can figure out how to run these)
114
110
```
115
-
echo I have installed python 3.7.9 (MacOS). If not, the rest of this won't work.
111
+
echo You must have installed python 3.7.9 (MacOS). If not, the rest of this won't work.
116
112
py -3.7 -m venv .venv
117
-
echo if the previous command did not work, you do not have py installed or py is not in your PATH. If you only have python 3.7.9, run the next command. If it worked, skip the next command.
113
+
echo If the previous command did not work, you do not have py installed or py is not in your PATH.
114
+
echo If you only have python 3.7.9, run the next command.
115
+
echo If it worked, skip the next command.
118
116
python -m venv .venv
119
117
echo virtual environment is installed. on to the next step.
120
-
./.venv/Scripts/activate.sh
121
-
echo i am downgrading pip.
122
-
py -m pip install --upgrade pip==22.0.4
123
-
echo if the previous command did not work, you do not have py installed or py is not in your PATH. If you only have python 3.7.9, run the next command. If it worked, skip the next command.
124
-
python -m pip install --upgrade pip==22.0.4
118
+
.venv/Scripts/activate
125
119
pip install -r requirements/install.txt
126
120
inv install
127
121
```
128
122
129
123
### Install Error fixes:
130
-
If `inv install` throws a bunch of errors, make sure you have the proper python venv set up. It should complain about `getargspec`. If this happens, you created the wrong virtual environment. You can either delete .venv and reinstall it, or create a new virtual environment with a different name and use that. make sure you use `py -3.7` when creating your venv. If you don't have py, get it. You can specify the full path to python 3.7 instead if you want, but that's harder to do and harder to explain here.
124
+
If `inv install` throws a bunch of errors, make sure you have the proper python venv set up. It should complain about `getargspec`. If this happens, you created the wrong virtual environment. You can either delete the `.venv` folder and reinstall it, or create a new virtual environment with a different name and use that.
125
+
126
+
Make sure you use `py -3.7` when creating your venv. If you don't have `py`, get it. You can specify the full path to python 3.7 instead if you want, but that's harder to do and harder to explain here.
131
127
132
128
## Why this fork?
133
129
@@ -138,10 +134,10 @@ Well, without being too complicated, Steam changed how they do authentication. W
138
134
### Current Version:
139
135
This is a fork of https://github.com/FriendsOfGalaxy/galaxy-integration-steam
140
136
141
-
The new Authorization flow implementation is heavily influenced by SteamKit. https://github.com/SteamRE/SteamKit<br/>
137
+
The new Authorization flow implementation is heavily influenced by SteamKit. https://github.com/SteamRE/SteamKit<br>
142
138
While we have not utilized their source code, they have implemented the new authentication workflow before we did, and we used their knowledge of how to do so in order to implement it ourselves. If you are doing anything steam related in C#, you should check them out; their project has far more features than our own.
143
139
144
-
Some work was influenced by ValvePython. https://github.com/ValvePython/steam<br/>
140
+
Some work was influenced by ValvePython. https://github.com/ValvePython/steam<br>
145
141
Our projects do the same thing, but use different methods (we use asyncio, they use gevent, for example). Both projects were working on the new Auth Flow simultaneously, with little collaboration between us. That said, their scope is much larger than our own and lets you do a lot more things. If you are looking for a python means of implementing a steam network authentication, you should use their work instead.
146
142
147
143
### The names of individual developers will appear here, soon(ish). Any thanks can be directed there
@@ -155,3 +151,6 @@ Original Plugin was based on work and research done by others:
0 commit comments