Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

*View All Threads*Show in Threaded Mode


SubjectHow separating roms by manufacturer ???? new Reply to this message
Posted byAlternati
Posted on02/15/05 08:54 AM



I would like to separate the games by manufacturer, roms of Namco in one folder, Sega in other. etc

Some idea of doing it ???

Grettings




SubjectRe: How separating roms by manufacturer ???? Reply to this message
Posted byRoman
Posted on02/15/05 09:42 AM



> I would like to separate the games by manufacturer, roms of Namco in one folder,
> Sega in other. etc
>
> Some idea of doing it ???


Well...not that easy at the moment. If you got a good texteditor which can use scripts or macros, you can modify the MAME datfile. You can add so called "rebuildto" tags and use the rebuilder afterwards to rebuild the files to a new place.

So the datfile looks something like:

game (
name puckman
sourcefile "pacman.c"
description "PuckMan (Japan set 1, Probably Bootleg)"
year 1980
manufacturer "Namco"
rebuildto "Namco"


not very comfortable or easy....
I will think about some additional rebuilder pre-folder. Something like rebuilderdestination "d:\temp\test\%m", where %m will be a variable with the sets' manufactur name.
In fact that should be rather easy to add.

Roman Scherzer
ClrMamePro


SubjectRe: How separating roms by manufacturer ???? new Reply to this message
Posted byRoman
Posted on02/15/05 01:02 PM



Just added a new rebuilder advanced option. You can enter a prestring. This string will be added in front of the rebuilt setname. So the rebuilt file it looks something like: [rebuilder destinationpath]\[prestring][setname].
This prestring also currently supports 3 variables, %m (manufacturer), %y (year) and %s (sourcefile).

So entering a prestring of "%m\" (note the backslash) will let you split rebuilt files to subfolders named after the sets' manufacturername. "%y - " will create the rebuilt files with their belonging year. For example "1980 - pacman".


well...just a little wip ;)

Roman Scherzer
ClrMamePro


SubjectRe: How separating roms by manufacturer ???? new Reply to this message
Posted byAlternati
Posted on02/15/05 02:07 PM



I was creating a small program in C++ analyzing the datafile to extract names of roms with the same manufacturer but my C++ is very coarse and at the moment it has not given to results.

I'm impatient to prove those new options of the rebuilder mmMMmmMMmm just I wanted :)

You are the best. Thanks to make us the life more easy.

Gretting from Spain




View All Threads*Show in Threaded Mode