Compare commits

...
6 Commits
Author SHA1 Message Date
FaroeGames 6b693cc3c6 Add Legends: Arceus tracker and bundle offline sprites on dev
Add standalone Pokémon Legends: Arceus POC tracker (Hisui 242 Pokédex, Research Tasks & RL10 mode, Satchel MP & Save Mythicals toggles, Noble/story battles, saves/movesets), bundle local sprite packs across all three trackers into Git/Docker/Nginx with attribution credits, and update Hub landing page & unified server/tests.
2026-11-17 17:53:59 -07:00
FaroeGames 708bf6b58c Remove source Excel workbook now that tracker data is extracted
Build and Publish Docker Image / test-and-publish (push) Successful in 1m16s
2026-11-17 16:21:38 -07:00
FaroeGames 6ce92b290c Add custom SVG favicons, Gitea issue links and templates, and API triage script
Build and Publish Docker Image / test-and-publish (push) Successful in 2m29s
2026-11-17 16:18:59 -07:00
FaroeGames c476e5c816 Add UI screenshots to docs/screenshots and embed in README showcase
Build and Publish Docker Image / test-and-publish (push) Successful in 6m14s
2026-11-17 16:10:36 -07:00
FaroeGames 488bf34e8e Rewrite READMEs as public showcase documentation with screenshot section 2026-11-17 16:07:04 -07:00
FaroeGames f3fde4ddba Remove harmless duplicate webp MIME entry from nginx.conf 2026-11-17 15:56:05 -07:00
2692 changed files with 35352 additions and 94 deletions

No files matched your search

