mirror of https://github.com/ksherlock/ample.git
tweak rom build script
This commit is contained in:
parent
e66502ea42
commit
0c56be79f3
|
@ -43,7 +43,7 @@ machines = args.machine
|
||||||
if not machines: machines = [ *MACHINES, *EXTRA_MACHINES]
|
if not machines: machines = [ *MACHINES, *EXTRA_MACHINES]
|
||||||
|
|
||||||
# roms stored in other files.
|
# roms stored in other files.
|
||||||
EXCLUDE = [
|
xEXCLUDE = [
|
||||||
'ace100',
|
'ace100',
|
||||||
'agat7',
|
'agat7',
|
||||||
'agat9',
|
'agat9',
|
||||||
|
@ -84,6 +84,17 @@ EXCLUDE = [
|
||||||
'uniap2ti',
|
'uniap2ti',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# non-existent or included elsewhere.
|
||||||
|
EXCLUDE = set([
|
||||||
|
'mac512ke',
|
||||||
|
'maciicx',
|
||||||
|
'maciihmu',
|
||||||
|
'maciivi',
|
||||||
|
'maciix',
|
||||||
|
|
||||||
|
'kb_pc83',
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
def build_known_roms_list():
|
def build_known_roms_list():
|
||||||
infile = "mame-0233-full.html"
|
infile = "mame-0233-full.html"
|
||||||
|
@ -139,7 +150,9 @@ for m in machines:
|
||||||
# find machines that have a rom child
|
# find machines that have a rom child
|
||||||
for x in root.findall('machine/rom/..'):
|
for x in root.findall('machine/rom/..'):
|
||||||
name = x.get('name')
|
name = x.get('name')
|
||||||
if (name in known): mnames.add(name)
|
if name in EXCLUDE: continue
|
||||||
|
#if (name in known): mnames.add(name)
|
||||||
|
mnames.add(name)
|
||||||
# for y in x.findall('./rom'):
|
# for y in x.findall('./rom'):
|
||||||
# rnames.add(y.get('name'))
|
# rnames.add(y.get('name'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue