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

    Dreamcast mvc2 crashing at stage 2

    Scheduled Pinned Locked Moved Help and Support
    reicastmvc2crashingstage 2
    128 Posts 6 Posters 12.5k 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
      tackett1980 @rejesterd
      last edited by tackett1980

      @rejesterd

      Ok I have a feeling that’s what did it as well.

      I’m going to give it another try, but when I did it last time it failed to build the .elf file.

      I’ll do it again, and post the build log.

      We will get this working, it’s personal now. Lol

      1 Reply Last reply Reply Quote 0
      • R
        rejesterd
        last edited by

        @tackett1980 Sounds good. Also try deleting this file if it exists..

        /opt/retropie/configs/dreamcast/data/Marvel vs. Capcom 2.state

        Wondering if that became corrupt somehow and is affecting things.. not likely, but possible.

        It is strange to me that the unlocked characters cheat is apparently enabled for you. I actually don't know how cheats can be enabled for reicast yet.. I actually asked that question on the forum not too long ago. So that will be another thing to take a closer look at.

        One thing I'm still not understanding is how your old emu.cfg file is being preserved, if you've removed then reinstalled reicast from source. Seems like that file should be replaced with the default one. But that's just an assumption, as I actually haven't tested that specific issue. But I'll scroll up and find your emu.cfg that you posted earlier and take a look.

        T 2 Replies Last reply Reply Quote 0
        • T
          tackett1980 @rejesterd
          last edited by tackett1980

          @rejesterd

          That’s because I change the options back to the way I had them. If I keep the settings default the game runs so poorly that testing it is impossible.

          I can leave them default and post the file contents but I can’t test the game.

          Oh where is the build log located so I can post it when I do this again? Never mind I see it sorry.

          1 Reply Last reply Reply Quote 0
          • T
            tackett1980 @rejesterd
            last edited by

            @rejesterd

            Ok I tried it again and it failed to build the .elf file.

            here is the build log.

            https://we.tl/t-ia6UBCOzuO

            1 Reply Last reply Reply Quote 0
            • R
              rejesterd
              last edited by

              Looks like a toolchain/linker issue. Can you also share ~/RetroPie-Setup/tmp/build/reicast/reicast/linux/Makefile?

              T 1 Reply Last reply Reply Quote 0
              • T
                tackett1980 @rejesterd
                last edited by

                @rejesterd

                sure thing here it is:

                https://we.tl/t-1zTKYJzVrn

                1 Reply Last reply Reply Quote 0
                • R
                  rejesterd
                  last edited by

                  Ok, it seemed to like the alpha branch better (since you were able to manually build it before). So just open ~/RetroPie-Setup/scriptmodules/emulators/reicast.sh in a text editor, and find this section..

                  function sources_reicast() {
                     ## gitPullOrClone "$md_build" https://github.com/reicast/reicast-emulator.git alpha 49046aecd9e87d6ba8c1508ad6222526842bbacd
                     gitPullOrClone "$md_build" https://github.com/reicast/reicast-emulator.git stable
                     ## applyPatch "$md_data/0001-enable-rpi4-sdl2-target.patch"
                     ## applyPatch "$md_data/0002-enable-vsync.patch"
                     ## applyPatch "$md_data/0003-fix-sdl2-sighandler-conflict.patch"
                  }
                  

                  Then change it to:

                  function sources_reicast() {
                     gitPullOrClone "$md_build" https://github.com/reicast/reicast-emulator.git alpha 49046aecd9e87d6ba8c1508ad6222526842bbacd
                     ## gitPullOrClone "$md_build" https://github.com/reicast/reicast-emulator.git stable
                     ## applyPatch "$md_data/0001-enable-rpi4-sdl2-target.patch"
                     ## applyPatch "$md_data/0002-enable-vsync.patch"
                     ## applyPatch "$md_data/0003-fix-sdl2-sighandler-conflict.patch"
                  }
                  

                  Then try removing reicast and re-installing from source using the retropie-setup menu.

                  T 2 Replies Last reply Reply Quote 0
                  • T
                    tackett1980 @rejesterd
                    last edited by

                    @rejesterd

                    Trying this now.

                    1 Reply Last reply Reply Quote 0
                    • T
                      tackett1980 @rejesterd
                      last edited by

                      @rejesterd

                      Ok, it still failed to build. New build log:

                      https://we.tl/t-oAZS7LpJG2

                      1 Reply Last reply Reply Quote 0
                      • R
                        rejesterd
                        last edited by

                        Alright, it's the same failure. So do the git hard reboot again, then re-install reicast using the default retropie-setup (from source). Then get the build log from that (which should be successful). We'll have to compare it to the bad build. Certainly something is different about the Pi3.

                        T 2 Replies Last reply Reply Quote 0
                        • T
                          tackett1980 @rejesterd
                          last edited by

                          @rejesterd

                          well, im not sure if this helps, but I tried backing out of the retropie setup and accidentally hit install again and it actually worked and it did it very quickly. Heres the build log for whatever that was.

                          Im uninstalling and reinstalling from source again and ill post that build log in a minute.

                          Log started at: Thu  5 Mar 22:20:03 EST 2020
                          
                          RetroPie-Setup version: 4.5.14 (7eff06b4)
                          System: Raspbian GNU/Linux 9.11 (stretch) - Linux retropie 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
                          
                          = = = = = = = = = = = = = = = = = = = = =
                          Installing dependencies for 'reicast' : Dreamcast emulator Reicast
                          = = = = = = = = = = = = = = = = = = = = =
                          
                          Requirement already satisfied: evdev in /usr/local/lib/python2.7/dist-packages
                          /home/pi/RetroPie-Setup/tmp/build/reicast /home/pi/RetroPie-Setup
                          
                          = = = = = = = = = = = = = = = = = = = = =
                          Installing 'reicast' : Dreamcast emulator Reicast
                          = = = = = = = = = = = = = = = = = = = = =
                          
                          reicast/
                          reicast/bin/
                          reicast/bin/reicast
                          reicast/bin/reicast-joyconfig
                          reicast/LICENSE
                          reicast/README.md
                          reicast/share/
                          reicast/share/reicast/
                          reicast/share/reicast/mappings/
                          reicast/share/reicast/mappings/controller_xpad.cfg
                          reicast/share/reicast/mappings/controller_gcwz.cfg
                          reicast/share/reicast/mappings/controller_pandora.cfg
                          reicast/share/reicast/mappings/keyboard.cfg
                          reicast/share/reicast/mappings/controller_generic.cfg
                          reicast/share/reicast/mappings/controller_xboxdrv.cfg
                          reicast/share/pixmaps/
                          reicast/share/pixmaps/reicast.png
                          reicast/share/applications/
                          reicast/share/applications/reicast.desktop
                          reicast/share/man/
                          reicast/share/man/man1/
                          reicast/share/man/man1/reicast-joyconfig.1
                          reicast/share/man/man1/reicast.1
                          /home/pi/RetroPie-Setup
                          /opt/retropie/emulators/reicast /home/pi/RetroPie-Setup
                          
                          = = = = = = = = = = = = = = = = = = = = =
                          Configuring 'reicast' : Dreamcast emulator Reicast
                          = = = = = = = = = = = = = = = = = = = = =
                          
                          /home/pi/RetroPie-Setup
                          
                          Log ended at: Thu  5 Mar 22:20:14 EST 2020
                          Total running time: 0 hours, 0 mins, 11 secs
                          
                          1 Reply Last reply Reply Quote 0
                          • T
                            tackett1980 @rejesterd
                            last edited by

                            @rejesterd

                            Ignore my last post that build was an install from binary.

                            here is the actual build log you are looking for that functions:

                            https://we.tl/t-edUavAhOWb

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              rejesterd @tackett1980
                              last edited by

                              @tackett1980 I've asked about this on the reicast discord server, since rpi3 seems to have trouble with the newer jit-related features (which, not surprisingly, were added to address this very issue with crashing). But again, I don't see any technical reason why it shouldn't be able to build on rpi3, so hopefully we'll get it working with a little guidance from the developers. I'll let you know what I find out.

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                tackett1980 @rejesterd
                                last edited by

                                @rejesterd

                                Sure thing. I appreciate it sir, thanks for all the help to this point.

                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  rejesterd @tackett1980
                                  last edited by

                                  @tackett1980 I just realized I forgot to ask for the output when you run..

                                  md5sum ~/RetroPie/BIOS/dc/dc_*
                                  

                                  ? Just want to be sure we're working with the same bios files.

                                  What bugs me is that you were able to build the reicast.elf before manually (using my original steps). But it wasn't launching the game, and was instead crashing back to emulationstation. So I'm wondering if it would have worked if you were using different bios files at the time.

                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    tackett1980 @rejesterd
                                    last edited by

                                    @rejesterd

                                    Hey, ok I took a pic of the output let me know if you can’t read it or something:

                                    43DCA87F-A778-4B8E-8F82-7951D9BC6C5B.jpeg

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      rejesterd @tackett1980
                                      last edited by

                                      @tackett1980 Yeah, your dc_flash.bin is different than mine, and you don't have dc_nvmem.

                                      pi@raspberrypi:~ $ md5sum ~/RetroPie/BIOS/dc/dc_*
                                      e10c53c2f8b90bab96ead2d368858623  /home/pi/RetroPie/BIOS/dc/dc_boot.bin
                                      73a35e6844a89cda035943f03ad7306b  /home/pi/RetroPie/BIOS/dc/dc_flash.bin
                                      ec6f52b681b2220d0c363abec77af8f2  /home/pi/RetroPie/BIOS/dc/dc_nvmem.bin
                                      

                                      Due to forum rules, I can't share a link to these, but I would bet if you search Google a bit, you'll be able to find them. If you can get the same bios files installed, I think that previous reicast.elf you built will work.

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        tackett1980 @rejesterd
                                        last edited by tackett1980

                                        @rejesterd

                                        On the pi3 the dc_nvmem is required to be in a different path. It is in the directory we talked about previously with the shortcuts to the other bios files. I have the file it’s just in the other directory.

                                        I’ll google around and see if I can find the files. I’m going to be moving to a pc build soon so all of this will be moot, but I would like to get this thread closed up with an answer for future users who stumble on it.

                                        R 1 Reply Last reply Reply Quote 0
                                        • R
                                          rejesterd @tackett1980
                                          last edited by

                                          @tackett1980 Cool.. you know, I'm just gonna say the difference in bios files might be a wild goose chase.. so only search for mine if you're really bored :P Hopefully the reicast folks will address the build issue with the stable branch on rpi3.

                                          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.