+2
View File
@@ -3,6 +3,8 @@
node_modules node_modules
**/tests **/tests
*.xlsx *.xlsx
docs
scripts
README.md README.md
**/README.md **/README.md
package.json package.json
+24
View File
@@ -0,0 +1,24 @@
---
name: 🐛 Bug Report
about: Report a UI bug, broken link, save issue, or unexpected behavior
title: "[Bug] "
labels:
- bug
---
### Which tracker page?
- [ ] Unified Hub (`/`)
- [ ] Omega Ruby & Alpha Sapphire (`/oras/`)
- [ ] Luminescent Platinum v2.1 (`/luminescent-platinum/`)
### What happened?
<!-- Describe clearly what happened and what you expected instead. -->
### Steps to reproduce
1. Go to '...'
2. Click / toggle '...'
3. See error
### Browser & Device
- Browser: [e.g. Chrome, Edge, Safari, Firefox]
- Device: [e.g. Windows PC, iPhone, Android]
+21
View File
@@ -0,0 +1,21 @@
---
name: 📊 Pokédex / Encounter Data Correction
about: Report a wrong spawn rate, level range, trainer team, move, or evolution gate
title: "[Data] "
labels:
- data
---
### Which tracker & version?
- [ ] Alpha Sapphire / Omega Ruby
- [ ] Luminescent Platinum v2.1
### Location / Section / Pokémon
- **Badge Section:** [e.g. Pre-Badge 1]
- **Route / Area:** [e.g. Route 116 / Route 201]
- **Pokémon / Trainer:** [e.g. Abra / Rival Barry]
### Current vs. Expected Data
- **Currently shown in tracker:**
- **Correct in-game value:**
- **Source / Verification (Serebii, Team Luminescent Docs, in-game check):**
+13
View File
@@ -0,0 +1,13 @@
---
name: 💡 Feature or New Game Request
about: Suggest an improvement, quality-of-life toggle, or another Pokémon game tracker
title: "[Feature] "
labels:
- enhancement
---
### Summary
<!-- Describe the feature or new game you'd like to see added. -->
### Details / Notes
<!-- Any helpful details, spreadsheets, or challenge ruleset preferences. -->
-2
View File
@@ -4,5 +4,3 @@ Thumbs.db
*.log *.log
.env .env
assets/sprites/ assets/sprites/
oras/assets/sprites/
luminescent-platinum/assets/sprites/
Binary file not shown.
+8
View File
@@ -5,9 +5,17 @@ COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
COPY index.html /usr/share/nginx/html/index.html COPY index.html /usr/share/nginx/html/index.html
COPY assets/ /usr/share/nginx/html/assets/ COPY assets/ /usr/share/nginx/html/assets/
COPY oras/index.html /usr/share/nginx/html/oras/index.html COPY oras/index.html /usr/share/nginx/html/oras/index.html
COPY oras/favicon.svg /usr/share/nginx/html/oras/favicon.svg
COPY oras/assets/ /usr/share/nginx/html/oras/assets/
COPY oras/src/ /usr/share/nginx/html/oras/src/ COPY oras/src/ /usr/share/nginx/html/oras/src/
COPY luminescent-platinum/index.html /usr/share/nginx/html/luminescent-platinum/index.html COPY luminescent-platinum/index.html /usr/share/nginx/html/luminescent-platinum/index.html
COPY luminescent-platinum/favicon.svg /usr/share/nginx/html/luminescent-platinum/favicon.svg
COPY luminescent-platinum/assets/ /usr/share/nginx/html/luminescent-platinum/assets/
COPY luminescent-platinum/src/ /usr/share/nginx/html/luminescent-platinum/src/ COPY luminescent-platinum/src/ /usr/share/nginx/html/luminescent-platinum/src/
COPY legends-arceus/index.html /usr/share/nginx/html/legends-arceus/index.html
COPY legends-arceus/favicon.svg /usr/share/nginx/html/legends-arceus/favicon.svg
COPY legends-arceus/assets/ /usr/share/nginx/html/legends-arceus/assets/
COPY legends-arceus/src/ /usr/share/nginx/html/legends-arceus/src/
EXPOSE 28473 EXPOSE 28473
+94 -63
View File
@@ -1,88 +1,119 @@
# Professor Oak Challenge Trackers # Professor Oak Challenge Trackers
Unified web portal hosting two standalone **Professor Oak Challenge** trackers under a shared landing hub: A dark-mode **Professor Oak Challenge (POC)** web tracker hub covering multiple Pokémon games under one site. Built to make multi-section Pokédex planning fast, readable, and easy to track directly in your browser without spreadsheets.
- **`/`** — Landing hub ([index.html](./index.html)) showing live browser save summaries and launcher cards > **Browser-First & Private:** All progress, save profiles, and ruleset toggles are stored locally in your browser (`localStorage`), with one-click JSON backup export and import. There is no account system, database, or tracking.
- **`/oras/`** — Pokémon **Omega Ruby & Alpha Sapphire** tracker ([oras/](./oras/))
- **`/luminescent-platinum/`** — Pokémon **Luminescent Platinum (v2.1)** tracker ([luminescent-platinum/](./luminescent-platinum/))
All progress, save profiles, and toggles persist locally in your browser per game (`poc-tracker:v1:*` for ORAS, `lumi-poc-tracker:v1:*` for Luminescent Platinum), and each tracker has a **← Hub** link in the top header plus **Export Save / Import** JSON backups.
--- ---
## Local Development & Tests ## Included Trackers
Requires Node.js 20+ (no external npm packages or build step required): ### 1. Pokémon Omega Ruby & Alpha Sapphire (`/oras/`)
A full **Nintendo 3DS · Gen VI** Professor Oak Challenge tracker supporting both **Alpha Sapphire** and **Omega Ruby** in one app:
- **Version Modes & Rulesets:** Switch between **Alpha Sapphire** (`410` Solo POC Pokémon) and **Omega Ruby** (`410` Solo POC Pokémon), or toggle **Show All** (`478` total Pokémon including trade evolutions and version exclusives).
- **10 Level-Capped Checkpoints:** Enforces evolutions achievable at or below each upcoming Gym Leader / Champion level cap (`Roxanne Lv. 14` → `Steven Lv. 59` + `Post-Game / Delta Episode`).
- **Optional Secret Super Training Toggle:** Off by default—keep stone evolutions in later checkpoints via overworld/NPC stones and Dive Shards, or turn it on if you grind 510-EV Secret Super Training early.
- **Interactive Route Checklists:** Displays Pokémon sprites, elemental type pills, encounter rates, level ranges, evolution item icons, mutually exclusive branch locking (Starters, Fossils, Johto/Sinnoh/Unova gifts), and global **Caught** sync across every route and the Pokédex tab.
- **Route-Level Trainer & Gym Battles:** Collapsible battle drawers directly beneath each route and Gym, tracking trainer defeats and dynamically adapting Rival teams to your chosen starter.
- **Gen VI Pokédex, Stats & Movedex:** Sortable Pokédex table with `BST` / Base Stats, plus a detail inspector showing **Gen VI Base Stats**, **Abilities**, Regular & Shiny ORAS sprites, evolution family, all encounter locations, a searchable **ORAS Movedex** (`Level-Up`, `TM/HM`, `Tutor`, `Egg`, `All`), and external links (`Serebii`, `Bulbapedia`, `Pokémon Database`, `Smogon`).
### 2. Pokémon Luminescent Platinum v2.1 (`/luminescent-platinum/`)
A dedicated tracker tailored to the **Nintendo Switch · BDSP Mod (Luminescent Platinum v2.1)** Pokédex and mechanics:
- **Complete v2.1 Pokédex (`547` + Optional `+3` Special Forms):** Tracks every catch and evolution across **10 Boss Level-Cap Sections** (`Roark Lv. 16` → `Gardenia Lv. 26` → `Fantina Lv. 33` → `Maylene Lv. 39` → `Wake Lv. 44` → `Byron Lv. 53` → `Candice Lv. 56` → `Volkner Lv. 62` → `Cynthia Lv. 78` → `Post-Game Lv. 100`), with an optional **Special Forms (+3)** toggle for Crystal Onix, Stitched Gengar, and Spiky-Eared Pichu (`550`).
- **Live Incense Burner Slot Simulator:** Toggle **Incense Burner** right from the header, section banner, or next to `Any Incense` spawns to activate regional encounters (`Any Incense` / `Any Incense Surf`) and see real-time overwritten spawn rates (`20%` Grass slots 4–5 pushing displaced Pokémon into `1%` slots 10–11, and `30%` Surf slot 1 overrides marked **`Replaced by Incense`**).
- **Accurate Chronological Progression:** Includes the **Route 201 Initial Starter Picker**, **Jubilife Trainer School 1-of-18 Mystery Egg Picker** (tracks early bonus picks without locking the remaining 17 babies out of later routes), chronological **Old Rod** backtracks after visiting the Jubilife–Route 218 Gatehouse, and separate backtrack cards for Good Rod, Honey Trees, Surf, and Super Rod.
- **Route Trainers & `[Team 1–4]` Boss Variants:** Collapsible battle cards covering regular trainers, Rivals (`Barry`, `Dawn`, `Lucas`, `Cedric`), Team Galactic raids, Johto Time Portals, Type Masters, and randomized `[Team 1–4]` boss lineups with variant filtering.
- **Luminescent Base Stats & Movedex:** Sortable Pokédex plus full inspector modal with Luminescent v2.1 stats, custom abilities, Regular & Shiny sprites, full learnsets, and external Pokédex links.
### 3. Pokémon Legends: Arceus (`/legends-arceus/`)
A complete **Nintendo Switch · Gen VIII · Hisui** Professor Oak Challenge & Research Lv. 10 tracker organized by **Noble Pokémon & Ride Mount Checkpoints**:
- **Hisui Pokédex (`240` + Optional `+2` Save-Data Mythicals = `242`):** Spans **6 Noble & Progression Sections** (`Pre-Kleavor` -> `Pre-Lilligant` -> `Pre-Arcanine` -> `Pre-Electrode` -> `Pre-Avalugg` -> `Climax & Post-Game Arceus`) with earliest-section evolutions and Space-Time Distortion milestones.
- **Dual Caught & Research Lv. 10 (`RL10`) Sync:** Check off both **Caught** and **`Lv10`** across Routes, Pokédex, and Modals, and toggle progress bars & filters between **Caught Only** and **Research Lv. 10** (accurately shifting `#142 Unown` RL10 to Section 5 once all `28/28` forms are reachable with Braviary).
- **Optional Satchel MP Shop Toggle:** Enable **Satchel MP Shop** in the header to move Trading Post items (`Golem`, `Machamp`, `Scizor`, `Glaceon`) into **Section 1 Pre-Kleavor**, or leave it off for Sparkling Ore, Graveler (`8% Black Augurite`), and Section 2 Distortion timing.
- **Research Tasks, Mastery Movedex & Story Trainers:** Every entry includes its Serebii Research Tasks table (highlighting `2×` boost tasks), Hisui Base Stats, Level-Up + Mastery Lv. & Move Shop learnsets, and collapsible Noble / Warden / Bandit / Volo battle drawers.
---
## Core Site Features
- **Unified Hub Landing Page (`/`):** Launch either tracker cleanly from [index.html](./index.html), with live client-side detection showing your saved profile progress on each game card and a **`← Hub`** navigation button in every tracker header.
- **Independent Multi-Save Profiles:** Run multiple challenge playthroughs per game (Create, Rename, Delete, Reset, Export Save, Import JSON backup).
- **Zero-Dependency Stack:** Built with plain HTML, CSS, and Vanilla ES Modules—no frontend bundler, framework runtime, or third-party npm packages required.
---
## Project Layout
```text
.
├── index.html # Landing hub page (/)
├── assets/ # Hub styles & save-badge preview script
├── oras/ # Alpha Sapphire & Omega Ruby tracker (/oras/)
├── luminescent-platinum/ # Luminescent Platinum v2.1 tracker (/luminescent-platinum/)
├── legends-arceus/ # Pokémon Legends: Arceus tracker (/legends-arceus/)
├── scripts/ # Offline sprite cache & Gitea/Unraid automation scripts
├── tests/ # Hub server & packaging tests
├── docker/nginx.conf # Nginx static server configuration
├── Dockerfile # Lightweight Nginx container build
├── docker-compose.yml # Container deployment definition
└── server.mjs # Local Node.js static server
```
---
## Screenshots
### Unified Tracker Hub (`/`)
![Professor Oak Challenge Trackers Hub](./docs/screenshots/hub.jpg)
### Omega Ruby & Alpha Sapphire — Route Checklist (`/oras/`)
![ORAS Route Checklist with Exclusive Starter Locking and Sprites](./docs/screenshots/oras-checklist.jpg)
### Luminescent Platinum v2.1 — Live Incense Burner Slot Overrides (`/luminescent-platinum/`)
![Luminescent Platinum Checklist with Inline Incense Burner Rate Overrides](./docs/screenshots/luminescent-incense.jpg)
### Pokédex View & Pokémon Detail / Movedex Modal
![Luminescent Platinum Pokédex View](./docs/screenshots/luminescent-pokedex.jpg)
![Pokémon Inspector Modal with Base Stats, Abilities, Evolution Family, and Movedex](./docs/screenshots/pokedex-modal.jpg)
---
## Running Locally or with Docker
Requires **Node.js 20+** for local development/testing:
```bash ```bash
# Run unified site + ORAS + Luminescent Platinum test suites # Run all test suites (Hub + ORAS + Luminescent Platinum + Legends: Arceus)
npm test npm test
# Serve unified site at http://127.0.0.1:4173 # Start unified local server on http://127.0.0.1:4173
npm start npm start
# Refresh or verify the bundled local sprite caches in <game>/assets/sprites/
npm run download-sprites
``` ```
--- Or run as a self-contained static container (`nginx:1.27-alpine`, serving on port `28473`, with all Pokémon and item sprites bundled locally inside the image):
## Uploading to Gitea (`git.trevorstocks.ca`)
This folder is already initialized with Git and ready to push once you create an empty repository on Gitea:
```bash ```bash
git remote add origin https://git.trevorstocks.ca/<your-username>/<repo-name>.git
git push -u origin main
```
---
## Hosting in a Standalone Docker Container on Unraid
The repository includes a lightweight `nginx:1.27-alpine` [Dockerfile](./Dockerfile), [docker/nginx.conf](./docker/nginx.conf), and [docker-compose.yml](./docker-compose.yml) configured cleanly for reverse proxies (`absolute_redirect off`, `.mjs`/`.webp` MIME types, trailing-slash redirects, `/health` probe, running on uncommon high port `28473`).
### Option A — Build Directly on Unraid (`docker compose`)
SSH into your Unraid server (e.g., into `/mnt/user/appdata/professor-oak-tracker`):
```bash
git clone https://git.trevorstocks.ca/<your-username>/<repo-name>.git /mnt/user/appdata/professor-oak-tracker
cd /mnt/user/appdata/professor-oak-tracker
docker compose up -d --build docker compose up -d --build
``` ```
To update later after pushing changes to Gitea: Behind a reverse proxy, point your host/subdomain to container port `28473` over `http` (`absolute_redirect off` is already enabled in [docker/nginx.conf](./docker/nginx.conf)).
```bash
cd /mnt/user/appdata/professor-oak-tracker
git pull
docker compose up -d --build
```
### Option B — Reverse Proxy / Subdomain Setup (Nginx Proxy Manager / SWAG)
- **Default Compose port:** `28473` on Unraid → container port `28473` (avoids `80`, `443`, `8080`, `8088`)
- **Nginx Proxy Manager / SWAG target:**
- Scheme: `http` (Nginx Proxy Manager handles HTTPS/SSL termination for your subdomain)
- Forward Hostname / IP: your Unraid IP (or `professor-oak-tracker` if both containers share a custom Docker bridge network like `proxynet`)
- Forward Port: `28473`
--- ---
## Automatic Updates on Unraid (Instead of Manual `git pull`) ## Data Sources, Sprites & Credits
Unraid's Docker dashboard **"apply update"** badge only checks **remote Docker registries**—containers built locally with `docker compose up -d --build` will show updates as `not available`. Choose either approach below: All Pokémon & item sprites are bundled locally inside `*/assets/sprites/` courtesy of the open-source communities below so the site runs self-contained without depending on external image hosts at runtime:
### Way 1 — Unraid Dashboard **"apply update"** Button (via Gitea Container Registry) - **Sprites courtesy of [PokeAPI/sprites](https://github.com/PokeAPI/sprites):** Bundled Gen VI Omega Ruby & Alpha Sapphire sprites/items (`oras/assets/sprites/`) and Pokémon HOME / Hisui sprites & items (`legends-arceus/assets/sprites/`, plus Poké Ball fallback icon).
- **Sprites & mod data courtesy of [Team Luminescent (`TeamLumi/luminescent-team`)](https://github.com/TeamLumi/luminescent-team):** Bundled BDSP-style regular, shiny, item, rock, and incense sprites (`luminescent-platinum/assets/sprites/`), plus Luminescent Platinum v2.0/v2.1 Pokédex, encounter tables, trainer teams, and learnsets.
- **Encounter, trainer & Pokédex data courtesy of [Serebii.net](https://www.serebii.net):** ORAS Pokéarth encounters & Gen VI `pokedex-xy` stats/abilities, and Pokémon Legends: Arceus Pokéarth Hisui subareas, Distortions, Research Tasks, Noble/Warden/Miss Fortune/Volo battles, Requests, and Hisuian stats.
- **Learnset & stat tables courtesy of [PokéAPI (`PokeAPI/pokeapi`)](https://github.com/PokeAPI/pokeapi):** Structured ORAS (`Gen VI`) and Legends: Arceus (`version_group_id=24`) Level-Up / Mastery / Move Shop move tables.
1. In Gitea (`git.trevorstocks.ca`), make sure **Packages** and **Actions** (with a Docker-capable runner) are enabled. > *Pokémon and all related names, characters, and artwork are trademarks of Nintendo, Creatures Inc., and GAME FREAK inc. This is a non-commercial fan-made challenge tracker and is not affiliated with or endorsed by them.*
2. Generate a Personal Access Token (**Profile → Settings → Applications → Generate New Token**) with **`package` (`write:package`, `read:package`)** permission, then add it to your repository (**Settings → Actions → Secrets**) as **`REGISTRY_TOKEN`** *(Gitea's built-in `GITEA_TOKEN` usually lacks Container Registry write permission)*.
3. Push to `main`: [`.gitea/workflows/docker-publish.yml`](./.gitea/workflows/docker-publish.yml) runs `npm test` and pushes `git.trevorstocks.ca/faroegames/oaktracker:latest`.
3. In Gitea's **Packages** tab for `oaktracker`, set the container package visibility to **Public** (or run `docker login git.trevorstocks.ca` once in the Unraid terminal if keeping it private—note Unraid's automatic UI update checker works most reliably with public HTTPS packages; private custom registries may require clicking **Force Update** or using Watchtower).
4. On Unraid, add the container in **Docker → Add Container** (rather than Compose) with:
- **Name:** `professor-oak-tracker`
- **Repository:** `git.trevorstocks.ca/faroegames/oaktracker:latest`
- **Port:** Container `28473` → Host `28473`
- Now Unraid detects new pushes in its Docker tab (or Watchtower can auto-update it).
### Way 2 — Hands-Free Auto-Rebuild via Unraid **User Scripts** (Zero Gitea Runner Needed)
If you don't run a Gitea Actions Runner, keep building locally with `docker compose` and add [`scripts/unraid-git-update.sh`](./scripts/unraid-git-update.sh) to Unraid's **User Scripts** plugin on a schedule (e.g., `*/15 * * * *`). It checks `git fetch origin main` and only rebuilds/restarts when a new commit is pushed to `git.trevorstocks.ca`.
+13
View File
@@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<defs>
<linearGradient id="hub-top" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#34d399" />
<stop offset="100%" stop-color="#38bdf8" />
</linearGradient>
</defs>
<circle cx="32" cy="32" r="29" fill="#f4f4f6" stroke="#0c0c10" stroke-width="5" />
<path d="M5.5 32 A26.5 26.5 0 0 1 58.5 32 Z" fill="url(#hub-top)" />
<rect x="3" y="28.5" width="58" height="7" fill="#0c0c10" />
<circle cx="32" cy="32" r="10.5" fill="#f4f4f6" stroke="#0c0c10" stroke-width="4.5" />
<circle cx="32" cy="32" r="4.5" fill="#34d399" />
</svg>

After

Width:  |  Height:  |  Size: 629 B

+52 -1
View File
@@ -69,7 +69,7 @@ body {
.cards-grid { .cards-grid {
display: grid; display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
gap: 20px; gap: 20px;
} }
@@ -109,6 +109,14 @@ body {
border-color: rgba(56, 189, 248, 0.55); border-color: rgba(56, 189, 248, 0.55);
} }
.card-pla {
border-top: 3px solid #eab308;
}
.card-pla:hover {
border-color: rgba(234, 179, 8, 0.55);
}
.card-top { .card-top {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@@ -149,6 +157,12 @@ body {
color: #7dd3fc; color: #7dd3fc;
} }
.badge-hisui {
background: rgba(234, 179, 8, 0.16);
border: 1px solid rgba(234, 179, 8, 0.45);
color: #fde047;
}
.platform-badge { .platform-badge {
background: var(--bg-elevated); background: var(--bg-elevated);
border: 1px solid var(--border); border: 1px solid var(--border);
@@ -234,6 +248,10 @@ body {
background: linear-gradient(135deg, #0284c7, #0369a1); background: linear-gradient(135deg, #0284c7, #0369a1);
} }
.btn-pla {
background: linear-gradient(135deg, #d97706, #b45309);
}
.hub-footer { .hub-footer {
margin-top: 28px; margin-top: 28px;
padding: 14px 18px; padding: 14px 18px;
@@ -255,3 +273,36 @@ body {
border-radius: 4px; border-radius: 4px;
color: #e5e7eb; color: #e5e7eb;
} }
.hub-footer-links {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
margin-top: 12px;
}
.hub-ext-link {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 5px 12px;
border-radius: 999px;
background: var(--bg-elevated);
border: 1px solid var(--border);
color: var(--text-main);
font-size: 12px;
font-weight: 700;
text-decoration: none;
transition: border-color 0.15s ease, color 0.15s ease;
}
.hub-ext-link:hover {
border-color: rgba(56, 189, 248, 0.55);
color: #7dd3fc;
}
.hub-ext-issue:hover {
border-color: rgba(52, 211, 153, 0.55);
color: var(--mint);
}
+19 -1
View File
@@ -4,7 +4,7 @@ function readSaveSummary(storage, prefix, defaultGameId, gameLabels) {
const rawMeta = storage.getItem(`${prefix}app-meta`); const rawMeta = storage.getItem(`${prefix}app-meta`);
const meta = rawMeta ? JSON.parse(rawMeta) : null; const meta = rawMeta ? JSON.parse(rawMeta) : null;
const gameId = meta?.activeGameId || defaultGameId; const gameId = meta?.activeGameId || defaultGameId;
const gameMeta = meta?.gameProfiles?.[gameId]; const gameMeta = meta?.gameProfiles?.[gameId] || meta?.profilesByGame?.[gameId];
const profileId = gameMeta?.activeProfileId || 'default'; const profileId = gameMeta?.activeProfileId || 'default';
const profileName = const profileName =
gameMeta?.profiles?.find((p) => p.id === profileId)?.name || 'Default'; gameMeta?.profiles?.find((p) => p.id === profileId)?.name || 'Default';
@@ -14,12 +14,16 @@ function readSaveSummary(storage, prefix, defaultGameId, gameLabels) {
if (!rawSave) return null; if (!rawSave) return null;
const parsed = JSON.parse(rawSave); const parsed = JSON.parse(rawSave);
const caughtCount = Array.isArray(parsed?.caught) ? parsed.caught.length : 0; const caughtCount = Array.isArray(parsed?.caught) ? parsed.caught.length : 0;
const rl10Count = Array.isArray(parsed?.rl10) ? parsed.rl10.length : null;
const progressMode = parsed?.progressMode || 'caught';
const gameLabel = gameLabels[gameId] || gameId; const gameLabel = gameLabels[gameId] || gameId;
return { return {
gameLabel, gameLabel,
profileName, profileName,
profileCount, profileCount,
caughtCount, caughtCount,
rl10Count,
progressMode,
}; };
} catch { } catch {
return null; return null;
@@ -53,6 +57,20 @@ export function renderSavePills(doc = globalThis.document, storage = globalThis.
lumiEl.textContent = 'Ready for a new run'; lumiEl.textContent = 'Ready for a new run';
} }
} }
const plaEl = doc?.getElementById('pla-save-badge');
if (plaEl) {
const info = readSaveSummary(storage, 'pla-poc-tracker:v1:', 'legends-arceus', {
'legends-arceus': 'Legends: Arceus',
});
if (info) {
const rl10Text = Number.isInteger(info.rl10Count) ? ` · ${info.rl10Count} RL10` : '';
plaEl.textContent = `Saved (${info.profileName}): ${info.caughtCount} caught${rl10Text}`;
plaEl.classList.add('has-save');
} else {
plaEl.textContent = 'Ready for a new run';
}
}
} }
if (typeof globalThis.document !== 'undefined') { if (typeof globalThis.document !== 'undefined') {
+19 -3
View File
@@ -12,7 +12,6 @@ server {
include /etc/nginx/mime.types; include /etc/nginx/mime.types;
types { types {
application/javascript mjs; application/javascript mjs;
image/webp webp;
} }
gzip on; gzip on;
@@ -36,13 +35,24 @@ server {
location = /luminescent-platinum { location = /luminescent-platinum {
return 301 /luminescent-platinum/; return 301 /luminescent-platinum/;
} }
location = /legends-arceus {
return 301 /legends-arceus/;
}
# Asset-status probe endpoints (returns false unless bind-mounted offline sprite check overrides) # Asset-status probe endpoints (serves .ready.json if local sprites are bind-mounted/bundled, otherwise false)
location = /oras/api/assets-status { location = /oras/api/assets-status {
default_type application/json; default_type application/json;
return 200 '{"hasLocalSprites":false}'; try_files /oras/assets/sprites/.ready.json @assets_unavailable;
} }
location = /luminescent-platinum/api/assets-status { location = /luminescent-platinum/api/assets-status {
default_type application/json;
try_files /luminescent-platinum/assets/sprites/.ready.json @assets_unavailable;
}
location = /legends-arceus/api/assets-status {
default_type application/json;
try_files /legends-arceus/assets/sprites/.ready.json @assets_unavailable;
}
location @assets_unavailable {
default_type application/json; default_type application/json;
return 200 '{"hasLocalSprites":false}'; return 200 '{"hasLocalSprites":false}';
} }
@@ -52,6 +62,12 @@ server {
try_files $uri =404; try_files $uri =404;
} }
location ~* \.(?:png|webp|svg|ico)$ {
expires 7d;
add_header Cache-Control "public, max-age=604800";
try_files $uri =404;
}
location / { location / {
try_files $uri $uri/ =404; try_files $uri $uri/ =404;
} }
Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

+70 -6
View File
@@ -4,6 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Professor Oak Challenge Trackers</title> <title>Professor Oak Challenge Trackers</title>
<link rel="icon" type="image/svg+xml" href="./assets/favicon.svg" />
<link rel="stylesheet" href="./assets/landing.css" /> <link rel="stylesheet" href="./assets/landing.css" />
</head> </head>
<body> <body>
@@ -26,14 +27,14 @@
</div> </div>
<div class="card-sprites" aria-hidden="true"> <div class="card-sprites" aria-hidden="true">
<img <img
src="https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-vi/omega-ruby-alpha-sapphire/382.png" src="./oras/assets/sprites/pokemon/versions/generation-vi/omega-ruby-alpha-sapphire/382.png"
alt="" alt=""
width="64" width="64"
height="64" height="64"
loading="lazy" loading="lazy"
/> />
<img <img
src="https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-vi/omega-ruby-alpha-sapphire/383.png" src="./oras/assets/sprites/pokemon/versions/generation-vi/omega-ruby-alpha-sapphire/383.png"
alt="" alt=""
width="64" width="64"
height="64" height="64"
@@ -68,21 +69,21 @@
</div> </div>
<div class="card-sprites" aria-hidden="true"> <div class="card-sprites" aria-hidden="true">
<img <img
src="https://raw.githubusercontent.com/TeamLumi/luminescent-team/main/static/img/pkm/pm0387_00_00_00_L.webp" src="./luminescent-platinum/assets/sprites/pkm/pm0387_00_00_00_L.webp"
alt="" alt=""
width="56" width="56"
height="56" height="56"
loading="lazy" loading="lazy"
/> />
<img <img
src="https://raw.githubusercontent.com/TeamLumi/luminescent-team/main/static/img/pkm/pm0390_00_00_00_L.webp" src="./luminescent-platinum/assets/sprites/pkm/pm0390_00_00_00_L.webp"
alt="" alt=""
width="56" width="56"
height="56" height="56"
loading="lazy" loading="lazy"
/> />
<img <img
src="https://raw.githubusercontent.com/TeamLumi/luminescent-team/main/static/img/pkm/pm0393_00_00_00_L.webp" src="./luminescent-platinum/assets/sprites/pkm/pm0393_00_00_00_L.webp"
alt="" alt=""
width="56" width="56"
height="56" height="56"
@@ -108,12 +109,75 @@
<a class="launch-btn btn-lumi" href="./luminescent-platinum/">Launch Luminescent Platinum →</a> <a class="launch-btn btn-lumi" href="./luminescent-platinum/">Launch Luminescent Platinum →</a>
</div> </div>
</article> </article>
<article class="game-card card-pla">
<div class="card-top">
<div class="card-badges">
<span class="version-badge badge-hisui">Legends: Arceus</span>
<span class="platform-badge">Switch · Gen VIII · Hisui</span>
</div>
<div class="card-sprites" aria-hidden="true">
<img
src="./legends-arceus/assets/sprites/pokemon/other/home/10244.png"
alt=""
width="52"
height="52"
loading="lazy"
/>
<img
src="./legends-arceus/assets/sprites/pokemon/other/home/10233.png"
alt=""
width="52"
height="52"
loading="lazy"
/>
<img
src="./legends-arceus/assets/sprites/pokemon/other/home/10236.png"
alt=""
width="52"
height="52"
loading="lazy"
/>
</div>
</div>
<h2 class="card-title">Pokémon Legends: Arceus</h2>
<p class="card-desc">
Full Hisui Pokédex &amp; Research Lv. 10 tracker organized by Noble Pokémon &amp; Ride Mount gates, Distortions, and earliest-section evolutions.
</p>
<ul class="feature-list">
<li><strong>240</strong> Base Hisui Dex (+<strong>2</strong> Save-Data Mythicals = 242)</li>
<li>Dual <strong>Caught</strong> &amp; <strong>Research Lv. 10 (RL10)</strong> checkboxes + goal toggle</li>
<li>Optional <strong>Satchel MP Shop</strong> toggle (early Linking Cord / Metal Coat / Stones)</li>
<li>242 Hisui Stats, Research Tasks, Mastery Movedex &amp; Boss/Warden Trainers</li>
</ul>
<div class="card-footer">
<span class="save-pill" id="pla-save-badge">Checking browser save...</span>
<a class="launch-btn btn-pla" href="./legends-arceus/">Launch Legends: Arceus →</a>
</div>
</article>
</section> </section>
<footer class="hub-footer"> <footer class="hub-footer">
<p> <p>
Progress saves locally in your browser per game (<code>poc-tracker:v1</code> for ORAS, <code>lumi-poc-tracker:v1</code> for Luminescent Platinum). If moving from a local port to a new domain, use <strong>Export Save → Import</strong> inside each tracker. Progress saves locally in your browser per game (<code>poc-tracker:v1</code> for ORAS, <code>lumi-poc-tracker:v1</code> for Luminescent Platinum, <code>pla-poc-tracker:v1</code> for Legends: Arceus). If moving from a local port to a new domain, use <strong>Export Save → Import</strong> inside each tracker.
</p> </p>
<div class="hub-footer-links">
<a
class="hub-ext-link"
href="https://git.trevorstocks.ca/FaroeGames/oaktracker"
target="_blank"
rel="noopener noreferrer"
>Source on Gitea ↗</a>
<a
class="hub-ext-link hub-ext-issue"
href="https://git.trevorstocks.ca/FaroeGames/oaktracker/issues"
target="_blank"
rel="noopener noreferrer"
>Report Bug / Data Issue ↗</a>
</div>
</footer> </footer>
</main> </main>
+10
View File
@@ -0,0 +1,10 @@
# Pokémon Legends: Arceus — Professor Oak Challenge Tracker
Interactive area-by-area Professor Oak Challenge & Research Lv. 10 tracker for **Pokémon Legends: Arceus** across the Hisui region.
## Features
- **Earliest-Section Noble Gates (`240` / `242` Pokédex):** Pre-Kleavor -> Pre-Lilligant -> Pre-Arcanine -> Pre-Electrode -> Pre-Avalugg -> Climax & Post-Game (Arceus).
- **Caught & Research Lv. 10 Dual Checkboxes:** Track both **Caught** and **Research Lv. 10** per Pokémon across Routes, Pokédex, and Modals, and toggle progress bars between **Caught Only** and **Research Lv. 10 (`RL10`)**.
- **Allow Satchel MP Shop Toggle:** Dynamically shifts Trading Post Linking Cord / Metal Coat / Ice Stone evolutions between early **Section 1** and **Section 2 Space-Time Distortions**.
- **Save-Data Mythicals (`+2`) Toggle:** Optionally include `#241 Shaymin` (Sword/Shield save) & `#242 Darkrai` (BDSP save).
- **Full Hisui Reference:** Research tasks (with `2×` boost indicators), Hisuian Base Stats, Movedex (Level-Up + Mastery levels + Move Shop), and collapsible Boss/Warden/Noble/Volo Trainer drawers.
@@ -0,0 +1,4 @@
{
"hasLocalSprites": true,
"updatedAt": "2026-11-18T00:24:01.364Z"
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 290 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Loaded 100 of 2692 files, more files were not shown because too many files have changed in this diff. Show more