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

Development of module-script generator for lr-mess, lr-mame and mame standalone

Scheduled Pinned Locked Moved Ideas and Development
developmentlr-messmamelr-mamescripts
2.2k Posts 35 Posters 6.1m 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.
  • S
    shift @Folly
    last edited by shift 21 Jul 2024, 13:49

    @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

    Tried this simple program :
    10 PRINT"HALLO"

    PSAVE works however PLOAD doesn't work in 267.
    Tried the psaved file from 267 in 240 and that loaded the file.

    So there seems to be some regression going on.

    Very interesting, I try to see the differences in the history of the pecom.cpp driver

    EDIT: I opened an issue on https://github.com/mamedev/mame/issues
    Let's see what they say

    S 1 Reply Last reply 21 Jul 2024, 15:02 Reply Quote 0
    • S
      shift @shift
      last edited by 21 Jul 2024, 15:02

      @folly changing the subject, I tried to install the psionlz system from the script, but nothing seems to happen, am I doing something wrong?

      F 1 Reply Last reply 21 Jul 2024, 20:22 Reply Quote 0
      • F
        Folly @shift
        last edited by 21 Jul 2024, 20:22

        @shift said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

        @folly changing the subject, I tried to install the psionlz system from the script, but nothing seems to happen, am I doing something wrong?

        You need these two BIOS files :
        psionlz.zip
        hd44780_a00.zip

        I found that hd44780_a00.zip doesn't exist in mame-merged so I renamed hd44780.zip, which also contains that file, to hd44780_a00.zip.
        Then it will work however mame will complain about a wrong checksum.
        Seems mame-merged isn't up to date for that driver.

        S 1 Reply Last reply 21 Jul 2024, 21:02 Reply Quote 0
        • S
          shift @Folly
          last edited by 21 Jul 2024, 21:02

          @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

          You need these two BIOS files :
          psionlz.zip
          hd44780_a00.zip

          I found that hd44780_a00.zip doesn't exist in mame-merged so I renamed hd44780.zip, which also contains that file, to hd44780_a00.zip.
          Then it will work however mame will complain about a wrong checksum.
          Seems mame-merged isn't up to date for that driver.

          Sorry, I explained myself badly, the problem is that the script does not create anything, neither the empty folder in /roms, nor the folder with the configuration files in the /opt/retropie/configs folder, nor the string in es_systems.cfg. If it works fine for you then it's my problem.

          F 1 Reply Last reply 22 Jul 2024, 09:51 Reply Quote 0
          • F
            Folly @shift
            last edited by 22 Jul 2024, 09:51

            @shift said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

            @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

            You need these two BIOS files :
            psionlz.zip
            hd44780_a00.zip

            I found that hd44780_a00.zip doesn't exist in mame-merged so I renamed hd44780.zip, which also contains that file, to hd44780_a00.zip.
            Then it will work however mame will complain about a wrong checksum.
            Seems mame-merged isn't up to date for that driver.

            Sorry, I explained myself badly, the problem is that the script does not create anything, neither the empty folder in /roms, nor the folder with the configuration files in the /opt/retropie/configs folder, nor the string in es_systems.cfg. If it works fine for you then it's my problem.

            Updated the scrips so psionlz can be installed :
            https://github.com/FollyMaddy/RetroPie-Share/commit/18892b38b8e2464243a700444870f4fb1d402deb

            S 1 Reply Last reply 22 Jul 2024, 10:22 Reply Quote 0
            • S
              shift @Folly
              last edited by 22 Jul 2024, 10:22

              @Folly it works perfectly

              Another question:
              I was testing the SF-7000 system, an add-on for Sega's SC-3000. I saw that in the media list:

              SYSTEM           MEDIA NAME       (brief)    IMAGE FILE EXTENSIONS SUPPORTED
              ---------------- --------------------------- -------------------------------
              sf7000           cassette         (cass)     .wav  .flac .bit  .tzx
              sf7000           floppydisk       (flop)     .mfi  .dfi  .hfe  .mfm  .td0  .imd  .d77  .d88  .1dd  .cqm  .cqi  .dsk  .sf7
              sf7000           printout         (prin)     .prn
              
              

              there is only one floppy available

              Since you need the floppy with the basic to load almost 90% of the games, would it be possible to add a second floppy to the script?

              Ah! One more thing, in the SF3000 I'm using this line:

              But I don't remember having told you that to make the games on cassette work you first had to load the basic from the cartridge, this is the line I'm using:

              lr-mess-sc3000-basic-cass = "/opt/retropie/emulators/retroarch/bin/retroarch --config /opt/retropie/configs/sc3000/retroarch.cfg --appendconfig /opt/retropie/configs/sc3000/retroarch.cfg.add -S /home/pi/RetroPie/roms/sc3000 -s /home/pi/RetroPie/roms/sc3000 -v -L /opt/retropie/libretrocores/lr-mess/mamemess_libretro.so 'sc3000  -rompath /home/pi/RetroPie/BIOS/mame;/home/pi/RetroPie/roms/sc3000/ -cfg_directory /opt/retropie/configs/sc3000/lr-mess -c -ui_active -cart basic3 -cass %ROM%'"
              
              
              F S 2 Replies Last reply 22 Jul 2024, 15:48 Reply Quote 0
              • F
                Folly @shift
                last edited by 22 Jul 2024, 15:48

                @shift said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                @Folly it works perfectly

                Another question:
                I was testing the SF-7000 system, an add-on for Sega's SC-3000. I saw that in the media list:

                SYSTEM           MEDIA NAME       (brief)    IMAGE FILE EXTENSIONS SUPPORTED
                ---------------- --------------------------- -------------------------------
                sf7000           cassette         (cass)     .wav  .flac .bit  .tzx
                sf7000           floppydisk       (flop)     .mfi  .dfi  .hfe  .mfm  .td0  .imd  .d77  .d88  .1dd  .cqm  .cqi  .dsk  .sf7
                sf7000           printout         (prin)     .prn
                
                

                there is only one floppy available

                Since you need the floppy with the basic to load almost 90% of the games, would it be possible to add a second floppy to the script?

                This isn't possible, mame doesn't support a second floppy for this driver.

                Ah! One more thing, in the SF3000 I'm using this line:

                But I don't remember having told you that to make the games on cassette work you first had to load the basic from the cartridge, this is the line I'm using:

                lr-mess-sc3000-basic-cass = "/opt/retropie/emulators/retroarch/bin/retroarch --config /opt/retropie/configs/sc3000/retroarch.cfg --appendconfig /opt/retropie/configs/sc3000/retroarch.cfg.add -S /home/pi/RetroPie/roms/sc3000 -s /home/pi/RetroPie/roms/sc3000 -v -L /opt/retropie/libretrocores/lr-mess/mamemess_libretro.so 'sc3000  -rompath /home/pi/RetroPie/BIOS/mame;/home/pi/RetroPie/roms/sc3000/ -cfg_directory /opt/retropie/configs/sc3000/lr-mess -c -ui_active -cart basic3 -cass %ROM%'"
                
                

                It's possible to add an extra install for sc3000 in the EXTRAS section.
                I think for the orion128 that is also the best solution as my experiment in the default section was not a good solution.
                Will have a look at these in the coming week.

                S 1 Reply Last reply 22 Jul 2024, 16:03 Reply Quote 0
                • S
                  shift @shift
                  last edited by 22 Jul 2024, 15:59

                  @Folly something very strange happened to me with the psionlz emulator.

                  The first time I launched a game with lr-mess (basename) everything went well, it booted where I chose the language and I arrived in the GUI, everything was fine in short. I go out.
                  I do the same procedure again and it gives me this message TRAP 5557 5555 and the screen goes blank, I can't do anything anymore.

                  I try again by changing launch mode, I use lr-run-mess, same thing, the first time it works, but from the second onwards the same message on the display TRAP 5557 5555.

                  I also try again with the mame, same thing, the first time it works, but from the second onwards the same message TRAP 5557 5555.

                  Tried with lr-mess (dpak1), different error message TRAP 012C CDE6

                  I tried uninstalling and reinstalling the psionlz system, but nothing, it immediately gives me those errors, what could it be? Any configuration that remains active?

                  F 1 Reply Last reply 22 Jul 2024, 17:44 Reply Quote 0
                  • S
                    shift @Folly
                    last edited by 22 Jul 2024, 16:03

                    @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                    It's possible to add an extra install for sc3000 in the EXTRAS section.

                    OK perfect!

                    1 Reply Last reply Reply Quote 0
                    • F
                      Folly @shift
                      last edited by Folly 22 Jul 2024, 17:44

                      @shift said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                      @Folly something very strange happened to me with the psionlz emulator.

                      The first time I launched a game with lr-mess (basename) everything went well, it booted where I chose the language and I arrived in the GUI, everything was fine in short. I go out.
                      I do the same procedure again and it gives me this message TRAP 5557 5555 and the screen goes blank, I can't do anything anymore.

                      I try again by changing launch mode, I use lr-run-mess, same thing, the first time it works, but from the second onwards the same message on the display TRAP 5557 5555.

                      I also try again with the mame, same thing, the first time it works, but from the second onwards the same message TRAP 5557 5555.

                      Tried with lr-mess (dpak1), different error message TRAP 012C CDE6

                      I tried uninstalling and reinstalling the psionlz system, but nothing, it immediately gives me those errors, what could it be? Any configuration that remains active?

                      Seems there are issues with the driver.
                      Found that all psion2 software is marked as not supported in the hash table.
                      However I could load assem.zip.
                      Though indeed as you said there will be a TRAP message the second time you try.
                      You can circumvent this by deleting the nvram files.
                      For lr-mess they are saved in the same folder as the software is, like :
                      /home/pi/RetroPie/roms/psionlz/mame/nvram/psionlz
                      For mame standalone it will be in :
                      /home/pi/RetroPie/roms/mame/nvram/psionlz
                      Sadly no other options right now.

                      S 1 Reply Last reply 22 Jul 2024, 19:55 Reply Quote 0
                      • S
                        shift @Folly
                        last edited by 22 Jul 2024, 19:55

                        @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                        Seems there are issues with the driver.
                        Found that all psion2 software is marked as not supported in the hash table.
                        However I could load assem.zip.
                        Though indeed as you said there will be a TRAP message the second time you try.
                        You can circumvent this by deleting the nvram files.
                        For lr-mess they are saved in the same folder as the software is, like :
                        /home/pi/RetroPie/roms/psionlz/mame/nvram/psionlz
                        For mame standalone it will be in :
                        /home/pi/RetroPie/roms/mame/nvram/psionlz
                        Sadly no other options right now.

                        As for the standalone MAME, actually the nvram was where you said, in fact deleting it worked, however I noticed that the path to the nvram for lr-mess was created here: /home/pi/psionlz -rompath /home/pi/ RetroPie/BIOS/mame/psionlz
                        not only psionlz but with that strange path I also found spc1000, svi328 and phc25
                        It seems a bit strange to me, are you saying it's the driver?

                        F 1 Reply Last reply 23 Jul 2024, 06:37 Reply Quote 0
                        • F
                          Folly @shift
                          last edited by Folly 23 Jul 2024, 06:37

                          @shift said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                          @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                          Seems there are issues with the driver.
                          Found that all psion2 software is marked as not supported in the hash table.
                          However I could load assem.zip.
                          Though indeed as you said there will be a TRAP message the second time you try.
                          You can circumvent this by deleting the nvram files.
                          For lr-mess they are saved in the same folder as the software is, like :
                          /home/pi/RetroPie/roms/psionlz/mame/nvram/psionlz
                          For mame standalone it will be in :
                          /home/pi/RetroPie/roms/mame/nvram/psionlz
                          Sadly no other options right now.

                          As for the standalone MAME, actually the nvram was where you said, in fact deleting it worked, however I noticed that the path to the nvram for lr-mess was created here: /home/pi/psionlz -rompath /home/pi/ RetroPie/BIOS/mame/psionlz

                          Is the path :
                          /home/pi/psionlz -rompath /home/pi/ RetroPie/BIOS/mame/psionlz ?

                          not only psionlz but with that strange path I also found spc1000, svi328 and phc25

                          Had a look in the help of RetroArch, might be that these options don't work for newer versions anymore :

                          -s, --save=PATH                Path for save files (*.srm). (DEPRECATED, use --appendconfig and savefile_directory)
                          -S, --savestate=PATH           Path for the save state files (*.state). (DEPRECATED, use --appendconfig and savestate_directory)
                          

                          Then we have to bisect the runcommand.
                          Although not really not sure, will have to think about that.
                          Could also be a corrupted retroarch.cfg somewhere.

                          It seems a bit strange to me, are you saying it's the driver?

                          Believe me, mame is a nice package but has a lot of issues and if far from perfect.
                          What do you think it would be ?

                          S 1 Reply Last reply 23 Jul 2024, 12:04 Reply Quote 0
                          • S
                            shift @Folly
                            last edited by 23 Jul 2024, 12:04

                            @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                            Is the path :
                            /home/pi/psionlz -rompath /home/pi/ RetroPie/BIOS/mame/psionlz ?

                            yes, exactly that.

                            @Folly said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                            Had a look in the help of RetroArch, might be that these options don't work for newer versions anymore :

                            -s, --save=PATH Path for save files (.srm). (DEPRECATED, use --appendconfig and savefile_directory)
                            -S, --savestate=PATH Path for the save state files (
                            .state). (DEPRECATED, use --appendconfig and savestate_directory)

                            If the use of -s and -S are deprecated it could be that some drivers behave strangely, also because, it doesn't do it with everyone, of all the systems I installed only 4 or 5 had this strange problem.

                            S 1 Reply Last reply 23 Jul 2024, 16:37 Reply Quote 0
                            • S
                              shift @shift
                              last edited by 23 Jul 2024, 16:37

                              @Folly I'm trying the Sord M5 system, however some cassettes require that the basic I from the cartridge be loaded first, I modified a line generated by the script to be able to make those cassettes work, the command line is this:

                              lr-mess-m5-basic-cass = "/opt/retropie/emulators/retroarch/bin/retroarch --config /opt/retropie/configs/m5/retroarch.cfg --appendconfig /opt/retropie/configs/m5/retroarch.cfg.add -S /home/pi/RetroPie/roms/m5 -s /home/pi/RetroPie/roms/m5 -v -L /opt/retropie/libretrocores/lr-mess/mamemess_libretro.so 'm5  -rompath /home/pi/RetroPie/BIOS/mame;/home/pi/RetroPie/roms/m5/ -cfg_directory /opt/retropie/configs/m5/lr-mess -c -ui_active -cart1 basici -cass %ROM%'"
                              
                              
                              F 1 Reply Last reply 24 Jul 2024, 06:21 Reply Quote 0
                              • F
                                Folly @shift
                                last edited by Folly 24 Jul 2024, 06:21

                                @shift

                                I could use some help with the script.
                                Seems you might be the one that could help.
                                Do you have a github account and do you want to help with the script ?

                                Have a look at these lines in the script :
                                https://github.com/FollyMaddy/RetroPie-Share/blob/main/00-scriptmodules-00/supplementary/mamedev.sh#L739-L816

                                These are CSV lines to do the EXTRAS installs.
                                You can add a custom line for the driver you want.
                                For example for :

                                • orion128
                                • sc3000
                                • m5

                                If it works then you can do a PullRequest to add the lines to the script.

                                1 Reply Last reply Reply Quote 0
                                • F
                                  Folly
                                  last edited by Folly 8 Aug 2024, 12:43 8 Aug 2024, 11:42

                                  @shift

                                  It has taken me a while to proceed with adding stuff.
                                  For now I added the extra install lines for orion128.
                                  For compatibility I used the hash table names as sub-directories.
                                  The commit is here :
                                  https://github.com/FollyMaddy/RetroPie-Share/commit/928d1ca6e54d5723aa6129df6b9087904d2700fd

                                  Will try to do the others when I feel to it.

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    Folly
                                    last edited by 10 Aug 2024, 14:16

                                    @shift

                                    I have added sc-3000 :
                                    https://github.com/FollyMaddy/RetroPie-Share/commit/0066451621e0e236e3b28f010d55e2826af3c45a

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      Folly
                                      last edited by 10 Aug 2024, 16:41

                                      @shift

                                      Added m5 with cassette support loading basici :
                                      https://github.com/FollyMaddy/RetroPie-Share/commit/0bc737c3c2c8389ea8f29370f1f1263038284404

                                      1 Reply Last reply Reply Quote 0
                                      • duglorD
                                        duglor
                                        last edited by 23 Sept 2024, 09:47

                                        PC-98

                                        @Folly
                                        Which emulator would i use right now for pc 98 games, not counting the default lr-np2kai emulator? Any lr-mess-pc98 or lr-mame-pc98 or just lr-mame or just mame? Any?

                                        F 1 Reply Last reply 23 Sept 2024, 14:49 Reply Quote 0
                                        • F
                                          Folly @duglor
                                          last edited by Folly 23 Sept 2024, 14:49

                                          @duglor said in Development of module-script generator for lr-mess, lr-mame and mame standalone:

                                          PC-98

                                          @Folly
                                          Which emulator would i use right now for pc 98 games, not counting the default lr-np2kai emulator? Any lr-mess-pc98 or lr-mame-pc98 or just lr-mame or just mame? Any?

                                          I am not sure how good pc98 (pc9801) will run with mame or lr-mess but you can give it a try.
                                          lr-mame is arcade only so lr-mame will not work.
                                          There seem to be more types you can try and there are also pc9821 types.

                                          I am not very active right now with RetroPie and my script these days and I want to spend less time on it.
                                          For now I will update necessary things only.

                                          duglorD 1 Reply Last reply 24 Sept 2024, 01:23 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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received