# DGen

> open source emulator for Sega Genesis/Mega Drive

**Wikidata**: [Q10263584](https://www.wikidata.org/wiki/Q10263584)  
**Source**: https://4ort.xyz/entity/dgen

## Summary
DGen is an open-source emulator for the Sega Genesis and Mega Drive video game consoles. Initially released in 1998, it is free software distributed under BSD licenses that allows users to play legacy games on modern hardware. The application runs on Microsoft Windows and Unix-like operating systems.

## Key Facts
- **Entity Type:** Video game console emulator and free software.
- **Emulation Target:** Sega Genesis (also known as the Mega Drive).
- **Inception:** 1998.
- **Latest Version:** 1.33 (released July 26, 2014).
- **License:** BSD licenses.
- **Operating Systems:** Microsoft Windows and Unix-like operating systems.
- **Official Website:** http://dgen.sourceforge.net/.
- **Package Availability:** Available in repositories for Arch Linux, Gentoo, FreeBSD, NetBSD, OpenBSD, and SlackBuilds.
- **Aliases:** Dgen.

## FAQs
### Q: What gaming consoles does DGen emulate?
A: DGen is specifically designed to emulate the Sega Genesis and its international variant, the Sega Mega Drive.

### Q: Is DGen free to use?
A: Yes, DGen is classified as free software released under the BSD licenses, allowing users to freely run, study, change, and distribute it.

### Q: What operating systems are compatible with DGen?
A: DGen runs on Microsoft Windows and Unix-like operating systems. It is specifically available as a package or port for Arch Linux, Gentoo, FreeBSD, NetBSD, OpenBSD, and via SlackBuilds.

### Q: When was the last version of DGen released?
A: The most recent recorded version is 1.33, which was published on July 26, 2014.

## Why It Matters
DGen serves as a notable tool in the video game preservation ecosystem, specifically targeting the 16-bit era of Sega hardware. By offering a solution under the permissive BSD license, it provides developers and hobbyists the freedom to study and modify the code, ensuring the software can be adapted for future architectures. Its longevity—inception in 1998 with updates continuing into 2014—demonstrates sustained utility in the emulation community.

Unlike proprietary emulators, DGen's integration into major Unix-like package repositories (such as FreeBSD Ports, NetBSD packages, and Arch Linux) makes it a readily accessible standard for Sega Genesis emulation on open-source platforms. It bridges the gap between legacy console hardware and modern computing environments, ensuring that the library of Sega Genesis software remains playable on contemporary hardware without requiring original physical consoles.

## Notable For
- **Cross-Platform Availability:** Distinct presence on Unix-like systems, with specific ports for FreeBSD, NetBSD, OpenBSD, and Arch Linux.
- **Open Source Legacy:** Long-standing history as a free software project active since 1998.
- **Permissive Licensing:** Utilization of BSD licenses, which offers fewer restrictions than many other open-source licenses.
- **Wine Compatibility:** Recognition in the Wine AppDB (ID 11557), indicating its capability to run within Windows compatibility layers on Linux/Unix.

## Body

### Development and History
DGen was created as an open-source solution for emulating the Sega Genesis/Mega Drive hardware. The project's inception dates back to 1998. Development continued for over a decade, with version 1.33 cited as a stable release on July 26, 2014. The project is hosted on SourceForge and maintains a presence on social media platforms like Twitter (handle: dgen_emulator).

### Technical Specifications
The emulator is written in C (Wikidata Q15777) and is designed to run on Microsoft Windows and Unix-like operating systems. It is categorized as free software, distributed under the terms of the BSD licenses.

### Distribution and Installation
DGen is widely available across various software repositories, highlighting its integration into the open-source ecosystem:
- **Linux:** Available via Arch Linux packages (`dgen-sdl`), Gentoo packages (`games-emulation/dgen-sdl`), and SlackBuilds (`games/dgen`).
- **BSD Systems:** Present in FreeBSD Ports, NetBSD packages, and OpenBSD ports under the identifier `emulators/dgen-sdl`.
- **macOS:** Available through Homebrew under the formula name `dgen`.
- **Compatibility:** The software has a dedicated entry in the Wine AppDB (ID 11557), facilitating its execution on Linux systems via the Windows compatibility layer.

### Online Presence
The project maintains an official website hosted by SourceForge. Digital identifiers include a Freebase ID (`/m/07wphh`), a Repology project name (`dgen-sdl`), and a presence on Wikimedia Commons.