EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: mametoc on 15 April 2021, 15:09

Title: Create automatic or whit less effort possible xml dat from only dirs/size files
Post by: mametoc on 15 April 2021, 15:09
Create automatic or whit less effort possible xml dat from only dirs/size files?.
Like example.
Code: [Select]
Deathsmiles II/RES/_gdataf54.dtt 2009-10-16 01:41 6455830
Deathsmiles II/RES/_gdatakc5.pad 2009-10-16 01:42 4505182
Deathsmiles II/RES/_gdatam4a.pad 2009-10-16 01:42 41172274
Deathsmiles II/RES/_gdatazsc.bin 2009-10-16 01:42 2034834
Deathsmiles II/RES/err.log                 2018-08-04 13:07 462
Deathsmiles II/XAudio2_0.dll         2008-03-05 04:03 479752
Deathsmiles II/dinput8.dll                 2018-08-04 15:29 138240
Deathsmiles II/game.exe                 2018-07-14 03:00 3616768
Deathsmiles II/images                 2020-09-14 22:40
Deathsmiles II/images/bg.jpg         2018-08-05 00:39 159
Title: Re: Create automatic or whit less effort possible xml dat from only dirs/size files
Post by: Roman on 15 April 2021, 15:25
Hmm...I don't really understand your request fully....

Normally you use Profiler->dir2dat to create a datfile from a selected folder from your storage media....it runs through the folders, calculates the hashes, sizes etc and forms a datfile from it.

What is your source? I mean what exactly do you mean with "from only dirs/size files"?
Title: Re: Create automatic or whit less effort possible xml dat from only dirs/size files
Post by: mametoc on 15 April 2021, 15:39
Sorry i mean copy/paste the structure and contents of a file or whit some tool (online?) whitout download. Or take this info and make an dat xml compatible whit clrmamepro.
Title: Re: Create automatic or whit less effort possible xml dat from only dirs/size files
Post by: Roman on 15 April 2021, 17:33
The built-in dat creator works on file basis, not http links. But of course there might be other datfile generators out there....
however, a datfile should contain a hash, i.e. you somehow need to read the full file to calculate sha1/crc32s