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

    Is Yabasanshiro emulator coming on retropie?

    Scheduled Pinned Locked Moved Help and Support
    sega saturnemulator
    362 Posts 37 Posters 384.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.
    • pjftP
      pjft @roslof
      last edited by

      @roslof there's a -b flag, worst case we can have two entries in runcommand, one for HLE and one for BIOS.

      roslofR 1 Reply Last reply Reply Quote 0
      • roslofR
        roslof @pjft
        last edited by

        @pjft right with you. Trying to setup two emulators for -sdl.

        roslofR 1 Reply Last reply Reply Quote 1
        • roslofR
          roslof @roslof
          last edited by roslof

          When running the RetroArena build, has anybody else noticed:

          [message: json.exception.type_error.305] cannot use operator[] with number
          exception id: 305
          

          When I launch via command-line, I can move beyond the error and play. But when I launch via runcommand, I exit. I've been spending the last few hours investigating the syntax of keymapv2.json and the configuration file I'm using to test Sega Rally Championship.

          Currently look like:

          https://pastebin.com/uknjfsnj (/root/.yabasanshiro/keymapv2.json)
          https://pastebin.com/qrf8R2hU (/root/.yabasanshiro/Sega Rally Championship.chd.config)

          When runcommand crashes, the error is different (weird)...

          Added known joystick Sony Interactive Entertainment Wireless Controller (instance ID: 0, device index: 0)
          Added known joystick Sony Interactive Entertainment Wireless Controller (instance ID: 1, device index: 1)
          terminate called after throwing an instance of 'nlohmann::detail::invalid_iterator'
            what():  [json.exception.invalid_iterator.212] cannot compare iterators of different containers
          
          1 Reply Last reply Reply Quote 0
          • M
            myzar
            last edited by myzar

            @roslof what happens if you delete both ? this port uses ~/.emulationstation/es_temporaryinput.cfg if keymapv2.json is not present

            1 Reply Last reply Reply Quote 0
            • roslofR
              roslof
              last edited by

              @myzar when I delete those files, then launch yabasanshiro-sh from /opt/retropie/emulators/yabasanshiro, it rebuilds the files, but not in a good way:

              keymapv2.json (all non-axis lines look like this):

              "id": -1
              "type": "",
              "value": "-999"

              Sega Rally Championship.chd.config everything references "null":

              "Aspect rate": null,
              "Resolution": null,
              "Rotate screen": null,
              "Rotate screen resolution": null,
              "Use compute shader": null

              roslofR 1 Reply Last reply Reply Quote 0
              • roslofR
                roslof @roslof
                last edited by roslof

                I think I figured this out.

                I believe running from the command-line generates files at /root/.yabasanshiro/
                ...and running from runcommand generates files at ~/.yabasanshiro

                Was wrestling with two separate sets of configs...

                keymapv2.json in ~/.yabasanshiro was properly generated from es_temporaryinput.cfg
                keymapv2.json in root/.yabasanshiro is junk

                For game configuration files, both directories generate "null" for each setting. I suppose this is fine. Can use command-line arguments to set parameters.

                1 Reply Last reply Reply Quote 0
                • roslofR
                  roslof
                  last edited by

                  All set... Going to use these four (4) settings that consider RLE vs. real BIOS and original res vs. native res:

                  yabasanshiro-sdl = "/opt/retropie/emulators/yabasanshiro/yabasanshiro-sdl -r 3 -i %ROM%"
                  yabasanshiro-sdl-native-res = "/opt/retropie/emulators/yabasanshiro/yabasanshiro-sdl -r 0 -i %ROM%"
                  yabasanshiro-sdl-saturn_bios = "/opt/retropie/emulators/yabasanshiro/yabasanshiro-sdl -b /home/pi/RetroPie/BIOS/saturn_bios.bin -r 3 -i %ROM%"
                  yabasanshiro-sdl-saturn_bios-native-res = "/opt/retropie/emulators/yabasanshiro/yabasanshiro-sdl -b /home/pi/RetroPie/BIOS/saturn_bios.bin -r 0 -i %ROM%"
                  
                  1 Reply Last reply Reply Quote 0
                  • A
                    acidtech
                    last edited by acidtech

                    Been playing around with the YabasueEmulate function. It's pretty much the core of the emulator. Anyone else here trying to improve performance?

                    After moving some of the execution order around some it seems it doesn't matter if SH2Exec(MSH2 executes before or after the SSH2. If that is the case why aren't these threaded to run concurrently?

                    I dug a little into them and I don't see any big hold ups. I suspect in some cases there may be a syncing issue but in those cases there is no work around anyway so who cares?

                    I did some rough profiling and while running the intro of Sega Rally(used it for consistency) I saw about 10 to 20ms of processing time for the master and the slave(so 20 to 40ms total time per frame combined).

                    I also checked the RPi cpu usage. Core 4 is pegged at 100% and cores 1 thru 3 average around 50% or less(using lowest graphics settings).

                    Does anyone know any reason this absolutely cant be done? I'm planning on starting work on it unless I get a real good answer as to why it wont.

                    dankcushionsD B 2 Replies Last reply Reply Quote 0
                    • dankcushionsD
                      dankcushions Global Moderator @acidtech
                      last edited by

                      @acidtech i think you should raise an issue at the github - devyimax is the only active developer: https://github.com/devmiyax/yabause/

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

                        @acidtech said in Is Yabasanshiro emulator coming on retropie?:

                        If that is the case why aren't these threaded to run concurrently?

                        fwiw, we tried this in the kronos emulator not long ago, on desktop there was no performance benefits, it was actually slower because of all the syncing.

                        FBNeo developer - github - forum

                        1 Reply Last reply Reply Quote 1
                        • M
                          mechafatnick @myzar
                          last edited by

                          @myzar Sorry for being dim, but how do you quit the Retro-Arena build without a keyboard?

                          roslofR 1 Reply Last reply Reply Quote 0
                          • roslofR
                            roslof @mechafatnick
                            last edited by

                            @mechafatnick I'm awake, so jumping in.
                            The select button on the gamepad should be auto-mapped to the Yabasanshiro menu. Then you can select Quit.

                            M 1 Reply Last reply Reply Quote 1
                            • roslofR
                              roslof
                              last edited by

                              NVidia Vulkan driver. How'd I miss this?

                              Tom's Hardware: Nvidia Engineer's Vulkan Driver For Raspberry Pi Runs Quake III Over 100 FPS at 720p.
                              https://www.tomshardware.com/news/nvidia-engineer-vulkan-driver-raspberry-pi-quake-iii-100-fps

                              B G 2 Replies Last reply Reply Quote 0
                              • M
                                mechafatnick @roslof
                                last edited by

                                @roslof duh! thank you. Didnt think to check the controller

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

                                  @roslof said in Is Yabasanshiro emulator coming on retropie?:

                                  NVidia Vulkan driver. How'd I miss this?

                                  Tom's Hardware: Nvidia Engineer's Vulkan Driver For Raspberry Pi Runs Quake III Over 100 FPS at 720p.
                                  https://www.tomshardware.com/news/nvidia-engineer-vulkan-driver-raspberry-pi-quake-iii-100-fps

                                  Well, it's new, and it's for rpi0-3

                                  FBNeo developer - github - forum

                                  sirhenrythe5thS 1 Reply Last reply Reply Quote 0
                                  • sirhenrythe5thS
                                    sirhenrythe5th @barbudreadmon
                                    last edited by

                                    @barbudreadmon said in [Is Yabasanshiro emulator coming on retropie?

                                    Well, it's new, and it's for rpi0-3

                                    Wow, just read this, thx for giving this information @barbudreadmon!
                                    Well, i am no professional, but this sounds to me like a possible "turbocharger" for the Pi0-3.

                                    -- Retro-Achievements Username: SirALX --
                                    RetroRatio: 1.88
                                    Started Games beaten: 2,47%
                                    Site Rank: 4382/93743 ranked users (TOP 4.76%)
                                    Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

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

                                      @sirhenrythe5th said in Is Yabasanshiro emulator coming on retropie?:

                                      this sounds to me like a possible "turbocharger" for the Pi0-3

                                      that's hard to say, it would need proper testing, for software-rendered emulators the difference with gl should be marginal (assuming both drivers are of the same quality).

                                      FBNeo developer - github - forum

                                      1 Reply Last reply Reply Quote 1
                                      • saccublendaS
                                        saccublenda
                                        last edited by saccublenda

                                        Would a Vulkan rpi driver (either for pi3 or pi4) help emulation of 3D games (like psx, n64, dreamcast, etc.)?

                                        B 1 Reply Last reply Reply Quote 0
                                        • dankcushionsD
                                          dankcushions Global Moderator
                                          last edited by dankcushions

                                          i am not too optimistic about that rpi 0-3 vulkan driver - since the hardware is not vulkan compliant, it will be missing many features, which is most likely to be a deal breaker for any 3d emulator with vulkan support

                                          the rpi4 vulkan driver may be more worthwhile, but it's WIP.

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

                                            @saccublenda Hard to say without proper testing, as mentioned by @dankcushions the driver doesn't seem to be fully compliant.

                                            Also, pcsx-rearmed doesn't have vulkan support (neither gl), you would need beetle-psx-hw for vulkan support (not sure if it's a viable option speed-wise or not, was it re-evaluated on rpi after getting its dynarecs ?)

                                            FBNeo developer - github - forum

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