[ERROR] [Content]: Could not read content file..
-
Your ROM file is not accessible by the
pi
user - the permissions are wrong and only theroot
user is able to read and write to the file. If yourroms
folder is mounted via the network, make sure thepi
user is able to read and write to the file share.EDIT: how did you set-up your
roms
folder via file shares ? -
My samba setup looks like this. (server)
[RetroPie] comment=RetroPie folder path=/home/pi/RetroPie browseable=yes guest ok=yes read only=no create mask=0777 force create mode=0777 directory mask=0777 force directory mode=02777 force user=pi
the 0777 should be that it has all the rights, rite?
fstab (client)
//piserver.local/RetroPie/roms /home/pi/RetroPie/roms cifs username=pi,password=**,,nounix,noserverino,defaults,users,auto 0 0
-
@Bagarn said in [ERROR] [Content]: Could not read content file..:
the 0777 should be that it has all the rights, rite?
That's the create mask, if the files on the server are owned also by the
root
user, they're not going to be correctly read on the client.
Try addinguid=pi
option for themount
command. -
Tried with
uid=pi
,uid=1000
anduid=1000,gid=1000
in the fstab.
Also triedsudo chmod 777 RetroPie/
on the server,I tried different games ofc, so it's not an corrupt game.. Or maybe all of my games are for nes. :D
Nothing changed, same error.
The weird part is that this only seem to affect nes and n64, the rest is working just fine.
-
@Bagarn said in [ERROR] [Content]: Could not read content file..:
Also tried sudo chmod 777 RetroPie/ on the server,
Don't do that.
What are the permissions of the file(s) on the server ?
-
pi@piserver:~ $ ls -l RetroPie/ total 4 drwxr-xr-x 35 pi pi 4096 Jan 15 13:23 roms
edit:
-rw-r--r-- 1 pi pi 141891 Jan 16 17:59 'Adventure Island 3 (USA).zip'
-
I would double check then the
mount
command on the client that it has the right options so thepi
user can read/write the shares
There's no other configuration that's needed. -
I don't think it's a permission issue here. Since I can run other games from the same drive. I tested
touch test
and test got created without any issue in the drive.Not sure how to double check the mount command, it's all there, it reads perfectly and it can run other emulators/games without any hickups.
edit:
Changed emulator and got a new message
Failed to extract content from compressed file
which might be due to permissions? -
@Bagarn said in [ERROR] [Content]: Could not read content file..:
Failed to extract content from compressed file which might be due to permissions?
Yes, it's the same problem as before - because of the permissions.
-
I figured it out!
Turns out, the zip contained
.unh
files, which is not supported. I've got some new files and it's up and running. As of n64, I had to unzip each file to get them to run.Bonus question: is there something I can do to get n64 to run more smooth (rpi 3 B+)?
Again, thanks for taking your time. And for future googlers, hope this help you out.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.