Skip to content

Commit f8dceab

Browse files
authored
Merge pull request #113 from AndrewDWhite/dev
Documentation update to better provide some clarification on updating plugin installation process.
2 parents c9cffe9 + ec94b76 commit f8dceab

File tree

5 files changed

+40
-14
lines changed

5 files changed

+40
-14
lines changed

.github/workflows/lint.yml

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,36 @@
11
name: Lint
22

33
on:
4-
# Trigger the workflow on push or pull request,
5-
# but only for the main branch
4+
# Trigger the workflow on pull request,
65
pull_request:
7-
branches:
8-
- main
6+
# The branches below must be to the branches below
7+
branches: [ master ]
8+
types:
9+
- opened
10+
- synchronize
11+
- reopened
12+
13+
permissions:
14+
contents: write
15+
checks: write
16+
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
19+
cancel-in-progress: true
920

1021
jobs:
1122
run-linters:
1223
name: Run linters
1324
runs-on: windows-latest
14-
25+
1526
steps:
1627
- name: Check out Git repository
17-
uses: actions/checkout@v2
28+
uses: actions/checkout@v3
29+
with:
30+
#repository: ${{ github.event.pull_request.head.repo.full_name }}
31+
#ref: ${{ github.event.pull_request.head.ref }}
32+
ref: ${{ github.event.pull_request.head.sha }}
33+
#repo_token: ${{ secrets.GITHUB_TOKEN }}
1834

1935
- name: Set up Python
2036
uses: actions/setup-python@v2
@@ -23,7 +39,7 @@ jobs:
2339
architecture: 'x86'
2440

2541
- name: Install dependencies
26-
run: |
42+
run: |
2743
py -3.7-32 -m pip install --upgrade pip
2844
py -3.7-32 -m pip install -r requirements/requirements_dev.txt
2945
py -3.7-32 -m pip install -r requirements/requirements_dev.txt --target ./src/
@@ -33,4 +49,5 @@ jobs:
3349
uses: wearerequired/lint-action@v2
3450
with:
3551
black: true
36-
flake8: true
52+
flake8: true
53+

.github/workflows/pythonpackage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
- completed
77
push:
88
branches: [ master ]
9+
10+
pull_request:
11+
branches: [ master, dev ]
12+
types:
13+
- synchronize
914

1015
jobs:
1116
build:

.github/workflows/updatereleaseversion.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Update release version
22
on:
33
pull_request:
44
branches: [ master ]
5+
types:
6+
- opened
7+
- reopened
58

69
env:
710
GITHUB_TOKEN: ${{ github.token }}

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@ Plug-in for GOG Galaxy supporting programmatic importation of multiple platform
55

66
## Known issues
77
- Upon galaxy update, the plugin's games may be determined to be unsupported. To resolve this for the current update as of 2020-06-15, disconnect the plugin and then reconnect it again. Contrary to galaxy's messages, your game data including play times will be retained upon reconnecting as they are also cached by the plugin.
8-
- To preserve game data between updates ensure to copy the game_cache and game_cache-times files to the updated installation.
9-
- To preserve configuration between versions ensure to copy the systems.json file to the updated installation.
108
- If you want to allow for metadata to be stripped away between dots, like previous versions, you would add `([.].*)*` before the extension; for example gba would look like `.*[\\\\](.+?)([ ]*[\\(\\[].*[\\)\\]])*([.].*)*[.]gba` for it's regex. This expression will break games with dots in their name. You can look at the history of the configuration for some [examples](https://github.com/AndrewDWhite/GalaxyGenericImporterPlugin/blob/01ed3c6976e6cd17e805387fd0a60a5e48918973/emulators.json).
11-
- Unknown game issues where galaxy refuses a name you provided to it or refuses to update, can sometimes be fixed by changing the username in config.cfg .
12-
- Galaxy will place all programs under the same platform. Grouping by tags is a decent substitute so ensure to use useful ones. If you only intend to use one platform, you can also update the config.cfg file for that platform.
9+
- Unknown game issues where galaxy refuses a name you provided to it or refuses to update, can sometimes be fixed by changing the username in config.cfg , but this is generally controlled by galaxy itself and requires working with GoG to update their database.
10+
- Galaxy will place all programs under the same platform. Grouping by tags is a decent substitute, so ensure to use useful ones. If you only intend to use one platform, you can also update the config.cfg and manifest.json files to reflect that platform instead of the more generic one.
1311
- To force the plug-in to re-send every program to galaxy again, useful after updating the configuration manually, remove the caches, game_cache and game_cache-times , and either completely exit and restart galaxy or disable and then re-enable the plug-in.
1412
- If you own a lot of games, Galaxy may incorrectly report that the plug-in has crashed and force kill it for processing too long. You can try to optimize your regular expressions to allow it to execute quickly enough for it to not hit the maximum processing time. You can also try setting the logging level to info.
1513

1614
## Installation
17-
The plug-in will need to be placed in `%localappdata%\GOG.com\Galaxy\plugins\installed\` as `importer_97543122-7785-4444-2254-711233556699` . The easiest version to install is the [latest version](https://github.com/AndrewDWhite/GalaxyGenericImporterPlugin/releases/latest) under releases with all of the libraries pre installed and can be unzipped into the installation directory. The a [Youtube video]( https://www.youtube.com/watch?v=FCrHWRy0fOs) showing installation using default directories for software.
15+
Ensure that galaxy is completely exited, including from the system tray, before you install the plugin. The plug-in will need to be placed in `%localappdata%\GOG.com\Galaxy\plugins\installed\` as `importer_97543122-7785-4444-2254-711233556699` . The easiest version to install is the [latest version](https://github.com/AndrewDWhite/GalaxyGenericImporterPlugin/releases/latest) under releases with all of the libraries pre installed and can be unzipped into the installation directory. This [Youtube video]( https://www.youtube.com/watch?v=FCrHWRy0fOs) shows installation using default directories for the plugin software.
1816

1917
<img alt="installation directory with plugins installed" src="https://user-images.githubusercontent.com/972757/119213521-981b1980-ba8d-11eb-9a13-e8a8a2438c14.png">
2018

19+
###Updating
20+
If you are updating from a previous version and you wish to keep your game data, ensure that you copy game_cache and game_cache-times files to the updated installation. If you have made any configuration changes that you wish to preserve, ensure to copy the systems.json and config.cfg files to the updated installation. Once you have finished updating the unzipped folder with these old files make sure to completely remove the existing files from the plugin directory before moving the newly uncompressed version into the plugins folder and restarting galaxy.
21+
2122
## Default directories
2223
If the configuration is not changed to reflect your system, then the following is used by default. Your personal `documents\games\` folder will by default be used to house the folders for your systems which will be something like `C:\Users\andyn\Documents\Games\Dreamcast` depending on your user name. See the PSP example for how to have multiple emulators for the same system for different folders and kinds of images.
2324

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "importer",
33
"platform": "test",
44
"guid": "97543122-7785-4444-2254-711233556699",
5-
"version": "0.18-baf824762c5d5676b2fe6e11912cb7b0843023af",
5+
"version": "0.27-9656a9f13df68f1e94ce2677f0de41b1d6739920",
66
"description": "Plugin for GOG Galaxy supporting programmatic importation of multiplatform game libraries. Allows for the generic definition of files to be added using user definable regular expressions.",
77
"author": "Andrew David White",
88
"email": "972757+AndrewDWhite@users.noreply.github.com",

0 commit comments

Comments
 (0)