Main > Software Forum

How to compile MAME with only specific roms?

<< < (3/4) > >>

Howard_Casto:
It's a lot easier to just generate an admittedly huge and cumbersome list.xml and then filter that rather than altering mame itself.  Like I said, there isn't much point to it. 

MacGyver:

--- Quote from: Robbbert on May 19, 2020, 11:14:09 pm ---Seems that your linux build might be a little out of date, or you tried adjusting it incorrectly.

Make sure that the line MAME_DIR .. "src/mame/audio/taito_zm.cpp" exists (it's at about line 4087 in the current arcade.lua file).

--- End quote ---

The mame source  is new from the official page and the build environment is up to date, Linux mame just really seems to hate building custom versions.
And as you can see the file is there. It will build a complete version and an arcade  and tiny version with no problems. The Linux system just doesn't seem to do dependencies correctly, at least not like the Windows versoin.

MacGyver:

--- Quote from: Howard_Casto on May 20, 2020, 01:18:16 am ---It's a lot easier to just generate an admittedly huge and cumbersome list.xml and then filter that rather than altering mame itself.  Like I said, there isn't much point to it.

--- End quote ---

It was a pain, but it is more like a crossword puzzle than anything, the challenge is the game, even if you need help with a word every now and again. And in the end I was able to get it to work the way I wanted, and my xml is manageable and my roms are perfect. :)

makya:
for the record, you can use RomLister to make an lst file easily.

fleskebacon:
Sorry for the necro, but I'm kind of noob, and I've been playing with this for a couple of days now. This thread gave me the best clues, so I thought it would be a good idea to get my conclusions out here, for future reference.

I just made a new .flt file, which can be done quite simply with mame -listsource <list of roms>, which then prints out all the needed drivers. The output file then just needs some simple editing to get rid of the rom names and then the duplicate lines. Making the initial list of your roms can be done in many ways. This was, by far, the easiest way I found. The .flt-file can be saved for next Mame version and re-used, or you can generate a new one in two minutes, to be on the safe side. Then compile with SUBTARGET=your-newly-generated-flt-file.

It should be noted that I achieved absolutely nothing with this, other than a smaller mame.exe, slightly faster compile time, and and last but not least: the satisfaction of knowing that I only compiled what I'm going to use. The smaller .exe *may* load a bit faster on my humble setup, but that might as well be placebo - I haven't done any measurements.

Romlister, though a bit outdated, can still be very useful in many ways for generating different types of romlists.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version