Oct 5th build not working with previously working roms

I’m working with a fresh install of the latest build, and for some reason my previously working NES/SNES collection will not work. They are zipped, and the error comes back “Failed to extract content”. I then tried unzipping them all, and letting the playlist generate new, and it still won’t play them. If I go back to the August builds these zipped roms play without problem.

Its interesting, but may not be related, my FBAlpha collection plays fine with the latest build, but will not play with the August build.

I am using a new microSD 64GB card on a Raspberry Pi3. This is an upgrade from my previous 8GB card. Is there a limit to size of the card that could be causing my problem?

I was able to figure it out. Somewhere between August and now, it seems that the playlist format dropped support for the “zip_archive#rom_name” format Since my playlist was manually generated, I simply modified the script to not append the #rom_name to the zip file. I’ve got my NES/SNES collection back on the newest build.

Ah, good catch. Thanks for sharing your solution.

could you explain to a noob how you did this? which script do I need to modify and how?

Sure - I’ll try to explain.

Lakka’s auto playlist creator missed a lot of my roms, so I found this Windows Powershell script that will create a Lakka playlist by scanning a directory: http://pastebin.com/5Y9qmB4U

It just needs a folder to point to as the “Lakka install” (any folder with a playlists sub folder will be fine), and then the directory to scan.

You can just comment out or delete the if statement If($ROMExtension -eq “.zip”){ $ROMZip = Get-ZipFile $ROMPath $ROMPath = “$ROMPath#$ROMZip” }

As this will put the entry into the Zipped Rom format described here: http://www.lakka.tv/doc/Playlists/

The final result should be a playlist that looks like this (notice it does NOT have #contra.nes as part of the zip path): /storage/roms/NES/Contra.zip Contra /tmp/cores/nestopia_libretro.so NES / Famicom (Nestopia UE) DETECT Nintendo - Nintendo Entertainment System.lpl

If you already have a playlist, and just want to remove the #rom_name, you can use Notepad++ (or any text editor that supports regular expression find/replace) Open the playlist, put this in the find (no quote) “#(.*)$” and keep the Replace box empty. Make sure to set the search mode to “regular expression” if using Notepad++ (its in the find/replace dialog)

Finally, it may or may not apply to you, but in my situation, my roms were extension-less. Explicitly pointing to which core to use in the playlist was not enough for Lakka, so I had to unzip all the roms, then add “.nes” to the file, then rezip. Some Google searches helped point to Powershell scripts that did all that work for me.

One final thing I forgot - dealing with Windows you have to convert line endings to Unix format before you can use it in Lakka. Fortunately Notepad++ has this under “Edit->EOL Conversion”

I have not been able to get my NES games to launch and no issues with other systems. Wrote my own python script to generate the playlists with correct line endings but still no success. Perhaps it is something with the latest lakka build on raspberry that is malfunctioning with NES. It did work with an older build I tested a few months ago and no issue on either recalbox or retropie.

You see anything that could be wrong here? Zip file contains this 1943 - The Battle of Midway (USA).nes

/storage/roms/nes/1943 - The Battle of Midway (USA).zip 1943 - The Battle of Midway (USA) DETECT DETECT 12C6D5C7|crc

Also tried this formatting

/storage/roms/nes/1943 - The Battle of Midway (USA).zip 1943 - The Battle of Midway (USA) /tmp/cores/nestopia_libretro.so NES / Famicom (Nestopia UE) 12C6D5C7|crc

You might replace the final line (the crc) with DETECT

Your format looks correct to me. For me, my NES collection did not have a “.nes” extension on the rom. The newer build of Lakka would not recognize the rom without it. I had to unzip each archive, add “.nes” to the file name, and then re-zip Fortunately I found some Windows Powershell scripts to do the unzip/rename/rezip.

Check the file in your zip, and if its missing the “.nes” extension try adding it and see how Lakka treats it. If that’s the case I’ll try to help you with the unzip/rename/zip scripts I used if you need it.

I saw after re-reading your post that the rom already ends in .nes - so I compared your format to mine. Your sample is missing line 6 -> the name of the playlist file. Also, if that still isn’t the problem, I agree with markwkidd - try replacing CRC with DETECT

/storage/roms/NES/10-Yard_Fight.zip 10-Yard Fight /tmp/cores/nestopia_libretro.so NES / Famicom (Nestopia UE) DETECT Nintendo - Nintendo Entertainment System.lpl