From 4b8c5f9ddd6d1252c88906fc996ddfbd2026c428 Mon Sep 17 00:00:00 2001 From: Richard Macias Date: Fri, 30 May 2025 09:10:00 -0500 Subject: [PATCH] chore: generate_table uses url or meta.urlOverride as application link in README --- Makefile | 2 +- README.md | 60 ++++++++++++++-------------- obtainium-emulation-pack-latest.json | 1 + obtainium-emulation-pack.json | 1 - pages/table.md | 57 +++++++++++++------------- scripts/generate-table.py | 16 ++++---- src/applications.json | 5 ++- 7 files changed, 74 insertions(+), 68 deletions(-) create mode 100644 obtainium-emulation-pack-latest.json delete mode 100644 obtainium-emulation-pack.json diff --git a/Makefile b/Makefile index 651d17a..7f3c31f 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ links: # Generate links for all obtainium packages @python scripts/generate-obtainium-urls.py src/applications.json > scripts/links.md minify: # Obtainium historically expects a minified json. This allows humans to edit the readable and easily update the minified one. - @python scripts/minify-json.py src/applications.json obtainium-emulation-pack.json + @python scripts/minify-json.py src/applications.json obtainium-emulation-pack-latest.json table: # Generate a table of obtainium links for the README. @python scripts/generate-table.py src/applications.json ./pages/table.md diff --git a/README.md b/README.md index bdd1004..691c7f7 100644 --- a/README.md +++ b/README.md @@ -26,58 +26,59 @@ The maintainer of Obtainium also hosts a collection of Crowdsourced app configur 1. Click the "Add to Obtainium!" links of the emulators you wish to track ## Applications + ### Emulator | Application Name | Add to Obtainium | Included in export json? | |------------------|------------------|---------------------------| -| +AzaharPlus+ | Add to Obtainium! | ❌ | -| Azahar | Add to Obtainium! | ✅ | -| Cemu | Add to Obtainium! | ✅ | -| Citron | Add to Obtainium! | ✅ | -| Dolphin Emulator | Add to Obtainium! | ✅ | -| Dolphin Emulator (Dev build) | Add to Obtainium! | ❌ | -| DuckStation (Beta) | Add to Obtainium! | ✅ | -| Eden | Add to Obtainium! | ✅ | -| NetherSX2 Classic | Add to Obtainium! | ✅ | -| NetherSX2 Classic (Pre-Release) | Add to Obtainium! | ❌ | -| PPSSPP | Add to Obtainium! | ✅ | -| RPCSX | Add to Obtainium! | ✅ | -| RetroArch AArch64 (Nightly) | Add to Obtainium! | ❌ | -| RetroArch AArch64 (Stable) | Add to Obtainium! | ✅ | -| ScummVM | Add to Obtainium! | ✅ | -| Vita3K | Add to Obtainium! | ✅ | -| Vita3K ZX | Add to Obtainium! | ✅ | -| Winlator | Add to Obtainium! | ✅ | -| melonDS | Add to Obtainium! | ✅ | -| melonDS Nightly | Add to Obtainium! | ❌ | +| +AzaharPlus+ | Add to Obtainium! | ❌ | +| Azahar | Add to Obtainium! | ✅ | +| Cemu | Add to Obtainium! | ✅ | +| Citron | Add to Obtainium! | ✅ | +| Dolphin Emulator | Add to Obtainium! | ✅ | +| Dolphin Emulator (Dev build) | Add to Obtainium! | ❌ | +| DuckStation (Beta) | Add to Obtainium! | ✅ | +| Eden | Add to Obtainium! | ✅ | +| NetherSX2 Classic | Add to Obtainium! | ✅ | +| NetherSX2 Classic (Pre-Release) | Add to Obtainium! | ❌ | +| PPSSPP | Add to Obtainium! | ✅ | +| RPCSX | Add to Obtainium! | ✅ | +| RetroArch AArch64 (Nightly) | Add to Obtainium! | ❌ | +| RetroArch AArch64 (Stable) | Add to Obtainium! | ✅ | +| ScummVM | Add to Obtainium! | ✅ | +| Vita3K | Add to Obtainium! | ✅ | +| Vita3K ZX | Add to Obtainium! | ✅ | +| Winlator | Add to Obtainium! | ✅ | +| melonDS | Add to Obtainium! | ✅ | +| melonDS Nightly | Add to Obtainium! | ❌ | ### Frontend | Application Name | Add to Obtainium | Included in export json? | |------------------|------------------|---------------------------| -| Daijishō | Add to Obtainium! | ✅ | -| Pegasus | Add to Obtainium! | ✅ | +| Daijishō | Add to Obtainium! | ✅ | +| Pegasus | Add to Obtainium! | ✅ | ### Streaming | Application Name | Add to Obtainium | Included in export json? | |------------------|------------------|---------------------------| -| Artemis | Add to Obtainium! | ✅ | -| Moonlight | Add to Obtainium! | ✅ | +| Artemis | Add to Obtainium! | ✅ | +| Moonlight | Add to Obtainium! | ✅ | ### Track Only | Application Name | Add to Obtainium | Included in export json? | |------------------|------------------|---------------------------| -| AdrenoToolsDrivers | Add to Obtainium! | ✅ | -| Obtainium Emulation Pack | Add to Obtainium! | ✅ | +| AdrenoToolsDrivers | Add to Obtainium! | ✅ | +| Obtainium Emulation Pack | Add to Obtainium! | ✅ | ### Utilities | Application Name | Add to Obtainium | Included in export json? | |------------------|------------------|---------------------------| -| ES-DE Android Apps | Add to Obtainium! | ✅ | -| Syncthing-Fork | Add to Obtainium! | ✅ | +| ES-DE Android Apps | Add to Obtainium! | ✅ | +| Syncthing-Fork | Add to Obtainium! | ✅ | ## FAQ @@ -105,8 +106,7 @@ It will not remove any other resources you've added. ### A new switch emulator has released! Can you add it? > [!NOTE] -> Context: I have a full time job, a family. I do this for fun. -> With that in mind... +> For context, I have a full time job and a family. I do this for fun. With that in mind... I want to be very selective about which switch emulators I add to this pack. The switch emulation space can be very volatile, and I don't want to be in a position where I have to chase a moving target and update the pack every day. diff --git a/obtainium-emulation-pack-latest.json b/obtainium-emulation-pack-latest.json new file mode 100644 index 0000000..02cc977 --- /dev/null +++ b/obtainium-emulation-pack-latest.json @@ -0,0 +1 @@ +{"apps":[{"id":"io.github.lime3ds.android","url":"https://github.com/azahar-emu/azahar","author":"azahar-emu","name":"Azahar","preferredApkIndex":0,"additionalSettings":"{\"includePrereleases\":false,\"fallbackToOlderReleases\":true,\"filterReleaseTitlesByRegEx\":\"\",\"filterReleaseNotesByRegEx\":\"\",\"verifyLatestTag\":false,\"sortMethodChoice\":\"date\",\"useLatestAssetDateAsReleaseDate\":false,\"releaseTitleAsVersion\":false,\"trackOnly\":false,\"versionExtractionRegEx\":\"\",\"matchGroupToUse\":\"\",\"versionDetection\":true,\"releaseDateAsVersion\":false,\"useVersionCodeAsOSVersion\":false,\"apkFilterRegEx\":\"\",\"invertAPKFilter\":false,\"autoApkFilterByArch\":true,\"appName\":\"\",\"appAuthor\":\"\",\"shizukuPretendToBeGooglePlay\":false,\"allowInsecure\":false,\"exemptFromBackgroundUpdates\":false,\"skipUpdateNotifications\":false,\"about\":\"\",\"refreshBeforeDownload\":false}","categories":["Emulator"],"overrideSource":"GitHub"},{"id":"info.cemu.cemu","url":"https://github.com/SSimco/Cemu","author":"SSimco","name":"Cemu","preferredApkIndex":0,"additionalSettings":"{\"includePrereleases\":false,\"fallbackToOlderReleases\":true,\"filterReleaseTitlesByRegEx\":\"\",\"filterReleaseNotesByRegEx\":\"\",\"verifyLatestTag\":false,\"dontSortReleasesList\":false,\"useLatestAssetDateAsReleaseDate\":false,\"releaseTitleAsVersion\":false,\"trackOnly\":false,\"versionExtractionRegEx\":\"\",\"matchGroupToUse\":\"\",\"versionDetection\":true,\"releaseDateAsVersion\":false,\"useVersionCodeAsOSVersion\":false,\"apkFilterRegEx\":\"\",\"invertAPKFilter\":false,\"autoApkFilterByArch\":true,\"appName\":\"\",\"shizukuPretendToBeGooglePlay\":false,\"allowInsecure\":false,\"exemptFromBackgroundUpdates\":false,\"skipUpdateNotifications\":false,\"about\":\"\",\"refreshBeforeDownload\":false}","categories":["Emulator"],"overrideSource":"GitHub"},{"id":"org.citron.citron_emu","url":"https://git.citron-emu.org/citron/emu","author":"citron","name":"Citron","preferredApkIndex":0,"additionalSettings":"{\"fallbackToOlderReleases\":true,\"trackOnly\":false,\"versionExtractionRegEx\":\"\",\"matchGroupToUse\":\"\",\"versionDetection\":false,\"releaseDateAsVersion\":false,\"useVersionCodeAsOSVersion\":false,\"apkFilterRegEx\":\".*\\\\.apk\",\"invertAPKFilter\":false,\"autoApkFilterByArch\":true,\"appName\":\"\",\"appAuthor\":\"\",\"shizukuPretendToBeGooglePlay\":false,\"allowInsecure\":false,\"exemptFromBackgroundUpdates\":false,\"skipUpdateNotifications\":false,\"about\":\"\",\"refreshBeforeDownload\":false,\"gitlab-creds\":\"\"}","categories":["Emulator"],"overrideSource":"GitLab"},{"id":"org.dolphinemu.dolphinemu","url":"https://dolphin-emu.org/download/?ref=btn","author":"dolphin-emu.org","name":"Dolphin Emulator","preferredApkIndex":0,"additionalSettings":"{\"intermediateLink\":[],\"customLinkFilterRegex\":\"https:\\\\/\\\\/dl.dolphin-emu.org\\\\/releases.+dolphin.+.apk\",\"filterByLinkText\":false,\"skipSort\":false,\"reverseSort\":false,\"sortByLastLinkSegment\":true,\"versionExtractWholePage\":false,\"requestHeader\":[{\"requestHeader\":\"User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36\"}],\"defaultPseudoVersioningMethod\":\"partialAPKHash\",\"trackOnly\":false,\"versionExtractionRegEx\":\"/releases/.+/dolphin-(.+).apk\",\"matchGroupToUse\":\"$1\",\"versionDetection\":false,\"useVersionCodeAsOSVersion\":false,\"apkFilterRegEx\":\"\",\"invertAPKFilter\":false,\"autoApkFilterByArch\":true,\"appName\":\"Dolphin Emulator (Stable)\",\"appAuthor\":\"\",\"shizukuPretendToBeGooglePlay\":false,\"allowInsecure\":false,\"exemptFromBackgroundUpdates\":false,\"skipUpdateNotifications\":false,\"about\":\"\",\"refreshBeforeDownload\":false}","categories":["Emulator"],"overrideSource":"HTML"},{"id":"com.github.stenzek.duckstation","url":"https://downloads.duckstation.org/android/","author":"downloads.duckstation.org","name":"DuckStation (Beta)","preferredApkIndex":0,"additionalSettings":"{\"intermediateLink\":[],\"customLinkFilterRegex\":\"https://www.duckstation.org/android/duckstation-(beta|android).apk\",\"filterByLinkText\":true,\"skipSort\":false,\"reverseSort\":false,\"sortByLastLinkSegment\":false,\"versionExtractWholePage\":true,\"requestHeader\":[{\"requestHeader\":\"User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36\"}],\"defaultPseudoVersioningMethod\":\"partialAPKHash\",\"trackOnly\":false,\"versionExtractionRegEx\":\"