EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: Pr3tty F1y on 20 March 2025, 12:22

Title: CLRMamePro changing *.dat file attributes to hidden?
Post by: Pr3tty F1y on 20 March 2025, 12:22
I can't track down what specific process is causing this to occur, but I drag'n drop dats from No-Intro into the CLRMamePro profiler to update the dats and then do a scan (because it's usually multiple dats from the daily "Love Pack" from No-Intro, it ends up being a batch scan regardless). However, random dats continually end up being altered with a file attribute of 'hidden' but they're not going into CLRMamePro that way. So I'm thinking it's definitely CLRMamePro doing it and I'm not manually choosing to hide anything. It just seems to be occurring idiosyncratically. Thoughts?
Title: Re: CLRMamePro changing *.dat file attributes to hidden?
Post by: Roman on 20 March 2025, 12:56
clrmamepro doesn't alter filter attributes to hidden anywhere.
There might be cases during a scan where rom/sample files/archives or files inside such archives get their file attributes altered. But only +a, -r.
Datfiles or settings files' file attributes aren't touched at all.
Title: Re: CLRMamePro changing *.dat file attributes to hidden?
Post by: Pr3tty F1y on 21 March 2025, 00:30
clrmamepro doesn't alter filter attributes to hidden anywhere.
There might be cases during a scan where rom/sample files/archives or files inside such archives get their file attributes altered. But only +a, -r.
Datfiles or settings files' file attributes aren't touched at all.

I'm not disputing you, but I literally just saw it happen. I Already had an older "Sega - Game Gear (20241203-185356).dat" that was not hidden in my datfiles directory. I drag'n dropped the attached updated dat file dated 20250320-141239 into the profiler:

(https://i.ibb.co/n2v3T32/Profiler.png)

I had the datfiles folder up on my second monitor and it was pulled in as a hidden file:

(https://i.ibb.co/My7KCjzD/hidden.png)

(https://i.ibb.co/27tpTyyq/properties.png)

I'm not sure what else could be causing it, but extracting the dat file manually does not create a hidden file. I do see that the zip file has the Windows "block" attribute on it as it was a downloaded file. Any other thoughts?
Title: Re: CLRMamePro changing *.dat file attributes to hidden?
Post by: Roman on 21 March 2025, 06:30
Ah....the datfile in the zip file seems to have some uncommon file attributes set (most likely it was built on an unix machine) which seem to generate a +h on Windows systems (at least when zipclass library extracts it, the internal Windows unzip seems to use some standard attributes then).

So...I blame the file in the zip