EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: Dullaron on 21 February 2012, 09:02

Title: clrmamepro 4.03a issue
Post by: Dullaron on 21 February 2012, 09:02
OK I'm posting my issue here.

If you taken one of the CHD and then put into the ROM's folder. Run scan. The scanner will freezes at 0% and then sit there. It haven't moved it into the CHD folder with it name or anything. The cmpro and cmpro64 will say it is running on the Task Manager screen. But what is it doing actually? Fixing the CHD? It blink on the rest of the screen. Just showing the CHD name on the screen. The program isn't frozen up.

The other problem is that I had two bad CHD's. I fix that issue already. Both are deleted.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 21 February 2012, 09:07
Do you have Scanner->advanced->allow  chds in rompath root enabled or disabled?
Depending on that setting, maybe you simply don't see the prompt asking you if you want to move the chd somewhere else.

I did a quick test on this and there is no freeze or crash here.

Anyone else with test results?
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 21 February 2012, 14:23
OK now it crashing. I will wait.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 21 February 2012, 14:58
Please answer my question regarding the allow-chds-on-rompath-root option.
Title: Re: clrmamepro 4.03a issue
Post by: Tafoid on 21 February 2012, 16:18
Please answer my question regarding the allow-chds-on-rompath-root option.

It's also possible he's using the old command-line syntax for updating CHD's (v4 vs. v5), in which case it would likely appear that nothing is happening since clrmame didn't get the validation text from CHDMAN to continue?  Just a guess...


Title: Re: clrmamepro 4.03a issue
Post by: Roman on 21 February 2012, 17:13
chdman is only called when you got the deep verification enabled and you do see the cmdline window and if cmpro can't run it, you will see an error message.
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 21 February 2012, 20:29
Enabled or not. Still the same issue. Windows 7 64-Bit Home.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 21 February 2012, 21:02
please use above sticky topic.
I can't reproduce your issue here. In you mameboard screenshot I see "usagui" listed as unneeded. This is not a set of MAME.
So what chds did you move to a rompath root?
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 21 February 2012, 21:08
I will install those and then see that the problem. I didn't install any of it.

usagui was in it folder in the ROM's folder.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 21 February 2012, 21:09
Erm...what? what are you talking about?
How can you repeat the issue? Which chd did you move to a rompath root and usagui is what? it has nothing to do with cmpro or mame...so I guess just an unneeded file which gets listed as unneeded hopefully.
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 21 February 2012, 21:11
I don't have the cmpro and cmpro64 in the Program Files. Both on a slave part of the drive.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 21 February 2012, 21:14
why do you want to move it???? Keep it as it is (and especially keep it in a non-UAC folder)

You said, you moved a chd on rompath root level, so which chd? That'S all I want to know...keep your setup as it is... and try to reproduce the problem by moving 1 (or more chd). Let me know the details.
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 21 February 2012, 21:32
OK I got it halfway working. Cmpro64 will crash with the 3ga000.chd in the ROM's folder. But it did moved it into sfiii2 folder this time. I think it the scanner issue on my end and don't know why. Scanning the ROM's will work. Anyway I already install it into the C:\Program Files\clrmamepro and set to Run as Admin...
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 21 February 2012, 21:44
OK all fix. It have to be in the C:\Program Files\clrmamepro and problem solve. =)
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 21 February 2012, 21:50
It is not recommended to put cmpro in an uac controlled folder.

What OS do you run?
Is your used user an admin?
Where did you place cmpro when it was crashing?
Where did you place the roms when it was crashing?
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 21 February 2012, 21:56
The program was in the I:\clrmamepro when it crash.

ROM's here at I:\MAME\roms.

Windows 7 Home Premium with SP1

I will move it to C:\ from the C:\Program Files\ and then try again.

Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 21 February 2012, 22:06
OK not working now. Crashing again.

