RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Raspberry Pi 4B 4GB and the Sega Saturn

    Scheduled Pinned Locked Moved Ideas and Development
    saturnemulationimprovement
    234 Posts 43 Posters 78.1k 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
      barbudreadmon @DreamcastKid
      last edited by barbudreadmon

      @dreamcastkid said in Raspberry Pi 4B 4GB and the Sega Saturn:

      no frame skipping on or flickering fireballs

      One of those statements is false.
      Just to be clear, the fireballs must flicker, they do in all 2D street fighters afaik, flickering was an effect used to fake transparency before 3D systems, it is about showing an element for 1 frame then not showing it in the next one, and repeat.
      If your fireballs don't flicker, then that means the frames when the fireball is invisible are skipped, and you have frameskip on.

      FBNeo developer - github - forum

      1 Reply Last reply Reply Quote 0
      • A
        acidtech @barbudreadmon
        last edited by acidtech

        @barbudreadmon Sorry, but that video was horrible. I compiled a version of Yabause/Sanshiro last year/early this year and played Sega Rally significantly better than that and that was just a goof to see what was could be done.

        see link below.

        So don't get too down based on that video.

        Found the old thread: https://retropie.org.uk/forum/topic/24568/is-yabasanshiro-emulator-coming-on-retropie/268?_=1613102464587

        Follow the instructions there(you will have to piece them together somewhat but its not that hard) and you should be able to build a standalone yabause/yaba sanshiro that plays sega rally decently. Not completely without frame skip but way better than that video shows.

        B 1 Reply Last reply Reply Quote 1
        • B
          barbudreadmon @acidtech
          last edited by

          @acidtech said in Raspberry Pi 4B 4GB and the Sega Saturn:

          I compiled a version of Yabause/Sanshiro last year/early this year and played Sega Rally significantly better than that and that was just a goof to see what was could be done.

          I know the situation, actually i was the one who recommended to use standalone and to forget about the libretro core i wrote.
          With standalone version it will be significantly faster :

          • because you won't have to go through the libretro api for gl rendering, the most significant overhead you'll get with a libretro core over its standalone version is when opengl/gles is involved
          • because standalone version of yabasanshiro is offloading part of the rendering to a subthread, which is something impossible to do with the libretro api

          FBNeo developer - github - forum

          Z 1 Reply Last reply Reply Quote 0
          • Z
            Zering @barbudreadmon
            last edited by

            @barbudreadmon How do you go about installing the standalone core on the pi 4?

            B 1 Reply Last reply Reply Quote 0
            • B
              barbudreadmon @Zering
              last edited by

              @zering clone the pi4 branch with git clone https://github.com/devmiyax/yabause.git -b pi4 then follow the steps at https://github.com/devmiyax/yabause/tree/pi4/yabause/src/retro_arena#retropie-on-raspberry-pi-4 to build it ?

              FBNeo developer - github - forum

              Z 1 Reply Last reply Reply Quote 0
              • Z
                Zering @barbudreadmon
                last edited by

                @barbudreadmon Thanks. I've successfully cloned the branch but when I try the first cmake command I get a bash command not found error. Is it possible there's an error in the syntax?

                B 1 Reply Last reply Reply Quote 0
                • B
                  barbudreadmon @Zering
                  last edited by

                  @zering i think that command line expects you to run https://github.com/devmiyax/yabause/tree/pi4/yabause/src/retro_arena#get-source-code first

                  FBNeo developer - github - forum

                  Z 1 Reply Last reply Reply Quote 0
                  • Z
                    Zering @barbudreadmon
                    last edited by

                    @barbudreadmon Thanks, I got it working. Very impressed with the results. Finally I can play Panzer Dragoon Saga again!

                    A 1 Reply Last reply Reply Quote 0
                    • G
                      G30FF
                      last edited by

                      I followed the instructions to install standalone yabasanshiro for my Pi 4, and it's up and running. I tried a couple of games, and they work great! However I'm having one minor issue I'm hoping for help with. It says in the README that select is hard mapped to Show/Hide Menu, but even after mapping select manually through keymapv2.json in ~/.yabasanshiro, it's not recognizing select on my controller. I can only open the menu with Esc on a keyboard. Also, I need to use a mouse to navigate or interact with the Yabasanshiro menu. Is it possible to do this with just a controller? Sorry if this is a dumb question or one that has already been answered.

                      1 Reply Last reply Reply Quote 0
                      • A
                        AdamBeGood @Zering
                        last edited by AdamBeGood

                        @zering I've done something wrong here.

                        Is this the order of code?

                        $ apt update 
                        $ apt install -y git python-pip cmake build-essential protobuf-compiler libprotobuf-dev libsecret-1-dev libssl-dev libsdl2-dev libboost-all-dev 
                        $ git clone https://github.com/devmiyax/yabause.git
                        $ cd yabause
                        $ git submodule update --init --recursive
                        $ mkdir build
                        $ cd build
                        
                        $ cmake ../yabause -DGIT_EXECUTABLE=/usr/bin/git -DYAB_PORTS=retro_arena -DYAB_WANT_DYNAREC_DEVMIYAX=ON -DYAB_WANT_ARM7=ON -DCMAKE_TOOLCHAIN_FILE=../yabause/src/retro_arena/pi4.cmake -DCMAKE_INSTALL_PREFIX=/opt/retropie/emulators/yabause/
                        $ make 
                        $ sudo make install
                        

                        I get all kinds of errors on the cmake line:

                        CMake Error at /usr/share/cmake-3.13/Modules/CMakeDetermineSystem.cmake:100 (message):
                          Could not find toolchain file: ../yabause/src/retro_arena/pi4.cmake
                        Call Stack (most recent call first):
                          CMakeLists.txt:1 (project)
                        
                        
                        CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
                        CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
                        CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
                        -- Configuring incomplete, errors occurred!
                        

                        It was going smoothly until then, I thought I was on to a winner!

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          barbudreadmon @AdamBeGood
                          last edited by

                          @adambegood you need to add -b pi4 to the git clone command

                          FBNeo developer - github - forum

                          shavecatS A 2 Replies Last reply Reply Quote 0
                          • shavecatS
                            shavecat @barbudreadmon
                            last edited by

                            Hey
                            im trying to update lr-yabasanshiro
                            But im getting this error -
                            8653cd0e-5ff5-4816-be28-78c604b9c621-image.png
                            Help ? :)

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              AdamBeGood @barbudreadmon
                              last edited by AdamBeGood

                              @barbudreadmon Okay, thank you so much. I could have realised that, it was written elsewhere.

                              0abe4f28-2859-4afd-af42-87c2bf7d45b5-image.png

                              I've deleted the home/pi/yabause directory, but I still get

                              root@retropie:~# git clone https://github.com/devmiyax/yabause.git -b pi4       
                              fatal: destination path 'yabause' already exists and is not an empty directory.
                              

                              Any idea how I reset that? Thanks very much for the help.

                              B 1 Reply Last reply Reply Quote 0
                              • A
                                AdamBeGood @shavecat
                                last edited by

                                @shavecat said in Raspberry Pi 4B 4GB and the Sega Saturn:

                                Hey
                                im trying to update lr-yabasanshiro
                                But im getting this error -
                                8653cd0e-5ff5-4816-be28-78c604b9c621-image.png
                                Help ? :)

                                I think this is dealt with previously, if you scroll up. It rings a massive bell to me.

                                shavecatS 1 Reply Last reply Reply Quote 0
                                • shavecatS
                                  shavecat @AdamBeGood
                                  last edited by shavecat

                                  I already have it
                                  i just cant update it

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    barbudreadmon @AdamBeGood
                                    last edited by

                                    @adambegood said in Raspberry Pi 4B 4GB and the Sega Saturn:

                                    I've deleted the home/pi/yabause directory, but I still get
                                    ...
                                    root@retropie:~# git clone https://github.com/devmiyax/yabause.git -b pi4

                                    Judging by the root@retropie:~# prompt, you aren't in /home/pi folder, you are in /root folder, and you probably have a /root/yabause folder.

                                    FBNeo developer - github - forum

                                    shavecatS A 2 Replies Last reply Reply Quote 0
                                    • shavecatS
                                      shavecat @barbudreadmon
                                      last edited by

                                      Hey
                                      so im trying to install the stand alone
                                      following that
                                      https://github.com/devmiyax/yabause/tree/pi4/yabause/src/retro_arena#get-source-code
                                      but im getting errors
                                      already at the start

                                      pi@retropie:~ $ apt update
                                      Reading package lists... Done
                                      E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
                                      E: Unable to lock directory /var/lib/apt/lists/
                                      W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
                                      W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
                                      pi@retropie:~ $
                                      
                                      

                                      i am root user
                                      so its wierd

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        AdamBeGood @shavecat
                                        last edited by

                                        @shavecat said in Raspberry Pi 4B 4GB and the Sega Saturn:

                                        Hey
                                        so im trying to install the stand alone
                                        following that
                                        https://github.com/devmiyax/yabause/tree/pi4/yabause/src/retro_arena#get-source-code
                                        but im getting errors
                                        already at the start

                                        pi@retropie:~ $ apt update
                                        Reading package lists... Done
                                        E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
                                        E: Unable to lock directory /var/lib/apt/lists/
                                        W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
                                        W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
                                        pi@retropie:~ $
                                        
                                        

                                        i am root user
                                        so its wierd

                                        Are you 100% sure you are logged in as root? I am pretty sure it would say root@retropie if you were, and those errors look like you're not also..

                                        shavecatS 1 Reply Last reply Reply Quote 0
                                        • shavecatS
                                          shavecat @AdamBeGood
                                          last edited by shavecat

                                          @adambegood
                                          maybe not
                                          how do i check it ???

                                          thanks

                                          i add sudo to the start
                                          sudo apt update
                                          still dont work

                                          
                                          Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.8 kB]
                                          Hit:2 http://pipplware.pplware.pt/pipplware/dists/buster/main/binary ./ InRelease
                                          Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [364 kB]
                                          Get:4 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
                                          Get:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
                                          Fetched 13.4 MB in 11s (1,205 kB/s)
                                          Reading package lists... Done
                                          Building dependency tree
                                          Reading state information... Done
                                          212 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                          N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
                                          N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
                                          N: Skipping acquire of configured file 'non-free/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
                                          N: Skipping acquire of configured file 'rpi/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
                                          
                                          
                                          A 1 Reply Last reply Reply Quote 0
                                          • A
                                            AdamBeGood @shavecat
                                            last edited by

                                            @shavecat said in Raspberry Pi 4B 4GB and the Sega Saturn:

                                            @adambegood
                                            maybe not
                                            how do i check it ???

                                            thanks

                                            i add sudo to the start
                                            sudo apt update
                                            still dont work

                                            
                                            Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.8 kB]
                                            Hit:2 http://pipplware.pplware.pt/pipplware/dists/buster/main/binary ./ InRelease
                                            Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [364 kB]
                                            Get:4 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
                                            Get:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
                                            Fetched 13.4 MB in 11s (1,205 kB/s)
                                            Reading package lists... Done
                                            Building dependency tree
                                            Reading state information... Done
                                            212 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                            N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
                                            N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
                                            N: Skipping acquire of configured file 'non-free/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
                                            N: Skipping acquire of configured file 'rpi/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
                                            
                                            

                                            How are you accessing the terminal?

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