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

    Every time I play dreamcast, displays the setting screen time/date

    Scheduled Pinned Locked Moved Help and Support
    94 Posts 40 Posters 108.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.
    • T
      Toxicshadow
      last edited by

      I have updated my branch to hopefully fix the "date/time" problem when using RetroPie.

      Some Background:

      My initial fix for this issue was tested on both a linux desktop machine and a Raspberry PI and both worked as expected. I had never tried it with a front end launcher before as I always use them standalone.

      When I read that people were still having problems using my branch on RetroPie I ran some tests and confirmed that it did not work??? This didn't make sense as I could run it standalone and it worked fine?

      After digging around in the launch script used by RetroPie it was apparent that they make use of the command line switch "-config" which allows you to configure most of the options in the emu.cfg at launch.

      It appears that using "-config" forces Reicast to use a "virtual" configuration and as such discards everything in the emu.cfg file. This means that the dreamcast.RTC value was also being discarded and a default value being used resulting in the Dreamcast bios displaying the date/time screen.

      I have done some quick tests using my latest branch on RetroPie and the issue seems resolved.

      If any Devs are reading this and want to try it, it is important that you modify the makefile in /shell/linux to enable NO_VIRTUAL_CFG. This will allow the -config command line to modify the emu.cfg fle rather than a virtual ram copy.

      https://github.com/7oxicshadow/reicast-emulator

      darkniorD 1 Reply Last reply Reply Quote 4
      • darkniorD
        darknior @Toxicshadow
        last edited by

        @toxicshadow Is your branch is the Retropie Official one ?
        Because i don't know what is the official :(

        I also have this problem on my Dreamcast emu on my PI 3.
        And an other big problem, i can't understand how to configure my x360 controlers with it.
        I take some hours to try, to read tutorials, read threads and wiki ... i'm very sad for it :(
        I try to found a good solution too.

        Life is game, just play it !

        1 Reply Last reply Reply Quote 0
        • darkniorD
          darknior
          last edited by

          The official is : https://github.com/RetroPie/reicast-emulator

          @Toxicshadow can you ask @BuZz to see if you can merge your branch with the master one ?
          You have some 2017 little update we don't have ...

          And maybe if you have some free time you can add some other update from other branch of this fantastic emulator. I never dream to play Dreamcast on PI one day and for some games it is really perfect !

          My only other big problem was to configure the PAD :(
          Playing it with Keyboard is not really fun :(

          Life is game, just play it !

          1 Reply Last reply Reply Quote 0
          • S
            spud11
            last edited by

            Hi @Toxicshadow . I'm just wondering if you may have had any contact with @BuZz about Reicast and perhaps using your branch as the official branch of Reicast for Retropie purposes? Thanks.

            RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

            1 Reply Last reply Reply Quote 1
            • J
              jonsim
              last edited by jonsim

              So I was able to take @Toxicshadow's fix and merge it into a local clone of the RetroPie fork of Reicast, then build it successfully on my Raspberry Pi. It now properly saves the NVRAM settings and no longer prompts for date settings after the first time you set them.

              I'll post a binary shortly (it's a drop-in replacement for the Reicast binary that RetroPie installs), and I'll try to get a PR to the RetroPie fork so this can be fixed in an official RetroPie Reicast release.

              S 1 Reply Last reply Reply Quote 6
              • S
                spud11 @jonsim
                last edited by

                @jonsim Well done!

                RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

                1 Reply Last reply Reply Quote 0
                • J
                  jonsim
                  last edited by jonsim

                  Here is the replacement reicast binary, which I compiled for Raspberry Pi:
                  https://www.dropbox.com/s/dh1umn50tqgxrg1/reicast?dl=0

                  It's a drop-in replacement for the file in /opt/retropie/emulators/reicast/bin. It contains @Toxicshadow's Linux fixes so Reicast can exit cleanly and save NVRAM settings.

                  To use it, download the "reicast" file above, copy it to the root of a USB stick, and plug the USB stick into your Raspberry Pi. Then from the Raspbian shell, run these commands:
                  cd /opt/retropie/emulators/reicast/bin
                  sudo mv reicast reicast_old
                  sudo cp /media/usb0/reicast reicast
                  sudo chmod 755 reicast

                  This will go into the directory and rename the previous "reicast" file to "reicast_old", then copy the new file in, and then change the new file's mode to be executable.

                  If you want to put the old one back (if for some reason the new one doesn't work right), run these commands from the shell, which will delete the new file and replace it with the old one:
                  cd /opt/retropie/emulators/reicast/bin
                  sudo mv reicast_old reicast

                  I'll work on getting this pulled into the RetroPie/reicast-emulator GitHub repository in the next few weeks.

                  Let me know if this works for you!

                  -JonSim

                  Z D ShizzmoneyS madmodder123M R 5 Replies Last reply Reply Quote 3
                  • Z
                    zerojay @jonsim
                    last edited by

                    @jonsim It would be really great if you created a repo with the required changes added in already. I've been trying to make headway with git cherry-pick for a while now and have gotten nowhere. (I also cannot use your binaries as I'm looking to run this on the ODroid XU4.)

                    J 1 Reply Last reply Reply Quote 1
                    • J
                      jonsim @zerojay
                      last edited by

                      @zerojay Done.

                      Give https://github.com/jonsimantov/reicast-emulator/ a try.

                      Note that I pushed the changes into the "retropie" branch of my fork, not the "master" branch.

                      S 1 Reply Last reply Reply Quote 5
                      • D
                        dhp @jonsim
                        last edited by

                        @jonsim this works perfect on my setup. Thanks for doing this!

                        1 Reply Last reply Reply Quote 0
                        • darkniorD
                          darknior
                          last edited by

                          WOAW excellent :D
                          Do you think there are some other fix for games you can add to improve this emulator on PI ?
                          Thanks

                          Life is game, just play it !

                          1 Reply Last reply Reply Quote 0
                          • S
                            spud11 @jonsim
                            last edited by

                            @jonsim Hi jonsim. I updated reicast via retropie's setup manager, then copied your new reicast executable into the correct place, plus made sure it was executable. However, it won't work for me and runcommand.log provides the following error:

                            /opt/retropie/emulators/reicast/bin/reicast.sh: line 88:  2239 Segmentation fault      aoss "$rootdir/emulators/reicast/bin/reicast" "${params[@]}" > /dev/null
                            

                            I then reinstalled reicast via the setup manager to check that there is no problem with my "stock" setup. That worked. So your executable doesn't seem to work for me.

                            I see you've got your changes on github now. Could I ask please what the commands are to install your version of reicast from the github repository? Thanks.

                            And if it is Christmas Day in your neck of the woods, Happy Christmas!

                            RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

                            J 1 Reply Last reply Reply Quote 2
                            • J
                              jonsim @spud11
                              last edited by jonsim

                              @spud11 What platform are you running on? Raspberry Pi 3?

                              Assuming you have development tools installed:

                              git clone https://github.com/jonsimantov/reicast-emulator.git
                              cd reicast-emulator/shell/linux
                              (now you need to edit the Makefile to uncomment the NO_VIRTUAL_CFG=1 line)
                              make platform=rpi2

                              Z 1 Reply Last reply Reply Quote 1
                              • Z
                                zerojay @jonsim
                                last edited by

                                @jonsim said in Every time I play dreamcast, displays the setting screen time/date:

                                @spud11 What platform are you running on? Raspberry Pi 3?

                                Assuming you have development tools installed:

                                git clone https://github.com/jonsimantov/reicast-emulator.git
                                cd reicast-emulator/shell/linux
                                (now you need to edit the Makefile to uncomment the NO_VIRTUAL_CFG=1 line)
                                make platform=rpi2

                                You should probably send a pull request for it to the RetroPie fork.

                                J 1 Reply Last reply Reply Quote 0
                                • ShizzmoneyS
                                  Shizzmoney @jonsim
                                  last edited by Shizzmoney

                                  @jonsim this worked like a charm for me (I used Filezilla instead of the USB Raspbian method, renamed the old file, dragged in the one you made, and made sure to change the file permissions of the new file to 777).

                                  Thanks!

                                  1 Reply Last reply Reply Quote 1
                                  • J
                                    jonsim @zerojay
                                    last edited by

                                    @zerojay said in Every time I play dreamcast, displays the setting screen time/date:

                                    You should probably send a pull request for it to the RetroPie fork.

                                    Done. https://github.com/RetroPie/reicast-emulator/pull/6

                                    darkniorD HurricaneFanH 2 Replies Last reply Reply Quote 1
                                    • darkniorD
                                      darknior @jonsim
                                      last edited by

                                      @jonsim Great thanks for this work :)

                                      Life is game, just play it !

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        Nuts
                                        last edited by

                                        @jonsim Worked perfectly for me, drag and drop it in directory with ftp client and changed permissions manualy. Thanks a lot!

                                        1 Reply Last reply Reply Quote 1
                                        • HurricaneFanH
                                          HurricaneFan @jonsim
                                          last edited by

                                          @jonsim There are some comments attached to your pull request about cleaning up indentions.

                                          1 Reply Last reply Reply Quote 1
                                          • HexH
                                            Hex
                                            last edited by

                                            @jonsim Please cleanup the request so it can be merged.

                                            Sent from 20,000 leagues under the sea.

                                            Powersaver Emulation station : https://github.com/hex007/EmulationStation
                                            ES dev script : https://github.com/hex007/es-dev/blob/master/es-tests.sh

                                            1 Reply Last reply Reply Quote 3
                                            • 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.