EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: Scanning deletes CHDs  (Read 4653 times)

coccola

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 56
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Scanning deletes CHDs
« on: 06 October 2015, 20:05 »

When using a dat generated by Dir2Dat only with CHD files, rebuilding works properly but scanning deletes all the CHDs.

Just to be clearer, here is part of the dat:

Code: [Select]
<game name="cd32">
<description>cd32</description>
<rom name="big6diz\big 6, the (1994)(codemasters)(en-de)[!][compilation].chd" size="191363132" crc="44c093eb" sha1="394fe3a1f2d5181e60c713867fa39a9f0e9b3ef7"/>
<rom name="clockwsr\clockwiser (1994)(rasputin)[!].chd" size="203632846" crc="20f0d2dd" sha1="2bca980f8dac279aba2b50d58639b289c58ffe75"/>
<rom name="diggoscr\diggers and oscar (1993)(commodore)(m4)[!][compilation][amiga-cd 31, 54].chd" size="182687071" crc="f860c0fa" sha1="3f5aa89177977b449bdbd25c0a62aa180cd29cbb"/>
<rom name="libcap2\liberation - captive ii v2.02-2.00c (1994-04-08)(mindscape)[!][cdd3716].chd" size="282893256" crc="3e9b0c28" sha1="8c8528282a78308809b36aaf1ee366905dcd90c4"/>
<rom name="morph\morph (1993)(millennium)[!].chd" size="1035898" crc="07ac4e7e" sha1="edbb7534e1f16a629bbd61726d52fd841cd073cd"/>
<rom name="pballfnt\pinball fantasies (1993)(21st century entertainment)[!].chd" size="50547192" crc="b2ac8d90" sha1="88f22fc219ee0ca1433e7e5b209201ab9996386e"/>
<rom name="pballill\pinball illusions (1995)(21st century entertainment)[!].chd" size="362097596" crc="95413911" sha1="2503d4a440526dc580b7abd7effcca824329d606"/>
<rom name="sskid\super skidmarks v2.2 (1995)(guildhall leisure)[!][gh 1 10 aug 95].chd" size="96683771" crc="fa25f4ea" sha1="63bd3b15fe28f61cdd01f346cc87828518a0aca8"/>
<rom name="sstardst\super stardust (1994)(team 17)[!].chd" size="326508733" crc="5600b36f" sha1="420089e4939c43ef79ea8e143235adea819e5a55"/>
<rom name="vital\vital light (1994)(millennium)[!][10328981].chd" size="2403026" crc="02994d81" sha1="21e20c8c96c35c00fd47ca3f875ab203f29ed3b3"/>
<rom name="wormstdc\worms - the director's cut (1995)(ocean)(m3)[!].chd" size="266156240" crc="3530c453" sha1="70c165cb7a6a3d9d0f0b4804980aa298f56126ce"/>
</game>

As you can see, the CHDs are in the "rom" tag, not in the "disk" tag as usually expected. This is because we need a dat to help users join a torrent at the highest percentage possible, not a dat that contains info on CHDs that work.
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3293
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 45.0.2454.101 Chrome 45.0.2454.101
    • View Profile
Re: Scanning deletes CHDs
« Reply #1 on: 06 October 2015, 20:39 »

Chds are containers (like a rar/7z/zip file) and are handled as containers. Putting them into a rom (even with subfolders) is not intended. Besides of this, cmpro is not intented to support torrent usage. However I will have a short look what causes the removal in detail.
Logged

coccola

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 56
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: Scanning deletes CHDs
« Reply #2 on: 06 October 2015, 20:55 »

I understand what you said, but we have to consider that CHDs are also files, and can be in a dat created via Dir2Dat.

I think it would be nice to have a checkbox in Dir2Dat to enable treating CHDs as a container, and thus adding the CHDs in disk tags (and of course getting the hashes info with chdman.exe) instead of in rom tags. This way the user could choose how the CHDs should be seen by clrmamepro.

Oh, and thank you for taking a look at this!
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3293
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 45.0.2454.101 Chrome 45.0.2454.101
    • View Profile
Re: Scanning deletes CHDs
« Reply #3 on: 06 October 2015, 21:11 »

fixed for next version
Logged

coccola

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 56
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: Scanning deletes CHDs
« Reply #4 on: 06 October 2015, 21:15 »

WOW!  You're fast!  Thank you very much!
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3293
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 45.0.2454.101 Chrome 45.0.2454.101
    • View Profile
Re: Scanning deletes CHDs
« Reply #5 on: 06 October 2015, 21:49 »

well...now you only have to wait for next version....I guess either this thursday or next monday....but who knows ;-)
Logged

coccola

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 56
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: Scanning deletes CHDs
« Reply #6 on: 06 October 2015, 21:58 »

No problem! This bug has affected us for a long time, possibly years! Waiting for a few days is easy!  ;)

You're the man!
Logged
Pages: [1]   Go Up
 

Page created in 0.18 seconds with 18 queries.

anything