libretro/ludo

Ludo crashes when trying to scan GB/GBC/GBA ROMs folder

LOuroboros opened this issue · 13 comments

Basically what I say in the title.
I have my collection of GBA ROMs located in "E:\Lunos\Emulation\ROMs\GB, GBC and GBA", and when I go there by navigating through folders, Ludo closes right away.

pn_511.mp4

OK thanks for the bug report.

Can I get a list of the content of this folder?

Do you know how to launch Ludo from the command line to get a log or a stack trace?

Can I get a list of the content of this folder?

The folder contains multiple folders. In each folder there's a ROM, and in some cases there's a couple of extra files. Documentation, savefile or savestate files generated by either VBA or mGBA and such.

Do you know how to launch Ludo from the command line to get a log or a stack trace?

Well, "opening from the command line" sounds as easy as opening Ludo.exe in the Windows Command Prompt, no?

But I've no idea about how to generate a log or a stack trace 👀

Yes opening ludo.exe from the command prompt should be enough, and you can pass a flag like -v to get more logs.

Yes opening ludo.exe from the command prompt should be enough, and you can pass a flag like -v to get more logs.

I don't think it's working?

Booting up Ludo by using ludo.exe -v doesn't seem to record anything on the terminal, and if I hit "Scan this directory" the program closes just like it happened a few weeks back when I opened this issue post :/ ...

Untitled

Maybe on Windows passing a flag would be done with another syntax. Try ludo.exe /v maybe?

Maybe on Windows passing a flag would be done with another syntax. Try ludo.exe /v maybe?

Still nothing :/

explorer_894

Ah sorry for that... I don't know how to get enough information to fix this.

Maybe you can try creating a new folder where you would transfer the GB roms one by one to see if there is one in particular that causes the crash?

Ah sorry for that... I don't know how to get enough information to fix this.

Maybe you can try creating a new folder where you would transfer the GB roms one by one to see if there is one in particular that causes the crash?

Something tells me the crash is being caused by the fact that I'm trying to make Ludo read a folder with ROMs allocated in an external hard drive (E:) and the program just doesn't like that, but I'll try to move the folder to my desktop and scan it from there anyway. Will edit in a moment.

EDIT: Yep, it works normally if I scan the folder while in the Desktop.
Untitled

EDIT2: I celebrated victory too soon. I just realized that it scanned 6 games, which means it's skipping a bunch of other games, mostly ROM Hacks.

ROM hacks not being scanned is a separate issue, due to the scanner being checksum based.

What filesystem was this E drive?

ROM hacks not being scanned is a separate issue, due to the scanner being checksum based.

What filesystem was this E drive?

It's NTFS.