Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZIP not loading when using SAMBA #115

Closed
brianblakely opened this issue Apr 30, 2017 · 19 comments
Closed

ZIP not loading when using SAMBA #115

brianblakely opened this issue Apr 30, 2017 · 19 comments
Labels

Comments

@brianblakely
Copy link

So far, I have been able to reproduce this issue with both NES and SNES content:

  • Which version of Lakka are you using?
    2.0

  • What system hardware are you using?
    RPi3

  • What did you do?
    Tried to load zipped content. Selected "load archive".

  • What did you expect to happen?
    An appropriate core should become available for selection.

  • What happened instead?
    Several cores become available, but none appropriate for the content.

@kivutar
Copy link
Member

kivutar commented Apr 30, 2017

OK, what ROM was it?

@kivutar kivutar added the bug label Apr 30, 2017
@brianblakely
Copy link
Author

Mega Man 2 (US)

Super Mario Kart (US)

no-intro

@kivutar
Copy link
Member

kivutar commented Apr 30, 2017

You need to do Load Content->Super Mario Kart (US).zip->Browse Archive->Snes9x2010

I checked on my RPi3 and it works as intended, 4 Snes cores appear when I hit Browse Archive

@brianblakely
Copy link
Author

brianblakely commented Apr 30, 2017

Browse Archive shows "no items," although there is actually a single SFC file in the zip.

I've conducted some tests, and this only happens when files are served off of a Windows PC via a Samba mount. When stored locally in the Lakka device's ROMs folder, it works as expected. Is this an issue with Samba?

@kivutar
Copy link
Member

kivutar commented Apr 30, 2017

OK, it's the known SAMBA bug then. Sombody found that it was due to mounting samba shares in read only mode. RetroArch tries to unzip the rom and fails. You need to pass the rw option like that:

mount -t cifs -o user=guest,rw //{IP}/{SHARE} /storage/roms/samba

You're using a systemd unit to mount?

@brianblakely
Copy link
Author

Strange, that does not resolve the issue for me. I am not using systemd.

@brianblakely
Copy link
Author

I just gave this guide a try: http://www.lakka.tv/doc/Serving-ROMs-from-a-NAS/

Sadly, same result. Samba-mounted Super Mario Kart zip will not reveal its contents.

@kivutar
Copy link
Member

kivutar commented May 1, 2017

OK, somebody on IRC suceeded one month ago. I'm trying to find who it was to ask for advice.

@kivutar
Copy link
Member

kivutar commented May 1, 2017

Also, let check this page in case you haven't yet https://github.com/libretro/Lakka-LibreELEC/wiki/Serving-ROMs-from-a-NAS

@brianblakely
Copy link
Author

Those are the same instructions. On a side note, these instructions do not work as-written. The first line should read mkdir /storage/nas or the systemd unit should be rewritten to use /storage/roms/nas.

@kivutar
Copy link
Member

kivutar commented May 1, 2017

Thanks I fixed the docs.

@kivutar kivutar changed the title Several cores do not support ZIP ZIP not loading when using SAMBA May 11, 2017
@RobLoach
Copy link
Member

http://wiki.openelec.tv/index.php/Mounting_network_shares

Use a /storage/.config/system.d/storage-retroarch.mount file.

@kivutar
Copy link
Member

kivutar commented Jun 26, 2017

I think he did. The problem is that even when we mount rw, retroarch can't extract the content. I don't know why.

It's worth testing setting the temporary directory to /tmp

@Haris1977
Copy link

Haris1977 commented Nov 18, 2017

@brianblakely and @kivutar did y find a solution for non - working mame roms? I have the same prob..

@brianblakely
Copy link
Author

Nope, need to unzip the ROMs.

@Haris1977
Copy link

Haris1977 commented Nov 20, 2017

I dont have any problem loading snes/nes files. In fact i only have problem with my mame (mame-mame4all) roms. I dont use lakka but retropie (v4.2) but i guess they use the same cores (?). I think it is a permission matter (i use my win7 64bit pc as a server) and i cant load them. I have opened a thread here trying to get as much help.

I know it is a different thread here but maybe there are some similarities between lakka and retropie in case of cores.

On retropie's side, i think when the command is executed it tries to unzip mame roms (to the server side) but it fails. I see that cause it says "error: required files are missing" but those missing files are indeed inside the zipped rom. This happens for all of my mame roms.. I m not into a solution yet..

@Haris1977
Copy link

Haris1977 commented Nov 21, 2017

Well. After some fiddling i was able to play my mame roms through samba:) What did i do? I followed this - Option 2 - (Option 1 didnt work for me). So it was not a mame core problem but rather a "command" error. Maybe this can help you with Lakka too

@ToKe79
Copy link
Collaborator

ToKe79 commented Jan 31, 2018

Editing/modifying /etc/fstab is not possible with Lakka, as the root-fs is read-only (squashfs).

@ToKe79
Copy link
Collaborator

ToKe79 commented Sep 17, 2018

Is this still an issue? If so, feel free to re-open/post here.

@ToKe79 ToKe79 closed this as completed Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants