Two empty playlists appearing in menu with no .lpl files presnt

Hello,

I recently installed Lakka on an RPI3 and decided to try scanning every directory all at once, which didn’t work very well. Since then, I’ve had two empty playlists in my menu, both showing up as black squares. One of them actually has an entry in it, but it’s another black square with no name for the file itself. When I try to play it, it just causes the screen it go black for a few seconds and then goes back to the main menu.

I don’t know what to do about this. I’ve tried deleting every .lpl file, but the two playlists are still there. I also tried deleting the retroarch.cfg file, but even though the settings reset, the two empty playlists remain. I’ve never encountered anything like this before; usually, I can delete settings and something like this goes away, but it’s still there.

In addition, when I try to scan for games, not all of the games get scanned and go into the playlists. For example, the worst offender is the Atari 7800. Only three of the games end up in the playlist! There are over 300 in reality. What can I do about this? I just want to clean everything up and make it so everything shows up and there aren’t any ugly black squares in the menu, but there doesn’t seem to be anything causing the squares to show up, nor does there seem to be a reason why not every game is showing up in the playlists. This happens for other systems, too, but it’s the worst with the 7800.

Thank you very much for your help.

Here’s a log for starting and stopping retroarch:

RetroArch [INFO] :: === Build =======================================
Capabilities: NEON VFPv3 VFPv4 
Built: Aug 11 2016
RetroArch [INFO] :: Version: 1.3.6
RetroArch [INFO] :: Git: c79651a
RetroArch [INFO] :: =================================================
RetroArch [INFO] :: Looking for config in: "/storage/.config/retroarch/retroarch.cfg".
RetroArch [INFO] :: Config: loading config from: /storage/.config/retroarch/retroarch.cfg.
RetroArch [INFO] :: Resetting undo buffers.
RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch [INFO] :: Version of libretro API: 1
RetroArch [INFO] :: Compiled against API: 1
RetroArch [INFO] :: Set audio input rate to: 29975.00 Hz.
RetroArch [INFO] :: Found shader "/usr/share/common-shaders/bilinear.glslp"
RetroArch [INFO] :: Found shader "/usr/share/common-shaders/nearest.glslp"
RetroArch [INFO] :: Found shader "/usr/share/common-shaders/stock.glsl"
RetroArch [INFO] :: Video @ 1280x960
RetroArch [INFO] :: Starting threaded video driver ...
RetroArch [INFO] :: [EGL]: EGL version: 1.4
RetroArch [INFO] :: [EGL]: Current context: 0x1.
RetroArch [INFO] :: Found GL context: videocore
RetroArch [INFO] :: Detecting screen resolution 1280x720.
RetroArch [INFO] :: [EGL]: eglSwapInterval(1)
RetroArch [INFO] :: [EGL]: eglSwapInterval(1)
RetroArch [INFO] :: [GL]: Vendor: Broadcom, Renderer: VideoCore IV HW.
RetroArch [INFO] :: [GL]: Version: OpenGL ES 2.0.
RetroArch [INFO] :: Querying GL extension: ARB_texture_non_power_of_two => doesn't exist
RetroArch [INFO] :: Querying GL extension: OES_texture_npot => exists
RetroArch [INFO] :: Querying GL extension: BGRA8888 => exists
RetroArch [WARN] :: [GL]: GLES implementation does not have BGRA8888 extension.
32-bit path will require conversion.
RetroArch [INFO] :: Querying GL extension: GL_EXT_unpack_subimage => doesn't exist
RetroArch [INFO] :: Querying GL extension: EXT_sRGB => doesn't exist
RetroArch [INFO] :: GL: Using resolution 1280x720
RetroArch [INFO] :: [GL]: Default shader backend found: glsl.
RetroArch [INFO] :: [Shader driver]: Using GLSL shader backend.
RetroArch [WARN] :: [GL]: Stock GLSL shaders will be used.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Shader log: Compiled
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Shader log: Compiled
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Shader log: Compiled
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Shader log: Compiled
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Shader log: Compiled
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Shader log: Compiled
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Shader log: Compiled
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Shader log: Compiled
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Shader log: Compiled
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Shader log: Compiled
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: [GL]: Using 4 textures.
RetroArch [INFO] :: [GL]: Loaded 1 program(s).
RetroArch [INFO] :: Querying EGL extension: KHR_image => exists
RetroArch [INFO] :: Using font rendering backend: freetype.
RetroArch [INFO] :: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
RetroArch [WARN] :: [udev]: Couldn't open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*?
RetroArch [INFO] :: [udev]: Plugged pad: USB,2-axis 8-button gamepad   (1411:8288) on port #0.
RetroArch [INFO] :: Autodetect: 125 profiles found
RetroArch [INFO] :: Autodetect: selected configuration: /tmp/joypads/udev/iBuffalo_Classic_Usb_Gamepad.cfg
RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event0) supports 0 force feedback effects.
RetroArch [INFO] :: [udev]: Plugged pad: USB,2-axis 8-button gamepad   (1411:8288) on port #1.
RetroArch [INFO] :: Autodetect: 125 profiles found
RetroArch [INFO] :: Autodetect: selected configuration: /tmp/joypads/udev/iBuffalo_Classic_Usb_Gamepad.cfg
RetroArch [INFO] :: [udev]: Pad #1 (/dev/input/event1) supports 0 force feedback effects.
RetroArch [INFO] :: Found joypad driver: "udev".
RetroArch [INFO] :: ALSA: Using signed 16-bit format.
RetroArch [INFO] :: ALSA: Period size: 384 frames
RetroArch [INFO] :: ALSA: Buffer size: 1536 frames
RetroArch [INFO] :: Found menu display driver: "menu_display_gl".
RetroArch [INFO] :: Querying GL extension: ARB_framebuffer_object => doesn't exist
RetroArch [INFO] :: Using font rendering backend: freetype.
RetroArch [INFO] :: Using font rendering backend: freetype.
RetroArch [INFO] :: SRAM will not be saved.
RetroArch [INFO] :: null: [/storage/.config/retroarch/content_history.lpl].

