Skip to content

Commit

Permalink
Added 'pico8'
Browse files Browse the repository at this point in the history
  • Loading branch information
muldjord committed Jun 12, 2022
1 parent b876cf7 commit 00240a9
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ Check the full artwork documentation [here](docs/ARTWORK.md)
* Implement a less rigid filename match for the 'import' module to allow for close match filenames
* Add support for grouping multi-disk games so they only have one entry in the gamelists. See issues/232 (Thank you to 'igno2k' for suggesting this)

#### Version 3.7.6 (12th June 2022)
* Added 'pico8' platform (Thank you to user 'zerojay' for suggesting it)

#### Version 3.7.5 (31st January 2022)
* Now allows ':' in Pegasus command

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION=3.7.5
VERSION=3.7.6
1 change: 1 addition & 0 deletions docs/PLATFORMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ As Skyscraper was built to be used with RetroPie, the list of supported platform
* PC-Engine / TurboGrafx-16
* PC-Engine CD / TurboGrafx-16 CD
* PC-FX
* Pico-8 (Virtual console)
* Playstation
* Playstation 2
* Playstation Portable
Expand Down
10 changes: 10 additions & 0 deletions src/platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ QStringList Platform::getPlatforms()
platforms.append("pcfx");
platforms.append("pcengine");
platforms.append("pcenginecd");
platforms.append("pico8");
platforms.append("pokemini");
platforms.append("ports");
platforms.append("ps2");
Expand Down Expand Up @@ -273,6 +274,8 @@ QStringList Platform::getScrapers(QString platform)
scrapers.append("screenscraper");
} else if(platform == "pcenginecd") {
scrapers.append("screenscraper");
} else if(platform == "pico8") {
scrapers.append("screenscraper");
} else if(platform == "pokemini") {
scrapers.append("screenscraper");
} else if(platform == "ports") {
Expand Down Expand Up @@ -482,6 +485,8 @@ QString Platform::getFormats(QString platform, QString extensions, QString addEx
formats.append("*.pce *.chd *.cue");
} else if(platform == "pcenginecd") {
formats.append("*.pce *.chd *.cue");
} else if(platform == "pico8") {
formats.append("*.png *.p8");

This comment has been minimized.

Copy link
@merwok

merwok Jun 21, 2022

There is also a 32k format with filenames *.p8.rom (reference: https://www.lexaloffle.com/dl/docs/pico-8_manual.html#_Loading_and_Saving)

} else if(platform == "pokemini") {
formats.append("*.min");
} else if(platform == "ports") {
Expand Down Expand Up @@ -670,6 +675,8 @@ QString Platform::getDefaultScraper(QString platform)
scraper = "cache";
} else if(platform == "pcenginecd") {
scraper = "cache";
} else if(platform == "pico8") {
scraper = "cache";
} else if(platform == "pokemini") {
scraper = "cache";
} else if(platform == "ports") {
Expand Down Expand Up @@ -1408,6 +1415,9 @@ QStringList Platform::getAliases(QString platform)
aliases.append("pc engine");
aliases.append("pc engine cd-rom");
aliases.append("pc engine supergrafx");
} else if(platform == "pico8") {
aliases.append("pico-8");
aliases.append("pico 8");
} else if(platform == "pokemini") {
aliases.append("nintendo pokémon mini");
aliases.append("pokémon mini");
Expand Down
2 changes: 2 additions & 0 deletions src/screenscraper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,8 @@ QString ScreenScraper::getPlatformId(const QString platform)
return "31";
} else if(platform == "pcenginecd") {
return "114";
} else if(platform == "pico8") {
return "234";
} else if(platform == "pokemini") {
return "211";
} else if(platform == "ports") {
Expand Down

0 comments on commit 00240a9

Please sign in to comment.