TOSECdev Forum

TOSEC Project => TOSEC Tools => Topic started by: Vaxalon on April 18, 2011, 09:12:11 PM

Title: Tosec Dat Explorer
Post by: Vaxalon on April 18, 2011, 09:12:11 PM
let see..im using the dat explorer v20110329....and it keeps crashing when i load a dat...nothing to do with the size of the dat i hope guys? i should note the fields dont seem to load either. or was this version bugged?
Title: Re: Tosec Dat Explorer
Post by: PandMonium on April 19, 2011, 12:23:34 PM
The tool not stable and can easily crash, still the problem is probably with the dat. XML or deprecated? Are you using it correcty? Does the dat work on cmp? PM me with the dat and i can check what's wrong with it :P
Title: Re: Tosec Dat Explorer
Post by: gorski on April 19, 2011, 10:14:24 PM
Tosec Dat Explorer get terrible input and not know what to do :) You must see this dat PandMonium .. excellent for testing tosec dat explorer :)
Greets,
Gorski
Title: Re: Tosec Dat Explorer
Post by: PandMonium on April 20, 2011, 12:22:48 PM
So, where can i see it ? :p
Title: Re: Tosec Dat Explorer
Post by: Vaxalon on April 21, 2011, 09:20:44 AM
ok well..after this dat..constantely...refusing to make a dat that works in the tnchecker....ive made dats with just TWO files in them. Using the dat header that cassius sent me.

they STILL crash it :)

ok...its an old style dat. The error is length cannot be less than zero, parameter length :length

ive played with all the options in dir2dat here, filled all the fields...etc etc....still cant figure out what the problem is.
Title: Re: Tosec Dat Explorer
Post by: gorski on April 21, 2011, 11:38:27 AM
clrmamepro (
   name ggg
   description ggg
   category gggg
   version ggg
   date ggg
   author gg
   email ggg
   homepage gg
   url gg
   comment gg
)
i think categories must be in "" for example
clrmamepro (
   name "Acorn Archimedes - Compilations"
   description "Acorn Archimedes - Compilations (TOSEC-v2008-10-11)"
   category "Acorn Archimedes - Compilations"
   version 2008-10-11
   author "C0llector - Cassiel"
)

i not see other differences :)

edit:
here is dat PandMonium  :)
http://mame.no-ip.org/pandmonium/newesttzx-03.dat

Greets,
Gorski
Title: Re: Tosec Dat Explorer
Post by: Cassiel on April 21, 2011, 11:55:45 AM
"" when > 1 single word
no "" when just 1 single word, e,g.

Cassiel
or
"Cassiel - gorski"

Also, you only need name, description, category, version, author NOT all the rest.
Title: Re: Tosec Dat Explorer
Post by: Cassiel on April 21, 2011, 11:58:26 AM
Haven't looked at the body of DAT, just something I noticed in header......
Title: Re: Tosec Dat Explorer
Post by: gorski on April 21, 2011, 12:03:51 PM
not like email url and etc when i remove dat passes may be Pandmonium checked exactly

name ggg
   description ggg
   category gggg
   version ggg
   date ggg
   author gg

Greets,
Gorski
Title: Re: Tosec Dat Explorer
Post by: Cassiel on April 21, 2011, 12:09:42 PM
So it is now OK? Is that what you are saying?

If so cool.....
Title: Re: Tosec Dat Explorer
Post by: gorski on April 21, 2011, 03:28:01 PM
yes :)
little offtopic ? in dats we have crc and md5 ? or crc md5 and sha1 ?

Greets,
Gorski
Title: Re: Tosec Dat Explorer
Post by: PandMonium on April 21, 2011, 05:14:44 PM
@gorski: yes, use all (crc, md5 and sha1).

@Vaxalon: The tool crashes due to the headers not being right, it was done just to test our dats and it expected headers in the right format, since there is no " - " it crashes. Anyway just added a try catch on that and will up a new version to gorski ftp.

Btw, need to talk with you gorski :P
Title: Re: Tosec Dat Explorer
Post by: VG8020 on April 22, 2011, 03:57:07 PM
Hello,

Just the topic I was looking for. I'm testing .dat creation before releasing MSX final .dat files for the forthcoming TOSEC update and would like to ask you what settings you un/check with clearmamepro in the dir2dat menu:

(https://www.tosecdev.org/forum/proxy.php?request=http%3A%2F%2Fimg856.imageshack.us%2Fimg856%2F3415%2Fscreenshot2204201116374.png&hash=e3f818ee2ffd0d02727b6cbc3c862261) (http://img856.imageshack.us/i/screenshot2204201116374.png/)

From posts above I understand Add MD5 should be checked too. Anything else?

Just one further doubt. I've seen Header entries tend to be somehow redundant. When displayed in eg. RomVault same info is displayed in the same line. Is that the way it is to be? eg. taken from MSX MSX - Compilations - [CAS] (TOSEC-v2009-09-01_CM)

clrmamepro (
   name "MSX MSX - Compilations - [CAS]"
   description "MSX MSX - Compilations - [CAS] (TOSEC-v2009-09-01)"
   category "MSX MSX - Compilations - [CAS]"
   version 2009-09-01
   author "jugaor - Apache"
)

Note: First MSX is Sytem, second MSX is to allow distinction among MSX, MSX2, MSX2+ and Turbo-R. So maybe something like the following is more economy-oriented:

clrmamepro (
   name "MSX"
   description "MSX - Compilations - [CAS] (TOSEC-v2009-09-01)"
   category "MSX MSX - Compilations - [CAS]"
   version 2009-09-01
   author "jugaor - Apache"
)
Greetings,
Title: Re: Tosec Dat Explorer
Post by: Cassiel on April 22, 2011, 06:03:11 PM
It's not for reasons off economy, just the way database/DATs are set up, i.e.:
<manufacturer><system><category>
when you get an open system with no main manufacturer like MSX or 3DO it puts a spanner in the works. Not perfect, but as good as unless we come up with a more robust alternate.

RE settings, use this (just fill in right hand side header details or copy from existing DAT).
Title: Re: Tosec Dat Explorer
Post by: Vaxalon on April 22, 2011, 07:27:56 PM
tiny question..."remove extention", that was clicked on in that dir2dat file you sent me...its on in my wip but....somehow it worries me abit :) wot does it do....

And yeah..i guess not doing the field names correctely is what screwed me there, i never bother in wips tbh :)

That being said, Ive uploaded my current wip, with a text file, cause i need some opinions, yknow....good ones :)

That being said pandemonium, my dat DOES work in the explorer now..it just crashes when i try to sort by company name! :)))))
Title: Re: Tosec Dat Explorer
Post by: Cassiel on April 22, 2011, 09:19:09 PM
It removes the extension from 'name' & 'description' fields leaving just the 'rom' field with an extension.

This is correct behaviour.
Title: Re: Tosec Dat Explorer
Post by: VG8020 on April 22, 2011, 10:17:05 PM
It's not for reasons off economy, just the way database/DATs are set up, i.e.:
<manufacturer><system><category>
when you get an open system with no main manufacturer like MSX or 3DO it puts a spanner in the works. Not perfect, but as good as unless we come up with a more robust alternate.

Good remark. Thank you for the explanation, Cassiel.

RE settings, use this (just fill in right hand side header details or copy from existing DAT).

And thanks for this .d2d file, indeed. Much useful.

Greetings,

Title: Re: Tosec Dat Explorer
Post by: Cassiel on April 22, 2011, 10:18:31 PM
No problem...   :)