How do I compile mame2010 from source
-
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.
-
@proaudiosoft lol dude calm down
It all works fine here.
- Flash RetroPie 4.0.2 image to sdcard, startup and configure controller
- Edit
/opt/retropie/configs/all/retroarch-core-options.cfg
and setmame2003-skip_disclaimer = "enabled"
andmame2003-skip_warnings = "enabled"
- Copy verified MAME 0.78
dkong.zip
anddkong3.zip
anddkongjr.zip
andmspacman.zip
intoroms/mame-libretro/
- Copy samples
dkong.zip
anddkongjr.zip
intoBIOS/mame2003/samples/
- Edit: Updated the
lr-mame2003
core from binary using the RetroPie Setup Script. I did not compile it from source. - Restart EmulationStation
- Launch games from MAME menu, they play with
lr-mame2003
by default
All these games start with no nag screen, and sound works fine in all of them too.
-
@suprjami are you on rpi 2 or 3? can you press F1 while in game and make sure you are indeed using lr core. thanks dude
-
Pi 3 but that shouldn't matter, the binaries are the same for Pi 2 and Pi 3.
Apologies I forgot to mention this point: I updated the
lr-mame2003
core from binary using the RetroPie Setup Script before trying the games. I did not compile it from source.I promise you I am using the libretro core. There is no native mame2003 binary available for me to run. The runcommand menu says
lr-mame2003
. I am able to press Select+X and get into the RetroArch RGUI, where the version at the bottom reports "RetroArch 1.3.6 - MAME 2003 0.78" or whatever the description is. -
@suprjami The only thing that makes sense to me is the version of retropie I have on the pi2 was made before any enable disable stuff was put in. I wanted to use a pi2 because i have a few lying around, and they would be perfect for my moms cab thats going to be not very processing intensive at all. I would hate to waste a pi3 on it. I can not update this pi2 because my image is running wheezy it warns, so update the whole thing to jesse from scratch right. I have put alot of work into the old image though, and do not care to do it more than I need to. Was a pain enough getting everything imported into pi3 4.02 ha. alot of settings and crap had to be redone. not to mention all the GPIO crap. There has to be a way to fix this I am sure... As of now, the switches in the config dont do a damn thing. I might have to get the disassembler out and try to jump past the warning crap
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.