EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: max-holz on 13 January 2013, 19:22

Title: Understand batchrun options
Post by: max-holz on 13 January 2013, 19:22
I didn't understand very well the fact and it's very impportant for me.
My softlist's folders structure is "D:/MESS/software/subfolders for each systems" separeted from bioses.
I want to run a batchrun with all the softlists.
In the SCANNER tab I have enabled:
Always show statistics
Enable all fixoptions
Always save fixdatfiles
Non-Merged
In the REBUILDER tab:
Rebuilder run before scan
Use source folder -> "D:/ClearMamePro/update" (the place where I save new files downloaded)
Use destination folder -> "D:/MESS/software"
Always scan subfolders
Don't remove rebuilt source
Non-Merged
In the MISC tab:
Create rompath for new dat (specify root folder) -> "D:/MESS/software"
Now my question is: With these settings the new addition I have in the update folder will be properly rebuild in each system subfolder or in the root software folder?
I hope to have explained cleary my question.
Title: Re: Understand batchrun options
Post by: Roman on 13 January 2013, 21:48
erm...don't fully get it but the rebuilder batch overwrite: "Use destination folder -> "D:/MESS/software" will place all found and matched files in *THAT* path...I don't think you want a colorful mixture of files of all 'batched' profiles in that one folder....
Title: Re: Understand batchrun options
Post by: max-holz on 14 January 2013, 08:01
So I must not use Use destination folder -> "D:/MESS/software" in the rebuilder tab.
And will the batch rebuild properly the software in each subfolders in this case?
Title: Re: Understand batchrun options
Post by: Roman on 14 January 2013, 08:34
Generally, the Rebuilder got 1 destination folder or -when configured correctly- can use system default paths. You can do some more tricks with using rebuilder advanced -> destination prestring.
But still: These settings are per-profile settings.

The batchmode only allows some general overwrite of the destination (and this means 1 general destination). If disabled , the per-profile settings are used.
Yes, it's questionable if you ever need the destination overwrite because you're limited to 1 folder, usually overwriting the source is more needed.
Title: Re: Understand batchrun options
Post by: max-holz on 14 January 2013, 08:55
So for my purposes is better disabling the rebuilder in batchrun mode and simply scan all the softlists for missing.
Then proceed to fix each softlist separately.
Title: Re: Understand batchrun options
Post by: Roman on 14 January 2013, 09:13
you can still use the batcher to batch-scan/rebuild your profiles...but the rebuilder destination option should come from the profiles  themselves...

But I just got an idea....if your single profiles all use only 1 rompath, then you might simply use the batch options' "use 1st rompath" option for rebuilder destination...
Title: Re: Understand batchrun options
Post by: oxyandy on 14 January 2013, 14:32
Hi max-holz,
I understand what you are asking...
The answer is yes, if the sub-folder does not exist, then it will be created..
Code: [Select]
Create rompath for new dat (specify root folder) -> "D:/MESS/software"This will do that for you...
If the subfolder "already exists" then CMP will set the proper path (if not already set)

In this part is wrong..
Code: [Select]
Use source folder -> "D:/ClearMamePro/update" (the place where I save new files downloaded)
Use destination folder -> "D:/MESS/software"

You want to untick "Use destination folder" ..

source "updates" is fine.. (and needed)

But, you probably worked this out already  ;D

Title: Re: Understand batchrun options
Post by: max-holz on 14 January 2013, 16:14
Thank you Roman and oxyandy
So "Use 1st rompath" instaed of "Use destination folder" works fine?
The updates will be rebuilt in the proprly subfolder (for example gameboy) instead of put them all togheter in the root folder "software"?
Title: Re: Understand batchrun options
Post by: oxyandy on 14 January 2013, 17:18
(http://ndsxdelta.no-ip.org/1.png)

Well as you see, I am using merged, cause I keep my sets in t7z..
I assume you know the difference between "Scan" & "New Scan" in CMP's Scanner window ?
Anyway I circled that, it has it's obvious uses..

(http://ndsxdelta.no-ip.org/2.png)

Set your source folder here for your updated / new files..
"No Rebuilder Run", is just like using Scanner..
(sometimes I suggest you do a "No Rebuilder Run", before rebuilding new files)
Vital with MAME updates.
Many times with MESS dats, the xml changes, but no new ROMs are added..
I keep my MESS dats, upto date via SVN,
"No Rebuilder Run" is often all that is required to return the "Green Tick" we all love.

You see here I am forcing merged & 7z
(these are my maintenance settings for already converted t7z set - you also will require custom "Compressor" options in CMP if you decided to use t7z)
Anyway select: If you want split (Non Merged) or Merged.. Choose Zip, Rar, 7z etc..
Your choice !
Note: If you wish to make a t7z merged set, then use merged Zip first... THEN - Use t7z.exe to convert Zip to t7z.
NEVER, select t7z.exe in CMP's compressor window, use 7z 9.28a (seems to work best)
Later versions have issues..

(http://ndsxdelta.no-ip.org/3.png)

This is where you set the Destination, subfolders will be built in there,
I use "DatFile File" this works for MESS, will create subfolders same name as .xml dat files..
eg. gba.xml will be subfolder \gba


Questions ???
Title: Re: Understand batchrun options
Post by: oddi on 14 January 2013, 17:29
@Oxy i have 2 question ?

1. On first images, why this option is unchecked :- "Use scan when possible ( instead of a new scan)"
2. On third image - for the last both lines (for naming and rompath) why check "Datfile file" ?

I think that is not good idea, if mistake something, explain me. Tnx
Title: Re: Understand batchrun options
Post by: oxyandy on 14 January 2013, 17:35
1. I explained is just like "Scan" or "New Scan" in CMP's Scanner window..
Depending on what I am doing, I will check or uncheck - This usually is checked..
This is why I circled it and made a note, it is a valuable setting..

2. "DatFile File" this works for MESS, so I will let you tell me why is bad ?  ;D

TOSEC you would use "DatFile Folder" if you use the Move script in the dat pack..