How do I compile mame2010 from source
-
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. -
Anyhelp guys? I just need the proper command???
-
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
-
This post is deleted! -
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! -
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
-
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?
-
That should work yes.
-
-
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) -
I was wondering about that, I am sure that is it. I will try with // and let you know . Thanks again!
-
@BuZz Worked like a charm, Thanks again!
-
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) -
@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.
-
@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
-
@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) -
@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) -
@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.
-
@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.
-
@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.
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.