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.
    • F
      Folly @lcsjuniorsi
      last edited by Folly

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

      @Folly Hi
      I changed the <command> in es_systems.cfg for dreamcast, but it did not work.
      I tried with an RTC module and also had no success:
      https://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi/overview

      However, I found the performance of the best game to call for ...reicast %ROM%.
      In a few days I come back to do more tests and study reicast.

      Too bad it did not work.

      Can you try booting reicast directly from X in terminal ?
      Set the time 5 minutes before the clock in X.
      Exit and boot reicast again directly from X in terminal.
      Does the time and date stick without re-entering ?

      lcsjuniorsiL 1 Reply Last reply Reply Quote 0
      • lcsjuniorsiL
        lcsjuniorsi @Folly
        last edited by

        @Folly Hi,

        I formatted the SD and added only the bios and a game, did the proceedings:

        • Deleted all of the vmu_save _ *.bin files and re-created.
        • Changed 5 minutes before and test.
        • I left zeroed datetime 01/01/1998 00:00 and test.
        • Changed the runcommand to call reicast directly.
        • Changed 5 minutes before and test.
        • I left zeroed datetime 01/01/1998 00:00 and test.
        • I changed the timezone with rasp-config.
        • Changed 5 minutes before and test.
        • I left zeroed datetime 01/01/1998 00:00 and test.
        • I returned the runcommand configuration.
        • Added the RTC module and made the following procedures:
        • https://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi/overview
        • I checked with the RTC commands:
        • hwclock -r
        • timedatectl
        • Changed 5 minutes before and test.
        • I left zeroed datetime 01/01/1998 0:00 and test.
        • I found that the Dreamcast.RTC parameter store 20 years later.
        • I left datetime xx/xx/ 1996 xx: xx and test.
        • I made a brief analysis of the source code reicast.

        Still, nothing to solve.

        I had no time to check the output as you suggested, however, it seems that this is a known bug:

        • https://github.com/reicast/reicast-emulator/issues/922
        • https://github.com/reicast/reicast-emulator/issues/863
        F 1 Reply Last reply Reply Quote 0
        • F
          Folly @lcsjuniorsi
          last edited by

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

          @Folly Hi,
          @
          I formatted the SD and added only the bios and a game, did the proceedings:

          • Deleted all of the vmu_save _ *.bin files and re-created.
          • Changed 5 minutes before and test.
          • I left zeroed datetime 01/01/1998 00:00 and test.
          • Changed the runcommand to call reicast directly.
          • Changed 5 minutes before and test.
          • I left zeroed datetime 01/01/1998 00:00 and test.
          • I changed the timezone with rasp-config.
          • Changed 5 minutes before and test.
          • I left zeroed datetime 01/01/1998 00:00 and test.
          • I returned the runcommand configuration.
          • Added the RTC module and made the following procedures:
          • https://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi/overview
          • I checked with the RTC commands:
          • hwclock -r
          • timedatectl
          • Changed 5 minutes before and test.
          • I left zeroed datetime 01/01/1998 0:00 and test.
          • I found that the Dreamcast.RTC parameter store 20 years later.
          • I left datetime xx/xx/ 1996 xx: xx and test.
          • I made a brief analysis of the source code reicast.

          Still, nothing to solve.

          I had no time to check the output as you suggested, however, it seems that this is a known bug:

          • https://github.com/reicast/reicast-emulator/issues/922
          • https://github.com/reicast/reicast-emulator/issues/863

          Hi,

          Did not have the possibility to reply in the last couple of days.
          But, thank you for trying all that what you described.

          Seems we'll have to wait to get it fixed somehowe.

          • list item
          1 Reply Last reply Reply Quote 0
          • A
            ango
            last edited by

            just found a solution for the time/date setting bug.

            • Install dreamcast emulator "NullDC"
            • start dreamcast without a game and you are in the bios
            • make your settings (date,time,language) and exit the bios
            • NullDC just craete a new file in the /data directory : dc_nvmem.bin
            • rename dc_nvmem.bin to dc_flash.bin and copy the file to your raspberry pi /bios folder, overwrite existing file
            • start reicast with a game and have fun without the date/time setting screen
            edmaul69E V 2 Replies Last reply Reply Quote 2
            • edmaul69E
              edmaul69 @misslehead3
              last edited by

              @misslehead3 i havent tried modified runcommand but in normal setting a rtc does not fix it. I just verified that my rtc is fully working and still no dice.

              1 Reply Last reply Reply Quote 0
              • edmaul69E
                edmaul69 @ango
                last edited by

                @ango this did not work for me. Not sure if it is because i have a realtime clock or not

                1 Reply Last reply Reply Quote 0
                • V
                  vretro @ango
                  last edited by

                  @ango can you share your dc_nvmem.bin file?

                  1 Reply Last reply Reply Quote 2
                  • SinatraS
                    Sinatra
                    last edited by

                    I did what ango said and it worked for me. Here is my dc_flash.bin file.

                    https://www.mediafire.com/?xv8ls6hqfx0f3od

                    V 1 Reply Last reply Reply Quote 2
                    • D
                      danyo
                      last edited by

                      Replacing the dc_flash.bin didnt work for me.

                      Solution:
                      Setting the clock (and btw recreating the broken VMUs for saving games) is working by using the Systemmanager entry in the ES Dreamcast Menu. If the entry is missing, execute the following command and restart ES:
                      ln -sv fileThatDoesNotExist ~/RetroPie/roms/dreamcast/systemManager.cdi

                      G 1 Reply Last reply Reply Quote 0
                      • V
                        vretro @Sinatra
                        last edited by

                        @Sinatra Thanks! Could this ship with RetroPie without any issues?

                        1 Reply Last reply Reply Quote 0
                        • G
                          goigle @danyo
                          last edited by

                          @danyo Huh, replacing the dc_flash worked for me at first but then stopped working.

                          I've tried resetting the VMUs multiple times to no avail unfortunately.

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            TyphonInc @goigle
                            last edited by

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

                            @danyo Huh, replacing the dc_flash worked for me at first but then stopped working.

                            I've tried resetting the VMUs multiple times to no avail unfortunately.

                            Ditto,
                            Using the posted dc_flash filed worked for a couple of weeks, but stopped last night. I tried replacing the file, and resetting the VMU, and still get the request to set the date/time.

                            K 1 Reply Last reply Reply Quote 1
                            • K
                              krizzy @TyphonInc
                              last edited by

                              @TyphonInc Mine setup also stopped working after weeks without problems.... :( replaced dc_flash, creating new VMU's... nothing worked...

                              1 Reply Last reply Reply Quote 0
                              • D
                                danyo
                                last edited by

                                It stopped working for me too.

                                The reason for this bug is that (currently) the linux client does not exit cleanly and just halts execution. This means that it does not call the routines to save the NVRAM which results in no date and time being saved.
                                https://github.com/reicast/reicast-emulator/issues/863

                                There is already a pull-request with the fix submitted:
                                https://github.com/reicast/reicast-emulator/pull/917
                                But there is no new version of reicast available.

                                Temporary fix:
                                I found a reicast branch that contains all fixes for this problem and should be upto date with the current reicast master:
                                https://github.com/7oxicshadow/reicast-emulator

                                Is somebody able to build it and can provide the fixed emulator for us?

                                BenMcLeanB 1 Reply Last reply Reply Quote 0
                                • ShizzmoneyS
                                  Shizzmoney
                                  last edited by

                                  I couldn't get it to work using the new methods here. It seems as if (at least for me; RPi 3 w/ Retropie 4.2) reicast will only play nice with dc_flash.bin with MD5 checksum 74e3f69c2bb92bc1fc5d9a53dcf6ffe2.

                                  Granted, I can still save new games and load my saves.....so this issue of having to set the date/time each time is more cosmetic and slightly annoying rather than an impediment on actual gameplay and data loading.

                                  I agree with danyo than the software just needs to be updated to fix this issue on the majority of builds, IMO.

                                  1 Reply Last reply Reply Quote 0
                                  • BenMcLeanB
                                    BenMcLean @danyo
                                    last edited by BenMcLean

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

                                    It stopped working for me too.

                                    The reason for this bug is that (currently) the linux client does not exit cleanly and just halts execution. This means that it does not call the routines to save the NVRAM which results in no date and time being saved.
                                    https://github.com/reicast/reicast-emulator/issues/863

                                    There is already a pull-request with the fix submitted:
                                    https://github.com/reicast/reicast-emulator/pull/917
                                    But there is no new version of reicast available.

                                    Temporary fix:
                                    I found a reicast branch that contains all fixes for this problem and should be upto date with the current reicast master:
                                    https://github.com/7oxicshadow/reicast-emulator

                                    Is somebody able to build it and can provide the fixed emulator for us?

                                    I hope this gets merged in soon. :)

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