From 565e1109ff5d5d1974c61df87eda43c1c974711f Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Thu, 29 Feb 2024 18:22:32 -0500 Subject: [PATCH] remove roms that don't exist (probably because they're merged) --- Ample/Resources/roms.plist | 412 +++++-------------------------------- python/mkroms.py | 14 +- 2 files changed, 62 insertions(+), 364 deletions(-) diff --git a/Ample/Resources/roms.plist b/Ample/Resources/roms.plist index e489e87..254adde 100644 --- a/Ample/Resources/roms.plist +++ b/Ample/Resources/roms.plist @@ -2,30 +2,12 @@ - - value - a2lancegs - description - ///SHH Systeme LANceGS - value ie15kbd description 15WWW-97-006 Keyboard - - value - am64 - description - AM 64 - - - value - am100 - description - AM100 - value agat840k_hle @@ -38,36 +20,18 @@ description Agat 840K Floppy Controller Card - - value - agat7 - description - Agat-7 - value agat7_flop description Agat-7 140K Floppy Card - - value - agat9 - description - Agat-9 - value agat9_flop description Agat-9 140K Floppy Card - - value - albert - description - Albert - value apple3 @@ -80,72 +44,12 @@ description Apple //c - - value - apple2c3 - description - Apple //c (Original Memory Expansion) - - - value - apple2c4 - description - Apple //c (Rev 4) - - - value - apple2c0 - description - Apple //c (UniDisk 3.5) - - - value - apple2cp - description - Apple //c Plus - value apple2e description Apple //e - - value - apple2ee - description - Apple //e (Enhanced) - - - value - apple2eefr - description - Apple //e (Enhanced, France) - - - value - apple2eeuk - description - Apple //e (Enhanced, UK) - - - value - apple2ep - description - Apple //e (Platinum) - - - value - apple2ees - description - Apple //e (Spain) - - - value - apple2euk - description - Apple //e (UK) - value adbmodem @@ -266,30 +170,6 @@ description Apple III Floppy Controller - - value - apple2gsr0p2 - description - Apple IIgs (ROM00 Prototype 3/10/1986) - - - value - apple2gsr0p - description - Apple IIgs (ROM00 Prototype 6/19/1986) - - - value - apple2gsr0 - description - Apple IIgs (ROM00) - - - value - apple2gsr1 - description - Apple IIgs (ROM01) - value apple2gs @@ -340,15 +220,9 @@ value - apple2jp + aplcd150 description - Apple ][ J-Plus - - - value - apple2p - description - Apple ][+ + AppleCD 150 value @@ -422,12 +296,6 @@ description Asante MacCON I LC Ethernet Card - - value - megast - description - Atari MEGA ST (USA) - value st @@ -440,12 +308,6 @@ description Atari ST Keyboard/Mouse/Joystick - - value - basis108 - description - Basis 108 - value a2booti @@ -494,6 +356,12 @@ description COMX PL-80 + + value + cdrn820s + description + Caravelle CDR-N820s + value cec2000 @@ -524,6 +392,12 @@ description China Education Computer M + + value + cfp1080s + description + Conner CFP1080S + value cp2024 @@ -538,15 +412,9 @@ value - craft2p + cdr4210 description - Craft II+ - - - value - dodo - description - Do-Do + Creative Technology Blaster CD-R 4210 value @@ -554,12 +422,6 @@ description EC-1841 Keyboard - - value - elppa - description - Elppa II+ - value ap2000 @@ -608,42 +470,12 @@ description Fourth Dimension Parallel Printer Interface - - value - ace100 - description - Franklin ACE 100 - - - value - ace1000 - description - Franklin ACE 1000 - - - value - ace2200 - description - Franklin ACE 2200 - - - value - ace500 - description - Franklin ACE 500 - value pds_hyper description GCC HyperDrive - - value - hkc8800a - description - HKC 8800A - value a2swyft @@ -692,12 +524,6 @@ description Iskra-1030 Keyboard - - value - ivelultr - description - Ivel Ultra - value keytronic_pc3270 @@ -710,36 +536,6 @@ description Lapis ProColor Server 8*16 - - value - laser2c - description - Laser //c - - - value - laser128 - description - Laser 128 - - - value - laser128o - description - Laser 128 (Original Hardware) - - - value - las128ex - description - Laser 128ex (Version 4.5) - - - value - las128e2 - description - Laser 128ex2 (Version 6.1) - value las3000 @@ -758,12 +554,6 @@ description Macintosh 128k - - value - mac512k - description - Macintosh 512k - value macclasc @@ -818,24 +608,6 @@ description Macintosh IIvx - - value - mackbd_m0110b - description - Macintosh Keyboard (British - M0110B) - - - value - mackbd_m0110f - description - Macintosh Keyboard (French - M0110F) - - - value - mackbd_m0110t - description - Macintosh Keyboard (Italian - M0110T) - value mackbd_m0110 @@ -854,12 +626,6 @@ description Macintosh LC 520 - - value - maclc550 - description - Macintosh LC 550 - value maclc2 @@ -872,42 +638,12 @@ description Macintosh LC III - - value - maclc580 - description - Macintosh LC/Performa 580 - - - value - mackbd_m0120 - description - Macintosh Numeric Keypad (English - M0120) - - - value - mackbd_m0120p - description - Macintosh Numeric Keypad (European - M0120P) - value macplus description Macintosh Plus - - value - mackbd_m0110a_f - description - Macintosh Plus Keyboard (French - M0110A F) - - - value - mackbd_m0110a_j - description - Macintosh Plus Keyboard (Japanese - M0110A J) - value mackbd_m0110a @@ -950,24 +686,6 @@ description Macintosh SE (FDHD) - - value - macse30 - description - Macintosh SE/30 - - - value - maxxi - description - Maxxi - - - value - microeng - description - Micro Engenho - value scorpion_ic @@ -986,12 +704,6 @@ description Micron/XCEED Technology MacroColor 30 - - value - mprof3 - description - Microprofessor III - value softcard3 @@ -1028,12 +740,6 @@ description NuBus Disk Image Pseudo-Card - - value - a2bufgrapplerplusa - description - Orange Micro Buffered Grappler+ (Rev A) Printer Interface - value a2bufgrapplerplus @@ -1058,36 +764,30 @@ description PCPI Applicard + + value + cw7501 + description + Panasonic CW-7501 CD-R + value a2focdrv description Parsons Engineering Focus Drive + + value + cdd2000 + description + Philips CDD2000 CD-R + value px320a description PleXCombo PX-320A CD-RW/DVD-ROM Drive - - value - prav82 - description - Pravetz 82 - - - value - prav8c - description - Pravetz 8C - - - value - prav8m - description - Pravetz 8M - value a2pdromdr @@ -1142,6 +842,12 @@ description SWTPC8212 + + value + crd254sh + description + Sanyo CRD-254SH CD-ROM + value nlq401 @@ -1168,15 +874,27 @@ value - space84 + cdu415 description - Space 84 + Sony CDU415 CD-R value - spectred + cdu561_25 description - Spectrum ED + Sony CDU561-25 + + + value + smoc501 + description + Sony SMO-C501 MO Disk Controller + + + value + cdu75s + description + Sony/Apple CDU75S CD-R value @@ -1184,12 +902,6 @@ description Stellation Two Q-68 - - value - a2q68plus - description - Stellation Two Q-68 Plus - value nb_spdq @@ -1208,12 +920,6 @@ description Sweet Micro Systems Mockingboard D - - value - tk3000 - description - TK3000//e - value chessmachine @@ -1226,24 +932,6 @@ description ThunderWare ThunderClock Plus - - value - uniap2pt - description - Unitron AP II (In Brazilian Portuguese) - - - value - uniap2en - description - Unitron AP II (In English) - - - value - uniap2ti - description - Unitron AP II+ (Teclado Inteligente) - value a2vtc1 diff --git a/python/mkroms.py b/python/mkroms.py index e794f34..98165df 100644 --- a/python/mkroms.py +++ b/python/mkroms.py @@ -139,7 +139,9 @@ def fix_machine_description(x, devname): return x def build_known_roms_list(): - infile = "mame-0233-full.html" + # https://archive.org/download/mame-merged/mame-merged/ + infile = "mame-0.263-merged.html" + # infile = "mame-0233-full.html" # infile = "mame-0.231-merged.html" rv = set() @@ -187,9 +189,17 @@ for m in machines: # find machines that have a rom child for x in root.findall('machine/rom/..'): name = x.get('name') - if name in EXCLUDE: continue + #if name in EXCLUDE: continue if name in mnames: continue + + if name not in known: continue + # if name not in known: + # print("skipping", name) + # continue + mnames[name] = x.find("description").text + + #if (name in known): mnames.add(name) # if name in mnames: # mnames[name].append(m)