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] 2   Go Down

Author Topic: CMP and CHD (missing but fixable thing)  (Read 47092 times)

remax

  • Guest
CMP and CHD (missing but fixable thing)
« on: 28 August 2012, 14:13 »

For a few of my Mame and Mess CHD, i have some strange reactions of CMP :

The CHD are good (good SHA1 when compressed and good Data-Sha1 when uncompressed, -verify is ok), but CMP keep asking me

Set: NFL Blitz (boot ROM 1.2)
Name: blitz
File: E:\UME\roms\blitz\blitz.chd

Do you want to add the missing CHD?

(blitz.chd is already in this directory), and weither i answer yes or no, i always have the same reaction :

NFL Blitz (boot ROM 1.2) [folder: blitz - size: 544kb]
missing but fixable (-> blitz) chd: blitz.chd [chd-sha1: 9131c7888e89b3c172780156ed3fe1fe46f78b0a]

I don't really understand what is happening. I tried to recompress the CHD (and the others that has this problem) with freshly compiled CHDman, but without success.
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3523
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 21.0.1180.83 Chrome 21.0.1180.83
    • View Profile
Re: CMP and CHD (missing but fixable thing)
« Reply #1 on: 28 August 2012, 19:12 »

Clean the profiler cache and do a new scan. Turn off virusscanners for rompaths in question...and be sure to use an official mame with direct data import in the profiler (i.e. no 3rd party datfile).
« Last Edit: 28 August 2012, 19:22 by Roman »
Logged

remax

  • Guest
Re: CMP and CHD (missing but fixable thing)
« Reply #2 on: 28 August 2012, 19:38 »

Clean the profiler cache and do a new scan. Turn off virusscanners for rompaths in question...and be sure to use an official mame with direct data import in the profiler (i.e. no 3rd party datfile).

I forgot to say that it is the case since at least three months. Since, i even tried a fresh install of CMP without any success. I use my own freshly compiled SVN releases from the SVN server (you can hardly use a more official build), or official "uX" releases but it don't change a thing.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3523
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 21.0.1180.83 Chrome 21.0.1180.83
    • View Profile
Re: CMP and CHD (missing but fixable thing)
« Reply #3 on: 28 August 2012, 19:41 »

You can send me your cmpro.ini file and the belonging *.cmp file from cmpro's settings folder. But first try an official MAME binary and turn off 3rd party software which might interfear disk access and run a new scan.
Logged

remax

  • Guest
Re: CMP and CHD (missing but fixable thing)
« Reply #4 on: 28 August 2012, 19:41 »

OK
Logged

remax

  • Guest
Re: CMP and CHD (missing but fixable thing)
« Reply #5 on: 29 August 2012, 21:39 »

I'm going crazy lol...

First of all, to be clear, before posting here i had 2 problems : the one described on this topic and another : samples are randomly marked as unneeded. When i say randomly it is as this : Everytime i update the binary (or create another clean profile), it choose one or two set of samples and decide one for all that it is unneeded (so ask for erasing). Then with another binary (official or compiled by myself), it will choose others samples and perhaps the firsts ones will be now accepted without problem.
It's unlikely that these samples are really unneeded as they are marked then as missing with exactly the same names inside the archive, and as far as i know, samples are only checked by their names, not their CRC.

