BSD Ports

emulators/mednafen 1.32.1_2,1 DragonFly

Portable multi-system emulator

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2+
Categories
emulators, games
Package size
4099.6 KiB, 21780.5 KiB installed

Description

Mednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven multi-system emulator with many advanced features. The Atari Lynx, GameBoy, GameBoy Color, GameBoy Advance, NES, PC Engine(TurboGrafx 16), and SuperGrafx are emulated. Mednafen has the ability to remap hotkey functions and virtual system inputs to a keyboard, a joystick, or both simultaneously. Save states are supported, as is real-time game rewinding. Screen snapshots may be taken at the press of a button, and are saved in the popular PNG file format.

Mednafen is distributed under the terms of the GNU GPL.

Due to the threaded model of emulation used in Mednafen, and limitations of SDL a joystick is preferred over a keyboard to play games, as the joystick will have slightly less latency, although the latency differences may not be perceptible to most people.

In the other systems

The newest version among them is 1.32.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlyemulators/mednafen1.32.1_2,1 newestnone known-[email protected]-
FreeBSDemulators/mednafen1.32.1_2,1 newestnone known-[email protected]-
OpenBSDemulators/mednafen1.32.1p0 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDemulators/mednafen1.32.1nb4 newestnone known-[email protected]2026-09-29
HardenedBSDemulators/mednafen1.32.1_2,1 newestno data-[email protected]-
GhostBSDemulators/mednafen1.32.1_2,1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install mednafen

From DPorts:

cd /usr/dports/emulators/mednafen && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 10

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

The complete documentation is available at:

    /usr/local/share/doc/mednafen/Documentation/mednafen.html

If you experience crackling or choppy audio when using the OSS audio backend,
then Mednafen is probably using an unreasonable small period size with the
default value 0 of sound.period_time. In this case retry with an explicit value,
the documentation itself suggests 2.666ms or 5.333ms, i.e. set

    sound.period_time 2666  or
    sound.period_time 5333

Enjoy it ;)