EMULAB Forum
clrmamepro [English] => clrmame Discussion => Topic started by: Mucci on 14 November 2018, 12:10
-
some switch files have large file names example "0775 - SNK Heroines - Tag Team Frenzy - Thief Arthur (Japan) (En,Ja,Fr,De,Es,It,Zh,Ko) (v1.20) (DLC Unlocker) (eShop)".
foldernames + filename breaks the max limit for "normal" program to handle.
CLRMAME can not scan them and displays it as "unneeded", but they are correct. Is there small change that we can do something in CLRMAME?
-
The operating system limits the pathname length, not cmpro. In cmpro there is no limt for the filename.
Most likely your used rompath + setname hits the standard windows limit which is 260 characters.
NTFS supports 32k, however to actually use them, you need to use a different rompath style, you need to prefix them with for example: \\?\e:\mame\roms\neogeo instead of just e:\mame\roms\neogeo
-
thanks for the reply and info (nice to know) ......but CLRMAME can not handle that style ;-)
and yes I know it a system problem not CLRMAME :-)
-
Sure it supports it.
Go to settings and change your rompaths (e.g. hit F2 on your setup ones and add the prefix \\?\)
-
\\?\g:\nintendoswitch\dlc 0000-0049\
I have changed all my file-path with an import XML -> CLRMAME complains that it contains no valid sets ....is the space the problem?
-
spaces in pathanmes aren't a problem
..maybe you don't follow the general storing method?
rompath\setname\file1...n for decompressed sets
rompath\setname.rar(.zip/.7z) where the archive then contains file1...n for compressed sets
so if you a rompath "\\?\g:\nintendoswitch\dlc 0000-0049\", and a set called xyz with a single rom called disc.iso, you should have them stored like:
"\\?\g:\nintendoswitch\dlc 0000-0049\xyz\disc.iso"
So...maybe you should a) send me the used datfile and b) let me know how the files are stored on your system ...so I can try to repeat the behaviour and the filestructure here...
-
So any news on this?
I've did some tests with extremly long path/set/filenames with some custom made dats and working with the \\?\ prefix for all paths works fine here
-
Sorry for the delay. My example is stored like this, they are uncompressed:
"\\?\G:\NintendoSwitch\dlc 0750-0799\0775 - SNK Heroines - Tag Team Frenzy - Thief Arthur (Japan) (En,Ja,Fr,De,Es,It,Zh,Ko) (v1.20) (DLC Unlocker) (eShop)\0775 - SNK Heroines - Tag Team Frenzy - Thief Arthur (Japan) (En,Ja,Fr,De,Es,It,Zh,Ko) (v1.20) (DLC Unlocker) (eShop).nsp"
Your account is still enabled on my ftp ;-)
-
Thanks for the datfile.....
I will have a look
-
stop .... waits....looks like a layer 8 problem .........damned.......loaded the wrong dat file with the new XML-pathfile........
Scannning now with no "start errors"
-
so....your issue is...hmm..no issue anymore? ;-)
-
scan completed ........
everything works thanks for your help
-
Sure it supports it.
Go to settings and change your rompaths (e.g. hit F2 on your setup ones and add the prefix \\?\)
That's some VERY interesting info... Maybe should be added to the sticky post...
-
yes, added to the "Hints and Tricks - 1000 things you always wanted to know" thread
-
NTFS supports 32k, however to actually use them, you need to use a different rompath style, you need to prefix them with for example: \\?\e:\mame\roms\neogeo instead of just e:\mame\roms\neogeo
Hello,
Is there any reason why Clrmamepro wouldn't make this automatically, behind the scene ?
-
no, there is no reason ;-) Just lazyness...maybe in 2019.