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/CACHE.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Preferred way of editing the cache is via the various [`--cache`](CLIHELP.md#-ca
35
35
If you decide to add your own files to the subfolders, you risk them being deleted by Skyscraper later on if it is run with one of the cache cleanup command line options. You've been warned!
36
36
37
37
38
-
**Other cool stuff you CAN DO**: Each subfolder in the `/home/<USER>/.skyscraper/cache/` folder is self-contained and can be copied to other Skyscraper installations at your convenience. Just copy the folder itself over to some other computer that has Skyscraper 1.6.0 or later installed, and you can make use of the data when generating game lists. If you add it at a non-default location, set the custom folder with `-d <FOLDER>`.
38
+
**Other cool stuff you CAN DO**: Each subfolder in the `/home/<USER>/.skyscraper/cache/` folder is self-contained and can be copied to other Skyscraper installations at your convenience. Just copy the folder itself over to some other computer that has Skyscraper v1.6 or later installed, and you can make use of the data when generating game lists. If you add it at a non-default location, set the custom folder with `-d <FOLDER>`.
39
39
40
40
### Resource Cache Format
41
41
@@ -52,10 +52,6 @@ The database consists of resource entries connected to a unique id. The id is ca
52
52
timestamp="<UNIX TIMESTAMP IN MSECS>">Resource data</resource>
53
53
```
54
54
55
-
!!! note
56
-
57
-
Pre-3.3.0 versions of Skyscraper used `sha1` as the name of the unique id key. Later versions use `id`.
58
-
59
55
#### Resource Types
60
56
61
57
##### title
@@ -124,4 +120,8 @@ A video file filename for a game (file exists in `videos` subfolder)
124
120
125
121
##### manual
126
122
127
-
A manual (PDF) file filename for a game (file exists in `manuals` subfolder)
123
+
(Since v3.12) A manual (PDF) file filename for a game (file exists in `manuals` subfolder)
124
+
125
+
##### fanart
126
+
127
+
(Since v3.18) A background image displayed in some frontends (e.g. Batocera) and themes for a game (file exists in `fanarts` subfolder)
Copy file name to clipboardExpand all lines: docs/CLIHELP.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ Sets a non-default location for the storing and loading of cached game resources
56
56
57
57
!!! note
58
58
59
-
If you wish to _always_ use a certain location as base folder for your resource cache ((for instance if you want your cache to reside on a USB drive), it is _strongly_ recommended to set this in the `config.ini` file instead. Read more about the relevant [`config.ini` option](CONFIGINI.md#cachefolder).
59
+
If you wish to _always_ use a certain location as base folder for your resource cache (for instance if you want your cache to reside on a USB drive), it is _strongly_ recommended to set this in the `config.ini` file instead. Read more about the relevant [`config.ini` option](CONFIGINI.md#cachefolder).
60
60
61
61
**Example(s)**
62
62
@@ -448,6 +448,10 @@ From Skyscraper 3.5.0 all command-line options that change the scraping behaviou
448
448
449
449
To enable multiple flags separate them by commas (eg. `--flags FLAG1,FLAG2`) or apply `--flags` option multiple times.
450
450
451
+
#### fanarts
452
+
453
+
By default Skyscraper doesn't scrape and cache game fanart resources because not all scraping sites provide this data and also only some frontends support fanart display. You can enable it by using this flag. Consider setting this in [`config.ini`](CONFIGINI.md#fanarts) instead.
454
+
451
455
#### forcefilename
452
456
453
457
This flag forces Skyscraper to use the filename (excluding extension) instead of the cached titles when generating a game list. Consider setting this in [`config.ini`](CONFIGINI.md#forcefilename) instead.
@@ -540,6 +544,10 @@ Only relevant when generating an EmulationStation, a Retrobat or a Pegasus game
540
544
541
545
When generating gamelists, skip processing covers that already exist in the media output folder.
542
546
547
+
#### skipexistingfanarts
548
+
549
+
When generating gamelists, skip copying fanart files that already exist in the media output folder.
550
+
543
551
#### skipexistingmanuals
544
552
545
553
When generating gamelists, skip copying manuals that already exist in the media output folder.
Copy file name to clipboardExpand all lines: docs/CONFIGINI.md
+37-5Lines changed: 37 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,16 @@ Settings in the `[main]` section will always be set regardless of selected platf
20
20
21
21
### Order of Precedence
22
22
23
-
Each section can have overlapping parameters. In case where a certain option exists in several sections they are prioritized as scraping module first, then frontend, then platform and lastly main. Any commandline (CLI) option which relates to an configuration setting in `config.ini` has highest precedence, regardless of the other four levels respective sections.
23
+
Each section can have overlapping parameters. In case where a certain option exists in several sections they are prioritized as scraping module first, then frontend, then platform and lastly main. Any commandline interface (CLI) option which relates to an configuration setting in `config.ini` has highest precedence, aces out each scraping module section and other lower prioritized sections (frontend, platform and main). If a configuration option is neither set via CLI nor via configuration file, its default value is applied. In summary:
24
24
25
-
You can find an example config file at `/home/<USER>/.skyscraper/config.ini.example`. This file contains all available options. Just copy the file to `config.ini` and uncomment and edit the ones you wish to use by removing the `#` or `;` in front of the variables. Remember to also uncomment the section the option relates to such as `[main]` or `[amiga]`.
You can find an example config file at `/home/<USER>/.skyscraper/config.ini.example`. This file contains all available options. Just copy the file to `config.ini` and uncomment and edit the ones you wish to use by removing the `#` or `;` in front of the variables. Remember to also uncomment the `[<section>]` line which the option relates to such as `[main]` or `[amiga]`.
26
33
27
34
!!! note
28
35
@@ -81,6 +88,7 @@ This is an alphabetical index of all configuration options their usage level and
81
88
|[excludeFrom](CONFIGINI.md#excludefrom)| Advanced | Y | Y |||
82
89
|[excludePattern](CONFIGINI.md#excludepattern)| Advanced | Y | Y | Y ||
83
90
|[extensions](CONFIGINI.md#extensions)| Expert || Y |||
91
+
|[fanarts](CONFIGINI.md#fanarts)| Basic | Y ||||
84
92
|[forceFilename](CONFIGINI.md#forcefilename)| Advanced | Y | Y | Y ||
85
93
|[frontend](CONFIGINI.md#frontend)| Basic | Y ||||
86
94
|[gameBaseFile](CONFIGINI.md#gamebasefile)| Expert || Y |||
@@ -291,7 +299,8 @@ Cleans up some misformatting in scraped description:
291
299
2. Multiple spaces between sentences are reduced to one space
292
300
3. Bulletpoint beginning with \* or ● are replaced with a dash
293
301
4. Stylized ellipsis (… Unicode:`…`) is replaced with three dot characters
294
-
5. Multiple exclamation marks are reduced to one, unless for game titles are explicitly typed like that, like 'Super Punch-Out!!'.
302
+
5. Multiple exclamation marks are reduced to one, unless for game titles are
303
+
explicitly typed like that, like 'Super Punch-Out!!'.
295
304
296
305
!!! quote
297
306
@@ -425,7 +434,7 @@ Allowed in sections: `[main]`, `[<PLATFORM>]`, `[<FRONTEND>]`
425
434
426
435
#### videos
427
436
428
-
By default Skyscraper doesn't scrape and cache video resources because of the significant disk space required to save them. You can enable videos using this option.
437
+
By default Skyscraper doesn't scrape and cache video resources because of the significant disk space required to save them. You can enable videos using this option. If your frontend supports video display also explicitly set this option to true. See also the option to [symlink video files](#symlink) instead of copying, if space is a premium.
429
438
430
439
Default value: `false`
431
440
Allowed in sections: `[main]`, `[<PLATFORM>]`, `[<FRONTEND>]`, `[<SCRAPER>]`
@@ -1076,9 +1085,32 @@ Allowed in sections: Only for frontends `[emulationstation]`, `[esde]` or `[retr
1076
1085
1077
1086
---
1078
1087
1088
+
#### fanarts
1089
+
1090
+
By default Skyscraper doesn't scrape and cache game fanart resources because not
1091
+
all scraping sites provide this data and also only some frontends support fanart
1092
+
display. If enabled Skyscraper will collect game manuals for the scraping
1093
+
modules that provide this data. For frontend Batocera no further option must be
1094
+
set to enable the output of fanart in the gamelist and into the appropriate
1095
+
folder during gamelist creation. For other EmulationStation forks where themes
By default Skyscraper doesn't scrape and cache game manuals resources because not all scraping sites provide this data and also only some frontends support PDF display of these game manuals. If enabled Skyscraper will collect game manuals for the scraping modules that provide this data. For frontend ES-DE no further option must be set to enable the output of the PDF manuals to the appropriate folder. For other EmulationStation forks see also option [gameListVariants](CONFIGINI.md#gamelistvariants).
1106
+
By default Skyscraper doesn't scrape and cache game manuals resources because
1107
+
not all scraping sites provide this data and also only some frontends support
1108
+
PDF display of these game manuals. If enabled Skyscraper will collect game
1109
+
manuals for the scraping modules that provide this data. For frontend ES-DE and
1110
+
Batocera no further option must be set to enable the output of the PDF manuals
1111
+
to the appropriate folder during gamelist creation. For other EmulationStation
1112
+
forks which support PDF manual display, see also option
Copy file name to clipboardExpand all lines: docs/IMPORT.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,13 @@ The following describes how to import your own custom textual, artwork and / or
10
10
11
11
Be sure to also check the [`--cache edit` option](CLIHELP.md#-cache-editnewtype).
12
12
13
-
### Images, Videos and Game Manuals
13
+
### Images, Videos, Fanarts and Game Manuals
14
14
15
15
To import videos or images into the resource cache, use the following procedure:
16
16
17
17
- Name your image or video file with the _exact_ base name of the rom you wish to connect it to. Example: `Bubble Bobble.nes` will import images with a filename of `Bubble Bobble.jpg` or `Bubble Bobble.png` or other well-known image formats. As long as the base name is an _exact_ match. Same goes for video files. I recommend only making use of well-known video formats since Skyscraper imports them directly without conversion (unless you [convert them](CONFIGINI.md#videoconvertcommand)), so they need to be supported directly by the frontend you plan to use.
18
18
- Game manuals are expected to use PDF format and have the extension `.pdf`. The base name must match the ROM file, thus the game manual of the example is `Bubble Bobble.pdf`.
19
-
- Place all of your images, videos or game manuals in the `/home/<USER>/.skyscraper/import/<PLATFORM>/screenshots`, `covers`, `wheels`, `marquees`, `videos` or `manuals` folders.
19
+
- Place all of your images, fanarts, videos or game manuals in the `/home/<USER>/.skyscraper/import/<PLATFORM>/screenshots`, `covers`, `wheels`, `marquees`, `fanarts`, `videos` or `manuals` folders.
20
20
- Now run Skyscraper with `Skyscraper -p <PLATFORM> -s import`. If you named your files correctly, they will now be imported. Look for the green 'YES' in the output at the rom(s) you've placed files for. This will tell you if it succeeded or not.
21
21
- The data is now imported into the resource cache. To make use of it read the section [How to actually use the data?](#how-to-actually-use-the-data) below.
0 commit comments