Play arcade games on FreeBSD.
I don't know if you've seen them in real life, but I only remember them from films from the 80s and 90s. This is such a large box with a screen that, if I'm not mistaken, is designed to run only one game. But on FreeBSD we can play a lot of these games, just like we had a lot of arcade machines. There is a cross-platform MAME emulator, which is designed to recreate the electronic equipment of arcade machines in the form of software, due to which we can play these games on FreeBSD.
First, let's install the MAME emulator itself, run the commands:
pkg install mame
make install clean
To configure MAME, we need to create a mame file .ini. I have FreeBSD 11 amd64 installed, so MAME will be sixty-four bits and all commands will be executed like this mame64, but if you have a thirty-two bit system then just mame.
And let's also create a .mame directory where our games will be stored.
Now when the mame.ini file is created, we are looking for the lines in it:
# CORE SEARCH PATH OPTIONS
# CORE OUTPUT DIRECTORY OPTIONS
# OSD VIDEO OPTIONS
In the # CORE SEARCH PATH OPTIONS and # CORE OUTPUT DIRECTORY lines OPTIONS indicate the path of your ROMS (games), cfg and so on, that is.
And in the line # OSD VIDEO OPTIONS
For example, if you want the game to open in a window and not in full screen, then instead of
All ROMS ROMs of games are placed in the /home/user/.mame/roms folder, everything is ready with the settings. To start the MAME emulator in the terminal, run the command: