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
Copy file name to clipboardExpand all lines: docs/INSTALLATION.md
+20-5Lines changed: 20 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,28 @@ You can find detailled installation instructions in the respective section in th
5
5
-[RetroPie on Linux distros with Debian package system](https://github.com/Gemba/skyscraper/blob/master/README.md#installation-of-skyscraper-on-retropie-and-programmable-completion) (Ubuntu, RaspiOS, aso.)
6
6
- Other unixoid OSes first match the dependencies:
7
7
8
-
- Linux distros with Debian package system (Ubuntu, RaspiOS, aso.), [without RetroPie](https://github.com/Gemba/skyscraper/blob/master/README.md#linux)
9
-
- For other Linux distributions assure the [package dependencies](https://github.com/Gemba/skyscraper/blob/master/README.md#linux) are met for your distro
10
-
- NixOS aficionados are happy with these packages: [NixOS](https://github.com/Gemba/skyscraper/blob/master/README.md#nixos)
11
-
- macOS users can install the dependencies [via brew](https://github.com/Gemba/skyscraper/blob/master/README.md#macos)
8
+
- Linux distros with Debian package system (Ubuntu, RaspiOS, aso.), [without
After having the dependencies installed proceed with the [install script](https://github.com/Gemba/skyscraper/blob/master/README.md#download-compile-and-install) or use the few [manual commands](https://github.com/Gemba/skyscraper/blob/master/README.md#installing-the-development-version).
14
19
Last but not least you can also follow these paths:
-[Native Windows installation](https://github.com/Gemba/skyscraper/tree/master/win32#readme) (or use WSL2 with a Linux Distro and follow the Linux instructions above)
Copy file name to clipboardExpand all lines: docs/PLATFORMS.md
+36-22Lines changed: 36 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,10 +61,11 @@ maintain local changes to the `platforms_idmap.csv` in a separate file with a
61
61
!!! tip "Avoid Duplication"
62
62
63
63
If you need a specific folder name for a platform (on your setup or due to an
64
-
EmulationStation theme) use a symbolic link (for example `megadrive` (=folder)
65
-
and `genesis` (=symlink) on RetroPie setups or another example: `plus4`
66
-
(=folder) and `c16` (=symlink)) instead of duplicating the platform in the JSON
67
-
file.
64
+
EmulationStation theme) use a symbolic link. For example `megadrive` (=folder)
65
+
and `genesis` (=symlink) on RetroPie setups or `plus4` (=folder) and `c16`
66
+
(=symlink). Example for ES-DE `n3ds` (=folder) and `3ds` (=symlink) Use this
67
+
approach instead of duplicating the platform in the JSON file and it saves you
68
+
from maintaining the `*_local*` files. Command `ln -s <folder> <symlink>`
68
69
69
70
### File Two: Exact platform mapping
70
71
@@ -84,7 +85,11 @@ c64,66,27,40
84
85
85
86
!!! tip "The Games DB"
86
87
87
-
The game data at TGDB is in rare case in different platforms to be found. Prominent example is Sega's Genesis respecitve Mega Drive. For these edgecases you may find the platform ids in the `platforms_idmap.csv` separated with an `|`. This means all platform ids will be tried to find a match in left-to-right order of the definition.
88
+
The game data at TGDB is in rare case in different platforms to be found.
89
+
Prominent example is Sega's Genesis respecitve Mega Drive. For these edgecases
90
+
you may find the platform ids in the `platforms_idmap.csv` separated with an
91
+
`|`. This means all platform ids will be tried to find a match in left-to-right
92
+
order of the definition.
88
93
89
94
90
95
You can display the number with their platform name on each of the three
@@ -170,8 +175,13 @@ Example: Copy this excerpt from `peas.json`...
170
175
```
171
176
172
177
If you have multiple platforms defined in your local file make sure the platform
173
-
blocks are separated by a comma `,`.
174
-
178
+
blocks are separated by a comma `,`.
179
+
To validate your `peas_local.json` file you can use the script
180
+
`peas_validate_with_json_schema.py` (you can find it in the
181
+
`supplementary/scraperdata` folder or sibling to the `Skyscraper` executable on
182
+
a RetroPie installation (usually `/opt/retropie/supplementary/skyscraper/`)). See
183
+
the comments in the script for usage, but after installing the dependency it
184
+
boils down to provide the path to your JSON file as parameter to the script.
175
185
176
186
!!! tip "Case-sensitivity in EmulationStation Configuration"
177
187
@@ -183,18 +193,18 @@ blocks are separated by a comma `,`.
183
193
Outline:
184
194
185
195
1. Create a file `peas_local.json` sibling to `peas.json`. Enter in this file an
186
-
empty `{}` JSON object.
187
-
2. Create a new platform block in `peas_local.json` inside the outer (empty)
188
-
block created before, or copy an existing block and adapt to your needs. For
189
-
RetroPie your chosen `<platform_name>` must match the folder in
190
-
`~/RetroPie/roms/<platform_name>`.
191
-
3. Use `<platform_name>` also in `platforms_idmap_local.csv`. If you need to
196
+
empty `{}` JSON object. Then create a new platform block in `peas_local.json`
197
+
inside the outer (empty) block created before, or copy an existing block and
198
+
adapt to your needs. For RetroPie your chosen `<platform_name>` must match
199
+
the folder in `~/RetroPie/roms/<platform_name>`.
200
+
2. Use `<platform_name>` also in `platforms_idmap_local.csv`. If you need to
192
201
create an `platforms_idmap_local.csv` put in the column names
193
202
`folder,screenscraper_id,mobygames_id,tgdb_id` (i.e. the first line of
194
203
`platforms_idmap.csv`) . See also below for details of this CSV-file.
195
-
4. If you use RetroPie do add the platform/system also to your `es_systems.cfg`
204
+
3. If you use RetroPie do add the platform/system also to your `es_systems.cfg`
There is also a verbatim example, you may skip the next section initially and
200
210
jump directly into the [hands-on example](PLATFORMS.md#sample-usecase-adding-platform-satellaview).
@@ -235,7 +245,11 @@ folder on your filesystem where you keep your games.
235
245
236
246
!!! example "Use of Aliases"
237
247
238
-
The platforms ScummVM and Steam do not have an exact match on Mobygames, however you may scrape successfully for ScummVM and Steam games if you use 'PC', 'DOS', 'Windows', 'Linux' or similar as `"aliases": ...` in the `"scummvm": ...` or `"steam": ...` section of `peas.json`. Usually you find the platforms a game runs on if you lookup the game manually on the scraping website.
248
+
The platforms ScummVM and Steam do not have an exact match on Mobygames, however
249
+
you may scrape successfully for ScummVM and Steam games if you use 'PC', 'DOS',
250
+
'Windows', 'Linux' or similar as `"aliases": ...` in the `"scummvm": ...` or
251
+
`"steam": ...` section of `peas.json`. Usually you find the platforms a game
252
+
runs on if you lookup the game manually on the scraping website.
239
253
240
254
### Sample Usecase: Adding Platform _Satellaview_
241
255
@@ -323,12 +337,12 @@ for additional information on this.
323
337
324
338
- Line 3 defines the platform name, respective the folder name for your ROMs.
325
339
Thus, Skyscraper expects to find ROMs in `/home/pi/RetroPie/roms/satellaview`.
326
-
- Line 6 contains the extensions which are recognized by EmulationStation. These
327
-
extensions should be also be present in the `"formats":` block of `peas.json`.
328
-
However, Skyscraper uses case insensitive file extension mapping. The
329
-
extensions `.7z` and `.zip` are added automagically by Skyscraper, thus the
330
-
`"formats":` list is usually shorter than the EmulationStation `<extension/>`
331
-
list.
340
+
- Line 6 contains the extensions which are recognized by EmulationStation
341
+
(explicitly in lowercase and UPPERCASE). These extensions should be also be
342
+
present in the `"formats":` block of `peas.json`. However, Skyscraper uses
343
+
case insensitive file extension mapping (lowercase only). The extensions `.7z`
344
+
and `.zip` are added automagically by Skyscraper, thus the `"formats":` list
345
+
is usually shorter than the EmulationStation `<extension/>`list.
332
346
- Line 9: If your theme doesn't support Satellaview, you can also use `snes` as
0 commit comments