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!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Roman

Pages: 1 2 3 4 [5] 6 7 8 9 10 ... 177
81
I just scanned the snaps dat (the biggest single one) on a decompressed snaps set (so it needs to calculate the hashes) and it took < 1 min in a not cached scan and 4 seconds in a second, cached scan....

Keep in mind that the "all project" datfile uses a totally different folder structure than the single progetto datfiles. The all datfile uses set subfolders (like artpreview\artpreview\005.png, where the 1st artpreview is the setname and "artpreview\005.png" is the romname. While the single ones don't use setsubfolders (besides of SoftwareList dats).

So if you don't already have the files stored in the all-project way, there will be >300.000 files to be reorganized. Same would happen if you specify the rompath wrong which is -when it comes to progretto snaps- a rather common problem.
People need to remember the storing method which needs to be used rompath\setname\file1...file n for decompressed sets, rompath\setname.zip (.7z) for compressed sets. So for example if you're using the "bosses" progretto snaps datfile it contains 1 set called "bosses" where all pngs are stored in that set. So if you have a rompath called "c:\test\progretto\bosses", you either have a bosses.zip file in that folder holding the pngs or you got another subfolder in there "c:\test\progretto\bosses\bosses"  which holds the singe pngs decompressed.

Progetto snaps dats usually have 1 (SL maybe a handful more) sets with thousands of pngs inside it. Having them compressed can cause slow downs when fixing (especially when using solid 7z sets).

Another point when using decompressed files is of course: each file needs to be read and the crc32 (at least) is calculated...a full progetto snaps collection is ~300000 files...now you can calculate yourself how long it can take for decompressed sets....that can be hours

let's take for example 1/100 second for reading the file plus calculating the hash.... that will be 100 files per second....for 300k files it's 3000 seconds.....50 minutes 0.83 hours....if it's 1/10 second per file...you already end up with 8 hours....and so on ;-)

....and another point....is that the less set specifications you have (and in the progetto case you usually only have 1), the less speed you will get from threading, since threading works on checking sets in parallel, not files....


But to give this thread an end....I will look what can be optimized when working with huge 1 set dats where the files are decompressed. ....actually I found something which can be improved already...so will see what I can do.....

82
clrmame Discussion / Re: a nightly cmpro...
« on: 08 December 2024, 07:19 »
I will look into it.........tomorrow...

83
clrmame Discussion / a nightly cmpro...
« on: 07 December 2024, 20:06 »
if anyone still use the old tool....

https://mamedev.emulab.it/clrmamepro/binaries/cmpro64_20241207.zip
(64bit exe only)

it only fixes a problem with not detecting unneeded files in a sample parent set..... The bug was in there since decades I think ;)

Definetly time to use the new tools ;-)

84
The warnings appear if you have sample paths setup and *load* MAME's xml output. They are the known-for-a-decade warnings about sample only sets etc...
If you don't quit and run another scan, the xml isn't loaded again since it's still in memory (see first info log message in your second screenshot). That feature is coming with yesterdays version.....so all is fine


By the way....come on...you only post here to show your 1 second full scan result :-)

85
https://mamedev.emulab.it/clrmamepro/binaries/clrmame_008_015_1.zip
https://mamedev.emulab.it/clrmamepro/binaries/readme.html

UI:
misc: restore default window positions when positions get out of range
misc: increase display time of tooltips
misc: slightly regrouped ui elements
added: scanner, context menu option to restore old scan results on startup and selection

Core:
misc: updated spdlog to 1.15.0
misc: updated to 7zip 24.09
misc: don't reload xml and build up structures when they are already in memory and need no refresh
misc: align and share rebuilder/scanner common routines
added: scanner, samples, supporting flac
fixed: scanner, typo in wine script
fixed: scanner, internal sha1 check for files with identical crc32 but different sha1 values isn't run
fixed: scanner, samples, wrong named files (case check only) aren't fixed
fixed: scanner, samples, wrong named files (case check only) also appear as unneeded
fixed: scanner, samples, decompressed files are marked as unneeded
fixed: scanner, samples, machines which reference themselves via sampleOf are marked as unneeded in full mode
fixed: scanner, confusing 'can't remove/backup' messages in case of circular renames between different sets
fixed: scanner, confusing 'can't remove/backup' messages in case a wrong file with a right name is replaced with a fill in

86
??? A "can't excess" log entry does not have anything to do with using it under Windows or Linux/Wine. It simply means that the mentioned file was at a particularly point in time not accessible. That can be caused by all kind of things.
Simply showing "can't acces" doesn't help unfortunately. Without having the files here or a more detailed information what clrmame tried, I can't help. You could for example scan without the fix option enabled and let me know what it complains about the ad5hir file (scan results tree). Or you can test the archive for corruptness...it also may be locked by other processes etc....

87
you could use a "file:" filter which points to a textfile holding your current machine names (1 machine name per row), like

pacman
outrun
194x

and so on....but you'd need to create that list on your own...e.g by redirecting a dir command with a little bit of textediting....
For the future I will think about adding a filter feature for that....(currently it supports regular expressions, xpaths and files)

88
The rebuilder got a backup path on its own which needs to be specified.

by the way, there is not really a need to use the rebuilder. If a missing file is listed as fixable, scanner's fix option will automatically pick the file it found somewhere and adds it to your rompath. If you really have missing files and already have a folder somewhere which holds newly colltected update files, you can specify an add path.

89
clrmame Discussion / Re: Sneak....
« on: 28 November 2024, 08:39 »
yep, such sample errors will be gone (refers to - fixed: scanner, samples, machines which reference themselves via sampleOf are marked as unneeded in full mode)