RetroArch [INFO] :: Saving config at path: "/storage/.config/retroarch/retroarch.cfg"
RetroArch [INFO] :: Saved new config to "/storage/.config/retroarch/retroarch.cfg".
RetroArch [INFO] :: Resetting undo buffers.
RetroArch [INFO] :: Threaded video stats: Frames pushed: 2891, Frames dropped: 0.
RetroArch [INFO] :: Monitor FPS estimation is disabled for threaded video.
RetroArch [INFO] :: Monitor FPS estimation is disabled for threaded video.

Okay the easiest question to answer has been hit upon several times. The ROM files have to be clean, no-intro related roms. So basically, when the built in ROM scan does it’s thing, it is looking for a specific set of MD5 sums before it accepts a ROM and adds it to the play lists. So if you know you have good dumps of ROMs, then you should be able to change the playlist files, and add the missing files to the playlists using a Unix terminator compatible text editor. An example of one for Windows would be Notepad ++

As for dealing with the black squares, you claim there isn’t a playlist given to them, therefore you should just be able to reboot and it will clean these up. If not, try dumping all the lpl files from the /storage/playlists directory and reboot then rescan each games directory one by one. Worst case scenario, with this being a Raspi 3, just start over with a fresh reflash of the SD card and be more careful about what directories you scan.

Was having same issue with black squares… see here http://libretro.com/forums/showthread.php?t=6816

Anyway, once I updated to latest nightly there were no black squares any longer and instead there’s an icon for pictures, videos, and music.

Would that be a the top or the bottom of the update list? For some reason I’m having a hard time telling with the date codes that are displayed in the update file names.

I am using no-intro sets entirely, so I don’t know why the roms aren’t being picked up by the scan. Is there a script I can run to generate an lpl file? It’s really slow doing it from Lakka. I’m on OSX, if that helps.

I downloaded this one Lakka-Generic.x86_64-devel-20160917124156-r21587-g0fb570f.tar and copied it into the update folder and restarted.

If I remember correctly, it will be the one in the bottom.

This one is from the September 17th, 2016 Lakka-Generic.x86_64-devel-20160917124156-r21587-g0fb570f.tar

That update doesn’t seem to be in the list for me on the RPI3, so either it’s not available for my device, or I have to get it manually. I see that the word generic is in the file name, so maybe I should just reflash the SD card and start all over again. I didn’t want to do that because it takes a very long time to transfer all the roms over the network, but I don’t seem to have a choice. I would still like to get a script for creating playlists if possible, or maybe some pre-generated playlists, seeing as how I already have the no-intro sets entirely anyway.

EDIT: I jumped to conclusions a bit in this post; I was able to update Lakka on my RPI by downloading the update manually to the .update folder using wget, which was quick and easy. Now to see if playlists populate like they should.

This is RPi2/3 nightly buildfor testing purpose. We will soon release a new version.

Thank you. I was already able to find it and update it, but I’m still having trouble getting playlists to populate with all of my no-intro roms. I was wondering if you have a solution or any ideas for this. Thanks a lot

For which system ?

All of them, but the worst offender is the Atari 7800, which only shows three files, two of which are the BIOS files in there. Even the SNES only shows a partial list, where it’ll have, for example, the European Yoshi’s Island, but not the USA version.

You need to find correct roms set and not all are using no intro set.

Is anyone of you using a Mac?

I had ‘two black squares’ in my playlist. After investigating the playlists folder using the terminal (ls -a playlists), I discovered two hidden files, .DS_Store and ..DS_Store. After deleting them (rm playlists/.DS_Store playlists/..DS_Store) the black squared had vanished.

Those files were written by my macbook when I connected to the playlists folder using Samba.

Is anyone of you using a Mac?

I had ‘two black squares’ in my playlist. After investigating the playlists folder using the terminal (ls -a playlists), I discovered two hidden files, .DS_Store and ..DS_Store. After deleting them (rm playlists/.DS_Store playlists/..DS_Store) the black squares had vanished.

Those files were written by my macbook when I connected to the playlists folder using Samba.

Hope this helps some,

Kind regards, Martin

I was using a Mac, but I’m away from the place where I set up Lakka on the Pi. I’ll have to see if there’s a difference when I do it again here.

Also, I looked at some of that list, gouchi. It says the 7800 is using the no-intro set and that it has playlist support. Shouldn’t the scan pick up all the games then?. It would only pick up one or two.

Anyway, I’ll try it all again at some point. It was doing the same sort of thing with the SNES set. I I just want to get it all nice and clean.

Thanks for all the help, everyone.