• 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

lr-MAME2010 editing mame.ini fails

Scheduled Pinned Locked Moved Help and Support
lr-mame 2010mame.ini
12 Posts 6 Posters 3.8k 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.
  • E
    estefan3112
    last edited by 8 May 2017, 21:00

    Hi, I try to run cosmica with lr-MAME2010 since the game received sample support only after lr-MAME2003. The game works in lr-MAME2010, but samples are not recognized.

    I read on the Github page of lr-MAME2010 that rompath , inipath and others must be set in mame.ini. Seemed to me that I have to edit the sample path correctly.

    Problem is: The mame.ini file is placed in /opt/retropie/libretrocores/lr-mame2010, where I have no permissions as pi.

    What is now the right way to proceed here? Does it make sense that lr-MAME2010 sets mame.ini into a directory that cannot be edited by the pi User?

    Any ideas are appreciated! Thanks, Stefan

    M A 2 Replies Last reply 8 May 2017, 22:26 Reply Quote 0
    • M
      mediamogul Global Moderator @estefan3112
      last edited by mediamogul 5 Sept 2017, 00:25 8 May 2017, 22:26

      @estefan3112

      You can place it from the command line using sudo before a cp command.

      sudo cp /path/to/mame.ini /opt/retropie/emulators/libretrocores/lr-mame2010/
      

      Edit:

      Does it make sense that lr-MAME2010 sets mame.ini into a directory that cannot be edited by the pi User?

      lr-mame2010 hasn't seen a lot of development. It's true that it needs a little love and care, but currently there's not much interest in it given that lr-mame2003 runs better on the Pi and the more recent versions run best on x86. It's sort of the middle child here.

      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

      1 Reply Last reply Reply Quote 0
      • E
        estefan3112
        last edited by 9 May 2017, 11:33

        Many thanks for the reply - I will give it a try, however, the problem could be somewhere else!

        As a follow-up, I tried the cosmica in lr-mame2010 in Retroarch on my Mac, where I do not have user restraints. Also here lr-mame2010 does not use cosmica samples ! I tried different configurations of mame.ini, with no change. But cosmica samples definitely work under lr-mame (the current upstream version) on my Mac!

        For lr-mame, it is sufficient to place the samples under [bios folder]/mame/samples, whereas [bios folder]/mame2010/samples does not work.

        I will do further testing on my Mac, since other games that rely on samples and seem to work with lr-mame2010, and will then try to transpose the results to the Pi. I will report back again!

        1 Reply Last reply Reply Quote 0
        • E
          estefan3112
          last edited by 16 May 2017, 13:27

          So here is the result of my tests: From the three games tested so far (cosmica, cosmicg and xevious), sample support in lr-MAME2010 seems to be broken. lr-MAME2013 and lr-MAME2016 (experimental) have proper sample support. Unfortunately cosmica just crawls on lr-MAME2016 (as opposed to the other games), so back to square one and no Sample support for cosmica on the Pi...

          Question: Would it make sense to open an issue on GitHub regarding the missing sample support in lr-MAME2010? Many thanks.

          D 1 Reply Last reply 16 May 2017, 14:34 Reply Quote 0
          • D
            dankcushions Global Moderator @estefan3112
            last edited by 16 May 2017, 14:34

            @estefan3112 said in lr-MAME2010 editing mame.ini fails:

            Question: Would it make sense to open an issue on GitHub regarding the missing sample support in lr-MAME2010? Many thanks.

            sure! it would be a fairly easy fix for someone if they were interested, but since mame2010 lacks so much i wonder if anyone would.

            1 Reply Last reply Reply Quote 0
            • E
              estefan3112
              last edited by 16 May 2017, 14:48

              Done: https://github.com/libretro/mame2010-libretro/issues/31

              1 Reply Last reply Reply Quote 1
              • A
                Alturis
                last edited by 9 Feb 2018, 18:06

                I was just looking into this exact same problem. But furthermore, what path is the mame.ini samplepath relative to? I guess I will try putting in a full path there from root.

                RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

                A 1 Reply Last reply 9 Feb 2018, 18:16 Reply Quote 0
                • A
                  Alturis @estefan3112
                  last edited by 9 Feb 2018, 18:14

                  @estefan3112 said in lr-MAME2010 editing mame.ini fails:

                  What is now the right way to proceed here? Does it make sense that lr-MAME2010 sets mame.ini into a directory that cannot be edited by the pi User?

                  I usually just go do a

                  sudo chmod a+w /opt/retropie/libretrocores/lr-mame2010/mame.ini
                  

                  Then continue with FileZilla or whatever to update the file.

                  RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

                  1 Reply Last reply Reply Quote 0
                  • A
                    Alturis @Alturis
                    last edited by 9 Feb 2018, 18:16

                    @alturis said in lr-MAME2010 editing mame.ini fails:

                    I was just looking into this exact same problem. But furthermore, what path is the mame.ini samplepath relative to? I guess I will try putting in a full path there from root.

                    This didn't work for me. Anyone know where the lr-mame2010 samples path is SUPPOSED to be located? The default init setting is "samples" but where is that "samples" relative to?

                    RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

                    U 1 Reply Last reply 9 Feb 2018, 21:40 Reply Quote 0
                    • U
                      UDb23 @Alturis
                      last edited by UDb23 2 Sept 2018, 21:41 9 Feb 2018, 21:40

                      @alturis When I was trying to make overlays work in lr-mame2010, I found out
                      that right path for mame2010 has to be "~/artwork/".
                      Didn't change anything in the default mame.ini .
                      I wouldn't be surprised if lr-mame2010 looks for samples in "~/sample/" or "~/samples/" .

                      A 1 Reply Last reply 10 Feb 2018, 00:56 Reply Quote 0
                      • A
                        Alturis @UDb23
                        last edited by 10 Feb 2018, 00:56

                        @udb23 Thanks for the suggestion. Tried that but didnt work. Could just be a bug with mame2010 who knows.

                        I am currently downloading all the advmame roms now and will try rip off with that rom zip and advmame emulator. The rom I have for it currently does not seem to work at all with advmame.

                        RP 4.7.1 • Pi4 4Gig • CanaKit Aluminum • 64GB microSD • 1920x1080 BarTop [2 Sanwa sticks]

                        M 1 Reply Last reply 10 Feb 2018, 13:29 Reply Quote 0
                        • M
                          movisman @Alturis
                          last edited by movisman 2 Oct 2018, 13:31 10 Feb 2018, 13:29

                          @alturis

                          Hi,

                          I just tested this and by default with lr-mame2010 you have to place the samples directory in the /home/pi directory, eg.
                          /home/pi/samples

                          I just put some samples in there and it works (tested mario and zaxxon).

                          See here for an explanation of the paths and a workaround which improves things somewhat until the paths are sorted within the core:
                          https://github.com/libretro/mame2010-libretro/issues/14

                          You'll also notice the mame.ini is ignored until it's copied to the /home/pi directory

                          If you follow the advice by raelgc by copying mame.ini to the pi directory and then editing the file to point the other folders elsewhere (such as cfg, etc), you would likely end up with a mame.ini in the home/pi directory, and then you can at least tell it to put all the other folders somewhere else, perhaps trying to match up with what mame2003 does.

                          The paths are a mess in the core right now it seems, I can understand why as 2010 isn't really targeted for Pi users and maybe needs a bit of tweaking to sort the paths out. I am using both Pi and an x86 build so I have a use case for 2010.

                          Cheers

                          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.

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