Aminet emulator

From Tibsfox/gsd-skill-creator · View interactive version

Aminet emulator is an AI agent skill from the GitHub repository Tibsfox/gsd-skill-creator. FS-UAE emulator configuration and launch: hardware profiles, ROM management, WHDLoad integration, config generation, and state snapshots. Use when configuring emulation, managing ROMs, or launching Amiga software.

How to use this skill

Skill file

Aminet Emulator

Purpose

Manages FS-UAE emulator configuration, hardware profiles, ROM provisioning, WHDLoad integration, launch orchestration, and emulator state snapshots. Enables launching Amiga software with the correct hardware configuration, Kickstart ROM, and WHDLoad settings derived from package metadata.

Capabilities

Key Modules

| Module | Purpose |

|--------|---------|

| src/aminet/emulator-config.ts | FS-UAE config generation with path normalization and sorted keys |

| src/aminet/hardware-profiles.ts | 5 hardware profiles (A500/A1200/A1200+030/A4000/WHDLoad) |

| src/aminet/rom-manager.ts | CRC32 ROM identification, Cloanto decryption, directory scanning |

| src/aminet/whdload.ts | WHDLoad .Slave detection, kickstart mapping, per-game overrides |

| src/aminet/emulator-launch.ts | Launch orchestration with profile selection and structured errors |

| src/aminet/emulator-state.ts | 9-slot snapshots, save state safety checks, ROM guidance |

Usage Examples

Generate FS-UAE config:

import { buildFsUaeConfig, generateFsUaeConfig } from './emulator-config.js';

const config = buildFsUaeConfig({
  profile: a1200Profile,
  romPath: '/roms/kick31.rom',
  hardDrives: ['/games/Lemmings'],
});
const configText = generateFsUaeConfig(config);
// Sorted key=value pairs ready for FS-UAE

Select profile from readme:

import { selectProfileFromReadme } from './emulator-launch.js';

const profile = selectProfileFromReadme(readmeText);
// Matches WHDLoad > 040 > 030 > AGA > 020 > OS3.x > A500 default

Scan and select ROM:

import { scanRomDirectory, selectRomForProfile } from './rom-manager.js';

const roms = await scanRomDirectory('/roms');
const rom = selectRomForProfile(roms, 'a1200');
// Handles Cloanto encrypted ROMs and overdumps

Configure WHDLoad:

import { detectSlaveFiles, buildWhdloadConfig } from './whdload.js';

const slaves = await detectSlaveFiles('/games/Lemmings');
const config = buildWhdloadConfig(slaves[0], {
  cpu: '68020',
  chipRam: 2048,
  ntsc: false,
});

Launch emulator:

import { launchEmulator } from './emulator-launch.js';

const result = await launchEmulator({
  packageDir: '/games/Lemmings',
  romDir: '/roms',
  readmeText,
});
// Orchestrates: profile selection -> ROM match -> config gen -> launch

Dependencies

Token Budget Rationale

1.0% budget reflects the 6 modules covering config generation, hardware profiles, ROM management, WHDLoad integration, launch orchestration, and state snapshots. Despite the module count, the patterns are well-structured with clear separation of concerns, requiring moderate context for correct configuration and launch sequences.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.