..speedwise...yes....your second full MAME scan will be done then in 3-4 seconds instead of 6 :-)

90
clrmame Discussion / Sneak....
« on: 25 November 2024, 16:45 »
Well, this week a new MAME will most likely be released....so I will wait for that one to see if something weird happens or not....This month I was pretty busy with real life but I found a little time to do some changes. Mainly I was working on some code moves here and there, simply because rebuilder and scanner have a lot in common...so it was clear to make such functions commonly used instead of having them doubled (which was still a bit of a relict when they weren't merged). I also had a look at sample scanning which had some issues

Core:
- misc:  updated spdlog to 1.15.0
- misc:  updated to 7zip 24.08
- misc:  don't reload xml and build up structures when they are already in memory and need no refresh
- misc:  align and share rebuilder/scanner common routines
- fixed: scanner, internal sha1 check for files with identical crc32 but different sha1 values isn't run
- fixed: scanner, samples, wrong named files (case check only) aren't fixed
- fixed: scanner, samples, wrong named files (case check only) also appear as unneeded
- fixed: scanner, samples, decompressed files are marked as unneeded
- fixed: scanner, samples, machines which reference themselves via sampleOf are marked as unneeded in full mode
- added: scanner, samples, supporting flac

UI:
- misc:  restore default window positions when positions get out of range
- misc:  increase display time of tooltips
- misc:  slightly regrouped ui elements
- fixed: scanner, typo in wine script

I also have some nice things on the request list...(...and surely there is the profiler topic....)...will see what I can do...
To name 3 of the request (but don't count on them soon)
- restore scan results on startup / change of xml
- only keep 1 file instead of fix dat and scan result since they nearly contain the same information
- maybe have some tree like output in the rebuilder to show which machines were rebuilt

91
Well, regarding the floppy samples you can of course have a work around: Have 2 sample paths (one holding floppy, and the other one holding all the other sample sets) in MAME for playing and for clrmame auditing you only use 1 (the one without floppy).
Or you use a standalone samples datfile which may contain the floppy ones.

I've pointed out the problem that "floppy" isn't listed or referenced at all in -listxml in MAME's developer discord channel....will see if this is changed sometime, but I wouldn't count on ;-)

But thanks again for reporting the problems....while looking at the code I found some more sample related issues which now get fixed.....

92
fixed for next release (or nightly build...) (at least the 005 etc problems and the MM1 one) but the floppy one ...as mentioned...I have to think about it

93
ah...ok....this happens in "full" mode....since e.g. 005 refers to itself as being the sampleparent...will fix it...thanks for reporting

94
Hmm...I will look at the MM1_keyboard one since that should actually produce no problem.
"floppy" is a known problem, since MAME's -listxml output does not reference the files at all, so they become "unneeded". I will think about how this can be resolved.
Regarding your list, can you send me one of your 7z files which get deleted?

95
clrmame Discussion / Re: Rename failure?
« on: 14 November 2024, 09:25 »
wow he's in a good mood then ;-)

96
clrmame Discussion / Re: Rename failure?
« on: 14 November 2024, 09:09 »
"flagged" ...well....clrmame auto trims (and replaces other characters which can't be used as filename chars)....it's not really that bad...and MAME loads the files anyhow by crc32.....

97
clrmame Discussion / Re: Rename failure?
« on: 14 November 2024, 07:03 »
"8.sub " <--- see the ending space character, the name is not trimmed correctly in MAME

98
ok, I put it on the todo list

99
https://mamedev.emulab.it/clrmamepro/binaries/clrmame_007_014.zip

https://mamedev.emulab.it/clrmamepro/binaries/readme.html

UI:

misc: scanner, contextmenu option to sort by name instead of description
misc: Linux/Wine, users can get data from a (linux) mame binary. A wrapper script is included (requires a chmod +x ./wrapper.sh once though)
misc: Linux/Wine, minor changes regarding line breaks or layout

Core:

misc: in case of a -listsoftware data basis (either exe export or dat), additional sl hashes are added from either the used exe's hash folder (prio 1) or HashFolder specified in the settings xml file (prio 2).
fixed: some absolute paths aren't made 32k path length aware, this can lead to sideeffects, e.g. when doing backups (esp. in Linux/Wine)
fixed: scanner, removal of matched files from addPath/backup only works when at least one file was missing
fixed: scanner, removal of unneeded files stopped after first error during a delete process so that other files in the queue were skipped
fixed: scanner, fixing wrong named files/folders which only differ by a character case change fails
fixed: scanner, unneeded sample files are detected but not reported or fixed
fixed: scanner, (rare) "can't read" error message when accidently testing a folder for being a chd
fixed: scanner, (rare) fixing wrong named files/folders which only differ by a character case but map to multiple machines keeps only 1 instance (e.g. 3DO->3do & 3dobios)
fixed: scanner, circular renames inside a machine throw rename errors and only get resolved in a second run

100
clrmame Discussion / Re: Nightly.....
« on: 31 October 2024, 06:15 »
Already on my list for a long time since I miss it too. It‘s not in yet since it would require also loading the datfile because I don‘t keep information about good machines and all the meta information like year, manufacturer and so on in the scan file. It only holds the issues. Also depending on how many issues are shown, bullding up the tree can be slow.
So I kept the request for „when the profiler is ready“. It will come….will see what I can do

Pages: 1 2 3 4 [5] 6 7 8 9 10 ... 177

Page created in 0.064 seconds with 20 queries.