• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

SNES MSU-1 Guide

Scheduled Pinned Locked Moved Help and Support
snessnes9xmsu-1msututorial
40 Posts 10 Posters 54.0k 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.
  • M
    mitu Global Moderator @hooperre
    last edited by 25 Sept 2019, 04:02

    @hooperre Is the command output depending on the starting folder ? I.e. you're in the /.alttp_msu folder when running that command ?

    H 1 Reply Last reply 25 Sept 2019, 12:38 Reply Quote 0
    • H
      hooperre @mitu
      last edited by hooperre 25 Sept 2019, 12:38

      @mitu I had the folder name mixed up and it has been updated in my original post.

      The command is being launched from the ./RetroPie/roms/snes folder. The actual alttp_msu.sfc and all the .pcm files are located within the ./RetroPie/roms/snes/.Legend of Zelda, The - A Link to the Past (USA)[MSU-1]folder.

      I don't think it depends on the starting folder. If I just (from the command line) ran the .sh file containing either one of the blocks of code written above:
      sudo bash home/pi/RetroPie/roms/snes/alttp_msu.sh
      the file runs correctly, and with all the correct RetroArch configs, but this doesn't happen when launching from EmulationStation. I'm not sure if launching it from ES changes the way that RetroArch handles it somehow or something.

      4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

      M 1 Reply Last reply 25 Sept 2019, 15:55 Reply Quote 0
      • M
        mitu Global Moderator @hooperre
        last edited by 25 Sept 2019, 15:55

        @hooperre You can see the launch command used by Emulationstation by looking at the /dev/shm/runcommand.log - it should be the first line. That being said, the command you posted (using runcommand) seems like something similar to what Emulationstation would launch.
        If the launching commands prove to be the same, try running with verbose logging when you launch from Emulationsation (by using the runcommand launch menu) and maybe there's some clue in the detailed log about what's missing.

        1 Reply Last reply Reply Quote 0
        • H
          hooperre
          last edited by hooperre 25 Sept 2019, 18:17

          Ah. It's calling for the actual .sh file itself when I use the runcommandas opposed to the .sfc. Dump:

          Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-snes9x/snes9x_libretro.so --config /opt/retropie/configs/snes/retroarch.cfg "/home/pi/RetroPie/roms/snes/alttp_msu.sh" --appendconfig /dev/shm/retroarch.cfg

          Not sure how to get around that. I'll try the other one again.

          The other script with verbose logging: https://pastebin.com/BuUJbxN9

          Appears to be calling for the .sh file as well. That one makes less sense to me.

          4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

          M 1 Reply Last reply 25 Sept 2019, 19:40 Reply Quote 0
          • M
            mitu Global Moderator @hooperre
            last edited by 25 Sept 2019, 19:40

            @hooperre said in SNES MSU-1 Guide:

            Ah. It's calling for the actual .sh file itself when I use the runcommandas opposed to the .sfc. Dump:

            That's not correct. Did you customize the EmulationStation system config file (es_systems.cfg) and added the .sh extension as a valid ROM ? By default, .sfc is one of the included extensions, so if you have the .sfc ROM file in the folder, runcommand should invoke the correct emulator.

            1 Reply Last reply Reply Quote 0
            • H
              hooperre
              last edited by hooperre 25 Sept 2019, 23:04

              I did not add .sh .SH to the es_systems.cfg.

              The script works well in the ports folder/menu in emulationstation and will launch the MSU-1 version of the game. It appears that runcommand is ignoring the text within the file and just launching the .sh file as an accepted rom. I can't figure out a way around this and suppose I'll just have to create an extremely messy MSU-1 folder.

              4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

              M 1 Reply Last reply 26 Sept 2019, 03:17 Reply Quote 0
              • M
                mitu Global Moderator @hooperre
                last edited by 26 Sept 2019, 03:17

                @hooperre Can you post the es_systems.cfg on pastebin.com to take a look ? Is your .sfc file addd in the snes folder ?

                H 1 Reply Last reply 26 Sept 2019, 12:14 Reply Quote 0
                • H
                  hooperre @mitu
                  last edited by hooperre 26 Sept 2019, 12:14

                  @mitu

                  es_systems.cfg: https://pastebin.com/3V4uAygY

                  alttp_msu.sh is located in //home/pi/RetroPie/roms/snes containing:

                  /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-snes9x/snes9x_libretro.so --config /opt/retropie/configs/snes/retroarch.cfg "/home/pi/RetroPie/roms/snes/.Legend of Zelda, The - A Link to the Past (USA)[MSU-1]/alttp_msu.sfc" --appendconfig /opt/retropie/configs/all/retroarch.cfg

                  And alttp_msu.sfc is located in //home/pi/RetroPie/roms/snes/.Legend of Zelda, The - A Link to the Past (USA)[MSU-1].

                  4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                  1 Reply Last reply Reply Quote 0
                  • M
                    mitu Global Moderator
                    last edited by 26 Sept 2019, 12:27

                    According to your config file, the snes system doesn't launch .sh files

                     
                      <system>
                        <name>snes</name>
                        <fullname>Super Nintendo</fullname>
                        <path>/home/pi/RetroPie/roms/snes</path>
                        <extension>.bin .smc .sfc .fig .swc .mgd .zip .7z .BIN .SMC .SFC .FIG .SWC .MGD .ZIP .7Z</extension>
                        <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ snes %ROM%</command>
                        <platform>snes</platform>
                        <theme>snes</theme>
                      </system>
                    

                    but it should be able to launch .sfc files. I don't understand how it launched runcommand with a .sh file.

                    1 Reply Last reply Reply Quote 0
                    • J
                      joelkolb
                      last edited by 15 Nov 2020, 03:58

                      @hooperre I was trying to do the same thing and I recently got it all sorted out. I described what I did to get it all working nice and clean in another thread.

                      Check it out here: Load NON-PC rom with a script?

                      H 1 Reply Last reply 15 Nov 2020, 13:53 Reply Quote 0
                      • H
                        hooperre @joelkolb
                        last edited by hooperre 15 Nov 2020, 13:53

                        @joelkolb Nice! They've been in my ports folder! Thanks!

                        4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                        A 1 Reply Last reply 17 Aug 2021, 05:52 Reply Quote 0
                        • A
                          Addison @hooperre
                          last edited by 17 Aug 2021, 05:52

                          Tagged for later reading.

                          1 Reply Last reply Reply Quote 0
                          • F facelikebambi referenced this topic on 5 Jan 2025, 12:10
                          • 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.

                            [[user:consent.lead]]
                            [[user:consent.not_received]]