Author Topic: Tosec Dat Explorer  (Read 5946 times)

Offline Vaxalon

  • TOSEC Contributor
  • Newbie
  • *
  • Posts: 34
Tosec Dat Explorer
« 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?



Offline PandMonium

  • Administrator
  • Hero Member
  • *****
  • Posts: 1303
Re: Tosec Dat Explorer
« Reply #1 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

Offline gorski

  • TOSEC Member
  • Jr. Member
  • **
  • Posts: 73
Re: Tosec Dat Explorer
« Reply #2 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

Offline PandMonium

  • Administrator
  • Hero Member
  • *****
  • Posts: 1303
Re: Tosec Dat Explorer
« Reply #3 on: April 20, 2011, 12:22:48 PM »
So, where can i see it ? :p

Offline Vaxalon

  • TOSEC Contributor
  • Newbie
  • *
  • Posts: 34
Re: Tosec Dat Explorer
« Reply #4 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.

Offline gorski

  • TOSEC Member
  • Jr. Member
  • **
  • Posts: 73
Re: Tosec Dat Explorer
« Reply #5 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

Offline Cassiel

  • Administrator
  • Hero Member
  • *****
  • Posts: 1450
    • Email
Re: Tosec Dat Explorer
« Reply #6 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.

Offline Cassiel

  • Administrator
  • Hero Member
  • *****
  • Posts: 1450
    • Email
Re: Tosec Dat Explorer
« Reply #7 on: April 21, 2011, 11:58:26 AM »
Haven't looked at the body of DAT, just something I noticed in header......

Offline gorski

  • TOSEC Member
  • Jr. Member
  • **
  • Posts: 73
Re: Tosec Dat Explorer
« Reply #8 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

Offline Cassiel

  • Administrator
  • Hero Member
  • *****
  • Posts: 1450
    • Email
Re: Tosec Dat Explorer
« Reply #9 on: April 21, 2011, 12:09:42 PM »
So it is now OK? Is that what you are saying?

If so cool.....

Offline gorski

  • TOSEC Member
  • Jr. Member
  • **
  • Posts: 73
Re: Tosec Dat Explorer
« Reply #10 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

Offline PandMonium

  • Administrator
  • Hero Member
  • *****
  • Posts: 1303
Re: Tosec Dat Explorer
« Reply #11 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

Offline VG8020

  • TOSEC Member
  • Jr. Member
  • **
  • Posts: 51
    • MSX Cassettes!
Re: Tosec Dat Explorer
« Reply #12 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:



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,
(previously known as MSXfreak)

Offline Cassiel

  • Administrator
  • Hero Member
  • *****
  • Posts: 1450
    • Email
Re: Tosec Dat Explorer
« Reply #13 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).

Offline Vaxalon

  • TOSEC Contributor
  • Newbie
  • *
  • Posts: 34
Re: Tosec Dat Explorer
« Reply #14 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! :)))))