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

    How do I compile mame2010 from source

    Scheduled Pinned Locked Moved Help and Support
    38 Posts 5 Posters 10.1k 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
      proaudiosoft
      last edited by

      I have downloaded the source to lr-mame2010 and commented out the lines of code that should get rid of the nag screen.
      I am not quite sure how to compile it. I have about 5 computers in my office, including windows, ubuntu studio, and Mac, and of course rpi3 I could use to compile. for now I ran "make" on the linux computer and its definately doing something lol. I am just not sure if this is correct. can someone point me in the right direction. I tried "make -f Makefile.libretro "VRENDER=soft" -j4 buildtools" , but that did not work.

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

        Anyhelp guys? I just need the proper command???

        1 Reply Last reply Reply Quote -3
        • BuZzB
          BuZz administrators
          last edited by

          Please be patient and wait for a reply - you will find you actually put people off from helping by being impatient.

          sudo ./retropie_packages.sh lr-mame2010 depends
          sudo ./retropie_packages.sh lr-mame2010 sources
          

          edit the sources as required in tmp/build/lr-mame2010

          sudo ./retropie_packages.sh lr-mame2010 build
          sudo ./retropie_packages.sh lr-mame2010 install
          sudo ./retropie_packages.sh lr-mame2010 configure
          

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

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

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • P
              proaudiosoft
              last edited by

              I think I got it. I just needed to download with the first commands you gave. Then I edited the file in the tmp directory(RetroPie-Setup/tmp/build/lr-mame2010/src/emu/ui.c) before building. will see what happens :)
              Thanks Jools!

              1 Reply Last reply Reply Quote 0
              • P
                proaudiosoft @BuZz
                last edited by

                @BuZz

                I missed your line "edit the sources as required in tmp/build/lr-mame2010" before my first reply, duh. Figured out its location on my own, just read this. Thanks again

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

                  One last question: I am compiling this on a clone card, not my main retropie card. When this is finished compiling, can I simply copy the newly compiled /opt/retropie/libretrocores/lr-mame2010/mame2010_libretro.so file to my other card for changes to take effect?

                  1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators
                    last edited by

                    That should work yes.

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      proaudiosoft @BuZz
                      last edited by proaudiosoft

                      @BuZz I did exactly as you instructed. It failed with 1 error (see Image)
                      link text

                      All I changed in the source, I commented out lines 301-323 of ui.c in the emu folder with #
                      Did I maybe not comment out correctly?

                      1 Reply Last reply Reply Quote 0
                      • BuZzB
                        BuZz administrators
                        last edited by BuZz

                        The error is not in the screenshot. Please use copy&paste via ssh to get errors. The problem is probably because you used "#" to comment out lines. To comment out lines in C you use /* comment */ or // comment (c99)

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

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

                          I was wondering about that, I am sure that is it. I will try with // and let you know . Thanks again!

                          1 Reply Last reply Reply Quote 0
                          • P
                            proaudiosoft @BuZz
                            last edited by

                            @BuZz Worked like a charm, Thanks again!

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

                              Buzz or anyone that is able:, I have an old pi2 with lr-imame4all with nag as well. How would I go about doing the same to this one. I have tried typing in :
                              sudo ./retropie_packages.sh lr-mame2010 depends (as well as:)
                              sudo ./retropie_packages.sh lr-mame2010 sources
                              without success, ask me for a password i believe. Trying to set this one up for my mom on a vertical machine (she loves ms pacman) . I would like to use lr imame4all, but would love to get rid of this nag.
                              (or if anyone knows, is the a way to just nop it out using a dissassembler like ida pro or something)

                              suprjamiS 1 Reply Last reply Reply Quote 0
                              • suprjamiS
                                suprjami @proaudiosoft
                                last edited by

                                @proaudiosoft So if you are trying to compile lr-imame4all, why are you running commands to compile mame2010?

                                If you've made some modification to the mame4all source then please show what you've done.

                                If your aim is to remove the "OK" left/right nag screen, you don't need to recompile for that, there is an option to turn it off in the configuration.

                                P 3 Replies Last reply Reply Quote 0
                                • P
                                  proaudiosoft @suprjami
                                  last edited by

                                  @suprjami thanks dude. I was running the right command, I just copied and pasted from above on the page and I meant to edit to correct, oops lol. I have modified mame2010 source and it works great. I know the nag for that could not be turned off. I will try for lr-imame4all and see what gives. Thanks

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    proaudiosoft @suprjami
                                    last edited by proaudiosoft

                                    @suprjami what is the option to turn it off? I tried: mame_current_nagscreenpatch_enable = "enabled" in /opt/retropie/configs/all/retroarch-core-options.cfg , does not work???
                                    (for the record, this is a pi2 with lr-imame4all)

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      proaudiosoft @suprjami
                                      last edited by proaudiosoft

                                      @suprjami Also tried:
                                      mame2003-skip_disclaimer = "enabled"
                                      mame2003-skip_warnings = "enabled"
                                      no love :( anyone have any insight?
                                      (trying to use mame2003 now, or any lr mame so i can size screen perfect)

                                      dankcushionsD suprjamiS 2 Replies Last reply Reply Quote 1
                                      • dankcushionsD
                                        dankcushions Global Moderator @proaudiosoft
                                        last edited by

                                        @proaudiosoft said in How do I compile mame2010 from source:

                                        @suprjami Also tried:
                                        mame2003-skip_disclaimer = "enabled"
                                        mame2003-skip_warnings = "enabled"
                                        no love :( anyone have any insight?
                                        (trying to use mame2003 now, or any lr mame so i can size screen perfect)

                                        that's correct for mame2003. what version of it are you using? i would update it from the latest binaries to be sure. the nagscreen/warnings were added a few months ago. if you were running the right version, those options would already be in your retroarch-core-options.cfg, even.

                                        P 1 Reply Last reply Reply Quote 1
                                        • suprjamiS
                                          suprjami @proaudiosoft
                                          last edited by

                                          @proaudiosoft Those are the right ones. Which game are you testing that brings up a nag screen? Specifically which nag screen appears? I'll test here and confirm.

                                          P 1 Reply Last reply Reply Quote 0
                                          • P
                                            proaudiosoft @suprjami
                                            last edited by proaudiosoft

                                            @suprjami I only have 4 in directory for mame2003 and all of them bring it up (copyright warning). dkong, dkongjr, dkong3, and mspacman. thinking maybe it was a pi2 wheezy prob i snagged mame2003 from my newest pi3 4.02 install and cp it to the directory for that core, no change. its like damn. I just need an lr mame without nag. I hate to sound unappreciative to anyone compiling and programing mame, but what the sense in hell does it make to put a warning on a piece of software designed to circumvent just what its warning about. I think I am not alone at being amused and frustrated by the irony! Ok boys, let's make something fantastic for a guy to build his own arcade with, but haha, lets frustrate the fuck out of him with these nag screens. We don't want this shit to be too great right... but hey, that enable nag is about as fantastic lol.

                                            suprjamiS 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.