Author Topic: batch files in the scripts folder to do what you want  (Read 253 times)

Offline justjamie

  • Newbie
  • *
  • Posts: 13
batch files in the scripts folder to do what you want
« on: November 07, 2017, 02:19:26 AM »
How can we us batch files in the scripts folder to do what you want with files?



Offline Maddog

  • Global Moderator
  • Full Member
  • *****
  • Posts: 130
Re: batch files in the scripts folder to do what you want
« Reply #1 on: November 08, 2017, 08:54:27 AM »
The "create folders" script will create folders named as per the current official TOSEC structure. This can be useful on its' own if you are manually updating your dats.

But here's the best part: After that, you can use the "move" script to move the respective dats inside these folders.
This is mostly great help for using Romvault. It will make updating your TOSEC collection a breeze. Just follow these steps (if you have never used Romvault before, make sure you have backup of your files, although there's no real danger of data loss unless you do something completely stupid!) :
1) Create a folder named TOSEC inside the "DatRoot" folder of Romvault
2) Copy all TOSEC dats from the release and the two scripts to it. (same procedure can be used if you also collect ISO and PIX)
3) Run "create folders script" and once it's finished run "move" script. You can delete the two scripts after that. You will end up with a lot of folders containing the respective dats properly sorted.
4) Press "Update DATs" button in Romvault and see what happens :)
5) You can right click on the "TOSEC" in Romvault's window and use "Set ROM dir" to point Romvault to where your actual TOSEC files are. I use simply C:\TOSEC\ for that. Because of long filenames, the shorter the path is, the better. If you have unknown files, put them into "To Sort" directory of Romvault.
6) Click Scan Roms. Wait. Click Find Fixes. Wait. Click Fix Roms. Wait. Keep in mind that these will take a long time if you do it for the first time! Once done, everything is put into correct folders and RomVault will show you what you have and what you still miss. Anything left in "To Sort" dir is unknown to the dats you have loaded. Delete or keep these for possible future matches as you prefer.
7) Every time a new TOSEC is out, delete all previous files from the DatRoot/TOSEC folder, leave your roms folder untouched and repeat the above process. Fastest TOSEC update possible IMHO. ;)

Offline star

  • Newbie
  • *
  • Posts: 4
Re: batch files in the scripts folder to do what you want
« Reply #2 on: November 08, 2017, 07:19:38 PM »
The "create folders" script will create folders named as per the current official TOSEC structure. This can be useful on its' own if you are manually updating your dats.

But here's the best part: After that, you can use the "move" script to move the respective dats inside these folders.
This is mostly great help for using Romvault. It will make updating your TOSEC collection a breeze. Just follow these steps (if you have never used Romvault before, make sure you have backup of your files, although there's no real danger of data loss unless you do something completely stupid!) :
1) Create a folder named TOSEC inside the "DatRoot" folder of Romvault
2) Copy all TOSEC dats from the release and the two scripts to it. (same procedure can be used if you also collect ISO and PIX)
3) Run "create folders script" and once it's finished run "move" script. You can delete the two scripts after that. You will end up with a lot of folders containing the respective dats properly sorted.
4) Press "Update DATs" button in Romvault and see what happens :)
5) You can right click on the "TOSEC" in Romvault's window and use "Set ROM dir" to point Romvault to where your actual TOSEC files are. I use simply C:\TOSEC\ for that. Because of long filenames, the shorter the path is, the better. If you have unknown files, put them into "To Sort" directory of Romvault.
6) Click Scan Roms. Wait. Click Find Fixes. Wait. Click Fix Roms. Wait. Keep in mind that these will take a long time if you do it for the first time! Once done, everything is put into correct folders and RomVault will show you what you have and what you still miss. Anything left in "To Sort" dir is unknown to the dats you have loaded. Delete or keep these for possible future matches as you prefer.
7) Every time a new TOSEC is out, delete all previous files from the DatRoot/TOSEC folder, leave your roms folder untouched and repeat the above process. Fastest TOSEC update possible IMHO. ;)

There seems to be a problem with the scripts for the tosec dats as the altos dats are moved alspa computers folders and it doesn't create an altos computer systems folder.

Forget that noticed it has been fixed in the rerelease of the dats.
« Last Edit: November 08, 2017, 07:46:18 PM by star »