libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.14k stars 1.82k forks source link

Problem with selecting arcade dat file on switch version of retroarch #13265

Open chikenstew opened 2 years ago

chikenstew commented 2 years ago

I'm trying to do import content>manual scan on the latest switch version of retroarch (1.9.13), but whenever I select an arcade dat file, it always gives me "dat file too large insufficient free memory" error no matter which dat file I select.

icescoop12 commented 7 months ago

has this been fixed or is there a solution?

ChrysMacZ commented 6 months ago

I'm think not, same problem for me on TvOs

zpaolo11x commented 4 months ago

Same issue on ipadOS, now that RA is available to all non-jailbroken ipads this is becoming a major issue...

zpaolo11x commented 4 months ago

has this been fixed or is there a solution?

There is a workaround though: if you open the xml dat file in a text editor you'll notice that for each game tag there's a series of rom tags, they are listing the file inside each game .zip archive. If your roms are in zip format all these entries are not needed and you can bulk remove those lines, reducing the size of the file to a couple of megabytes, that RA will happily read and use to apply the game names.

saghul commented 4 months ago

The directory scan is working for me, just the NeoGeo ROMs were missing. I then made a manual scan with the NeoGeo only DAT file (it's 2.5MB) and that did the trick.

zpaolo11x commented 4 months ago

The directory scan is working for me, just the NeoGeo ROMs were missing. I then made a manual scan with the NeoGeo only DAT file (it's 2.5MB) and that did the trick.

It's working because you have a dat file of just 2.5MB, the one for fbNeo is 11 to 12 MB and that's causing the issue with manual scan, unless you strip the dat of all the unused tags and reduce its size.

saghul commented 4 months ago

Correct. My point was that (for me at least) the non-manual scan worked for fbneo, excep for the NeoGeo games, and manually scanning just those is fine because the file is indeed smaller.