RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    New scriptmodule for Master System & Game Gear emulator

    Scheduled Pinned Locked Moved Ideas and Development
    scriptmodulelibretro coremaster systemgame gearsms
    5 Posts 3 Posters 718 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.
    • P
      Protocultor
      last edited by

      SMSPlus-GX:
      https://github.com/libretro/smsplus-gx

      Advantages over the current ones in RetroPie:

      • Properly detects games with FM (YM2413) music, playing it without configuring anything.
      • Runs japanese games (today, only Picodrive does it consistently).
      • Runs games that glitch out in other cores, i.e. World Grand Prix.

      Create the file ~/RetroPie-Setup/scriptmodules/libretrocores/lr-smsplus-gx.sh with the following content:

      #!/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
      #
      
      rp_module_id="lr-smsplus-gx"
      rp_module_desc="Sega Master System & Game Gear emu - SMSPlus (enhanced) port for libretro"
      rp_module_help="ROM Extensions: .gg .smd .sms .zip\nCopy your Game Gear roms to $romdir/gamegear\nMasterSystem roms to $romdir/mastersystem"
      rp_module_licence="GPL2 https://raw.githubusercontent.com/libretro/smsplus-gx/master/docs/license"
      rp_module_section="exp"
      rp_module_flags=""
      
      function sources_lr-smsplus-gx() {
          gitPullOrClone "$md_build" https://github.com/libretro/smsplus-gx.git
      }
      
      function build_lr-smsplus-gx() {
          make -f Makefile.libretro clean
          make -f Makefile.libretro
          md_ret_require="$md_build/smsplus_libretro.so"
      }
      
      function install_lr-smsplus-gx() {
          md_ret_files=(
              'smsplus_libretro.so'
              'docs/license'
              'README.md'
          )
      }
      
      function configure_lr-smsplus-gx() {
          local system
          for system in gamegear mastersystem; do
              mkRomDir "$system"
              ensureSystemretroconfig "$system"
              addEmulator 0 "$md_id" "$system" "$md_inst/smsplus_libretro.so"
              addSystem "$system"
          done
      }
      

      Then, run RetroPie setup, go to experimental packages and you should find lr-smsplus-gx.
      It's my new default emu for SMS, and should be included officially in RetroPie IMHO.

      quicksilverQ 1 Reply Last reply Reply Quote 4
      • quicksilverQ
        quicksilver @Protocultor
        last edited by

        @Protocultor said in New scriptmodule for Master System & Game Gear emulator:

        It's my new default emu for SMS, and should be included officially in RetroPie IMHO.

        You could create a pull request to get it included officially in RetroPie

        P 1 Reply Last reply Reply Quote 1
        • P
          Protocultor @quicksilver
          last edited by

          @quicksilver I kinda have a track record of "ignored PRs" spanning a number of projects, so I'm not a fan of doing them anymore.
          I'd rather have the changes visible for those who need the new features; easier than having them in Github and make people look for them.

          1 Reply Last reply Reply Quote 0
          • P
            Protocultor
            last edited by

            Seeing that I've created a second scriptmodule for another Sega 8 bit core, this time I've opted to do a PR for both:
            https://github.com/RetroPie/RetroPie-Setup/pull/3170
            I hope this one has a future.

            Just in case, Gearsystem, the new core, is not better than SMSPlus-GX, but has SG-1000 support.

            RionR 1 Reply Last reply Reply Quote 2
            • RionR
              Rion @Protocultor
              last edited by

              @Protocultor said in New scriptmodule for Master System & Game Gear emulator:

              Seeing that I've created a second scriptmodule for another Sega 8 bit core, this time I've opted to do a PR for both:
              https://github.com/RetroPie/RetroPie-Setup/pull/3170
              I hope this one has a future.

              Just in case, Gearsystem, the new core, is not better than SMSPlus-GX, but has SG-1000 support.

              SMSPlus-GX looks interesting. Thank you for submitting a PR and keep submitting them and don't be discouraged! 😊

              FBNeo rom filtering
              Mame2003 Arcade Bezels
              Fba Arcade Bezels
              Fba NeoGeo Bezels

              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.