• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.6k 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.
  • B
    Bagarn @mitu
    last edited by Bagarn 17 Jan 2023, 12:05

    @mitu

    -rwxr-xr-x 1 root root 141891 Jan 16 17:59 '/home/pi/RetroPie/roms/nes/Adventure Island 3 (USA).zip'
    

    edit: Getting the same error for n64 games.

    psx, neogeo, sega genesis and snes works fine.

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by mitu 17 Jan 2023, 13:08

      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 17 Jan 2023, 13:16 Reply Quote 0
      • B
        Bagarn @mitu
        last edited by Bagarn 17 Jan 2023, 13:16

        @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
        • M
          mitu Global Moderator
          last edited by mitu 17 Jan 2023, 13:18

          @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 17 Jan 2023, 13:33 Reply Quote 0
          • B
            Bagarn @mitu
            last edited by 17 Jan 2023, 13:33

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

            M 1 Reply Last reply 17 Jan 2023, 13:35 Reply Quote 0
            • M
              mitu Global Moderator @Bagarn
              last edited by 17 Jan 2023, 13:35

              @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 17 Jan 2023, 13:40 Reply Quote 0
              • B
                Bagarn @mitu
                last edited by Bagarn 17 Jan 2023, 13:40

                @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
                • M
                  mitu Global Moderator
                  last edited by 17 Jan 2023, 13:53

                  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 17 Jan 2023, 14:02 Reply Quote 0
                  • B
                    Bagarn @mitu
                    last edited by Bagarn 17 Jan 2023, 14:02

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

                    M 1 Reply Last reply 17 Jan 2023, 15:21 Reply Quote 0
                    • M
                      mitu Global Moderator @Bagarn
                      last edited by 17 Jan 2023, 15:21

                      @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 17 Jan 2023, 18:18 Reply Quote 0
                      • B
                        Bagarn @mitu
                        last edited by 17 Jan 2023, 18:18

                        @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
                        13 out of 13
                        • First post
                          13/13
                          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.

                          This community forum collects and processes your personal information.
                          consent.not_received