The copperline-import-uae utility converts WinUAE, Amiberry, and FS-UAE
configuration files into Copperline’s TOML format:
copperline-import-uae --from amiberry --in ~/Amiberry/Configurations/a1200.uae \
--out a1200.toml
copperline --config a1200.tomlSupported formats¶
--from, --in, and --out are all required. --from accepts three source
formats:
winuae: WinUAE configuration files (.uae).amiberry: Amiberry configuration files (.uae).fsuae: FS-UAE configuration files (.fs-uae).
Conversion output and annotations¶
Nothing in the source file is silently dropped. The generated TOML file is annotated:
Approximated settings: A setting that changed shape on the way in (for example a memory size or a controller mapping) carries an inline comment explaining what it became.
Unmapped settings: A comment block at the end of the file lists every source setting that did not translate cleanly, split into approximated settings and settings with no Copperline equivalent (such as host GUI options or UAE-only devices), plus any line that is not a
key=valuesetting.Validation: The converter checks the result the same way Copperline loads a configuration, and still writes the file if that check fails, printing what to fix by hand. Validation opens the media the configuration names, so a ROM or disk image that exists only on the machine that wrote the source file stops the check there; the converter says so in a note rather than as an error. It prints a summary of how many settings were approximated or not translated.
Mapped settings overview¶
| UAE setting | Copperline equivalent |
|---|---|
Model, CPU, FPU, and caches (cpu_model with cpu_24bit_addressing, fpu_model, mmu_model, cpu_data_cache, cpu_no_unimplemented) | [machine] profile, [cpu] model, FPU, dcache, and unimplemented |
JIT (cachesize > 0, 68020+) and “fastest possible” (cpu_speed=max) | [cpu] jit, [cpu] speed = "fastest" (approximated) |
| Memory sizes (Chip, Slow, Fast, Z3, Motherboard) | [memory] sections |
| Chipset revision, PAL/NTSC | [chipset] revision and video |
| Kickstart ROM path | rom |
| Floppy drives, speed, and write-protect | [floppy] and [floppy.dfN] path, write_protected |
filesystem2= directory mounts | [[filesys]] directory mounts |
Built-in IDE (ide0, ide1) | [ide] master, slave |
Board IDE / SCSI hardfiles and ROMs (ideN_alfapower, ideN_ripple, alfapower_rom_file, ripple_rom_file, scsiN) | [lide] board/rom/driveN and [scsi] unitN |
Virtual uaeN hardfiles / FS-UAE’s default hard-drive controller | [copperhf] unitN |
| SCSI controllers (A2091, A4091, A3000) | [scsi] controller |
CD image (cdimage0) | [cd] image |
| RTG board (Picasso II/II+, Graffity Z2/Z3 only) | [rtg] |
Toccata, RTC, rtc_file, scsidevice_disable, use_gui=no, uae_hide_autoconfig | [toccata], [machine] rtc/battmem/rom_scsi_device_disable, [emulation] power_on, identify |
Amiberry media paths (amiberry.rom_path, floppy_path, hardfile_path, cd_path) | [paths] |
Serial port (TCP://host:port, or a host device) | [serial] |
| Audio channel modes, stereo separation, output device, and filters | [audio] settings |
Floppy drive sounds (floppyNsound, floppyNsoundext, floppy_volume) | [audio] floppy_sounds, floppy_sounds_set, floppy_sounds_volume |
Input port assignments, four-player parallel adapter (joyport2/joyport3), and autofire | [input] port configurations, autofire_hz, and [parallel] device = "joystick-adapter" |
Fullscreen, scaling (amiberry.scaling_method), and status bar | [display] |
The table describes the WinUAE/Amiberry mapper. The FS-UAE mapper covers the
model, CPU (cpu, with fpu and mmu, including the EC and LC parts, and the
raw uae_cpu_model, uae_fpu_model, uae_mmu_model,
uae_cpu_24bit_addressing and uae_cpu_type overrides), memory (including
zorro_iii_memory, motherboard_ram, and an accelerator board’s
accelerator_memory), chipset and video standard, Kickstart, floppy drives
(including floppy_drive_speed, floppy_image_N swap playlists on DF0, and
floppy_drive_N_sounds), and hard drives (FS-UAE path variables such as
$HOME/$BASE, host directories, and /dev/ paths in hard_drive_N are
flagged as approximated); everything else in an FS-UAE file is listed as not
translated.
FS-UAE’s amiga_model presets translate to the matching machine profile with
the hardware FS-UAE gives them: the plain A1200 (and A1200/3.0) and CD32
have a 68EC020 and only A1200/020 a full 68020, the A3000 and A4000 carry
a 68882 and 8 MB of motherboard RAM (the A4000 is the 68EC030 model, as
FS-UAE runs it), and CD32/FMV fits the FMV module with Copperline’s bundled
open ROM, listed as approximated. A2000 is the A2000 profile with the ECS
chipset. Copperline does not model the Blizzard
boards, so A1200/1230, A1200/1240 and A1200/1260 (or an accelerator
option naming one) bring the board’s CPU and its 32 MB of board RAM, as
[memory] accelerator, and are listed as approximated. The PowerPC presets
and other models (CDTV, A1000, ...) are listed as not recognized.
Drive sounds are chosen per drive in WinUAE and FS-UAE but once for every drive
in Copperline, so the first drive the source configures decides and a drive
asking for something different is listed as not translated. A named sample set
is the user’s own files, which the converter cannot bring along: it is flagged
as approximated with a reminder to copy the set’s drive_*_NAME.wav files into
Copperline’s Floppy Sounds folder (see Configuration).
Important differences¶
EC and LC CPUs: WinUAE and Amiberry have no EC or LC CPU models of their own. The converter reads them from the other CPU keys: a 68020 with
cpu_24bit_addressing=trueis the 68EC020, anmmu_modelof68ec030,68ec040or68ec060(the “EC” MMU setting) is that EC part, and a 68040/68060 with nofpu_modelis the LC part (fpu = false). With MMU emulation off, the CPU stays the full part. FS-UAE names the parts directly, and applies anyuae_*CPU lines after its own options in file order, as the converter does (auae_cpu_modelline removes the FPU, as in UAE). FS-UAE’s UAE core has no EC MMU, so auae_mmu_modelof68ec0x0is listed rather than read. Copperline’s full 68040/68060 always have their MMU, so FS-UAE’s68040-NOMMU/68060-NOMMUand an MMU model of 0 are listed as approximated, as is an EC MMU with an FPU (no such chip exists; it imports as the full part). An FPU or MMU Copperline cannot fit to the CPU is listed rather than written.Virtual controller hardfiles map onto
[copperhf]: WinUAE/Amiberry’suaeNcontroller and FS-UAE’s unnamed default controller both mean the same thing -- the emulator’s ownuaehf.device, a virtual hardfile board with no real-hardware counterpart. Copperline’s[copperhf](copperhf.device) is its direct equivalent, so these drives translate exactly: the trailing digit inuaeNbecomes[copperhf] unitN, and FS-UAE’s default-controller drives take successive[copperhf]units in the order they appear.[copperhf]has seven units (0-6); auaeNwhose number is out of range or already taken is renumbered to the first free unit instead of being dropped, and this is noted in the generated file. Only once all seven units are already used does a virtual-controller hardfile fall back onto a real port -- WinUAE/Amiberry hardfiles fall back to[ide](inheriting the Kickstart IDE port’s size limits, called out with the image’s measured size where the file can be found), and FS-UAE hardfiles are flagged for manual placement on[scsi]or[lide].Read-only hardfiles: IDE, SCSI, and
copperhfhardfile images are opened read-write, so the converter cannot preserve UAE’s read-only setting, and the generated file says so. Removing host write permission makes the image fail to open instead. Use a disposable copy when the original must be preserved.[[filesys]]directory mounts (whose read-only flag is carried over) and physical[[host_disk]]attachments have their own read-only settings.Relative paths: Relative paths in UAE configurations are kept as written. You may need to update them to match your current working directory.
Host-specific settings: Display window dimensions, host vsync options, and host keybindings are not imported.
Getting the converter¶
Every release package includes copperline-import-uae;
Command-line tools lists where each
package puts it. A default Cargo build also builds it (the import-uae-bin
feature). To build just this binary:
cargo build --release --bin copperline-import-uae