import type { SupportedGame } from "../../types/game"; import { EamuseImportInfo } from "../../types/constants"; interface DancerushModalProps { isOpen: boolean; onClose: () => void; game: SupportedGame | undefined; renderAsCard?: () => void; } const DancerushModal = ({ isOpen, onClose, game, renderAsCard }: DancerushModalProps) => { if (renderAsCard) { return (

DANCERUSH e-amusement Play History

Import via scraping your DANCERUSH playdata from KONAMI e-amusement

); } if (!isOpen) return null; const handleClose = () => { onClose(); }; if(game === undefined){ return "Sorry, due to some extreme error the game you're looking for doesn't seem to exist..." } return (
{/* Backdrop */}
{/* Modal */}
{/* Header */}

Import DANCERUSH Data

Follow the instructions below to import your data

{/* Warning */}

You may or may need to be subscribed to{" "} KONAMI's e-amusement Basic and/or Premium course {" "} to view a exportable playdata history for certain games.

{/* Instructions */}

Instructions:

  1. Log into your e-amusement account
  2. {EamuseImportInfo["dancerush"] ? (
  3. Navigate to your{" "} DANCERUSH score data page {" "} DANCERUSH score data page
  4. ) : (
  5. Navigate to your DANCERUSH score data page
  6. )} {EamuseImportInfo["dancerush"] ? (
  7. Install the userscript to your browser (use an extension such as Tampermonkey)
  8. ) : (
  9. Scrape the data using any method of your choice and translate it into a Mirage DANCERUSH compatible JSON format
  10. )}
  11. Upload the resulting JSON file into Mirage using the Batch-Manual Upload functionality
  12. Verify that all data has been imported correctly
{/* Additional Info */}

e-amusement Recently Played Score Export Userscript (Last 20 Played)

{/* Actions */}
); }; export default DancerushModal;