Every time I play dreamcast, displays the setting screen time/date
-
@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.
-
@jonsim Well done!
-
Here is the replacement reicast binary, which I compiled for Raspberry Pi:
https://www.dropbox.com/s/dh1umn50tqgxrg1/reicast?dl=0It'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 reicastThis 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 reicastI'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
-
@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.)
-
@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.
-
@jonsim this works perfect on my setup. Thanks for doing this!
-
WOAW excellent :D
Do you think there are some other fix for games you can add to improve this emulator on PI ?
Thanks -
@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!
-
@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 -
@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=rpi2You should probably send a pull request for it to the RetroPie fork.
-
@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!
-
@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.
-
@jonsim Great thanks for this work :)
-
@jonsim Worked perfectly for me, drag and drop it in directory with ftp client and changed permissions manualy. Thanks a lot!
-
@jonsim There are some comments attached to your pull request about cleaning up indentions.
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.