EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: Understand batchrun options  (Read 8584 times)

max-holz

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 17.0 Firefox 17.0
    • View Profile
Understand batchrun options
« 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.
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 24.0.1312.52 Chrome 24.0.1312.52
    • View Profile
Re: Understand batchrun options
« Reply #1 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....
Logged

max-holz

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 17.0 Firefox 17.0
    • View Profile
Re: Understand batchrun options
« Reply #2 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?
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 24.0.1312.52 Chrome 24.0.1312.52
    • View Profile
Re: Understand batchrun options
« Reply #3 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.
Logged

max-holz

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 17.0 Firefox 17.0
    • View Profile
Re: Understand batchrun options
« Reply #4 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.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 24.0.1312.52 Chrome 24.0.1312.52
    • View Profile
Re: Understand batchrun options
« Reply #5 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...
Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 18.0 Firefox 18.0
    • View Profile
    • .
Re: Understand batchrun options
« Reply #6 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

Logged

max-holz

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 17.0 Firefox 17.0
    • View Profile
Re: Understand batchrun options
« Reply #7 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"?
Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 18.0 Firefox 18.0
    • View Profile
    • .
Re: Understand batchrun options
« Reply #8 on: 14 January 2013, 17:18 »



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..



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..



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 ???
« Last Edit: 18 April 2013, 01:18 by oxyandy »
Logged

oddi

  • Member
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 193
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 18.0 Firefox 18.0
    • View Profile
Re: Understand batchrun options
« Reply #9 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
Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 18.0 Firefox 18.0
    • View Profile
    • .
Re: Understand batchrun options
« Reply #10 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..
« Last Edit: 14 January 2013, 17:38 by oxyandy »
Logged
Pages: [1]   Go Up
 

Page created in 0.759 seconds with 21 queries.

anything