EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: TomJones on 13 July 2015, 09:43

Title: Cyclic Remove then Add Error
Post by: TomJones on 13 July 2015, 09:43
Using MameUIFX32 0.163 executable profile.
Scanner says "Do you want to remove the file?".
If "No To All" is selected, the following three errors are produced and then the scan completes.

Janyou Part II (ver 7.03, July 1 1983) [folder: janyoup2 - parent: royalmj - size: 28kb]
unneeded file: C:\Games\GameEmu\MAMEUIFX\roms\janyoup2\18s030n.6k [not fixed]
Open Mahjong [BET] (Japan) [folder: openmj - parent: royalmj - size: 24kb]
unneeded file: C:\Games\GameEmu\MAMEUIFX\roms\openmj\18s030n.6k [not fixed]
Royal Mahjong (Falcon bootleg, v1.01) [folder: royalmah - parent: royalmj - size: 24kb]
unneeded file: C:\Games\GameEmu\MAMEUIFX\roms\royalmah\18s030n.6k [not fixed]

If "Yes To All" is selected to go ahead and remove the files, then the scanner immediately says "Do you want to add the missing ROM?".
If "No To All" is selected, the following three errors are produced and then the scan completes.

Janyou Part II (ver 7.03, July 1 1983) [folder: janyoup2 - parent: royalmj - size: 28kb]
missing rom: 18s030n.6k [size: 32] [CRC32: d3007282] [SHA1: e4d863ab193e49208ed0f59dcddb1da0492314f6]
Open Mahjong [BET] (Japan) [folder: openmj - parent: royalmj - size: 24kb]
missing rom: 18s030n.6k [size: 32] [CRC32: d3007282] [SHA1: e4d863ab193e49208ed0f59dcddb1da0492314f6]
Royal Mahjong (Falcon bootleg, v1.01) [folder: royalmah - parent: royalmj - size: 24kb]
missing rom: 18s030n.6k [size: 32] [CRC32: d3007282] [SHA1: e4d863ab193e49208ed0f59dcddb1da0492314f6]
 
Every scan, the scanner wants to remove the three files and then immediately thereafter wants to add the same three files back in.

The check sums and hashes for the 18s030n.6k file in the three clones as well as the parent are:
18s030n.6k d3007282 e4d863ab193e49208ed0f59dcddb1da0492314f6 (janyoup2)
18s030n.6k d3007282 e4d863ab193e49208ed0f59dcddb1da0492314f6 (openmj)
18s030n.6k d3007282 e4d863ab193e49208ed0f59dcddb1da0492314f6 (royalmah)
18s030n.6k d3007282 e4d863ab193e49208ed0f59dcddb1da0492314f6 (royalmj)

As you can see, they are all identical and match the check sums and hashes in the error messages.
Also, all four OM files are 32 bytes long.
Am I missing something important or is this possibly a real bug.
Thank You
Title: Re: Cyclic Remove then Add Error
Post by: Roman on 13 July 2015, 12:13
most likely sideeffects of bad database entries.
Please send me the used datfile and the one file (according to the hashes it should only be one...)
Title: Re: Cyclic Remove then Add Error
Post by: Roman on 14 July 2015, 18:37
ok I've grabbed the files myself and checking it now...
Title: Re: Cyclic Remove then Add Error
Post by: Roman on 14 July 2015, 19:15
ok...it's caused by the nodump in royalmj clone "tahjong" which creates a hashcollision with the full parent/clone relationship (you see a prompt during 1st datfile load). This in combination with using rom merge tags triggers this weird effect...
Will check how to handle this....shouldn't be too hard to fix
Title: Re: Cyclic Remove then Add Error
Post by: Roman on 14 July 2015, 20:31
fixed
Title: Re: Cyclic Remove then Add Error
Post by: haynor666 on 19 July 2015, 10:11
Was this version published ?
Title: Re: Cyclic Remove then Add Error
Post by: Roman on 19 July 2015, 10:50
not yet...but I will release a new version within the next days