How do I compile mame2010 from source
-
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
-
@proaudiosoft Maybe it's the fact that I updated the libretro core, though I'm sure I have tested this before with the
lr-mame2003
that ships with RetroPie image and it works.If you are using a Wheezy-based image then please update to the latest image and try again. Raspbian Wheezy indicates an incredibly old version of RetroPie, it's no longer tested or expected to work.
If you don't want to blow away your current sdcard that's fine, try it on a spare sdcard. You can get a good Sandisk 8Gb card for 5 bucks.
-
@suprjami Sadly the wheezy will not update. It says its no longer supported and to basically start from scratch. I have a million SD cards and flash drives lying around, so thats not an issue at all. In this case I think there is a little more to it than just the binary and core cfg file. I have imported the binary from my pi3 and added setting to core cfg without success.
-
Yes, you cannot do a script update from Wheezy anymore.
By "update" I mean "flash the latest RetroPie 4.0.2 image which is based on Raspbian Jessie".
Copying bits and pieces from the Jessie image to the Wheezy image is definitely not expected to work.
-
yeah, thats ok, I already have that flashed if I wanted to go that route. I am looking at the elf file disassembled it should not be a big deal removing the nag screen from the looks of it. While I am at it I think I might dig in and try to remove the annoying white ES screen as well. Its funny how even the people on our side try and constrain us. Thats what causes reverse engineering in the first place.... the Irony... Thanks alot, I really do appreciate your help, we tried :)
-
@dankcushions yeah, sry just saw this. Sadly the options were not there, I forced the updated binary on, and put the switches in the core cfg file. no go... Can you send the proper binary with this commented out? would save me sometime i dont have 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.