How do I compile MAME roms?

Discussion in 'Computer Programming, Emulation, and Game Modding' started by Trash_Bandatcoot, Dec 6, 2018.

  1. Trash_Bandatcoot
    OP

    Trash_Bandatcoot Your average GBAtemp fanboy

    Member
    5
    Jul 14, 2018
    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!
     
  2. B_E_P_I_S_M_A_N

    B_E_P_I_S_M_A_N seasonal waifu

    Member
    9
    Jun 7, 2016
    Antarctica
    Hell
    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?
     
  3. Trash_Bandatcoot
    OP

    Trash_Bandatcoot Your average GBAtemp fanboy

    Member
    5
    Jul 14, 2018
    Netherlands
    I get them from a GitHub page, but I have no idea where to place sonic2.cpp.
     
  4. B_E_P_I_S_M_A_N

    B_E_P_I_S_M_A_N seasonal waifu

    Member
    9
    Jun 7, 2016
    Antarctica
    Hell
    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.
     
  5. Trash_Bandatcoot
    OP

    Trash_Bandatcoot Your average GBAtemp fanboy

    Member
    5
    Jul 14, 2018
    Netherlands
    Cool, thanks!
     
Loading...