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: help - un-merging a CHD collection  (Read 398 times)

f205v

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 100
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 104.0.5112.102 Chrome 104.0.5112.102
    • View Profile
    • EMMA dumping team
help - un-merging a CHD collection
« on: 07 September 2022, 08:29 »

Hello,
I have a fully merged collection of Saturn CHDs.
I would like to un-merge it and get a full non-merged collection.
I'm using MAME/hash/saturn.xml as a dat file.

What is the best way to proceed?

TIA for your help.
Logged


-------------
ciao
f205v

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 106
  • Offline Offline
  • Posts: 3144
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 105.0.0.0 Chrome 105.0.0.0
    • View Profile
Re: help - un-merging a CHD collection
« Reply #1 on: 07 September 2022, 09:02 »

Are there any parent/clone relationships? hmm...ok...but there are most likely only unique disks...so you may currently have a parent subfolder with multiple chds in it.

Old clrmamepro:
move all chd files on a rompath root, run a scan in unmerged or split mode and it should sort the chds in the correct subfolders

Rebuilder tool:
rebuilder -x saturn.xml -m standalone -r -i 'yourOldPath' -o 'yourNewPath' -d
Logged

f205v

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 100
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 104.0.5112.102 Chrome 104.0.5112.102
    • View Profile
    • EMMA dumping team
Re: help - un-merging a CHD collection
« Reply #2 on: 07 September 2022, 09:32 »

Thanks!
I'm using Clrmame, and what you suggest doesn't work.
It takes all the clones CHDs out of the parent folder and saves them in the backup folder.
But it doesn't place them into their correct (new) folder, and simply marks them as missing in the main window.

I'll give a try to rebuilder tools and let you know.
Logged
-------------
ciao
f205v

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 106
  • Offline Offline
  • Posts: 3144
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 105.0.0.0 Chrome 105.0.0.0
    • View Profile
Re: help - un-merging a CHD collection
« Reply #3 on: 07 September 2022, 09:33 »

It works fine here.....if they are moved to backup they most likely aren't valid?
You've got all check/fix options enabled (and you only got all the chds on rompath root level there, so they can get sorted back?)


Example:

Set:   AI Igo (Jpn)
Name:   aiigo
File:   E:\Temp\test\ai igo (japan).chd

Wrong Place:   E:\Temp\test\ai igo (japan).chd
Right Place:   E:\Temp\test\aiigo\ai igo (japan).chd

Do you want to move the CHD?


Where a profile was created on saturn.xml and e:\temp\test is a rompath and one of the chds was moved to that rompath root. It detects the wrong placed chd and creates and moves the chd to the belonging subpath
« Last Edit: 07 September 2022, 09:39 by Roman »
Logged

f205v

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 100
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 104.0.5112.102 Chrome 104.0.5112.102
    • View Profile
    • EMMA dumping team
Re: help - un-merging a CHD collection
« Reply #4 on: 07 September 2022, 09:47 »

ah! yess! now I see why it's not working for me.
I have:
saturn\xmcota\x-men - children of the atom (japan).chd
saturn\xmcota\xmencota.chd
(both CHDs in the same subdirectory)

and would like to get to
saturn\xmcota\xmencota.chd
saturn\xmcotaj\x-men - children of the atom (japan).chd
(each CHD in it's own directory)

To accomplish this I should have all CHDs in the root directory saturn\ ; now it's clear.

I'm now giving a spin to rebuild.exe and it works a charm!
Only thing I notice is that it have to physically copy the files from old to new directory. (time consuming)
Would it be possible to point to a root directory (i.e. saturn\ ) and quickly move all the files around inside the same root? (should be much faster!)
Logged
-------------
ciao
f205v

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 106
  • Offline Offline
  • Posts: 3144
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 105.0.0.0 Chrome 105.0.0.0
    • View Profile
Re: help - un-merging a CHD collection
« Reply #5 on: 07 September 2022, 09:58 »

actually it should use a move operation if possible...I will check that

Update: oopsi...it does not (at least not in this specific case)...will be fixed for next release
« Last Edit: 07 September 2022, 15:49 by Roman »
Logged

f205v

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 100
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 104.0.5112.102 Chrome 104.0.5112.102
    • View Profile
    • EMMA dumping team
Re: help - un-merging a CHD collection
« Reply #6 on: 07 September 2022, 19:50 »

Just for your info, the process took about 4 hours.
Code: [Select]
D:\clrmame>rebuilder -x D:\source\mame\hash\saturn.xml -m standalone -r -i "W:\Software List\saturn-old" -o "W:\Software List\saturn" -d
[2022-09-07 11:37:24.014] [info] loading: D:\source\mame\hash\saturn.xml
[2022-09-07 11:37:24.085] [info] building view and rebuilder map: standalone
[2022-09-07 11:37:24.091] [info] rebuild start
[2022-09-07 11:37:24.092] [info] analyzing rebuilder source: W:\Software List\saturn-old, please be patient
[2022-09-07 11:39:14.230] [info] analyzing rebuilder destination: W:\Software List\saturn, please be patient
[2022-09-07 11:39:14.231] [info] optimizing
[2022-09-07 11:39:14.306] [info] 2522 unique matches found
[2022-09-07 11:39:14.308] [info] 0 archives with 0 matches can be fully copied
[2022-09-07 11:39:14.309] [info] 0 roms, 2522 chds will be rebuilt
[2022-09-07 11:39:14.310] [info] 0 files already exist; 0 files will be replaced
[2022-09-07 11:39:14.311] [info] rebuilding files, please be patient
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓   100%
[2022-09-07 15:20:54.702] [info] finalizing and cleaning up
[2022-09-07 15:21:02.809] [info] rebuild end, took 13418.7163763 seconds
Logged
-------------
ciao
f205v

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 106
  • Offline Offline
  • Posts: 3144
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 15.6.1 Safari 15.6.1
    • View Profile
Re: help - un-merging a CHD collection
« Reply #7 on: 07 September 2022, 20:24 »

Hehe copying huge files on the same drive can be very time consuming. Ive added the move operation by the way 😁
Should be seconds now (with the next release then...)
« Last Edit: 08 September 2022, 14:17 by Roman »
Logged
Pages: [1]   Go Up
 

Page created in 0.111 seconds with 21 queries.

anything