Like I said the program have to be in the C:\Program Files\ in order not to crash.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 21 February 2012, 22:11
Are you logged in as an administrator user?
Did you run cmpro without any additional "run as administrator"?
Does it always crash? Is the position where it crashes always the same? (You might be able to see that by monitoring the progress window)
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 21 February 2012, 22:36
Heh I gave up. I'm sick of it crashes only because of the CHD's. I bet it gotta be the chdman that is causing this. I made all of the MAME files. I'm holding off for now.

Yes I'm a administrator user. Only one is using this computer.
I did try the run as administrator and without it. Same issue.
Same crashing.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 22 February 2012, 08:14
it is definetly NOT caused by chdman since chdman is only called when you got the scanner advanced option enabled to do an unpack and calculation of sha1/md5 files....looking at your screenshot I see that it crashes during the uneeded checks.

You can send me your cmpro.ini file and the belonging .cmp file from cmpro's settings folder for your used profile.
Title: Re: clrmamepro 4.03a issue
Post by: oxyandy on 22 February 2012, 09:07
Dullaron
I know you keep your roms here
I:\MAME\roms
But I must ask, do you have CHDs in a different folder, on a different drive ?
Are any of these drives external ?
Please help see this bug report through
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 22 February 2012, 20:45
I did try CHD on drive C and it did the same thing. I put all back on Drive I and then redone cmpro64.

Here the files.
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 23 February 2012, 11:40
I forgot to tell you that I'm using mame64.exe.

If you want me test the mame.exe then let me know.
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 24 February 2012, 09:24
Files that help describe the problem:
  C:\Users\Mitchell\AppData\Local\Temp\WERA038.tmp.WERInternalMetadata.xml
  C:\Users\Mitchell\AppData\Local\Temp\WERE303.tmp.appcompat.txt
  C:\Users\Mitchell\AppData\Local\Temp\WERE313.tmp.mdmp

Here is the report from my Windows 7 Home 64-bit.

I don't know this will help or not.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 24 February 2012, 10:32
I will do further checking next week.
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 27 February 2012, 22:49
OK on the MAME 0.145u3. It now crashes on the ROM's scanning this time around. I believe this have something to do with the MAME changes that is braking the cmpro64 scanning.

I will say hold off on the cmpro fix until the 0.146 released. This will drive you nuts trying to fix this issue if they keep on changing something.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 27 February 2012, 22:55
I can't repeat your issue and it seems that noone else can...

There is a known crash when cmpro adds rompaths for you for sysdefpaths...maybe you ran into that one..
you can try this build, it fixes *that* issue:
http://mamedev.emulab.it/clrmamepro/binaries/cmpro20120227.zip (http://mamedev.emulab.it/clrmamepro/binaries/cmpro20120227.zip)
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 27 February 2012, 23:06
Same issue. Let me rebuild some of the ROM's to see the problem go away. What I do is rename the folder to back up and then make a new ROM's folder (roms).
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 27 February 2012, 23:11
you should enable "ask before fixing" so it will prompt you the set before fixing it....and maybe *that* set causes the issue.
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 27 February 2012, 23:20
OK now I see what is going on now. It seem that the stuff have to be drop into the window scanning mode in order it to stop crashing. I don't see this will help on the CHD's when those can't be drop into it. Same thing as for samples. The zips have to be rebuild so it know those are there. Other wise crashes. Sad part is have to be done on every new MAME released.

I did check the Ask before fixing. The issue still there.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 27 February 2012, 23:22
???

Can you explain again when it is crashing for you. When you drag'n drop files?
Again, this is used daily by a lot of people and noone reported an issue with it.
Tell me what you're doing and when and where it crashes.
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 27 February 2012, 23:31
It crashing at the beginning of the scan this time. Not at CHD's names. On the ROM's names. It check the ROM's then the CHD's.

But if I drop the ROM's into the Scan Results | MAME window and then it will go away because the ROM's are re-zip.

It like cmpro doesn't even see the zips and CHD's fully until after drop into that window and rebuild. Now CHD's the only problem because it can't be done this way.
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 27 February 2012, 23:33
Could it be the firewall?
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 27 February 2012, 23:36
Of course other programs can interfear but it should not cause cmpro to crash.
The start of the scan is the set-unneeded scan....it checks all files in all rompaths and checks if the found name matches a setname...

