RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    [ERROR] [Content]: Could not read content file..

    Scheduled Pinned Locked Moved Help and Support
    nesunable to runnetwork share
    13 Posts 2 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator
      last edited by mitu

      Your ROM file is not accessible by the pi user - the permissions are wrong and only the root user is able to read and write to the file. If your roms folder is mounted via the network, make sure the pi user is able to read and write to the file share.

      EDIT: how did you set-up your roms folder via file shares ?

      B 1 Reply Last reply Reply Quote 0
      • B
        Bagarn @mitu
        last edited by Bagarn

        @mitu

        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
        
        1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator
          last edited by mitu

          @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 adding uid=pi option for the mount command.

          B 1 Reply Last reply Reply Quote 0
          • B
            Bagarn @mitu
            last edited by

            @mitu

            Tried with uid=pi,uid=1000 and uid=1000,gid=1000 in the fstab.
            Also tried sudo 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.

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @Bagarn
              last edited by

              @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 ?

              B 1 Reply Last reply Reply Quote 0
              • B
                Bagarn @mitu
                last edited by Bagarn

                @mitu

                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'
                
                1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator
                  last edited by

                  I would double check then the mount command on the client that it has the right options so the pi user can read/write the shares
                  There's no other configuration that's needed.

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    Bagarn @mitu
                    last edited by Bagarn

                    @mitu

                    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?

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @Bagarn
                      last edited by

                      @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.

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        Bagarn @mitu
                        last edited by

                        @mitu

                        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.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        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.