Main > Software Forum

How to compile MAME with only specific roms?

(1/4) > >>

MacGyver:
I have a list of roms but lets say that it is only 60.
How can I compile just those 60 into MAME, so that all that binary knows is those 60 roms?
So if I type mame.exe -listroms, out pops the 60.

I have tried modifying tiny.lst, I've tried painstakingly creating a list of *.cpp drivers and putting that in arcade.lst.

The arcade.lst and compiling with SUBTARGET=arcade builds just fine, even spits out a binary, unfortunately it's a normal full 11,000 rom binary and not the cut down one you would expect from my very specific list of drivers I put in the arcade.lst file. Now if I get that list wrong, or leave out a needed dependency *.cpp it won't compile, so it is using that list, it just doesn't spit out the binary you would expect, one that only know about the drivers I put in the list.

Any ideas?
Has anyone else done this?

abispac:
long time ago i asked the same question with no luck, im just gonna keep my eye on this one to see how it develops.

baritonomarchetto:
I think you must remove drivers of all games other than those of your interest

nipsmg:
This is actually spelled out in the mame documentation:

https://docs.mamedev.org/initialsetup/compilingmame.html


--- Quote ---You can do driver specific builds by using SOURCES=<driver> in your make statement. For instance, building Pac-Man by itself would be make SOURCES=src/mame/drivers/pacman.cpp REGENIE=1 including the necessary REGENIE for rebuilding the settings
--- End quote ---

MacGyver:

--- Quote from: nipsmg on May 13, 2020, 08:01:17 am ---This is actually spelled out in the mame documentation:

https://docs.mamedev.org/initialsetup/compilingmame.html


--- Quote ---You can do driver specific builds by using SOURCES=<driver> in your make statement. For instance, building Pac-Man by itself would be make SOURCES=src/mame/drivers/pacman.cpp REGENIE=1 including the necessary REGENIE for rebuilding the settings
--- End quote ---

--- End quote ---

I know, I actually did one for just williams games (which builds a 52 game version of mame), but it you try that with 3900+ drivers/machines is throws a "command line too long".

I think it might actually be working with the flt files as subtargets after all, it's just that it is still 10,000 roms too long. It is at 13,000 down from 42,000, I just can't tell if it's all the clones keeping it high, or the fact that it's building just generic non-mess and not my thinner one  that doesn't include non-working roms.

Navigation

[0] Message Index

[#] Next page

Go to full version