Created scripts to generate MAME ROM index files from the official MAME driver files.

Also generated and bundled new MAME ROM index files from the latest MAME release 0.221. The BIOS and device files were merged with the previous files to retain the obsolete ROMs from older MAME versions.
This commit is contained in:
Leon Styhre 2020-06-16 17:37:14 +02:00
parent f618632520
commit 558dcb6962
5 changed files with 36739 additions and 10864 deletions

View file

@ -1,6 +1,8 @@
<!-- Latest updates from MAME driver file mame0221.xml -->
<bios>3dobios</bios>
<bios>airlbios</bios>
<bios>aleck64</bios>
<bios>alg3do</bios>
<bios>alg_bios</bios>
<bios>allied</bios>
<bios>ar_bios</bios>
@ -45,6 +47,7 @@
<bios>iteagle</bios>
<bios>konamigv</bios>
<bios>konamigx</bios>
<bios>konendev</bios>
<bios>kviper</bios>
<bios>lindbios</bios>
<bios>list.txt</bios>
@ -57,6 +60,7 @@
<bios>naomi</bios>
<bios>naomigd</bios>
<bios>neogeo</bios>
<bios>nichidvd</bios>
<bios>nss</bios>
<bios>pgm</bios>
<bios>playch10</bios>

View file

@ -1,15 +1,41 @@
<!-- Latest updates from MAME driver file mame0221.xml -->
<device>22vp931</device>
<device>3c505</device>
<device>a1000kbd_de</device>
<device>a1000kbd_dk</device>
<device>a1000kbd_fr</device>
<device>a1000kbd_gb</device>
<device>a1000kbd_it</device>
<device>a1000kbd_se</device>
<device>a1000kbd_us</device>
<device>a1200kbd_rb</device>
<device>a1cass</device>
<device>a2000kbd_ch</device>
<device>a2000kbd_de</device>
<device>a2000kbd_dk</device>
<device>a2000kbd_es</device>
<device>a2000kbd_fr</device>
<device>a2000kbd_g80_de</device>
<device>a2000kbd_g80_dk</device>
<device>a2000kbd_g80_gb</device>
<device>a2000kbd_g80_se</device>
<device>a2000kbd_g80_us</device>
<device>a2000kbd_gb</device>
<device>a2000kbd_it</device>
<device>a2000kbd_no</device>
<device>a2000kbd_se</device>
<device>a2000kbd_us</device>
<device>a2091</device>
<device>a2ap16</device>
<device>a2aevm80</device>
<device>a2ap16a</device>
<device>a2ap16</device>
<device>a2aplcrd</device>
<device>a2cffa02</device>
<device>a2cffa2</device>
<device>a2corvus</device>
<device>a2diskii</device>
<device>a2diskiing</device>
<device>a2focdrv</device>
<device>a2hsscsi</device>
<device>a2iwm_flop</device>
<device>a2memexp</device>
@ -18,9 +44,11 @@
<device>a2ramfac</device>
<device>a2scsi</device>
<device>a2ssc</device>
<device>a2surance</device>
<device>a2swyft</device>
<device>a2thunpl</device>
<device>a2tmstho</device>
<device>a2twarp</device>
<device>a2ultrme</device>
<device>a2ulttrm</device>
<device>a2vidtrm</device>
@ -28,75 +56,179 @@
<device>a2vtc2</device>
<device>a2vulcan</device>
<device>a2vulgld</device>
<device>a2vuliie</device>
<device>a2zipdrv</device>
<device>a3fdc</device>
<device>a500kbd_ch</device>
<device>a500kbd_de</device>
<device>a500kbd_dk</device>
<device>a500kbd_es</device>
<device>a500kbd_fr</device>
<device>a500kbd_gb</device>
<device>a500kbd_it</device>
<device>a500kbd_no</device>
<device>a500kbd_se</device>
<device>a500kbd_us</device>
<device>a590</device>
<device>a600kbd_ch</device>
<device>a600kbd_de</device>
<device>a600kbd_dk</device>
<device>a600kbd_es</device>
<device>a600kbd_fr</device>
<device>a600kbd_gb</device>
<device>a600kbd_it</device>
<device>a600kbd_no</device>
<device>a600kbd_se</device>
<device>a600kbd_us</device>
<device>abc1600mac</device>
<device>abc1600mover</device>
<device>abc55</device>
<device>abc77</device>
<device>abc800kb</device>
<device>abc80kb</device>
<device>abc830</device>
<device>abc832</device>
<device>abc834</device>
<device>abc838</device>
<device>abc850flop</device>
<device>abc99</device>
<device>abc_db411223</device>
<device>abc_fd2</device>
<device>abc_hdc</device>
<device>abc_memcard</device>
<device>abc_mem</device>
<device>abcsio</device>
<device>abc_slutprov</device>
<device>abc_ssa</device>
<device>abc_uni800</device>
<device>abc_unidisk</device>
<device>acorn_vdu80</device>
<device>acs8600_ics</device>
<device>adam_ddp</device>
<device>adam_fdc</device>
<device>adam_ide</device>
<device>adam_kb</device>
<device>adam_prn</device>
<device>adam_spi</device>
<device>aga</device>
<device>aga_pc200</device>
<device>agat7_flop</device>
<device>agat840k_hle</device>
<device>agat9_flop</device>
<device>agat_fdc</device>
<device>aha1542a</device>
<device>aha1542b</device>
<device>aha1542c</device>
<device>aha1542cf</device>
<device>aha1542cp</device>
<device>aha1542</device>
<device>aha1740</device>
<device>aha1742a</device>
<device>alto2_cpu</device>
<device>amiga_ar1</device>
<device>amiga_ar2</device>
<device>amiga_ar3</device>
<device>amigakbd</device>
<device>ampex230_kbd</device>
<device>ap2000</device>
<device>aprikb</device>
<device>asc88</device>
<device>ascsasi</device>
<device>atari1050</device>
<device>atari810</device>
<device>at_keybc</device>
<device>atom_discpack</device>
<device>ax208</device>
<device>bbc_acorn1770</device>
<device>bbc_acorn8271</device>
<device>bbc_ams3</device>
<device>bbc_ariesb20</device>
<device>bbc_ariesb32</device>
<device>bbc_autoprom</device>
<device>bbc_beebspch</device>
<device>bbc_bitstik1</device>
<device>bbc_bitstik2</device>
<device>bbc_cc500</device>
<device>bbc_chameleon</device>
<device>bbc_cumana1</device>
<device>bbc_cumana2</device>
<device>bbc_cumana68k</device>
<device>bbc_cv1797</device>
<device>bbc_datacentre</device>
<device>bbc_ieee488</device>
<device>bbc_integrab</device>
<device>bbc_mertec</device>
<device>bbc_microware</device>
<device>bbc_morleyaa</device>
<device>bbc_multiform</device>
<device>bbc_opus1770</device>
<device>bbc_opus2791</device>
<device>bbc_opus2793</device>
<device>bbc_opus3</device>
<device>bbc_opus8272</device>
<device>bbc_opusa</device>
<device>bbc_pdram</device>
<device>bbc_ramdisc</device>
<device>bbc_raven20</device>
<device>bbc_stl2m128</device>
<device>bbc_stl4m32</device>
<device>bbc_stlswr128</device>
<device>bbc_stlswr16</device>
<device>bbc_stlswr32</device>
<device>bbc_stlswr64</device>
<device>bbc_tube_32016</device>
<device>bbc_tube_6502</device>
<device>bbc_tube_65c102</device>
<device>bbc_tube_80186</device>
<device>bbc_tube_80286</device>
<device>bbc_tube_arm</device>
<device>bbc_tube_casper</device>
<device>bbc_tube_pcplus</device>
<device>bbc_tube_rc6502</device>
<device>bbc_tube_rc65816</device>
<device>bbc_tube_z80</device>
<device>bbc_tube_zep100</device>
<device>bbc_voicebox</device>
<device>bbc_we32kram</device>
<device>bbc_weddb2</device>
<device>bbc_weddb3</device>
<device>betadisk</device>
<device>bluechip</device>
<device>bml3kanji</device>
<device>bml3mp1802</device>
<device>bml3mp1805</device>
<device>bsmt2000</device>
<device>bt542b</device>
<device>bt542bh</device>
<device>bt545s</device>
<device>buddha</device>
<device>bw2_ramcard</device>
<device>bwtwo</device>
<device>c1526</device>
<device>c1540</device>
<device>c1541</device>
<device>c1541c</device>
<device>c1541dd</device>
<device>c1541</device>
<device>c1541ii</device>
<device>c1541pd</device>
<device>c1541pdc</device>
<device>c1541pd</device>
<device>c1551</device>
<device>c1563</device>
<device>c1570</device>
<device>c1571cr</device>
<device>c1571</device>
<device>c1581</device>
<device>c2031</device>
<device>c2040</device>
<device>c2040_fdc</device>
<device>c2040fdc</device>
<device>c3040</device>
<device>c4023</device>
<device>c4040</device>
<device>c64_buscard2</device>
<device>c64_buscard</device>
<device>c64_cs</device>
<device>c64_cspeech</device>
<device>c64_fcc</device>
<device>c64_mscr</device>
<device>c64_nl10</device>
@ -107,10 +239,18 @@
<device>c8250</device>
<device>c8250lp</device>
<device>c8280</device>
<device>cadabc</device>
<device>cbm2_hrga</device>
<device>cbm2_hrgb</device>
<device>cbm8000_hsg_a</device>
<device>cbm8000_hsg_b</device>
<device>cbm_interpod</device>
<device>cbm_serbox</device>
<device>cchip</device>
<device>cd6809_fdc</device>
<device>cdd2000</device>
<device>cdr4210</device>
<device>cdrn820s</device>
<device>cffa1</device>
<device>cga</device>
<device>cga_iskr1030m</device>
@ -118,12 +258,26 @@
<device>cga_m24</device>
<device>cga_mc1502</device>
<device>cga_poisk2</device>
<device>cga_superimpose</device>
<device>cgenie_fdc</device>
<device>cgthree</device>
<device>chessmachine</device>
<device>clgd542x</device>
<device>cmdhd</device>
<device>cmdrc2</device>
<device>cmi_ankbd</device>
<device>cmi_mkbd</device>
<device>cms_4080term</device>
<device>coco2_hdb1</device>
<device>coco3_hdb1</device>
<device>coco_dcmodem</device>
<device>coco_fdc</device>
<device>coco_fdc_v11</device>
<device>coco_orch90</device>
<device>coco_psg</device>
<device>coco_rs232</device>
<device>coco_ssc</device>
<device>coco_t4426</device>
<device>compiskb</device>
<device>comx_clm</device>
<device>comx_eb</device>
@ -133,24 +287,39 @@
<device>comx_prn</device>
<device>comx_thm</device>
<device>cp400_fdc</device>
<device>cp450_fdc</device>
<device>cpc_brunword4</device>
<device>cpc_ddi1</device>
<device>cpc_dkspeech</device>
<device>cpc_hd20</device>
<device>cpc_mf2</device>
<device>cpc_ser</device>
<device>cpc_mface2</device>
<device>cpc_serams</device>
<device>cpc_ser</device>
<device>cpc_smartwatch</device>
<device>cpc_ssa1</device>
<device>cpc_transtape</device>
<device>crt9028_000</device>
<device>crvfdc01</device>
<device>crvfdc02</device>
<device>csd1</device>
<device>cuda</device>
<device>cw7501</device>
<device>d2fdc</device>
<device>d9060</device>
<device>d9090</device>
<device>dc320b</device>
<device>dc320e</device>
<device>dc820b</device>
<device>dc820</device>
<device>dectalk_isa</device>
<device>dg640</device>
<device>dio98543</device>
<device>dio98544</device>
<device>dio98550</device>
<device>dio98603a</device>
<device>dio98603b</device>
<device>diskii13</device>
<device>dj2db</device>
<device>djdma</device>
<device>dm_clgd5430</device>
@ -161,28 +330,62 @@
<device>dmv_k235</device>
<device>dmv_k806</device>
<device>dmv_keyb</device>
<device>dmv_keyboard</device>
<device>dpb_brushproc</device>
<device>dpb_brushstore</device>
<device>dpb_framestore</device>
<device>dpb_storeaddr</device>
<device>dragon_fdc</device>
<device>dragon_jcbsnd</device>
<device>dragon_jcbspch</device>
<device>dragon_sprites</device>
<device>dsp1bleg</device>
<device>dsp1leg</device>
<device>dsp1leg_hi</device>
<device>dsp2leg</device>
<device>dsp3leg</device>
<device>dsp4leg</device>
<device>dw_kbd</device>
<device>e01</device>
<device>e01s</device>
<device>ec1840_0002</device>
<device>ec1841_0002</device>
<device>ecb_grip21</device>
<device>econet_e01</device>
<device>econet_e01s</device>
<device>ef9340_1</device>
<device>ef9365</device>
<device>ega</device>
<device>egret</device>
<device>einstein_sd</device>
<device>einstein_speech</device>
<device>eispc_kb</device>
<device>electron_m2105</device>
<device>electron_plus1</device>
<device>electron_plus3</device>
<device>electron_pwrjoy</device>
<device>electron_romboxp</device>
<device>electron_sidewndr</device>
<device>enh2000</device>
<device>ep64_exdos</device>
<device>epson_pf10</device>
<device>epson_tf20</device>
<device>ergoline_kbd</device>
<device>et4000</device>
<device>ev346</device>
<device>ex1280</device>
<device>ex800</device>
<device>fccpu20</device>
<device>fccpu21a</device>
<device>fccpu21b</device>
<device>fccpu21</device>
<device>fccpu21s</device>
<device>fccpu21ya</device>
<device>fccpu21yb</device>
<device>fc_disksys</device>
<device>fcisio1</device>
<device>fcscsi1</device>
<device>fd148</device>
<device>fd2000</device>
<device>fd4000</device>
<device>fdc344</device>
@ -192,19 +395,35 @@
<device>fsd1</device>
<device>fsd2</device>
<device>gfxultra</device>
<device>gfxultrap</device>
<device>gfxultrp</device>
<device>gic</device>
<device>grip</device>
<device>gunsense</device>
<device>hardbox</device>
<device>hcpu30</device>
<device>hd44780_a00</device>
<device>hd61830</device>
<device>hd63484</device>
<device>hdc</device>
<device>hdc_ec1841</device>
<device>hp82900</device>
<device>hp82937</device>
<device>hp82939</device>
<device>hp9122c</device>
<device>hp98034</device>
<device>hp98035</device>
<device>hp98046</device>
<device>hp9845_prt</device>
<device>hp9895</device>
<device>human_interface</device>
<device>i80130</device>
<device>ibm_mfc</device>
<device>ibm_vga</device>
<device>ie15_device</device>
<device>ie15kbd</device>
<device>ie15_keyboard</device>
<device>imds2ioc</device>
<device>imi5000h</device>
<device>indusgt</device>
<device>interpod</device>
@ -213,33 +432,56 @@
<device>iq151_disc2</device>
<device>iq151_minigraf</device>
<device>iq151_ms151a</device>
<device>iq151_ms15a</device>
<device>iq151_video32</device>
<device>iq151_video64</device>
<device>isa_aga</device>
<device>isa_aga_pc200</device>
<device>isa_epc_mda</device>
<device>isa_finalchs</device>
<device>isa_hdc</device>
<device>isa_hdc_ec1841</device>
<device>isa_hercules</device>
<device>isa_ibm_mda</device>
<device>isa_ibm_pgc</device>
<device>isa_pcmidi</device>
<device>isbc202</device>
<device>isbc_215g</device>
<device>jasmin</device>
<device>jc1310</device>
<device>jvs13551</device>
<device>k573_dio</device>
<device>k573dio</device>
<device>k573mcr</device>
<device>k573msu</device>
<device>k573npu</device>
<device>k7659kb</device>
<device>k7659_keyboard</device>
<device>kaypro10kbd</device>
<device>kb_3270pc</device>
<device>kbd_lle_en_us</device>
<device>kb_ec1841</device>
<device>kb_iskr1030</device>
<device>kb_ms_natural</device>
<device>kb_pc83</device>
<device>kb_pcat101</device>
<device>kb_pcat84</device>
<device>kb_pcxt83</device>
<device>kc_d004</device>
<device>kc_d004_gide</device>
<device>kc_d004gide</device>
<device>keytronic_pc3270_at</device>
<device>keytronic_pc3270</device>
<device>km035</device>
<device>ks0066_f05</device>
<device>laserfdc</device>
<device>lba_enhancer</device>
<device>ldp1000</device>
<device>ldp1450</device>
<device>ldv1000</device>
<device>list.txt</device>
<device>lk201</device>
<device>lm24014h</device>
<device>lux10828</device>
<device>lux21046</device>
<device>lux21056</device>
@ -250,29 +492,69 @@
<device>m24_kbd</device>
<device>m24_z8000</device>
<device>m50458</device>
<device>m68705p3</device>
<device>m68705p5</device>
<device>m68705r3</device>
<device>m68705u3</device>
<device>m68hc705c8a</device>
<device>mach64</device>
<device>mach64isa</device>
<device>mackbd</device>
<device>mb90082</device>
<device>mbc55x_kbd</device>
<device>mc1502_rom</device>
<device>microdisc</device>
<device>microtouch</device>
<device>midcsd</device>
<device>midssio</device>
<device>mie</device>
<device>mindset_sound_module</device>
<device>minichif</device>
<device>mm1kb</device>
<device>mm5740</device>
<device>model1io2</device>
<device>model1io</device>
<device>mpcb030</device>
<device>mpcb828</device>
<device>mpcb849</device>
<device>mpcb896</device>
<device>mpcb963</device>
<device>mpcba63</device>
<device>mpcba79</device>
<device>mpcbb68</device>
<device>mpcbb92</device>
<device>mpu401</device>
<device>ms7004</device>
<device>ms_natural</device>
<device>msdsd1</device>
<device>msdsd2</device>
<device>mshark</device>
<device>msm6222b01</device>
<device>msm6222b</device>
<device>msmt070</device>
<device>msmt071</device>
<device>msmt081</device>
<device>msmt094</device>
<device>ms_natural</device>
<device>msx_cart_bm_012</device>
<device>msx_cart_sfg01</device>
<device>msx_cart_sfg05</device>
<device>msx_moonsound</device>
<device>mtx_sdxbas</device>
<device>mtx_sdxcpm</device>
<device>mulcd</device>
<device>mvme350</device>
<device>namco50</device>
<device>namco51</device>
<device>namco52</device>
<device>namco53</device>
<device>namco54</device>
<device>namco56</device>
<device>namco58</device>
<device>namco59</device>
<device>namco62</device>
<device>namcoc65</device>
<device>namcoc67</device>
<device>namcoc68</device>
<device>namcoc69</device>
<device>namcoc70</device>
<device>namcoc74</device>
@ -282,10 +564,14 @@
<device>nb_824gc</device>
<device>nb_aenet</device>
<device>nb_amc3b</device>
<device>nb_btbug</device>
<device>nb_c264</device>
<device>nb_cb264</device>
<device>nb_image</device>
<device>nb_laserview</device>
<device>nb_m2hr</device>
<device>nb_m2vc</device>
<device>nb_qdlink</device>
<device>nb_rtpd</device>
<device>nb_sp8s3</device>
<device>nb_spdq</device>
@ -294,15 +580,24 @@
<device>newbrain_eim</device>
<device>newbrain_fdc</device>
<device>nmk004</device>
<device>nsmdsa</device>
<device>novell_dcb</device>
<device>np600a3</device>
<device>nsmdsad</device>
<device>nsmdsa</device>
<device>o2_voice</device>
<device>omti8621isa</device>
<device>oric_jasmin</device>
<device>oric_microdisc</device>
<device>p1_fdc</device>
<device>p1_hdc</device>
<device>p1_rom</device>
<device>p72</device>
<device>pa7246</device>
<device>pc1512kb</device>
<device>pc1640_iga</device>
<device>pc9801_26</device>
<device>pc9801_86</device>
<device>pc9801_spb</device>
<device>pcd_kbd</device>
<device>pcd_video</device>
<device>pcx_video</device>
@ -312,11 +607,19 @@
<device>pd3_mclr</device>
<device>pd3_pc16</device>
<device>pdc</device>
<device>pds_hyper</device>
<device>pds_sefp</device>
<device>pet_softbox</device>
<device>pet_superpet</device>
<device>pg200</device>
<device>plus4_sid</device>
<device>polyvti</device>
<device>pr8210</device>
<device>premier_fdc</device>
<device>ps2_keybc</device>
<device>psx_cd</device>
<device>psxgboost</device>
<device>px320a</device>
<device>ql_cumanafdi</device>
<device>ql_gold</device>
<device>ql_kdi</device>
@ -325,6 +628,7 @@
<device>ql_opdbm</device>
<device>ql_pcmlqdi</device>
<device>ql_qdisc</device>
<device>ql_qldisc</device>
<device>ql_qplus4</device>
<device>ql_qubide</device>
<device>ql_sdisk</device>
@ -336,35 +640,107 @@
<device>ql_trump512</device>
<device>ql_trump768</device>
<device>ql_trump</device>
<device>qs1000</device>
<device>qsound</device>
<device>qsound_hle</device>
<device>qx10_keyboard</device>
<device>rolm_pdc</device>
<device>rolm_smioc</device>
<device>rx01</device>
<device>s100_am310</device>
<device>s100_djdma</device>
<device>s100_mm65k16s</device>
<device>s100_nsmdsad</device>
<device>s100_nsmdsa</device>
<device>s100_sj2db</device>
<device>s1410</device>
<device>s3_764</device>
<device>s3virge</device>
<device>s3virgedx</device>
<device>s97269pb</device>
<device>sa1403d</device>
<device>saa5050</device>
<device>saa5051</device>
<device>saa5052</device>
<device>saa5053</device>
<device>saa5054</device>
<device>saa5055</device>
<device>saa5056</device>
<device>saa5057</device>
<device>sad8852</device>
<device>satcdb</device>
<device>sb16</device>
<device>sb300p</device>
<device>sbus_hme</device>
<device>sbus_sunpc</device>
<device>sdtandy_fdc</device>
<device>sed1200da</device>
<device>sed1200db</device>
<device>sed1200</device>
<device>sed1200fa</device>
<device>sed1200fb</device>
<device>sed1330</device>
<device>segabill</device>
<device>segadimm</device>
<device>seganetw</device>
<device>sente6vb</device>
<device>serbox</device>
<device>seta10leg</device>
<device>seta11leg</device>
<device>sfd10001</device>
<device>sfd1001</device>
<device>side116</device>
<device>simutrek</device>
<device>slutprov</device>
<device>smoc501</device>
<device>sns_dsp1bleg</device>
<device>sns_dsp1leg</device>
<device>sns_dsp1leg_hi</device>
<device>sns_dsp2leg</device>
<device>sns_dsp3leg</device>
<device>sns_dsp4leg</device>
<device>sns_rom_sgb2</device>
<device>sns_rom_sgb</device>
<device>sns_seta10leg</device>
<device>sns_seta11leg</device>
<device>spc1000_fdd_exp</device>
<device>spectrum_beta128</device>
<device>spectrum_betaplus</device>
<device>spectrum_betav2</device>
<device>spectrum_betav3</device>
<device>spectrum_disciple</device>
<device>spectrum_intf1</device>
<device>spectrum_mface128</device>
<device>spectrum_mface1</device>
<device>spectrum_mface3</device>
<device>spectrum_mikroplus</device>
<device>spectrum_mprint</device>
<device>spectrum_opus</device>
<device>spectrum_plus2test</device>
<device>spectrum_plusd</device>
<device>spectrum_usource</device>
<device>spectrum_uspeech</device>
<device>spectrum_wafa</device>
<device>s_smp</device>
<device>stereo_fx</device>
<device>stic</device>
<device>sv603</device>
<device>sv806</device>
<device>swtpc8212_device</device>
<device>sx1541</device>
<device>t5182</device>
<device>tanbus_ra32k</device>
<device>tanbus_tandos</device>
<device>tanbus_tanex</device>
<device>tanbus_vid8082</device>
<device>tandy2kb</device>
<device>technica</device>
<device>tetriskr_cga</device>
<device>tgui9680</device>
<device>ti99_bwg</device>
<device>ti99_ccdcc</device>
<device>ti99_ccfdc</device>
<device>ti99_ddcc1</device>
<device>ti99_evpc</device>
<device>ti99_fdc</device>
<device>ti99_gkracker</device>
@ -373,27 +749,54 @@
<device>ti99_pcode</device>
<device>ti99_rs232</device>
<device>ti99_speech</device>
<device>ti_hx5102</device>
<device>tiki100_8088</device>
<device>tk02</device>
<device>tms32030</device>
<device>tms32031</device>
<device>tms32032</device>
<device>trs80m2kb</device>
<device>turbogx</device>
<device>turbogxp</device>
<device>tv950kb</device>
<device>tv955kb</device>
<device>tvc_hbf</device>
<device>ultra12f32</device>
<device>ultra12f</device>
<device>ultra14f</device>
<device>ultra24f</device>
<device>uni800</device>
<device>unidisk</device>
<device>upd7220</device>
<device>uts_400kbd</device>
<device>uts_extw</device>
<device>v102_kbd</device>
<device>v1050kb</device>
<device>v550_kbd</device>
<device>vic1515</device>
<device>vic1520</device>
<device>vic20_fe3</device>
<device>victor9k_fdc</device>
<device>vic20_videopak</device>
<device>victor9kb</device>
<device>victor9k_fdc</device>
<device>victor9k_kb</device>
<device>virgedx_pci</device>
<device>virge_pci</device>
<device>votrax</device>
<device>vp700</device>
<device>vtech_fdc</device>
<device>vtech_rs232</device>
<device>vtech_rtty</device>
<device>vtech_wordpro</device>
<device>vz_rs232</device>
<device>vz_rtty</device>
<device>wangpckb</device>
<device>wangpc_lic</device>
<device>wangpc_rtc</device>
<device>wangpc_tig</device>
<device>wangpc_wdc</device>
<device>wangpckb</device>
<device>wd1002a_wx1</device>
<device>wd1007a</device>
<device>wdxt_gen</device>
<device>wordpro</device>
<device>wyse700</device>
@ -401,4 +804,12 @@
<device>x820kb</device>
<device>xtide</device>
<device>ym2608</device>
<device>z8671</device>
<device>z8682</device>
<device>zorba_kbd</device>
<device>zorro_a2091</device>
<device>zorro_a590</device>
<device>zorro_ar1</device>
<device>zorro_ar2</device>
<device>zorro_ar3</device>
<device>zorro_buddha</device>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,57 @@
#!/usr/bin/bash
#
# mame_create_index_files.sh
# EmulationStation MAME index files creation.
#
# As input, this script takes the MAME driver information XML file from the official
# MAME release and generates the files mamebioses.xml, mamedevices.xml and mamenames.xml.
#
# There is not much error checking going on here, this script is not intended to be
# used by the end user.
#
# xmlstarlet must be installed or this script will fail.
#
# Download the driver file from here:
# https://www.mamedev.org/release.php
# It's enough to download the driver information, not the complete emulator.
#
# Leon Styhre
# 2020-06-16
#
if [ $# -ne 1 ]; then
echo "Usage: ./mame_create_index_files.sh <MAME driver file>"
echo "For example:"
echo "./mame_create_index_files.sh mame0221.xml"
exit
fi
if [ ! -f $1 ]; then
echo "Can't find MAME driver file" $1
exit
fi
MAME_XML_FILE=$1
MAMEBIOSFILE=mamebioses.xml
MAMEDEVICEFILE=mamedevices.xml
MAMENAMEFILE=mamenames.xml
echo "<!-- Latest updates from MAME driver file" $1 "-->" > $MAMEBIOSFILE
for bios in $(xmlstarlet sel -t -m "/mame/machine[@isbios=\"yes\"]" -v "@name" -n $MAME_XML_FILE); do
echo "<bios>"${bios}"</bios>" >> $MAMEBIOSFILE
done
echo "<!-- Latest updates from MAME driver file" $1 "-->" > $MAMEDEVICEFILE
for device in $(xmlstarlet sel -t -m "/mame/machine[@isdevice=\"yes\"][rom]" -v "@name" -n $MAME_XML_FILE); do
echo "<device>"${device}"</device>" >> $MAMEDEVICEFILE
done
echo "<!-- Generated from MAME driver file" $1 "-->" > $MAMENAMEFILE
xmlstarlet sel -t -m "/mame/machine[not(@isbios=\"yes\")][not(@isdevice=\"yes\")][rom]" -v "@name" -o " " -v description -n $MAME_XML_FILE | \
awk '{ print "<mamename>" $1 "</mamename>"; print $1=""; print "<realname>" $0 "</realname>"}' | \
sed s/"realname> "/"realname>"/g | sed '/^[[:space:]]*$/d' | sed s/"<mamename"/"<game>\n\t<mamename"/g | \
sed s/"<realname"/"\t<realname"/g | sed s/"<\/realname>"/"<\/realname>\n<\/game>"/g >> $MAMENAMEFILE

48
tools/mame_merge_index_files.sh Executable file
View file

@ -0,0 +1,48 @@
#!/usr/bin/bash
#
# mame_merge_index_files.sh
# EmulationStation MAME ROM index files merging.
#
# This script merges older ROM index files with newly generated ones.
# As the MAME project drops and renames ROM files from time to time, we need to
# include the old ROM names as well even if not supported by the newest MAME version.
# The user may very well run an older MAME version and may therefore have an old ROM set.
#
# There is not much error checking going on here, this script is not intended to be
# used by the end user.
#
# Leon Styhre
# 2020-06-16
#
if [ $# -ne 3 ]; then
echo "Usage: ./mame_merge_index_files.sh <old ROM index file> <new ROM index file> <target filename>"
echo "For example:"
echo "./mame_merge_index_files.sh mamebioses.xml_OLD mamebioses.xml_NEW mamebioses.xml"
echo "or"
echo "./mame_merge_index_files.sh mamedevices.xml_OLD mamedevices.xml_NEW mamedevices.xml"
exit
fi
if [ ! -f $1 ]; then
echo "Can't find old ROM index file" $1
exit
fi
if [ ! -f $2 ]; then
echo "Can't find new ROM index file" $1
exit
fi
MAME_OLD_FILE=$1
MAME_NEW_FILE=$2
MAME_TARGET_FILE=$3
TEMPFILE=tempfile_$(date +%H%M%S)
HEADER=$(grep "<\!--" $MAME_NEW_FILE)
grep -v "Latest updates from MAME driver file" $MAME_OLD_FILE > $TEMPFILE
grep -v "Latest updates from MAME driver file" $MAME_NEW_FILE >> $TEMPFILE
echo $HEADER > $MAME_TARGET_FILE
sort -u $TEMPFILE | sed '/^[[:space:]]*$/d' >> $MAME_TARGET_FILE
rm $TEMPFILE