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

    Anyone know why lr-fmsx doesn't work on Pi 4?

    Scheduled Pinned Locked Moved Help and Support
    fmsxmsxlr-fmsx
    27 Posts 2 Posters 3.9k 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.
    • F
      Folly @JimmyFromTheBay
      last edited by

      @jimmyfromthebay

      Ok, I will have a look if I can find that game somewhere.

      1 Reply Last reply Reply Quote 0
      • F
        Folly @JimmyFromTheBay
        last edited by Folly

        @jimmyfromthebay

        Ok I found Jet Set Willy (1984)(Software Projects).dsk
        I think it's the same version you are using.

        Indeed the msx restarts with lr-bluemsx and lr-mess(hbf700p).
        With fmsx and openmsx it works.

        I used openmsx to find the issue as I was thinking it was a poke issue.
        Back in the days we used POKE -1,170 (for a Phillips MSX2) or POKE -1,255 (for a Sony MSX2).
        Many more games have this issue.
        Now it's possible to use the universal poke so the games will work on allmost all MSX types.

        BTW : you should be able to load with lr-mess using for example (nms8245)

        You can read more about it here :
        http://faq.msxnet.org/miscfaq.html

        I altered the .dsk with openmsx.
        You have to eject the disk on boot and later insert it again when you are in basic.
        That way you can see the files on disk with the command files.
        Then you have to load JETSET.BAS with load"jetset.bas".
        Do list or in this case you can do list 0.
        Alter the POKE -1,170 into POKE -1,(15-PEEK(-1)\16)*17 .
        Then save the file again with save"jetset.bas"
        If you want to you can run with run and you will execute the basic file.

        Now the .dsk file is changed and you will be able to load it into the other emulators.

        If above is too difficult you can patch you file with the .ips :
        https://github.com/FollyMaddy/RetroPie-Share/tree/main/00-roms-00/msx/Jet Set Willy (1984)(Software Projects)

        Just click on the .ips to download the patch.

        Use this tool to apply the patch :
        https://github.com/kylon/Lipx

        Show the usage :

        python lipx.py
        

        Apply the patch to your original (please make a backup before you apply the patch !):

        python lipx.py -a "Jet Set Willy (1984)(Software Projects).dsk" "Jet Set Willy (1984)(Software Projects).ips"
        

        md5sums are :

        md5sum *
        

        50f8b3e89c4a75ec5b7c3fa12edfe13c Jet Set Willy (1984)(Software Projects)-original-philips-poke.dsk (original)
        064474311a05c3ee60ab1b27956f72bf Jet Set Willy (1984)(Software Projects)-universal-poke.dsk (changed)
        3a97ab7984559ba744d8bb3459ebd12d Jet Set Willy (1984)(Software Projects).ips (patch)

        J 2 Replies Last reply Reply Quote 1
        • J
          JimmyFromTheBay @Folly
          last edited by

          @folly said in Anyone know why lr-fmsx doesn't work on Pi 4?:

          Use this tool to apply the patch :
          https://github.com/kylon/Lipx

          I don't have the TINIEST clue how to do anything with Python (or, indeed, what Python even is), but I'll try with a normal IPS patcher, thanks :)

          Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

          F 1 Reply Last reply Reply Quote 0
          • F
            Folly @JimmyFromTheBay
            last edited by Folly

            @jimmyfromthebay

            Ok if you know how to use a different ips patcher you can use that.

            Python is a programming language and should already be there on your pi.
            The lipx.py is a just a python program, it's just a text file with instructions, just like a basic program.

            J 1 Reply Last reply Reply Quote 0
            • J
              JimmyFromTheBay @Folly
              last edited by JimmyFromTheBay

              @folly Bah, FLIPS doesn't recognise the patch format, will look for something else.

              (The Pi said "python: can't open file 'lipx.py': [Errno 2] No such file or directory".)

              Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

              F 1 Reply Last reply Reply Quote 0
              • F
                Folly @JimmyFromTheBay
                last edited by Folly

                @jimmyfromthebay

                Perhaps you have to make it executable.

                Try to do (to make it executable) :
                chmod u+x lipx.py

                Then you should be able to run it directly, just like any other binary :
                ./lipx.py

                J 1 Reply Last reply Reply Quote 0
                • J
                  JimmyFromTheBay @Folly
                  last edited by

                  @folly Oh, I misunderstood you - I thought you were saying LipX was already installed on the Pi. I haven't a clue how to install something from GitHub onto the Pi - I can't exaggerate how little I know about Linux.

                  Fortunately your link was very useful - by setting BlueMSX to MSX2 and holding down Ctrl while loading I got the game to work :)

                  Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                  F 2 Replies Last reply Reply Quote 0
                  • F
                    Folly @JimmyFromTheBay
                    last edited by Folly

                    @jimmyfromthebay

                    Just go to the github page and download the lipx.py and place it in on your pi next to the dsk files.
                    Just cd to that directory and do the commands.

                    Ok you have it working with ctrl, Nice !
                    Which link do you refer to ?

                    Ps.
                    For windows you can try to use "Lunar IPS"

                    J 1 Reply Last reply Reply Quote 0
                    • F
                      Folly @JimmyFromTheBay
                      last edited by Folly

                      @jimmyfromthebay

                      Here a small tutorial:

                      cd /home/pi/RetroPie/roms/msx
                      #next line will download the lipx.py
                      curl https://raw.githubusercontent.com/kylon/Lipx/master/lipx.py > lipx.py
                      #next line will make it executable
                      chmod u+x lipx.py
                      

                      Be sure your files are in /home/pi/RetroPie/roms/msx do:

                      cd /home/pi/RetroPie/roms/msx
                      ./lipx.py -a "Jet Set Willy (1984)(Software Projects).dsk" "Jet Set Willy (1984)(Software Projects).ips"
                      
                      1 Reply Last reply Reply Quote 1
                      • J
                        JimmyFromTheBay @Folly
                        last edited by

                        @folly said in Anyone know why lr-fmsx doesn't work on Pi 4?:

                        Ok you have it working with ctrl, Nice !
                        Which link do you refer to ?

                        This one:

                        http://faq.msxnet.org/miscfaq.html

                        Setting to MSX2 and holding Ctrl seems to work for most but not all games. (The only failure so far is Astro Blaster (1988)(Eurosoft).dsk.)

                        Sadly I can't do the poke manually because OpenMSX crashes too.

                        Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                        J F 2 Replies Last reply Reply Quote 0
                        • J
                          JimmyFromTheBay @JimmyFromTheBay
                          last edited by

                          @jimmyfromthebay (These are all the games I currently have assigned to fMSX, just for interest.)

                          msx_MSXManiaCollection-Disk07519xx- = "lr-fmsx"
                          msx_RobotWars1986EaglesoftNLRUNCAS- = "lr-fmsx"
                          msx_RobotWars1986EaglesoftNL = "lr-fmsx"
                          msx_Aleste2 = "lr-fmsx"
                          msx_InvasionOfTheZombieMonsters = "lr-fmsx"
                          msx_ApemanStrikesAgain1985Bytebusters = "lr-fmsx"
                          msx_Invasion_of_the_Zombie_Monsters = "lr-fmsx"
                          msx_InvadersRevenge-MMG = "lr-fmsx"
                          msx_InvadersRevenge19xxMMGSoftware = "lr-fmsx"
                          msx_AlphaBlaster1984LiveWire = "lr-fmsx"
                          msx_AlphaBlaster1984Aackosoft = "lr-fmsx"
                          msx_BURNERBURST_Final_version_25 = "lr-fmsx"
                          msx_Booga-Boo1986Quicksilva = "lr-fmsx"
                          msx_BARUKOforMSX1128Kv31 = "lr-fmsx"
                          msx_Fuzzball1986Eaglesoft = "lr-fmsx"
                          msx_Gamecase-Sega = "lr-msx"
                          msx_Gauntlet1985Gremlin = "lr-fmsx"
                          msx_Gauntlet1986USGold = "lr-fmsx"
                          msx_GameLand1984CasioJpKanji = "lr-fmsx"
                          msx_JetSetWilly1984SoftwareProjectsb2 = "lr-fmsx"
                          msx_R-TypeEnhancement = "lr-fmsx"
                          msx_DesperadoSp1987TopoSoft = "lr-fmsx"
                          msx_Bubbler1987Ultimate = "lr-fmsx"
                          msx_InvadersRevenge19xxMMGSoftware1 = "lr-fmsx"
                          msx_INVADERS_DSK_ENG_MSX1 = "lr-fmsx"
                          msx_MazeMaxFr1985Loriciels = "lr-fmsx"
                          msx_PowerDrift1989Activision = "lr-fmsx"
                          msx_NuclearInvadersDaniCrespo2012 = "lr-fmsx"
                          msx_OutRun1988USGold = "lr-fmsx"
                          msx_OutRun11988USGold = "lr-fmsx"
                          msx_KickIt1986Aackosoft = "lr-fmsx"
                          msx_SeaKingPlayers1986 = "lr-fmsx"
                          msx_SirFredMadeinSpain1985 = "lr-fmsx"
                          msx_TimeCurbAackosoft1986 = "lr-fmsx"
                          msx_SuperIlevanKoichiNishida1987 = "lr-fmsx"
                          msx_WhoDaresWinsIIAlligata1986 = "lr-fmsx"
                          msx_BomberManParagon = "lr-fmsx"
                          msx_Desolator1986GremlinGraphicsSoftware = "lr-fmsx"
                          msx_BoulderDash1986OrpheusMSX1Jap = "lr-fmsx"
                          msx_Skramble1986Aackosoft = "lr-fmsx"
                          msx_Skramble1985Aackosoft = "lr-fmsx"
                          msx_AleHopSp1988TopoSoft = "lr-fmsx"
                          msx_GridTrap1985Livewiresoft = "lr-fmsx"
                          msx_SpartanXPonyCanyon1985 = "lr-fmsx"
                          msx_JackieChanInSpartanX1985Pony = "lr-fmsx"
                          msx_AstroBlaster1988Eurosoft = "lr-fmsx"

                          Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            Folly @JimmyFromTheBay
                            last edited by

                            @jimmyfromthebay

                            Yea indeed, that we did that ctrl too back in the days.
                            Was not aware that this was in the link also.

                            1 Reply Last reply Reply Quote 0
                            • F
                              Folly @JimmyFromTheBay
                              last edited by Folly

                              @jimmyfromthebay

                              You could try and install a Philips MSX with lr-mess.
                              This should also work.

                              I will test a Philips.

                              I tested nms8250 for mame/lr-mess.
                              The game works with this type with mame/lr-mess oob.

                              You will also be able to edit the disk :
                              Go into the UI and you will be able to eject the disk, reset the machine, insert disk again and edit the disk in basic.

                              1 Reply Last reply Reply Quote 0
                              • J
                                JimmyFromTheBay @Folly
                                last edited by

                                @folly said in Anyone know why lr-fmsx doesn't work on Pi 4?:

                                I altered the .dsk with openmsx.
                                You have to eject the disk on boot and later insert it again when you are in basic.
                                That way you can see the files on disk with the command files.
                                Then you have to load JETSET.BAS with load"jetset.bas".
                                Do list or in this case you can do list 0.
                                Alter the POKE -1,170 into POKE -1,(15-PEEK(-1)\16)*17 .
                                Then save the file again with save"jetset.bas"
                                If you want to you can run with run and you will execute the basic file.

                                Now the .dsk file is changed and you will be able to load it into the other emulators.

                                I tried Astro Blaster with nms8250. I was able to eject the disk, access BASIC and insert the disk again. There was only one .BAS file on there, which had a single line of code which didn't mention any POKEs. I typed the POKE in directly anyway and typed RUN, but it just continually rebooted itself like it did before.

                                Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                                F 2 Replies Last reply Reply Quote 0
                                • F
                                  Folly @JimmyFromTheBay
                                  last edited by Folly

                                  @jimmyfromthebay

                                  I had a look at Astro Blaster.
                                  It doesn't work for me too, It has a different issue, that I can't find.

                                  But basically the disk is probably a conversion of a ROM.
                                  So you should find a ROM and use that.

                                  I have a rom version and it loads.

                                  Search the internet for "file-hunter"

                                  With these commands you should be able to find all the "Astro Blaster" files :

                                  cd /home/pi/RetroPie/roms/msx
                                  find -name "Astro Bl*"
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    Folly @JimmyFromTheBay
                                    last edited by Folly

                                    @jimmyfromthebay

                                    Edit: patch is added here :
                                    https://github.com/FollyMaddy/RetroPie-Share/tree/main/00-roms-00/msx/Astro Blaster (1988)(Eurosoft)

                                    I found the issues.
                                    The Astro Blaster (1988)(Eurosoft)-changed.dsk has a poke issue and with40 issue.
                                    I have this file :
                                    Command to get the md5sum of the file :

                                    md5sum "Astro Blaster (1988)(Eurosoft).dsk"
                                    

                                    Output of the md5sum command :

                                    6a65f8df7b188c4cc5d1c52a3b63a46e  Astro Blaster (1988)(Eurosoft).dsk
                                    

                                    This is the edit to fix it :
                                    (from)
                                    Astro Blaster (1988)(Eurosoft)-original 0001.png
                                    (to)
                                    Astro Blaster (1988)(Eurosoft)-changed 0002.png

                                    J 1 Reply Last reply Reply Quote 1
                                    • J
                                      JimmyFromTheBay @Folly
                                      last edited by

                                      @folly said in Anyone know why lr-fmsx doesn't work on Pi 4?:

                                      @jimmyfromthebay

                                      Edit: patch is added here :
                                      https://github.com/FollyMaddy/RetroPie-Share/tree/main/00-roms-00/msx/Astro Blaster (1988)(Eurosoft)

                                      I found the issues.
                                      The Astro Blaster (1988)(Eurosoft)-changed.dsk has a poke issue and with40 issue.

                                      You're a wizard :D

                                      Flips recognised the patch this time, all working :)

                                      Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                                      F 1 Reply Last reply Reply Quote 0
                                      • F
                                        Folly @JimmyFromTheBay
                                        last edited by Folly

                                        @jimmyfromthebay

                                        Aha, MAGIC, that's nice to hear !

                                        Btw., what is the md5sum of your "Jet Set Willy (1984)(Software Projects).dsk" ?
                                        Perhaps you have a different file than me, if so, the patch probably will not work because of that.

                                        It would be nice to know the cause.

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          JimmyFromTheBay
                                          last edited by JimmyFromTheBay

                                          @folly said in Anyone know why lr-fmsx doesn't work on Pi 4?:

                                          @jimmyfromthebay

                                          Aha, MAGIC, that's nice to hear !

                                          Btw., what is the md5sum of your "Jet Set Willy (1984)(Software Projects).dsk" ?
                                          Perhaps you have a different file than me, if so, the patch probably will not work because of that.

                                          It would be nice to know the cause.

                                          I suspect the cause was GitHub. I can never remember which method of downloading files from GitHub pages gets you the real file, and which way gets you a broken useless one just pretending to be it.

                                          Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                                          F 1 Reply Last reply Reply Quote 0
                                          • F
                                            Folly @JimmyFromTheBay
                                            last edited by

                                            @jimmyfromthebay said in Anyone know why lr-fmsx doesn't work on Pi 4?:

                                            @folly said in Anyone know why lr-fmsx doesn't work on Pi 4?:

                                            @jimmyfromthebay

                                            Aha, MAGIC, that's nice to hear !

                                            Btw., what is the md5sum of your "Jet Set Willy (1984)(Software Projects).dsk" ?
                                            Perhaps you have a different file than me, if so, the patch probably will not work because of that.

                                            It would be nice to know the cause.

                                            I suspect the cause was GitHub. I can never remember which method of downloading files from GitHub pages gets you the real file, and which way gets you a broken useless one just pretending to be it.

                                            Never mind.

                                            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.