Back to my initial problem. I rebuilded my whole MAME set. First with the 0.146 binary on the Mame site then with the 0.146u5 found on Mameworld (as the official site don't release ux binaries, there is hardly a more official binary). At the end, no more message like the one i quoted above (about CHD)
Then i tryed with my compiled latest SVN binary and the other problem came back : some of the samples are randomly erased.
I thought that was the fault of my binary, so triied to go back to the last binary i hadn't problem with but the problem stayed, even with the official MAME binary.

Of course, when i tryed to come back to the older binaries, i emptied the profile cache, i manually erased the content of the cache folder (certainly redundant but i wanted to be sure), i erased the cmp and dat file, i created a new profile (and my antivirus is disabled and i don't have any software that work on this (or other) folder).

I didn't tried to rebuild my set again, it's very long (~24h to do actual set->0.146->0.146u5) and i'm sure there must be a way to solve the problem without having to.

In a way, i'm not suprised the first problem (with CHD) disappeared as it was appearing very randomly too (on a file that had no reason to), even if it was staying forever since it appeared.

That's probably something on my side, but i can't figure what...
« Last Edit: 29 August 2012, 21:42 by remax »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3523
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Chrome 21.0.1180.83 Chrome 21.0.1180.83
    • View Profile
Re: CMP and CHD (missing but fixable thing)
« Reply #6 on: 30 August 2012, 07:43 »

Random file access errors sound a little bit like some installed program (like virusscanners, firewalls,  zip plugins etc, sata drivers.....scanning over network drives via samba) do interfear somehow.... Check if you got something of them running in the background and for a test, turn them off.

Rebuilding is fast when you turn off recompression.

Yes, samples are only checked for name/case/exist....There are a lot of nodump samples in the official MAME binary (most likely handled as unneeded) so you will get differerent effects if you scan e.g. with the Progretto Samples datfile and with MAME.
Logged

remax

  • Guest
Re: CMP and CHD (missing but fixable thing)
« Reply #7 on: 30 August 2012, 21:52 »

Well i rebuilded again, test against the new set then came back to my old set, and now all errors are gone.

That doesn't explain how my SVN build make this errors happens to a point that you need to rebuild a set to clean the errors.

It's not about installed programs, as i keep them to the minimum on my PC and try to keep control. Moreover, the errors are not so randoms : they are randoms at first, but then stay consistent for months (it's always the same files reported when these errors start to happen).

Guess i'll have to do the same with my MESS set (some PSX chd are reported the same way if i do a full scan with a list imported from MESS, whereas nothing get reported if i use software list to scan)...

A bit annoying to not really understand what happens here, as i will be harmless if these come back...

Thank you anyway ;)
« Last Edit: 30 August 2012, 21:53 by remax »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3523
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Chrome 21.0.1180.83 Chrome 21.0.1180.83
    • View Profile
Re: CMP and CHD (missing but fixable thing)
« Reply #8 on: 31 August 2012, 07:01 »

you might want to send me "your" mame binary which caused the issues and the "official" one which works fine....

...or you diff the -listxml output of both....
Logged

remax

  • Guest
Re: CMP and CHD (missing but fixable thing)
« Reply #9 on: 17 September 2012, 13:55 »

Yay... problem is back again, updating with the (totally official) binary from the Mame site...

Some of the samples are erased once again, and one chd as the "missing but fixable" bug.

I guess that rebuilding again will fix it, but i am not going to do that everytime i update my set :(

What files can i send you?
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3523
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 21.0.1180.89 Chrome 21.0.1180.89
    • View Profile
Re: CMP and CHD (missing but fixable thing)
« Reply #10 on: 17 September 2012, 14:40 »

you don't need to rebuild every time....and besides, I had no probs with .147. (there are no chd changes compared to 146u5 anyway and samples related, there is one new set iirc.

There's something on your system which is interfearing the process...so that the first attemp to read the chd and checking the existance fails, while a later check for fixable missing ones succeeds....as mentioned before, you should exclude any mame roms/samples related folder from your virusscanner software (or use a better one :)) since such random effects are usually caused by such software
« Last Edit: 17 September 2012, 14:50 by Roman »
Logged

remax

  • Guest
Re: CMP and CHD (missing but fixable thing)
« Reply #11 on: 18 September 2012, 21:44 »

I scan with AV disabled...

Just a last thing and i stop bothering you with this problem...

Another strange behavior which might be related : when i do "new scan" with samples unticked (but with the samples folder set) it still ask me to delete the samples files it want to delete when i do a scan with everything ticked.

By the way, congrats for your second child ;)
« Last Edit: 18 September 2012, 21:45 by remax »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3523
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 21.0.1180.89 Chrome 21.0.1180.89
    • View Profile
Re: CMP and CHD (missing but fixable thing)
« Reply #12 on: 19 September 2012, 08:38 »

Well, be aware of the correct error message...regarding the samples, it most likely asks you about removing unneeded sets (not samples). So an unticked samples checkbox doesn't affect this.
I will double check the chd exists/missing but fixable checks...maybe there is some weird ordering effect which causes this.
Regarding the samples (or maybe sets) messages, can you give me a detailed example with filenames please?
Logged

remax

  • Guest
Re: CMP and CHD (missing but fixable thing)
« Reply #13 on: 19 September 2012, 11:37 »

Yeah, of course it see them as unneeded files, but as they are in the sample folder and not in the rom folder, it shouldn't even see them.

Here is two snapshots with the mentionned problems :





my config :



If you need anything else, just ask ;)
« Last Edit: 19 September 2012, 11:46 by remax »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3523
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 21.0.1180.89 Chrome 21.0.1180.89
    • View Profile
Re: CMP and CHD (missing but fixable thing)
« Reply #14 on: 19 September 2012, 14:40 »

well, sure it should see them since the "unneeded sets" check checks rom and sample paths for unneeded entries....but actually, amora is needed. I see that you're using 7z files, can you send me that amora.7z file please?

By the way...you don't have all sets enabled. I can see that in the title bar of the scanner. Seems like you got some sets disabled and actually that can cause the sample issues...e.g. if you disabled the armora etc sets.

Go to "set information" (Scanner tree window button bottom left) and let me know what settings you got there....and maybe you should enable all sets there...
« Last Edit: 19 September 2012, 14:42 by Roman »
Logged

remax

  • Guest
Re: CMP and CHD (missing but fixable thing)
« Reply #15 on: 19 September 2012, 17:40 »

well, sure it should see them since the "unneeded sets" check checks rom and sample paths for unneeded entries...

Sounds a bit weird for me... If sample is unticked, i can't see why it should have a look into the sample folder. But you must have your reasons and it is not the problem here ;)

Quote
I see that you're using 7z files, can you send me that amora.7z file please?

I hope posting samples here isn't a problem. It's not as problematic as posting roms but feel free to erase it as soon as you wish

http://www.sendspace.com/file/ua9461

N.B : Just notice that these files are not a problem when i check samples using the AntoPISA dat, so i doubt it's anything compression related.

Quote
By the way...you don't have all sets enabled. I can see that in the title bar of the scanner. Seems like you got some sets disabled and actually that can cause the sample issues...e.g. if you disabled the armora etc sets.

Go to "set information" (Scanner tree window button bottom left) and let me know what settings you got there....and maybe you should enable all sets there...

Well i have the "CD-I CD-Rom" List set disabled in "Systems...", but as far as i can tell, everything is checked in "set information". I used "select all" and rescan : same problem. I checked CDI set and rescan, same problem (and no more message about sets in the task bar, that means that all sets are selected i think).
« Last Edit: 19 September 2012, 17:45 by remax »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3523
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 21.0.1180.89 Chrome 21.0.1180.89
    • View Profile
Re: CMP and CHD (missing but fixable thing)
« Reply #16 on: 19 September 2012, 18:19 »

A set is a collection of roms and/or chds and/or samples...so the unneeded sets check checks both. The "samples" checkbox in combination with "name" or "case" will then check the files within the sample sets.

Thanks for the files, I will check them later.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3523
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 21.0.1180.89 Chrome 21.0.1180.89
    • View Profile
Re: CMP and CHD (missing but fixable thing)
« Reply #17 on: 19 September 2012, 18:48 »

thanks....I can repeat the unneeded sample issue...funnily it seems to be related to software lists...

and actually I fixed it now :)

Now I will have a look at the missing but fixable chd one....

also fixed :)
« Last Edit: 19 September 2012, 19:53 by Roman »
Logged

remax

  • Guest
Re: CMP and CHD (missing but fixable thing)
« Reply #18 on: 21 September 2012, 16:59 »

Great!!! Thank You very much. At least, that wasn't me being mad :D

How can we DL the update? Via auto update or do we need to compile a SVN? (i have a Mingw environment setup for Mame and QMC2).
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3523
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 21.0.1180.89 Chrome 21.0.1180.89
    • View Profile
Re: CMP and CHD (missing but fixable thing)
« Reply #19 on: 21 September 2012, 17:06 »

look out for a new release around this weekend on the main page....the build in update function can be used to update your release then....
Logged
Pages: [1] 2   Go Up
 

Page created in 0.082 seconds with 20 queries.