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

    Phantasy Star (SMS) Doesn't Run

    Scheduled Pinned Locked Moved Help and Support
    master systemphantasy star
    16 Posts 4 Posters 4.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.
    • hansolo77H
      hansolo77
      last edited by hansolo77

      This may be more of a support question for RetroArch, but maybe somebody here has some ideas..

      A recent forum contest reminded me that I haven't played any of the Phantasy Star games yet. So I decided I'd start at the very beginning and play the one on the Sega Master System first. I have the ROM, but when I launch it from ES, the screen fades to black then returns back to ES after passing through the "runcommand" screens. I then tried running it through the verbose logging, and I'm actually getting a segmentation fault error at the end of my log:

      Parameters: 
      Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so --config /opt/retropie/configs/mastersystem/retroarch.cfg "/home/pi/RetroPie/roms/mastersystem/Phantasy Star (USA, Europe) (Rev 3).sms" --verbose --appendconfig /dev/shm/retroarch.cfg
      RetroArch [INFO] :: Redirecting save file to "/home/pi/RetroPie/roms/mastersystem/Phantasy Star (USA, Europe) (Rev 3).srm".
      RetroArch [INFO] :: === Build =======================================
      Capabilities: NEON VFPv3 VFPv4 
      Built: Nov 19 2016
      RetroArch [INFO] :: Version: 1.3.6
      RetroArch [INFO] :: Git: d4296b0
      RetroArch [INFO] :: =================================================
      RetroArch [INFO] :: Config: loading config from: /opt/retropie/configs/mastersystem/retroarch.cfg.
      RetroArch [INFO] :: Config: appending config "/dev/shm/retroarch.cfg"
      RetroArch [INFO] :: Resetting undo buffers.
      RetroArch [INFO] :: Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so"
      RetroArch [INFO] :: [overrides] core-specific overrides found at /home/pi/.config/retroarch/config/PicoDrive/PicoDrive.cfg.
      RetroArch [INFO] :: [overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/PicoDrive/Phantasy Star (USA, Europe) (Rev 3).cfg.
      RetroArch [INFO] :: Config: appending config "/home/pi/.config/retroarch/config/PicoDrive/PicoDrive.cfg"
      RetroArch [INFO] :: Shaders: preset directory: /home/pi/.config/retroarch/shaders/presets
      RetroArch [INFO] :: Shaders: no game-specific preset found at /home/pi/.config/retroarch/shaders/presets/PicoDrive/Phantasy Star (USA, Europe) (Rev 3).cgp.
      RetroArch [INFO] :: Shaders: no game-specific preset found at /home/pi/.config/retroarch/shaders/presets/PicoDrive/Phantasy Star (USA, Europe) (Rev 3).glslp.
      RetroArch [INFO] :: Shaders: no core-specific preset found at /home/pi/.config/retroarch/shaders/presets/PicoDrive/PicoDrive.cgp.
      RetroArch [INFO] :: Shaders: no core-specific preset found at /home/pi/.config/retroarch/shaders/presets/PicoDrive/PicoDrive.glslp.
      RetroArch [INFO] :: Environ SET_VARIABLES.
      RetroArch [INFO] :: Remaps: remap directory: /opt/retropie/configs/mastersystem/
      RetroArch [INFO] :: Remaps: no game-specific remap found at /opt/retropie/configs/mastersystem/PicoDrive/Phantasy Star (USA, Europe) (Rev 3).rmp.
      RetroArch [INFO] :: Remaps: no core-specific remap found at /opt/retropie/configs/mastersystem/PicoDrive/PicoDrive.rmp.
      RetroArch [INFO] :: Redirecting save file to "/home/pi/RetroPie/roms/mastersystem/Phantasy Star (USA, Europe) (Rev 3).srm".
      RetroArch [INFO] :: Environ PERFORMANCE_LEVEL: 0.
      RetroArch [INFO] :: Environ GET_LOG_INTERFACE.
      RetroArch [INFO] :: Environ SET_DISK_CONTROL_INTERFACE.
      RetroArch [INFO] :: Environ GET_VARIABLE picodrive_input1:
      RetroArch [INFO] :: 	6 button pad
      RetroArch [INFO] :: Environ GET_VARIABLE picodrive_input2:
      RetroArch [INFO] :: 	6 button pad
      RetroArch [INFO] :: Environ GET_VARIABLE picodrive_sprlim:
      RetroArch [INFO] :: 	disabled
      RetroArch [INFO] :: Environ GET_VARIABLE picodrive_ramcart:
      RetroArch [INFO] :: 	disabled
      RetroArch [INFO] :: Environ GET_VARIABLE picodrive_region:
      RetroArch [INFO] :: 	Auto
      RetroArch [INFO] :: Environ GET_VARIABLE picodrive_region_fps:
      RetroArch [INFO] :: 	Auto
      RetroArch [INFO] :: Environ GET_VARIABLE picodrive_aspect:
      RetroArch [INFO] :: 	PAR
      RetroArch [INFO] :: Environ GET_VARIABLE picodrive_drc:
      RetroArch [INFO] :: 	enabled
      RetroArch [INFO] :: Content loading skipped. Implementation will load it on its own.
      RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565.
      RetroArch [INFO] :: Environ SYSTEM_DIRECTORY: "/home/pi/RetroPie/BIOS".
      RetroArch [libretro INFO] :: detected SMS ROM
      RetroArch [INFO] :: Environ SET_INPUT_DESCRIPTORS:
      RetroArch [INFO] :: 	RetroPad, User 1, Button "B (bottom)" => "Button 1 Start"
      RetroArch [INFO] :: 	RetroPad, User 1, Button "Start" => "Button Pause"
      RetroArch [INFO] :: 	RetroPad, User 1, Button "D-Pad Up" => "D-Pad Up"
      RetroArch [INFO] :: 	RetroPad, User 1, Button "D-Pad Down" => "D-Pad Down"
      RetroArch [INFO] :: 	RetroPad, User 1, Button "D-Pad Left" => "D-Pad Left"
      RetroArch [INFO] :: 	RetroPad, User 1, Button "D-Pad Right" => "D-Pad Right"
      RetroArch [INFO] :: 	RetroPad, User 1, Button "A (right)" => "Button 2"
      RetroArch [INFO] :: 	RetroPad, User 2, Button "B (bottom)" => "Button 1 Start"
      RetroArch [INFO] :: 	RetroPad, User 2, Button "Start" => "Button Pause"
      RetroArch [INFO] :: 	RetroPad, User 2, Button "D-Pad Up" => "D-Pad Up"
      RetroArch [INFO] :: 	RetroPad, User 2, Button "D-Pad Down" => "D-Pad Down"
      RetroArch [INFO] :: 	RetroPad, User 2, Button "D-Pad Left" => "D-Pad Left"
      RetroArch [INFO] :: 	RetroPad, User 2, Button "D-Pad Right" => "D-Pad Right"
      RetroArch [INFO] :: 	RetroPad, User 2, Button "A (right)" => "Button 2"
      RetroArch [INFO] :: CHEEVOS testing Genesis (6Mb padding).
      RetroArch [INFO] :: CHEEVOS getting game id for hash d6705359599c19322d2868b0a87f8eba
      RetroArch [INFO] :: CHEEVOS got game id 9141.
      RetroArch [INFO] :: CHEEVOS got achievements for game id 9141.
      /opt/retropie/supplementary/runcommand/runcommand.sh: line 933:  7650 Segmentation fault      /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so --config /opt/retropie/configs/mastersystem/retroarch.cfg "/home/pi/RetroPie/roms/mastersystem/Phantasy Star (USA, Europe) (Rev 3).sms" --verbose --appendconfig /dev/shm/retroarch.cfg
      

      I'm thinking maybe I have a bad ROM, but the only way I can verify that is if somebody who has it working in their system can verify the hash check. In my log, it shows the CHEEVOS hash as d6705359599c19322d2868b0a87f8eba so maybe somebody can confirm that? I mean, RetroAcheivements is actually correctly identifying the game, so maybe it's not the ROM that's bad? I tried running other ROMs (SMS) in PicoDrive and they all load up fine. It's just this one. Is there maybe some setting Phantasy Star has to have to make it work?

      Who's Scruffy Looking?

      meleuM 1 Reply Last reply Reply Quote 0
      • meleuM
        meleu @hansolo77
        last edited by

        @hansolo77
        It seems to be a cheevos bug (on both ends: RetroAchievements database and RetroArch). I checked that the game 9141 isn't a valid game on RetroAchievements.org database.

        I suggest you to put this line in your /opt/retropie/configs/mastersystem/retroarch.cfg

        cheevos_enable = "false"
        

        And then try again.

        It's just a workaround to avoid the problem you faced and let you play the game. RetroArch should be smart enough to not crash when facing this problem. I'll report it.

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        edmaul69E hansolo77H 2 Replies Last reply Reply Quote 0
        • edmaul69E
          edmaul69 @meleu
          last edited by edmaul69

          @meleu this is why i had to make a config file for super marioland. Because it wont boot with cheevos either. But i had to put in all the cheevos lines in that config. If i only put the enable cheevos false line in the config it would still try to run cheevos.

          meleuM 1 Reply Last reply Reply Quote 0
          • meleuM
            meleu @edmaul69
            last edited by

            @edmaul69 Would you be kind enough to reproduce your issue and provide the log? :-)
            It can help us to make RetroArch stronger.

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            edmaul69E 1 Reply Last reply Reply Quote 0
            • hansolo77H
              hansolo77 @meleu
              last edited by

              @meleu http://retroachievements.org/Game/9141

              Looks like there is some data there, but it's not complete. Obviously there aren't any Master System Cheevos in the system yet, so this makes a lot of sense as to cause it to crash. I'll add that line and see if it fixes it.

              Who's Scruffy Looking?

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

                @meleu where is the log. Also reread my post. I just edited it?

                meleuM 1 Reply Last reply Reply Quote 0
                • meleuM
                  meleu @edmaul69
                  last edited by

                  @edmaul69 said in Phantasy Star (SMS) Doesn't Run:

                  where is the log

                  when launching the game press a button to access runcommand menu and then select the launch with verbose log option. The log will be at /dev/shm/runcommand.log.

                  • Useful topics
                  • joystick-selection tool
                  • rpie-art tool
                  • achievements I made
                  edmaul69E 1 Reply Last reply Reply Quote 0
                  • hansolo77H
                    hansolo77
                    last edited by

                    @meleu Adding cheevos_enable = "false" fixed the problem with Phantasy Star. Thanks!!! Now on to figure out the new NES issue posted in the cheevo forums. :)

                    Who's Scruffy Looking?

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

                      @meleu i cant do it. I forgot i had updated retroarch before since you said to and now it works

                      meleuM 1 Reply Last reply Reply Quote 0
                      • meleuM
                        meleu @edmaul69
                        last edited by

                        @edmaul69 This is better yet! LOL
                        Thanks.

                        • Useful topics
                        • joystick-selection tool
                        • rpie-art tool
                        • achievements I made
                        1 Reply Last reply Reply Quote 0
                        • edmaul69E
                          edmaul69 @hansolo77
                          last edited by edmaul69

                          @hansolo77 @meleu i can confirm that the versions i have boot fine with cheevos enabled. Maybe he should update retroarch??

                          1 Reply Last reply Reply Quote 0
                          • hansolo77H
                            hansolo77
                            last edited by

                            I'm actually trying to now, and it's failing at HUNK #2

                            Who's Scruffy Looking?

                            1 Reply Last reply Reply Quote 0
                            • hansolo77H
                              hansolo77
                              last edited by

                              I'm getting the error back in the RetroPie-Setup menus:

                              retroarch patch  /home/pi/RetroPie-Setup/scriptmodules/emulators/retroarch/01_hotkey_hack.diff failed to apply
                              

                              Who's Scruffy Looking?

                              herb_fargusH 1 Reply Last reply Reply Quote 0
                              • herb_fargusH
                                herb_fargus administrators @hansolo77
                                last edited by

                                @hansolo77 try updating your setup script first

                                If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                                Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                                1 Reply Last reply Reply Quote 0
                                • hansolo77H
                                  hansolo77
                                  last edited by

                                  lol grr I can't believe I forgot that...

                                  Who's Scruffy Looking?

                                  1 Reply Last reply Reply Quote 0
                                  • hansolo77H
                                    hansolo77
                                    last edited by

                                    Ok, updating the script worked. It installed the latest RetroArch GIT. I then #commented out the cheevos_enable = "false" line and it boots up just like it should. So yes, I believe this issue was resolved. Thanks for all your help guys.

                                    Who's Scruffy Looking?

                                    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.