First of all, thank you for this list! In the past I've obsessed over having complete sets for different MAME versions, but never play 99% of the games. This list helps narrow it down.
I've written a couple of one-liners, using bash, to figure out which samples and CHDs you will need for your chosen subset of ROMs and corresponding MAME version. I did this because I use the MAME2003 and MAME2010 cores from RetroArch which use 0.78 and 0.139, respectively. Anyway, I know that a lot of people don't use Linux or bash, but hope this is useful. Perhaps I'll rewrite them using standard Windows cmd prompt commands. In the meantime, here they are:
for i in $(ls -1 *.zip) ;do /drives/e/MAME/mame139/mame.exe -listxml $(basename $i .zip) |grep -v '<!' |grep -q '<disk name' && echo CHD needed: $(basename $i .zip); done
for i in $(ls -1 *.zip) ;do /drives/e/MAME/mame139/mame.exe -listxml $(basename $i .zip) |grep -v '<!' |grep -q '<sample name' && echo Samples needed: $(basename $i .zip); done
By the way, my machine in running Windows! I use a package called MobaXterm, which is free to use, which gives me a bash-like shell and commands. All you have to do is "cd" to your _NoFiller directory and be sure to have the correct path to the correct mame.exe. Just note that you need forward slashes in the path and use "/drives/X" instead of "X:". I hope this helps and isn't too daunting for non-Linux people.
Update:
I went ahead and rewrote the same one-liners using Windows cmd prompt commands:
for %I in (*.zip) do @E:\MAME\mame139\mame.exe -listxml %~nI |find "<disk name" >nul && echo CHD needed: %~nI
for %I in (*.zip) do @E:\MAME\mame139\mame.exe -listxml %~nI |find "<sample name" >nul && echo Samples needed: %~nI
Example run (specific to my chosen ROMs):
E:\MAME\mame139\roms\_NoFiller>for %I in (*.zip) do @E:\MAME\mame139\mame.exe -listxml %~nI |find "<sample name" >nul && echo Samples needed: %~nI
Samples needed: astinvad
Samples needed: astrob
Samples needed: buckrog
Samples needed: carnival
Samples needed: congo
Samples needed: gorf
Samples needed: journey
Samples needed: panic
Samples needed: qbert
Samples needed: rallyx
Samples needed: vanguard
Samples needed: wow
Samples needed: zaxxon