Skip to content

fix: make DemoZoo favorites loadable and export-aware - #296

Open
anomixer wants to merge 14 commits into
ct6502:mainfrom
anomixer:fix-demozoo-favorites
Open

fix: make DemoZoo favorites loadable and export-aware#296
anomixer wants to merge 14 commits into
ct6502:mainfrom
anomixer:fix-demozoo-favorites

Conversation

@anomixer

@anomixer anomixer commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

This follow-up fixes DemoZoo productions after they have been added to Favorites.

A DemoZoo production could be loaded successfully from the DemoZoo dialog, but the same item could fail to boot when
selected later from the Favorites collection. Favorites also did not consistently show the correct DemoZoo identity or
disk export status.

image

Changes

  • Mark DemoZoo favorites as DEMOZOO collection items instead of Internet Archive items.
  • Preserve the DemoZoo badge and metadata in the Favorites collection.
  • Migrate older DemoZoo favorites that were stored as Internet Archive items.
  • Resolve favorite URLs through the DemoZoo API/proxy before loading.
  • Resolve DemoZoo download pages to direct disk-image URLs.
  • Try multiple DemoZoo download links when the first one is unavailable.
  • Resolve external project pages and locate direct disk-image links.
  • Boot disks selected from the Favorites collection.
  • Add Cloudflare/local proxy handling for DemoZoo favorite downloads.
  • Determine and cache the disk VTOC type for export status.
  • Display the correct export state:
    • green: disk can be exported
    • orange: disk cannot be exported
    • yellow: export status is still pending
  • Keep existing Internet Archive favorites and normal disk-loading behavior unchanged.
  • Add the required translation entries to all supported language catalogs.

Tested

Tested locally with:

  npm start
  http://localhost:6502

Also tested with the Cloudflare Pages deployment.

Test cases included:

  • Visor
  • Monster Splash
  • The Matr][x
  • DemoZoo favorites with direct .dsk or .zip downloads
  • DemoZoo favorites with multiple download links
  • DemoZoo favorites whose first link is an informational project page
  • Internet Archive favorites
image

Some DemoZoo productions only provide YouTube or other external links. Those productions cannot be booted as disk images and continue to open the external link instead.

image

This PR is a follow-up to the DemoZoo integration merged in PR #293.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant