EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: drake008 on 03 December 2017, 10:34

Title: TOSEC ISO problems witrh long filenames and rebuilding
Post by: drake008 on 03 December 2017, 10:34
Well I get always errors when rebuilding the TOSEC-ISO set. It seems that I have to long filenames in it. Can you program clrmamepro so that it utilize longer filenames or isn'T that possible?
Title: Re: TOSEC ISO problems witrh long filenames and rebuilding
Post by: Roman on 03 December 2017, 13:15
Generally you got a maximum path name limit given by Windows, which is defined as something around 260 characters. However you can switch to UNC style path which the windows api supports, too and then you can have up to 32k characters....this can be achieved by using a "\\?\" prefix in the pathname.

Title: Re: TOSEC ISO problems witrh long filenames and rebuilding
Post by: drake008 on 16 December 2017, 12:58
How can I enter this command? Is it from Clrmamepro or is this complete different?
Title: Re: TOSEC ISO problems witrh long filenames and rebuilding
Post by: Roman on 16 December 2017, 16:20
it's not a command...it's a prefix for pathnames

for example: \\?\e:\mame\roms\neogeo instead of just e:\mame\roms\neogeo
Title: Re: TOSEC ISO problems witrh long filenames and rebuilding
Post by: oxyandy on 18 December 2017, 23:13
If you keep CMP & your set root folder names as short as possible it may help your problem
D:/cmp
D:/set
Title: Re: TOSEC ISO problems witrh long filenames and rebuilding
Post by: coccola on 24 January 2018, 18:42
https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/ (https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/)
Title: Re: TOSEC ISO problems witrh long filenames and rebuilding
Post by: Roman on 25 January 2018, 07:57
Actually there is no registry hacking needed when using unc style path names....
Title: Re: TOSEC ISO problems witrh long filenames and rebuilding
Post by: oxyandy on 25 January 2018, 08:14
Roman does CMP use this method when it is doing internal operations
such as extracting a file from an archive into the temp directory ?
Title: Re: TOSEC ISO problems witrh long filenames and rebuilding
Post by: Roman on 25 January 2018, 08:22
This is not a method. It's simply what you specified as path for example: \\?\e:\mame\roms\neogeo instead of just e:\mame\roms\neogeo