Big Karnak |
Part-time Lurker
|
|
|
Reged: 05/22/13
|
Posts: 1011
|
Loc: Mount St. Lurkling
|
|
Send PM
|
|
|
Prototype.ini Catlist
#329095 - 08/02/14 05:52 AM
|
|
|
I want to make a Prototype.ini catlist file. How can I achieve this without having to go through the slow, painstaking process of locating, copy and pasting all the prototype set names into a new INI file... that would take forever since there are 189 prototypes.
|
|
|
|
Re: Prototype.ini Catlist
[Re: Big Karnak]
#329096 - 08/02/14 06:21 AM
|
|
|
It would be completely worthless because things like
-Midway for a while called all their early releases "protos" -We are using guesswork in some of our labeling of games as protos -Some games that are technically protos are further along in finalizing than non-protos -Some games in mame are protos and not labeled as such because we have no way of knowing everything about every rom set -Intermingling of the term with things like test location and show version are forever unclear
I wish people could just enjoy what we've done instead of getting knotted up over anal shit like proto.ini and getting 100% arcade monitor simulation instead of just 99%. Emulation is a 99% science.
|
|
|
|
Re: Prototype.ini Catlist
[Re: Big Karnak]
#329101 - 08/02/14 01:51 PM
|
|
|
> I want to make a Prototype.ini catlist file. How can I achieve this without having to > go through the slow, painstaking process of locating, copy and pasting all the > prototype set names into a new INI file... that would take forever since there are > 189 prototypes.
Quick and dirty from a Linux terminal:
Code:
awk -F'"' '/GAME[A-Z_\s]*\(/{ split($0,a,","); set=a[2]; gsub(/^ +/,"",set); gsub(/ +$/,"",set); name=$4; if (index(tolower(name),"prototype")!= 0) print set }' src/mame/drivers/* >Prototype.ini
assuming you have the source code in the src directory.
If you're on Windows just install Cygwin (and e.g. cd /cygdrive/C/Mame first).
|
|
|