Page 1 of 1

Error on ROMS database update.

Posted: Mon Apr 18, 2022 10:14 pm
by droman
Hi, my mGalaxy version is 8.5.0.0


I have tried to update the MAME ROMS database, but it always gives me an error.
The full path of the ROMS folder is F:/EMU/MAME/ROMS
And this is the error:

Code: Select all

Message: La ruta de acceso no tiene un formato válido.
StackTrace:    en System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   en System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   en System.IO.Path.InternalGetDirectoryName(String path)
   en System.IO.Path.GetDirectoryName(String path)
   en (MainWindow , UserSystem )
   en mGalaxy_Runway.MainWindow.RomSyncUpdate_GetDb_Mame(UserSystem userSys)
   en (MainWindow , Object , RunWorkerCompletedEventArgs )
   en mGalaxy_Runway.MainWindow.RomSyncUpdate_GetUserFiles_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
   en System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
   en System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
   en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   en System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Source: mscorlib
TargetSite: System.String LegacyNormalizePath(System.String, Boolean, Int32, Boolean)
The folder for mGalaxy is F:/EMU/mGalaxy

Thanks in advance and sorry for my english.

Mi computer is configured in Spanish (Spain).

Re: Error on ROMS database update.

Posted: Tue Apr 19, 2022 9:14 am
by mgalaxy
If you move the roms folder at the root of f (so: F:\ROMS) do you get the same error?

Re: Error on ROMS database update.

Posted: Tue Apr 19, 2022 9:41 am
by droman
mgalaxy wrote: If you move the roms folder at the root of f (so: F:\ROMS) do you get the same error?
I'll try it this afternoon and let you know.
Thanks.

Re: Error on ROMS database update.

Posted: Tue Apr 19, 2022 2:37 pm
by droman
Yes, same error.

NOTE: 
Ok... I know what the mistake is. I was running the app without having admin rights.
It is necessary?


Re: Error on ROMS database update.

Posted: Thu Apr 21, 2022 8:47 am
by mgalaxy
droman wrote: Yes, same error.

NOTE: 
Ok... I know what the mistake is. I was running the app without having admin rights.
It is necessary?
No, it shouldn't, unless you want to read/write to the C:\ProgramFiles folder

Re: Error on ROMS database update.

Posted: Fri Apr 22, 2022 7:50 am
by droman
Well no, I don't have to read anything in that directory, I don't understand why, but it works correctly with administrator permissions. It works for me on that machine.

Thanks.