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:
- 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:
-
@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:
- 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:
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
-
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
-
@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.
-
@ango this did not work for me. Not sure if it is because i have a realtime clock or not
-
@ango can you share your dc_nvmem.bin file?
-
I did what ango said and it worked for me. Here is my dc_flash.bin file.
-
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 -
@Sinatra Thanks! Could this ship with RetroPie without any issues?
-
@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.
-
@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. -
@TyphonInc Mine setup also stopped working after weeks without problems.... :( replaced dc_flash, creating new VMU's... nothing worked...
-
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/863There 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-emulatorIs somebody able to build it and can provide the fixed emulator for us?
-
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.
-
@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/863There 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-emulatorIs somebody able to build it and can provide the fixed emulator for us?
I hope this gets merged in soon. :)
-
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.
-
@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. -
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 :( -
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.
-
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.
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.