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

      @rejesterd

      Ok, even though it’s there it still says it isn’t there.

      I thought I’d go ahead and update the setup script to see if that would fix the issue and it won’t do that either. Something about save my work something is open and try again.

      I’m crashing for the night going to take a stab at it again in the morning.

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

        Well, the .elf is the file you're building (it just gets copied from 'reicast.elf' to 'reicast' when the build completes). So you don't want to use an old copy. Again, we'd have to look at the whole build log to see what's going on.

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

          @rejesterd

          Ok. I got it to build.

          It crashes back to emulationstation.

          There is no xres, yres.

          I added that and still crash

          Run command log shows nothing.

          Parameters:
          Executing:
          

          File content below.

          /opt/retropie/emulators/reicast/bin/reicast.sh

          #!/usr/bin/env bash
          
          # This file is part of The RetroPie Project
          #
          # The RetroPie Project is the legal property of its developers, whose names are
          # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
          #
          # See the LICENSE.md file at the top-level directory of this distribution and
          # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
          #
          
          AUDIO="$1"
          ROM="$2"
          XRES="$3"
          YRES="$4"
          rootdir="/opt/retropie"
          configdir="$rootdir/configs"
          biosdir="$HOME/RetroPie/BIOS/dc"
          
          source "$rootdir/lib/inifuncs.sh"
          
          if [[ ! -f "$biosdir/dc_boot.bin" ]]; then
              dialog --no-cancel --pause "You need to copy the Dreamcast BIOS files (dc_boot.bin and dc_flash.bin) to the folder $biosdir to boot the Dreamcast emulator." 22 76 15
              exit 1
          fi
          
          params=(-config config:homedir=$HOME -config x11:fullscreen=1)
          [[ -n "$XRES" ]] && params+=(-config x11:width=$XRES -config x11:height=$YRES)
          [[ -n "$AUDIO" ]] && params+=(-config audio:backend=$AUDIO -config audio:disable=0)
          [[ -n "$ROM" ]] && params+=(-config config:image="$ROM")
          if [[ "$AUDIO" == "oss" ]]; then
              aoss "$rootdir/emulators/reicast/bin/reicast" "${params[@]}"
          else
              "$rootdir/emulators/reicast/bin/reicast" "${params[@]}"
          fi
          
          

          /opt/retropie/configs/dreamcast/emulators.cfg

          lr-flycast = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-flycast/flycast_libretro.so </dev/null --config /opt/retropie/configs/dreamcast/retroarch.cfg %ROM%"
          reicast-audio-omx = "/opt/retropie/emulators/reicast/bin/reicast.sh omx %ROM% 640 480"
          default = "reicast-audio-omx"
          reicast-audio-oss = "/opt/retropie/emulators/reicast/bin/reicast.sh oss %ROM% 640 480"
          
          

          ~/RetroPie-Setup/scriptmodules/emulators/reicast.sh:

          #!/usr/bin/env bash
          
          # This file is part of The RetroPie Project
          #
          # The RetroPie Project is the legal property of its developers, whose names are
          # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
          #
          # See the LICENSE.md file at the top-level directory of this distribution and
          # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
          #
          
          AUDIO="$1"
          ROM="$2"
          XRES="$3"
          YRES="$4"
          rootdir="/opt/retropie"
          configdir="$rootdir/configs"
          biosdir="$HOME/RetroPie/BIOS/dc"
          
          source "$rootdir/lib/inifuncs.sh"
          
          if [[ ! -f "$biosdir/dc_boot.bin" ]]; then
              dialog --no-cancel --pause "You need to copy the Dreamcast BIOS files (dc_boot.bin and dc_flash.bin) to the folder $biosdir to boot the Dreamcast emulator." 22 76 15
              exit 1
          fi
          
          params=(-config config:homedir=$HOME -config x11:fullscreen=1)
          [[ -n "$XRES" ]] && params+=(-config x11:width=$XRES -config x11:height=$YRES)
          [[ -n "$AUDIO" ]] && params+=(-config audio:backend=$AUDIO -config audio:disable=0)
          [[ -n "$ROM" ]] && params+=(-config config:image="$ROM")
          if [[ "$AUDIO" == "oss" ]]; then
              aoss "$rootdir/emulators/reicast/bin/reicast" "${params[@]}"
          else
              "$rootdir/emulators/reicast/bin/reicast" "${params[@]}"
          fi
          
          

          EDIT

          I got it to boot, the issue was the the emulator was still looking for the old reicast-for-mvc2 we were using. I changed it back to reicast omx and it booted. I got super excited because somehow all the characters were unlocked but still...crash back to emulationstation at stage 2, same issue.

          new runcommand.log below:

          Parameters: 
          Executing: /opt/retropie/emulators/reicast/bin/reicast.sh omx "/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi" 640 480
          glGetError 0x500
          OMX: creating 3 buffers
          OMX: audio output to 'hdmi'
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          Config dir is: /home/pi/.reicast/
          Data dir is:   /home/pi/.reicast/
          Personality: 00C00000
          Updated personality: 00800000
          found libbcm_host
          rpi2: bcm_init
          ARM VFP-Run Fast (NFP) enabled !
          Linux paging: 4096 00001000 00000FFF
          Info: nvmem is enabled, with addr space of size 512MB
          Info: p_sh4rcb: 0x4f8f0000 virt_ram_base: 0x539f0000
          Virtual cfg config:homedir=/home/pi
          Virtual cfg x11:fullscreen=1
          Virtual cfg x11:width=640
          Virtual cfg x11:height=480
          Virtual cfg audio:backend=omx
          Virtual cfg audio:disable=0
          Virtual cfg config:image=/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi
          
          evdev: Opened device 'DragonRise Inc.   Generic   USB  Joystick  ' using custom mapping 'DragonRise Inc.   Generic   USB  Joystick   mapping'
          evdev: Opened device 'DragonRise Inc.   Generic   USB  Joystick  ' using custom mapping 'DragonRise Inc.   Generic   USB  Joystick   mapping'
          EGL config: 0x1, 0x1, 0x1 640x480
          OpenGL version: OpenGL ES 2.0
          Packed depth/stencil not supported: no modifier volumes when rendering to a texture
          Screen DPI is 96, size 640 x 480. Scaling by 1.00
          Loaded /home/pi/.reicast/data/dc_boot.bin as bootrom
          
          Loaded /home/pi/.reicast/data/dc_nvmem.bin as nvram
          
          chd: chd_open failed for file /home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi: 5
          
          GDI : 3 tracks
          file[1] "Marvel vs. Capcom 2 (USA) (Track 1).bin": FAD:0, CTRL:4, SSIZE:2352, OFFSET:0
          file[2] "Marvel vs. Capcom 2 (USA) (Track 2).bin": FAD:300, CTRL:0, SSIZE:2352, OFFSET:0
          file[3] "Marvel vs. Capcom 2 (USA) (Track 3).bin": FAD:45000, CTRL:4, SSIZE:2352, OFFSET:0
          gdrom: Opened image "/home/pi/RetroPie/roms/dreamcast/Marvel vs. Capcom 2 (USA).gdi"
          
          	 ARM7_TCB addr: 0x4b000 | from: 0x4ad3c | addr here: 0x4a620
          Game ID is [T1212N]
          recSh4 Init
          @@	ngen_ResetBlocks()
          Initializing the ARM32 dynarec
          readm helpers: up to 00271250
          @@	ngen_ResetBlocks()
          Using Recompiler
          Sh4 Reset
          Initializing audio backend "omx" (OpenMAX IL)...
          Using Recompiler
          cntx // fpcb offset: -68157440 // pc offset: -184 // pc A0000000
          Warning: Dynarec safe mode is off
          Warning: Unstable optimizations is on
          @@	ngen_ResetBlocks()
          recSh4:Dynarec Cache clear at 8C0000DE
          Invalid GD-DMA start, SB_GDEN=0.Ingoring it.
          MODEM Reset
          VREG = 00 ARMRST 00
          VREG = 00 ARMRST 01
          VREG = 00 ARMRST 00
          Invalid GD-DMA start, SB_GDEN=0.Ingoring it.
          VREG = 00 ARMRST 00
          VREG = 00 ARMRST 01
          VREG = 00 ARMRST 01
          VREG = 00 ARMRST 00
          SQW-WM match 28 !
          SQW-WM match 12 !
          SQW-WM match 32 !
          SQW-WM match 32 !
          SQW-WM match 32 !
          SQW-WM match 32 !
          SQW-WM match 32 !
          SQW-WM match 32 !
          SQW-WM match 12 !
          SQW-WM match 12 !
          SQW-WM match 12 !
          SQW-WM match 12 !
          Status: reicast git/n - 12.64 - 79.07 - V: 47.40 (4.13, VGA480p59.94) R: 7.98+3.49 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.95 - V: 59.91 (1.00, VGA480p59.94) R: 59.91+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.96 - V: 59.92 (1.20, VGA480p59.94) R: 49.52+0.00 VTX: 0.00 , MIPS: 0.00
          @@	ngen_ResetBlocks()
          recSh4:Dynarec Cache clear at AC0082FE
          VREG = 00 ARMRST 00
          Status: reicast git/n - 9.99 - 100.07 - V: 59.99 (3.15, VGA480p59.94) R: 18.99+0.00 VTX: 0.00 , MIPS: 0.00
          @@	ngen_ResetBlocks()
          recSh4:Dynarec Cache clear at AC00FFFE
          VREG = 00 ARMRST 01
          VREG = 00 ARMRST 01
          VREG = 00 ARMRST 00
          Status: reicast git/n - 11.00 - 90.83 - V: 54.45 (inf, VGA480p59.94) R: 0.00+0.00 VTX: 0.00 , MIPS: 0.00
          SQW-WM FAIL 4 !
          SQW-WM match 16 !
          SQW-WM FAIL 4 !
          SQW-WM match 32 !
          SQW-WM match 32 !
          SQW-WM match 16 !
          SQW-WM match 28 !
          SQW-WM match 28 !
          SQW-WM match 28 !
          SQW-WM match 28 !
          Status: reicast git/n - 10.00 - 99.98 - V: 59.93 (3.18, VGA480p59.94) R: 16.34+2.47 VTX: 0.00 , MIPS: 0.00
          SQW-WM match 20 !
          SQW-WM match 32 !
          SQW-WM match 20 !
          SQW-WM match 32 !
          Status: reicast git/n - 10.10 - 98.97 - V: 59.33 (1.01, VGA480p59.94) R: 58.33+0.00 VTX: 0.00 , MIPS: 0.00
          SQW-WM FAIL 4 !
          SQW-WM FAIL 4 !
          SQW-WM FAIL 4 !
          SQW-WM FAIL 4 !
          Status: reicast git/n - 9.94 - 100.55 - V: 60.27 (3.18, VGA480p59.94) R: 18.93+0.00 VTX: 0.00 , MIPS: 0.00
          SQW-WM match 28 !
          SQW-WM match 28 !
          SQW-WM match 28 !
          SQW-WM match 28 !
          SQW-WM match 28 !
          SQW-WM match 28 !
          SQW-WM match 28 !
          Status: reicast git/n - 9.95 - 100.47 - V: 60.23 (1.44, VGA480p59.94) R: 38.32+3.48 VTX: 0.00 , MIPS: 0.00
          SQW-WM match 28 !
          SQW-WM match 28 !
          SQW-WM match 36 !
          Status: reicast git/n - 10.03 - 99.64 - V: 59.73 (2.44, VGA480p59.94) R: 22.89+1.49 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.99 - 100.07 - V: 59.99 (2.14, VGA480p59.94) R: 27.99+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.99 - 100.05 - V: 59.97 (1.00, VGA480p59.94) R: 58.98+0.49 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.92 - V: 59.89 (1.00, VGA480p59.94) R: 59.89+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.95 - V: 59.91 (1.00, VGA480p59.94) R: 59.91+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.91 - V: 59.89 (1.00, VGA480p59.94) R: 59.89+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.92 - V: 59.90 (1.00, VGA480p59.94) R: 59.90+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.93 - V: 59.90 (1.00, VGA480p59.94) R: 59.90+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.95 - V: 59.91 (1.00, VGA480p59.94) R: 59.91+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.93 - V: 59.90 (1.00, VGA480p59.94) R: 59.90+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.92 - V: 59.90 (1.92, VGA480p59.94) R: 31.18+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.93 - 100.66 - V: 60.34 (1.21, VGA480p59.94) R: 49.37+0.49 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.05 - 99.44 - V: 59.61 (1.00, VGA480p59.94) R: 59.61+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.95 - V: 59.91 (1.00, VGA480p59.94) R: 59.91+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.91 - V: 59.89 (1.00, VGA480p59.94) R: 59.89+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.91 - V: 59.89 (1.00, VGA480p59.94) R: 59.89+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.94 - V: 59.91 (1.00, VGA480p59.94) R: 59.91+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.93 - 100.65 - V: 60.33 (1.00, VGA480p59.94) R: 60.33+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.04 - 99.50 - V: 59.64 (1.00, VGA480p59.94) R: 59.64+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.91 - V: 59.89 (1.00, VGA480p59.94) R: 59.89+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.90 - V: 59.88 (5.04, VGA480p59.94) R: 11.87+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.92 - V: 59.90 (1.32, VGA480p59.94) R: 29.70+15.34 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.95 - V: 59.91 (1.00, VGA480p59.94) R: 42.09+17.82 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.94 - 100.52 - V: 60.26 (1.00, VGA480p59.94) R: 42.82+17.43 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.04 - 99.59 - V: 59.70 (1.00, VGA480p59.94) R: 43.28+16.41 VTX: 0.00 , MIPS: 0.00
          SQW-WM match 12 !
          SQW-WM match 32 !
          Status: reicast git/n - 10.00 - 99.94 - V: 59.91 (1.00, VGA480p59.94) R: 42.58+17.33 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.95 - V: 59.92 (1.00, VGA480p59.94) R: 43.08+16.83 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.91 - V: 59.89 (1.00, VGA480p59.94) R: 43.06+16.82 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.92 - V: 59.89 (1.00, VGA480p59.94) R: 41.58+18.31 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.96 - V: 59.92 (1.00, VGA480p59.94) R: 42.09+17.33 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.94 - 100.52 - V: 60.26 (0.99, VGA480p59.94) R: 43.32+17.43 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.04 - 99.59 - V: 59.69 (1.00, VGA480p59.94) R: 43.28+16.41 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.92 - V: 59.89 (1.00, VGA480p59.94) R: 43.06+16.83 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.93 - V: 59.90 (1.00, VGA480p59.94) R: 43.07+16.83 VTX: 0.00 , MIPS: 0.00
          SQW-WM match 28 !
          SQW-WM match 28 !
          SQW-WM match 36 !
          Status: reicast git/n - 10.00 - 99.94 - V: 59.91 (1.00, VGA480p59.94) R: 42.08+17.82 VTX: 0.00 , MIPS: 0.00
          SQW-WM match 28 !
          SQW-WM match 28 !
          SQW-WM match 28 !
          SQW-WM match 28 !
          SQW-WM match 36 !
          SQOMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          OMX: underrun occurred
          W-WM match 36 !
          Status: reicast git/n - 10.00 - 99.94 - V: 59.91 (1.00, VGA480p59.94) R: 42.08+17.82 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.93 - 100.61 - V: 60.31 (1.00, VGA480p59.94) R: 42.86+17.44 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.04 - 99.52 - V: 59.65 (1.00, VGA480p59.94) R: 41.76+17.89 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.92 - V: 59.89 (1.00, VGA480p59.94) R: 45.54+14.35 VTX: 0.00 , MIPS: 0.00
          SQW-WM FAIL 4 !
          SQW-WM match 16 !
          SQW-WM FAIL 4 !
          SQW-WM match 32 !
          SQW-WM FAIL 4 !
          SQW-WM match 16 !
          SQW-WM match 32 !
          Status: reicast git/n - 10.00 - 99.94 - V: 59.91 (1.26, VGA480p59.94) R: 47.53+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.01 - 99.89 - V: 59.88 (1.00, VGA480p59.94) R: 59.88+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.97 - V: 59.92 (1.42, VGA480p59.94) R: 42.09+0.00 VTX: 0.00 , MIPS: 0.00
          SQW-WM FAIL 4 !
          SQW-WM match 32 !
          SQW-WM match 20 !
          SQW-WM match 32 !
          SQW-WM match 20 !
          SQW-WM match 32 !
          Status: reicast git/n - 12.41 - 80.57 - V: 48.30 (2.10, VGA480p59.94) R: 11.95+10.95 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.84 - 101.58 - V: 60.89 (1.00, VGA480p59.94) R: 29.94+30.94 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.04 - 99.54 - V: 59.67 (1.00, VGA480p59.94) R: 36.30+23.37 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.95 - 100.49 - V: 60.24 (1.00, VGA480p59.94) R: 36.34+23.89 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.01 - 99.84 - V: 59.85 (1.00, VGA480p59.94) R: 40.89+18.95 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.04 - 99.56 - V: 59.68 (1.00, VGA480p59.94) R: 50.73+8.95 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.99 - 100.03 - V: 59.96 (1.00, VGA480p59.94) R: 39.64+20.32 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.96 - 100.38 - V: 60.17 (1.00, VGA480p59.94) R: 37.79+22.37 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.02 - 99.77 - V: 59.81 (1.00, VGA480p59.94) R: 37.88+21.93 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.01 - 99.89 - V: 59.88 (1.00, VGA480p59.94) R: 43.55+16.33 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.93 - V: 59.90 (1.00, VGA480p59.94) R: 40.59+19.30 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.93 - V: 59.90 (1.00, VGA480p59.94) R: 38.12+21.78 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.96 - V: 59.92 (1.00, VGA480p59.94) R: 38.13+21.79 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.94 - 100.51 - V: 60.25 (1.00, VGA480p59.94) R: 40.33+19.91 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.03 - 99.62 - V: 59.71 (1.00, VGA480p59.94) R: 45.78+13.93 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.01 - 99.89 - V: 59.88 (1.00, VGA480p59.94) R: 42.56+17.32 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.93 - V: 59.90 (1.00, VGA480p59.94) R: 39.11+20.79 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.90 - V: 59.88 (1.00, VGA480p59.94) R: 42.06+17.81 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.96 - V: 59.92 (1.00, VGA480p59.94) R: 42.09+17.82 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.95 - 100.41 - V: 60.19 (1.00, VGA480p59.94) R: 42.78+17.41 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.02 - 99.74 - V: 59.79 (1.00, VGA480p59.94) R: 43.34+16.44 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.91 - V: 59.89 (1.00, VGA480p59.94) R: 42.07+17.81 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.91 - V: 59.89 (1.00, VGA480p59.94) R: 47.51+12.37 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.95 - V: 59.92 (1.00, VGA480p59.94) R: 45.06+14.85 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.92 - V: 59.89 (1.00, VGA480p59.94) R: 38.11+21.78 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 9.95 - 100.43 - V: 60.20 (1.00, VGA480p59.94) R: 41.79+18.40 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.03 - 99.63 - V: 59.72 (1.01, VGA480p59.94) R: 37.32+21.40 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.99 - V: 59.94 (2.74, VGA480p59.94) R: 21.79+0.00 VTX: 0.00 , MIPS: 0.00
          Status: reicast git/n - 10.00 - 99.96 - V: 59.92 (1.00, VGA480p59.94) R: 59.92+/opt/retropie/emulators/reicast/bin/reicast.sh: line 35: 19566 Trace/breakpoint trap   "$rootdir/emulators/reicast/bin/reicast" "${params[@]}"
          
          
          1 Reply Last reply Reply Quote 0
          • R
            rejesterd
            last edited by

            The reicast.sh under ~/RetroPie-Setup/scriptmodules/emulators/ should be the build script. What you showed is the start script (which should be under ~/RetroPie-Setup/scriptmodules/emulators/reicast/, and eventually copied to /opt/retropie/emulators/reicast/bin/).

            I can't imagine the build was actually successful if the above is actually what your reicast build script looks like.

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

              @tackett1980 said in Dreamcast mvc2 crashing at stage 2:

              I changed it back to reicast omx and it booted

              What is the first image you see when it boots? If you don't see a black screen with REICAST written in huge white letters, that means it's not the updated version. That's probably the easiest way to confirm if the new build was actually successful (again, need to see the build log to know for sure).

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

                @rejesterd

                No I see the standard Dreamcast marching logo animation like the old build.

                Why in gods name are all the characters unlocked now? Lol

                Sorry I posted the wrong file. I guess I had the other one on the clipboard accidentally. I’ll post the correct one when I get home, I had to leave.

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

                  @tackett1980 I think the best thing I can do at this point is to compare your build log to mine. I'm kinda wondering if this is related to sound now, as that's the major difference between our configurations.. I'm using alsa and your using omx.

                  But also, your runcommand.log shows "Warning: Unstable optimizations is on". That should be off by default. Can you also post your ~/.reicast/emu.cfg? I can at least compare that to mine to see if there are any obvious differences.

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

                    @rejesterd

                    Ive tried it both ways with unstable optimizations on and off when we first started this adventure and it didn’t make any difference. My emu.cfg was posted back then as well and I haven’t changed it since we messed with it in the beginning without success.

                    I’ve also ran this in oss, omx and sound disabled. I don’t have salsa or alsa or whatever it is as an option in mine that might be a pi4 deal.

                    Where can I find the build log so I can post that for comparison?

                    I’m probably going to try this again, because here is what I think happened to the build this time.

                    I edited the script file and saved it.
                    The reicast install was not successful after that it did not build the .elf file
                    I tried to update the setup script after that and could not because it wouldn’t merge the changes.
                    I then had to terminal:
                    Git reboot —hard
                    Then I was able to update the setup script
                    I was then able to do the reicast install.
                    I then updated the reicast from source.

                    So I think in that procedure somewhere I probably overwrote the build script you had me replace.

                    Emu config:

                    [T1212N]
                    software.name = MARVEL VS CAPCOM 2
                    
                    [alsa]
                    device = auto
                    
                    [audio]
                    backend = omx
                    disable = 0
                    
                    [config]
                    Debug.SerialConsoleEnabled = no
                    Dreamcast.Broadcast = 0
                    Dreamcast.Cable = 0
                    Dreamcast.ContentPath = 
                    Dreamcast.FullMMU = no
                    Dreamcast.Language = 1
                    Dreamcast.RTC = -2081599938
                    Dreamcast.Region = 1
                    Dreamcast.Rtt = 0
                    Dynarec.Enabled = yes
                    Dynarec.SmcCheckLevel = 0
                    Dynarec.idleskip = yes
                    Dynarec.safe-mode = no
                    Dynarec.unstable-opt = yes
                    Social.HideCallToAction = no
                    aica.LimitFPS = no
                    aica.NoBatch = no
                    aica.NoSound = no
                    aica.OldSyncronousDma = no
                    bios.UseReios = 0
                    pvr.MaxThreads = 1
                    pvr.Subdivide = 0
                    pvr.SynchronousRendering = no
                    pvr.rend = 0
                    rend.Clipping = no
                    rend.CustomTextures = no
                    rend.DumpTextures = no
                    rend.FloatVMUs = no
                    rend.Fog = no
                    rend.MaxFilteredTextureSize = 8
                    rend.ModifierVolumes = no
                    rend.RenderToTextureBuffer = no
                    rend.RenderToTextureUpscale = 1
                    rend.ResolutionPercentage = 100
                    rend.Rotate90 = no
                    rend.ScreenScaling = 100
                    rend.ScreenStretching = 100
                    rend.ShowFPS = no
                    rend.TextureUpscale = 1
                    rend.UseMipmaps = 1
                    rend.WideScreen = no
                    ta.skip = 0
                    
                    [dispmanx]
                    height = 480
                    maintain_aspect = yes
                    width = 640
                    
                    [input]
                    MouseSensitivity = 100
                    VirtualGamepadVibration = 20
                    device1 = 0
                    device1.1 = 1
                    device1.2 = 1
                    device2 = 0
                    device2.1 = 1
                    device2.2 = 1
                    device3 = 8
                    device3.1 = 8
                    device3.2 = 8
                    device4 = 8
                    device4.1 = 8
                    device4.2 = 8
                    maple_/dev/input/event0 = 0
                    maple_/dev/input/event1 = 1
                    maple_/dev/input/event2 = 0
                    maple_/dev/input/event3 = 1
                    
                    [omx]
                    audio_hdmi = yes
                    audio_latency = 100
                    
                    [validate]
                    OpenGlChecks = 0
                    
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • R
                      rejesterd
                      last edited by

                      If you're going to RetroPie-Setup > "Update RetroPie Setup Script", that might be the problem. Once you manually edit the build script (~/RetroPie-Setup/scriptmodules/emulators/reicast.sh) with a text editor and save the changes, just run Run RetroPie-Setup > Manage Packages > Manage Optional Packages > reicast > Install from source. Do not choose "Update RetroPie Setup script" from the menu.

                      The build log will be the newest file under ~/RetroPie-Setup/logs/.

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