...something weird happens at this point on your system...of course it could be a cmpro bug but as long as I can't repeat it, I can't find it (as mentioned, it works fine here).

You can try a clean install and only copy set by set to your romfolder....copy one set, scan, copy another, scan..and so on...or 10 or 100...
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 27 February 2012, 23:45
Do you have some kind of debug tool or something that will help to show what is going on?
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 27 February 2012, 23:49
as mentioned, the best way to get it fixed is a repeatable issue within a minium  environment. If that environment can then be compressed and uploaded somewhere, I can test it.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 27 February 2012, 23:59
since it's most likely the unneeded or name check which crashes for you, you can e.g. turn it off and run a scan without it...to see if it still crashes...
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 28 February 2012, 00:09
What is e.g.? How I turn it off?
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 28 February 2012, 00:19
exempli gratia
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 28 February 2012, 00:33
OK I rescan the rebuild ROM's with the other cmpro. This one is clean installed into it own folder. No freezes and crashes. But if I replace the ROM's with the non-rebuild then it will freezes and crashes. Pretty weird.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 28 February 2012, 00:35
try to minimize the amount of romsets to 1...and then, send me the file.

by the way, I just found one maybe related issue....some assertion during removal of files from zips....when I got a new build, I will let you know
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 28 February 2012, 00:55
I'm not sending the ROM's here.

Anyway here what the message said after I have just this ROM's by it self in the ROM's folder. This is the one that the cmpro crashes on. I did check for corrupted ROM's and it all are fine.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 28 February 2012, 01:00
now 7z up your complete cmpro folder plus rompath with that one file and let me know where I can grab it....
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 28 February 2012, 01:08
This is the one that I use. http://downloads.sourceforge.net/sevenzip/7z920-x64.msi (http://downloads.sourceforge.net/sevenzip/7z920-x64.msi)

WinRAR as well. http://www.rarlab.com/rar/winrar-x64-411.exe (http://www.rarlab.com/rar/winrar-x64-411.exe)

OK I have a question. Where did you install WinRAR and 7-Zip at? Mine is in the C:\Program Files area.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 28 February 2012, 01:17
This has nothing to do with cmpro. Install it wherever you want.
I asked you to send me a compressed version of your environment.
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 28 February 2012, 01:21
The ROM's? Old build and new build?
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 28 February 2012, 01:24
you said you made a clean cmpro install and you showed a screenshot where altbeast or something seems to had issues....so I assume you can repeat the issue with just 1 set in your rompath...

If you can, compress everything (program and rompaths) and send it.
If not, try to minimize your environment even more.
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 28 February 2012, 01:44
Sent through PM.

I:\MAME\roms
I:\clrmamepro\32
I:\clrmamepro\64
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 28 February 2012, 01:47
thanks...I will look at it tomorrow...nearly 3am here...need sleep
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 28 February 2012, 05:32
I'm doing checking disk right now. This be done over night.
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 28 February 2012, 11:06
I tried this out today and the scanning works. http://www.emulab.it/forum/index.php?topic=342.0 (http://www.emulab.it/forum/index.php?topic=342.0)

The bug is the "Mark disabled set as unneeded" checked. Seem broken here.

OK to everyone that have this problem going have to unchecked that box before scanning. Then enabled it for fixing. =/

Oh ya. Checking disk found nothing wrong on my Windows 7 and hard drive.
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 28 February 2012, 12:46
yep...that seems to cause it somehow....I can repeat your crash with your setup now...

So I take your setup, run scan -> crash
I start again, change the advanced option to keep not enabled sets as unneeded to disabled -> no crash
reenable that option -> no crash


now that's something to work with ;) Thanks for providing the files...guess it gets fixed today
Title: Re: clrmamepro 4.03a issue
Post by: Dullaron on 28 February 2012, 21:26
Cool. I did a research on Google on the crash. Lucky that report found. :)
Title: Re: clrmamepro 4.03a issue
Post by: Roman on 28 February 2012, 22:03
found and fixed