Author Topic: Tool for generating/checking dats  (Read 637 times)

Offline dziuber

  • Newbie
  • *
  • Posts: 4
Tool for generating/checking dats
« on: April 28, 2017, 01:44:38 PM »
Hello

As I am back after some years of inactivity I feel a bit lost. Anybody could inform me what is present official TOSEC tool for creating and checking dats?

Dziuber



Offline Maddog

  • Global Moderator
  • Full Member
  • *****
  • Posts: 130
Re: Tool for generating/checking dats
« Reply #1 on: April 30, 2017, 10:36:42 AM »
Mine are mostly handmade, but I don't deal with a large volume of files anyway.

AFAIK, there is no "official" dat creation tool. A good choice is ClrMAME Pro, which still has good dat creation functionality.
A useful tip I discovered that will save you some headaches is to go to cmpro.ini and edit the line Adv_SetElementXML = machine , put "game" there instead of "machine".

Other dat creators may have more ways to do the jobs or more tips. :)

Offline mictlantecuhtle

  • TOSEC Member
  • Jr. Member
  • **
  • Posts: 74
Re: Tool for generating/checking dats
« Reply #2 on: May 05, 2017, 10:51:54 AM »
I pretty much use CMP to create the base dats and then use Notepad++ to do all the headers etc. manually. Found that much quicker than changing the info in CMP each time (especially with over 100 dats  for a variety of systems.

Notepad++ is also super useful for doing find / replace across multiple files - used it to solve the machine / game issue before I was aware of Maddog's fic below.

Other than that, Duncan Twain put me on to Total Commander as a very useful way to work with large volumes of files quickly. More for pre-dat generation, but great for making sure you haven't accidentally included any duplicate files across multiple dats, etc.

Offline Crashdisk

  • TOSEC Member
  • Full Member
  • ***
  • Posts: 236
Re: Tool for generating/checking dats
« Reply #3 on: May 06, 2017, 12:37:10 AM »
@mictlantecuhtle You should also use my "TOSEC Dats Duplicate Checker". I did a test on the Thomson dats and it has quite a lot of duplicates ;-)

Offline peo

  • Newbie
  • *
  • Posts: 6
    • Email
Re: Tool for generating/checking dats
« Reply #4 on: December 27, 2017, 07:38:12 PM »
Work in progress, started yesterday..

A checking tool which will be able to rename/sort files, and remove files from the 'tosort' directory if those already exists in the sorted TOSEC structure..

Screen capture showing my duplicate checking tool (slow, because I have more than 125000 files in my database), followed by usage of the tosec-checker.

https://youtu.be/Jr-0_RRnFyk

Running on my QNAP 420:

# cat /proc/cpuinfo
Processor name  : Feroceon 88F6282 rev 1 (v5l) @ 1.6 GHz
BogoMIPS        : 1587.60
Features        : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant     : 0x2
CPU part        : 0x131
CPU revision    : 1

Hardware        : Feroceon-KW ARM
Revision        : 0000
Serial          : 0000000000000000

# uname -a
Linux QNAP420 3.4.6 #1 Fri Sep 1 08:48:38 CST 2017 armv5tel unknown

- update, prototype working now (move/rename/delete), running on (old) actual data --

https://youtu.be/HNlg_9hvb9s

(less debug output, and logging added)
https://youtu.be/x-Uraw-R974
« Last Edit: December 27, 2017, 11:39:52 PM by peo »