Very slow to startup mgalaxy

Get answers to questions about using mGalaxy.
Post Reply
badbob001
Newbie
Newbie
Posts: 4
Joined: Sat Aug 22, 2015 10:42 pm

When I start up mgalaxy, the screen remain black for more than ten minutes. Since I have it use the mame database, I assume the big delay is from the app parsing my rom folder to check if each rom in the database exists? What doesn't help is that my roms are on a network share, which would slow things down more.

Does mgalaxy need write access to the rom folder? On one computer with read/write access to the rom folder, mgalaxy comes up in about a minute. But on the computer with only read access, it takes a very long time.

Is there a way to optimize this? If your app is checking each file one at a time, maybe try generating an entire file listing (eg: dir /b /s *.zip *.chd) and then check each database entry with that cached file list.
Last edited by badbob001 on Thu Aug 27, 2015 11:48 am, edited 1 time in total.
User avatar
mgalaxy
Administrator
Administrator
Posts: 1192
Joined: Tue Dec 05, 2006 7:46 pm

If your app is checking each file one at a time, maybe try generating an entire file listing (eg: dir /b /s *.zip *.chd) and then check each database entry with that cached file list.
The rom list is already parsed in one shot of course!
There's no writing in the rom folder and using a shared folder doesn't impact the opening speed (I just made the test again before replying you)...so I really don't know whare the problem should come in your case!?
Last edited by mgalaxy on Thu Aug 27, 2015 2:44 pm, edited 1 time in total.
Post Reply