Author Topic: clrmame : How to "batch-setting" the Rom-Paths ?  (Read 4349 times)

Offline Vicman

  • TOSEC Member
  • Full Member
  • ***
  • Posts: 124
    • Vicman's VIC-20 Games on YouTube
clrmame : How to "batch-setting" the Rom-Paths ?
« on: May 01, 2013, 06:21:17 PM »
Hi all,

is there a way for batch-setting the rom-paths with clrmame ?

'cause i don't want to make it manually for over 1000 TOSEC-Dat's  :P

so, please help me....i've allready played arround with this "load profiles in bath mode".....but i can not figure out, how it works for the rom-path-settings....

 step by step intruction would be nice.


GameBase-Projects:Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00
eCC-Imagepacks:Vic20,N64, Enterprise, Philips VG 5000, G7000, G74000 etc.

Offline bierbaron

  • Newbie
  • *
  • Posts: 32
Re: clrmame : How to "batch-setting" the Rom-Paths ?
« Reply #1 on: May 01, 2013, 07:24:08 PM »
1. Get RomVault at http://www.romvault.com.
2. Unpack the TOSEC dats pack into RomVault/DatRoot.
3. Create the DATs folders using the scripts that come with the TOSEC dat pack.
4. Move the DATs to their appropriate folders using those other scripts.
5. Fire up RomVault and take it from there.

Offline Vicman

  • TOSEC Member
  • Full Member
  • ***
  • Posts: 124
    • Vicman's VIC-20 Games on YouTube
Re: clrmame : How to "batch-setting" the Rom-Paths ?
« Reply #2 on: May 01, 2013, 07:29:45 PM »
Hi bierbaron,
I knew you would advise me to RomVault :D

i will give it a try......

but is there really no way to autoset the rompaths with clrmame ?
GameBase-Projects:Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00
eCC-Imagepacks:Vic20,N64, Enterprise, Philips VG 5000, G7000, G74000 etc.

Offline bierbaron

  • Newbie
  • *
  • Posts: 32
Re: clrmame : How to "batch-setting" the Rom-Paths ?
« Reply #3 on: May 01, 2013, 08:05:11 PM »
:D

I'm pretty positive there's no way to do this as conveniently in CMP as in RV. There is the batch mode you already mentioned but it will not create the directory structure you need. Might work for flat sets as MESS Softlists and such but with nested folders as in TOSEC it is useless IINM. You will end up with a flat hierarchy of folders each bearing the DAT's set name.

Offline Vicman

  • TOSEC Member
  • Full Member
  • ***
  • Posts: 124
    • Vicman's VIC-20 Games on YouTube
Re: clrmame : How to "batch-setting" the Rom-Paths ?
« Reply #4 on: May 01, 2013, 08:11:44 PM »
ok....
just a question to RV :
do i have to put my roms into the "ROMRoot" folder ?
'cause i can't change the ROM Dir.....
"Set Rom Dir" - Function don't work for me !?
GameBase-Projects:Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00
eCC-Imagepacks:Vic20,N64, Enterprise, Philips VG 5000, G7000, G74000 etc.

Offline bierbaron

  • Newbie
  • *
  • Posts: 32
Re: clrmame : How to "batch-setting" the Rom-Paths ?
« Reply #5 on: May 01, 2013, 08:43:00 PM »
So I'm not the only one to find this flaky. Keep trying RMB->Set ROM DIR. It will work eventually.

Offline Vicman

  • TOSEC Member
  • Full Member
  • ***
  • Posts: 124
    • Vicman's VIC-20 Games on YouTube
Re: clrmame : How to "batch-setting" the Rom-Paths ?
« Reply #6 on: May 01, 2013, 08:49:59 PM »
ok, after some more "RMB->clickings" i got it ;-)
GameBase-Projects:Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00
eCC-Imagepacks:Vic20,N64, Enterprise, Philips VG 5000, G7000, G74000 etc.

Offline Cr3tyl

  • Newbie
  • *
  • Posts: 1
Re: clrmame : How to "batch-setting" the Rom-Paths ?
« Reply #7 on: May 02, 2013, 10:41:59 AM »
Hi everyone. My first post here :)

You can actually use CMP to create the right folder structure. Just use the datfiles and move them to their own folders with TOSEC_move.bat
After this in CMP select every dat, right-click and select Batchmode. On the misc-tab are the options for default naming and rompath - set them both to DatFile Folder. Also check "Create rompath for new dat" and set your path.

This will create the same results as RV without too much hassle.

Offline bierbaron

  • Newbie
  • *
  • Posts: 32
Re: clrmame : How to "batch-setting" the Rom-Paths ?
« Reply #8 on: May 02, 2013, 05:49:47 PM »
I stand corrected. Thanks!

Offline Vicman

  • TOSEC Member
  • Full Member
  • ***
  • Posts: 124
    • Vicman's VIC-20 Games on YouTube
Re: clrmame : How to "batch-setting" the Rom-Paths ?
« Reply #9 on: May 04, 2013, 06:38:23 PM »
Thanks for the info, Cr3tyl ;-)
GameBase-Projects:Philips VG 5000, Sord-M5, Acorn Atom, Enterprise v1.00
eCC-Imagepacks:Vic20,N64, Enterprise, Philips VG 5000, G7000, G74000 etc.

Offline tmlmad

  • Newbie
  • *
  • Posts: 8
Re: clrmame : How to "batch-setting" the Rom-Paths ?
« Reply #10 on: May 05, 2013, 03:46:29 PM »
Hi !!

I use a little own program made under freebasic (its free lol)

This code change the cmp dat file thats content all parameter

i have the 3 structure non iso - iso and pix on cm pro folder

'my own root directroy
System_Path="Z:\Emulation\Tosec\"

the 3 system - like CMP structure

systeme(1)="Tosec Non Iso"
systeme(2)="Tosec Pix"
systeme(3)="Tosec Iso"

A little bug - the first dat of the système no match - manually change - All other dat is Ok

For fun !!