How do I compile MAME roms?

MaxiBash

Your Local Random Internet Geek
OP
Member
Joined
Jul 14, 2018
Messages
1,287
Trophies
1
Website
trashbandatcootofficial.cardd.co
XP
5,012
Country
Netherlands
SEGASonic Bros was recently found, and it comes with a .cpp as well, to get the game working on MAME.
However, I can't get this working, and I can't find a proper tutorial. If someone could help me, then that would be nice!
 
D

Deleted User

Guest
I've never heard of anyone trying to compile the ROMs themselves. Even if the source for the game was available, it'd probably be in ASM, not C++.

The .cpp file is probably for MAME itself to be able to run the game. You're going to have to compile MAME yourself with the new source file, along with a few new headers and/or header include statements, I presume. Are you getting these files from the official MAME repo?
 

MaxiBash

Your Local Random Internet Geek
OP
Member
Joined
Jul 14, 2018
Messages
1,287
Trophies
1
Website
trashbandatcootofficial.cardd.co
XP
5,012
Country
Netherlands
I've never heard of anyone trying to compile the ROMs themselves. Even if the source for the game was available, it'd probably be in ASM, not C++.

The .cpp file is probably for MAME itself to be able to run the game. You're going to have to compile MAME yourself with the new source file, along with a few new headers and/or header include statements, I presume. Are you getting these files from the official MAME repo?
I get them from a GitHub page, but I have no idea where to place sonic2.cpp.
 
D

Deleted User

Guest
Ah, doing some Googling around, it seems that there's already a pre-compiled version of MAME that supports running SEGASonic Bros floating around on the web. You can forgo the whole process of compiling MAME and just download the necessary build of the emulator here.

Assuming you run Windows 10, it seems all you need to do is extract the .exe from the .rar archive and drag and drop the ROM you found onto it. From there, you should be good to go.
 

MaxiBash

Your Local Random Internet Geek
OP
Member
Joined
Jul 14, 2018
Messages
1,287
Trophies
1
Website
trashbandatcootofficial.cardd.co
XP
5,012
Country
Netherlands
Ah, doing some Googling around, it seems that there's already a pre-compiled version of MAME that supports running SEGASonic Bros floating around on the web. You can forgo the whole process of compiling MAME and just download the necessary build of the emulator here.

Assuming you run Windows 10, it seems all you need to do is extract the .exe from the .rar archive and drag and drop the ROM you found onto it. From there, you should be good to go.
Cool, thanks!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-