EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: Roman on 25 January 2016, 21:03

Title: clrmamepro 4.027 released
Post by: Roman on 25 January 2016, 21:03
4.027

misc:  32bit version still runs on SSE1 processors
misc:  compiled with VS Studio 2015 Update 1
misc:  updated to unrar lib/sdk 5.31.1 and 7z lib/sdk to 15.14
misc:  prevent system sleep mode for scan, rebuild, merge tasks

misc:  the minimum value for rebuilder option to skip folder after X skipped files is now 1

added: setinfo tree lists empty sets only on request (context menu) and empty tree branches are removed
misc:  setinfo tree gets reendered on actions (apply, invert, etc) when show enabled/disabled is used
added: %r=1, %P=1, %H=1 variable (has roms, is sample-only set, is chd-only set)
misc:  select sets variables %h,%p,%M,%B,%I,%r,%P,%H also supports =0 now
       (e.g. %h=1 has chds; %h=0 hasn't chds)

removed: cmpro.ini switch Adv_DatFormatXML, Export format (from setinfo) can now be switched in dir2dat
added: dir2dat can export in softwarelist format (pretty preliminary but a start)
added: dir2dat option add manufacturer -> from folder, which takes the current folder name as
       manufacturer/publisher (in single set mode only)

hint: if you don't collect chds/samples and don't want cmpro to moan about missing sets, you can use
      %H=1;%P=1 (Apply, Invert, check 'initial invert' checkbox) to disable chd-only and sample-only sets
Title: Re: clrmamepro 4.027 released
Post by: coccola on 27 January 2016, 00:25
misc:  prevent system sleep mode for scan, rebuild, merge tasks

What about Dir2Dat?
Title: Re: clrmamepro 4.027 released
Post by: Roman on 27 January 2016, 08:30
scan, rebuild, merge tasks, not dir2dat

Intersting anyway...a normal mame scan takes (without caching) maybe 4 min on a current system (with cache maybe a minute if it all)....and personally I don't know anyone who sets the sleep mode to anything less than 2 hours ;-)

however dir2dat can be easily added in the future
Title: Re: clrmamepro 4.027 released
Post by: coccola on 27 January 2016, 15:01
On Pleasuredome, there is a 1.3 TB torrent (MAME Software List CHDs), that must be Dir2Datted by the torrent author every time it's released.
Title: Re: clrmamepro 4.027 released
Post by: Roman on 27 January 2016, 15:17
well....actually I don't care about torrents...and I doubt that more than 1% of the data changes....so people should think about a delta method...or turning of standby at all

...but as mentioned before...dir2dat will get it
Title: Re: clrmamepro 4.027 released
Post by: Roman on 27 January 2016, 19:22
http://mamedev.emulab.it/clrmamepro/binaries/cmp20160127.rar (http://mamedev.emulab.it/clrmamepro/binaries/cmp20160127.rar)


misc: dir2dat, software exports adds offset=0
misc: dir2dat, prevent system sleep mode
misc: dir2dat, add manufacturer from folder also works for non-single-set mode
misc: dir2dat, when addYear/addManufacturer is used, tags get initialized with "????"
      (unless they get a value assigned by other options)

Title: Re: clrmamepro 4.027 released
Post by: coccola on 27 January 2016, 20:51
Thank you very much!
Title: Re: clrmamepro 4.027 released
Post by: Mclane on 28 January 2016, 09:24
Just updating MAME and a few seconds after Clrmame starts fixing files it shuts down and the clrmame exe gets deleted, doing it on both 32 and 64bit versions. All update files for mame were 7zipped so I made sure both dll's were valid and from the 7Zip official site, of which they were. The clrmame update that came down today to update to this version was done internally but I also checked here to make sure it was a match to here and it was.

I'm sure its not Clrmame but any idea's, I use ZOnealarm free version as a virus checker and I do regular scans but its odd, I'm not getting a pop up from it to remove the clrmame exe, it just gets removed after it shuts down. I've scanned with other products and there's been no viruses found.

Not had this issue beforre today and the only things I've grabbed are the updates for mame, MameUI form its official site and the update to clrmame, plus the checking of the 7zip versions.

Weird..As said, the scan runs and its ok until it starts fixing files and then it just shuts down.
Title: Re: clrmamepro 4.027 released
Post by: Roman on 28 January 2016, 10:05
Even if you included the cmpro path as a rompath (so cmpro would be marked as "unneeded") it wouldn't be able to kill itself when fix-unneeded is checked.

Check your rompaths, samplepaths, your setup. Maybe try it on a different machine....and of course, yes, try to disable zonealarm for a test.

Noone ever reported such a weird thing.
Title: Re: clrmamepro 4.027 released
Post by: Mclane on 28 January 2016, 13:16
Thanks for the reply Roman, as said I am sure it isn't Clrmame, never even crossed my mind it would. I did a complete new setup of it and re-entered the rom paths etc, rescanned mame and I know something must have been wrong with the old setup because it started to backup lots of little files that it said were un needed and when I checked the MAME without those sets it said it was fine and the games ran.

But again as it got to add roms it crashed and the exe was removed, I turned off ZoneAlarms Real Time protection and Clrmame again shutdown while trying to add roms and again the exe was removed.

I'm wondering if its the Windows Defender doing its own thing...

Such a weird issue, have used Clrmame since you created it and apart from the odd teething problem its been great, never ever has it done what I've been seeing today :)

I came on here more for idea's to check...

Thanks...
Title: Re: clrmamepro 4.027 released
Post by: Roman on 28 January 2016, 15:17
well...do a scan with all fix options disabled and all check options enabled...and see what the scan tree output lists.....maybe this gives a clue where it currently looks for files
Title: Re: clrmamepro 4.027 released
Post by: what2be on 02 February 2016, 19:30
Not sure what changed from 4.026 but now when I run a scan and click on "Set Info" all i get is the current rom that is highlighted in the results window. In the past It listed ALL roms in the dat after clicking on the "Set Info" button. Why is this and how do I fix it? Its happening to all my dats, mame, scumm, etc. I like being able to go into the set info window and deselct roms I dont want and then export it as a dat or just be able to run a scan without it showing missing files I have no interest in.
Title: Re: clrmamepro 4.027 released
Post by: Roman on 02 February 2016, 19:34
check the context menu in the left tree, show -> all sets
Title: Re: clrmamepro 4.027 released
Post by: what2be on 02 February 2016, 21:56
Tried that, no luck. However, when I right click in the left tree and change it from "Show-> "All sets" to "Enabled sets" i can see the screen refresh and the scroll bar will briefly appear and then disapear but the window is still blank.

https://dl.dropboxusercontent.com/u/21014121/Screenshot%202016-02-02%2013.54.25.png
Title: Re: clrmamepro 4.027 released
Post by: oddi on 03 February 2016, 02:37
Roman, have bug, i have same problem - "Set information" window is empty .
Strange : with Mame set  - all ok in "Set information"
with any Software list set - "Set information" is empty
Title: Re: clrmamepro 4.027 released
Post by: Roman on 03 February 2016, 07:45
ah....try to remove the entry in "prefered" at the top of the screen...I will check the rest later tonight
Title: Re: clrmamepro 4.027 released
Post by: Roman on 03 February 2016, 07:52
hmm..still can't repeat this...
maybe you can provide me your some cmpro files..
only need your used datfile (most likey this is mame so I don't need this), the belonging .cmp file from cmpro's settings folder and cmpro.ini
Title: Re: clrmamepro 4.027 released
Post by: what2be on 03 February 2016, 07:58
Here ya go..

Title: Re: clrmamepro 4.027 released
Post by: Roman on 03 February 2016, 08:11
hmm...a quick test here with a clean install of cmpro and your files don't show the problem....(Windows 10 Pro, 64bit)....simply went to scanner and directly into set-information.

...as mentioned, I will double check later at home....you may give the "show empty sets" option in the context menu (where you also had "show all" a chance...

The screenshot looks a bit weird anyway...the scrollbars are visible but not the rest....as if the CPU is totally busy with doing something nuts
Title: Re: clrmamepro 4.027 released
Post by: what2be on 03 February 2016, 08:48
hmm...a quick test here with a clean install of cmpro and your files don't show the problem....(Windows 10 Pro, 64bit)....simply went to scanner and directly into set-information.

...as mentioned, I will double check later at home....you may give the "show empty sets" option in the context menu (where you also had "show all" a chance...

The screenshot looks a bit weird anyway...the scrollbars are visible but not the rest....as if the CPU is totally busy with doing something nuts

Yeah, the scroll bar only appears a few seconds after changing from "show all" to another type of view and then it disappears again. Im no programmer but it seems like they are there but not showing up like its a font issue. Is that long line in my cmpro.ini correct under "Scan Scanner Font"?
Title: Re: clrmamepro 4.027 released
Post by: Roman on 03 February 2016, 09:05
well, if you select a custom scanner font you get that long line there yes...and I highly doubt it has anything to do with the problem.
Title: Re: clrmamepro 4.027 released
Post by: Roman on 03 February 2016, 12:12
Tested it on 3 machines by now....XP, 7 and 10, 32bit and 64bit versions....no problems....real testing (with debugger turned on) later tonight...
Title: Re: clrmamepro 4.027 released
Post by: oddi on 03 February 2016, 17:33
Roman see:
Mame, all is fine inside "Set information":

(http://store.picbg.net/pubpic/02/F3/50b8e53cafd902f3.jpg)

see casio loopy for test:

(http://store.picbg.net/pubpic/69/CC/a3f4d74778a469cc.jpg)

p.s - sorry for big pics, dont know how resize
Title: Re: clrmamepro 4.027 released
Post by: Roman on 03 February 2016, 19:58
this should fix it...

http://mamedev.emulab.it/clrmamepro/binaries/cmp20160203.rar (http://mamedev.emulab.it/clrmamepro/binaries/cmp20160203.rar)
Title: Re: clrmamepro 4.027 released
Post by: oddi on 04 February 2016, 02:58
Yep, problem fixed, tnx Roman :)
Title: Re: clrmamepro 4.027 released
Post by: what2be on 04 February 2016, 05:11
YES!, all is right in the world again... thanks a million.

Just out of curiosity, what was the problem?
Title: Re: clrmamepro 4.027 released
Post by: Roman on 04 February 2016, 08:09
well, there were some circumstances where the tree root node was removed ;-)