WiiMednafen

From WiiBrew
Jump to navigation Jump to search
WiiMednafen
WiiMednafen.png
General
Author(s)Raz0red
TypeConsole emulator
Version0.2-pre
Links
Download
Website
Discussion
Source
Downloadable via the Homebrew Browser
Downloadable via the Open Shop Channel
Peripherals
Wiimote.svg Nunchuck alternative.svg ClassicController.svg GameCube Controller Loads files from the Front SD slot Loads files from SDHC cards in the Front SD slot USB mass storage device Local WiFi

Overview

WiiMednafen is a port of the Mednafen [1] emulator.

Emulators supported:

  • GameBoy/GameBoy Color
  • GameBoy Advance
  • Game Gear
  • Lynx
  • Mega Drive/Genesis
  • Nintendo Entertainment System (NES)
  • Neo Geo Pocket
  • PC Engine (CD)/TurboGrafx 16 (CD)/SuperGrafx (Fast version)
  • PC-FX
  • Sega Master System
  • Virtual Boy
  • WonderSwan

It should be noted that the Virtual Boy emulation included with this emulator is much improved over WiirtualBoy. Most games now run at 100% speed without frame skipping. These improvements are due entirely to Ryphecha (Mednafen) who optimized the core emulation code in addition to eliminating idle loops on a per game basis.

Video





Why port Mednafen?

So, a common question might be, "Why release a Mednafen port when a number of the included emulators already exist for the Wii?". After releasing the port of the Mednafen Virtual Boy emulator (WiirtualBoy), my intent was to release a port of the WonderSwan emulator. However, along the way, I decided that rather than replicate a lot of code between projects, I would release a port of Mednafen itself. Also, the possibility does exist for some issues to be resolved with the Mednafen code base. For example, the Lynx port does resolve some of the graphical glitches that exist in WiiHandy (RoadBlasters, Cyberball 2072).

Known Issues

This is a very early release of this port, and as such there are a number of known issues. Further, this emulator hasn't had a tremendous amount of testing so I am fairly certain there are a number of unknown issues as well. Please let me know if you experience any via the Google Code project issues list.

  • Save states do not display an associated screenshot.
  • PC-FX emulation is extremely slow.
  • Loading CD images via SMB (Network) will cause noticeable slowdown.
  • Cheats can't be created/edited within the WiiMednafen interface. (They must be created manually or preferably via Mednafen itself).
  • Individual cheats can't be enabled/disabled. Currently, all cheats are either enabled or disabled globally (via "Advanced" settings).
  • If you have a hard drive that falls asleep, it is highly recommended that you install the application and its support files on an SD card. This ensures that configuration changes and save states will persist properly, even if the drive goes to sleep.
  • Many emulator options are not currently exposed, they will be added with subsequent releases.
  • Several features of Mednafen proper are not currently supported, they will be added with subsequent releases.
  • The front-end is functional but minimal. This is something that may be addressed once I am satisfied with the overall state of the port.
  • Some Mega Drive/Genesis games may not run at 100% speed (Thunder Force IV).

Installation

To install WiiMednafen, extract the zip file directly to your SD card or USB device (retain the hierarchical structure exactly).

Game ROMs and CD images can be loaded via SD, USB, and SMB (Network).

NOTE: The "/wiimednafen" directory (containing saves, BIOS images, etc.) must reside on the same device as the "/apps/wiimednafen" directory (containing the application binary). These two directories must not be split across two different devices. However, game ROMs and CD images can be loaded from any of the available devices (SD, USB, or SMB (Network)).

Emulator-specific files

To function properly, several emulators require additional files (BIOS images, etc.). These files must be placed in the "/wiimednafen" directory.

File Description
lynxboot.img Lynx boot ROM image.
pcfx.rom PC-FX BIOS image.
syscard3.pce PC Engine CD BIOS
disksys.rom Famicom Disk System BIOS
gg.rom (Optional) NES Game Genie ROM image
gba_bios.bin (Optional) GameBoy Advance BIOS

SMB (Network support)

WiiMednafen allows for loading ROM and CD images over the network via SMB. To enable SMB support, you must edit the "wiimednafen.conf" file located in the "/wiimednafen" directory and provide values for the following:

share_ip IP address of the computer to connect to.
share_name Name of the share on the computer.
share_user Name of the user to connect as
share_pass Password for the user

Please note that loading CD images over the network will cause noticeable slowdown.

CD-ROM Emulation

There has been some discussion about the types of CD-ROM emulation formats WiiMednafen supports, so I added this section in hopes of clearing up any misconceptions. There are really two types of CD-ROM emulation formats supported by WiiMednafen.

CUE+BIN

CUE+BIN is the standard format popularized by CDRWin. All of the tracks are contained within a single BIN file. The CUE file indicates where each of the tracks are located within that BIN file. This is the preferred method for WiiMednafen since a properly dumped disk will always work.

CUE+ISO+Audio(Ogg Vorbis and MusePack)

In this format, the CUE file refers to one or more external files that represent the different tracks (versus all being in one BIN file). The data tracks are typically represented by ISO files, while the audio tracks are represented by various audio format files. WiiMednefan only supports Ogg Vorbis and MusePack audio formats (MP3, WAV, FLAC, etc. are not currently supported).

Many people have created dumps of PC Engine and PC-FX games in this format in an effort to reduce the overall game size. Unfortunately, many of these dumps leverage the MP3 audio format that is not support by WiiMednafen (or Mednafen proper) due to patent issues.

So, in summary CUE+BIN of a properly dumped game will always work with WiiMednafen. If you want to reduce the size of a dump, you must use Ogg Vorbis or MusePack audio formats. In the future, I may look at adding additional audio formats (FLAC, WAV, etc.) based on the feedback I receive. However, in keeping in alignment with Mednafen proper, MP3 support will never be added.

Double strike (240p) mode support

Double strike (240p) mode is supported for all emulators except Virtual Boy. You can enable double strike globally via "Advanced" > "Video Settings" > "Double strike". The global value can be overridden a per-emulator basis via "Emulator settings" > "Double strike".

By default, double strike is explicitly disabled for all handheld systems. If you want to enable double strike for those emulators, you must set their double strike mode (in "Emulator settings") to either "(default)" (observe global setting) or "Enabled" (explicitly enable double strike regardless of global setting).

NOTE: Double strike mode has not been tested on PAL Wii systems and as such may not function properly. Further, double strike for PAL-based games (288p) has not been implemented. If there is enough interest, I will look into adding support in a future release.

Rewind support

NOTE: Rewind support should be considered "experimental" for the current release. Enabling rewind may cause performance and/or stability issues. If you experience odd performance behavior or periodic crashes, you should consider disabling rewind.

Due to the amount of memory and processing required, rewind support is currently limited to the following emulators:

  • GameBoy/GameBoy Color
  • Game Gear
  • Lynx
  • Nintendo Entertainment System (excludes FDS games)
  • Neo Geo Pocket
  • PC Engine/TurboGrafx 16 (excludes CD games)
  • Sega Master System
  • WonderSwan (excludes large SRAM sizes: Dicing Knight, Judgment Silversword)

Enabling rewind

To enable rewind, set the "Advanced" > "Rewind" option to "Enabled".

Rewind buttons (auto vs. manual)

When rewind is enabled, an additional menu item is displayed, "Rewind buttons", that controls how rewind buttons are added to the different controllers supported by WiiMednafen (Wiimote, Wiimote + Nunchuk, Classic, GameCube).

When "auto" mode is selected, each of the supported controllers are examined in turn to determine if a "(rewind)" button has been explicitly mapped (via "control settings" for the current game). If a "(rewind)" button has not been explicitly mapped for a controller, the "default" rewind button is added automatically (see the "default rewind buttons" table below).

When "manual" mode is selected, rewind buttons must be mapped manually for each controller via a game's "control settings" (available in the "Game-specific settings" menu). You might be wondering why you would ever want to use manual mode versus having the buttons added automatically. One reason is that with the manual mapping mode, a rewind button does not need to be added to each of the controllers. For example, you might be playing a game that requires all of the buttons on the GameCube controller so you don't have one available for the rewind button. You could set the mode to manual and only map the rewind button to the Wiimote. Therefore, you can play the game using all of the GameCube's buttons, and still have the capability to rewind via the Wiimote.

Default rewind buttons (auto)

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote B Button Wiimote 2 Button Classic ZL Button GameCube L Trigger Rewind

Menu settings and navigation

When exiting to the emulator menu after loading a ROM or CD image, two new items will be available, "Game-specific settings" and "Emulator settings".

Emulator settings

Emulator settings contain settings specific to the emulator that is associated with the current game. For example, the Virtual Boy emulator settings allows for specifying the display mode to use (2D vs. 3D, etc.).

Game-specific settings

Game-specific settings contain settings that are specific to the current game. These settings include the ability to provide customized button mappings, etc.

Menu Controls

Wiimote.svg ClassicController.svg Nunchuck alternative.svg GameCube Controller Action
Wiimote D-Pad Up / Wiimote D-Pad Down Classic D-Pad Up / Classic D-Pad Down or Classic Left Control Stick Nunchuck Control Stick Gamecube D-Pad Up / Gamecube D-Pad Down or GameCube Control Stick Scroll through the Menu
Wiimote D-Pad Left / Wiimote D-Pad Right Classic D-Pad Left / Classic D-Pad Right or Classic Left Control Stick Nunchuck Control Stick Gamecube D-Pad Left / Gamecube D-Pad Right or GameCube Control Stick Page through the Menu
Wiimote A Button Classic a Button Nunchuck C Button Gamecube A Button Select menu item
Wiimote B Button Classic b Button Nunchuck Z Button Gamecube B Button Previous menu
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to Homebrew channel

GameBoy/GameBoy Color

Below are the "default" control mappings for the GameBoy/GameBoy Color emulator. Controls can be overridden on a game-by-game basis via the "Game-specific settings" menu item.

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad Nunchuck Control Stick Classic D-Pad or Classic Left Control Stick GameCube D-Pad or GameCube Control Stick Move
Wiimote 2 Button Wiimote A Button Classic a Button Gamecube A Button A Button
Wiimote 1 Button Nunchuck C Button Classic b Button Gamecube B Button B Button
Wiimote + Button Wiimote + Button Classic + Button GameCube START Button Start
Wiimote - Button Wiimote - Button Classic - Button Gamecube X Button or Gamecube Y Button Select
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

GameBoy Advance

The GameBoy Advance emulator supports the use of a real BIOS (versus the built-in BIOS). To use a real BIOS, name the BIOS file "gba_bios.bin" and place it in the "/wiimednafen" directory. Then, change the "External BIOS" setting in the "Emulator settings" to "Enabled" (to get to this menu, you must load a GBA game and exit back to the menu).

Below are the "default" control mappings for the GameBoy Advance emulator. Controls can be overridden on a game-by-game basis via the "Game-specific settings" menu item.

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad Nunchuck Control Stick Classic D-Pad or Classic Left Control Stick GameCube D-Pad or GameCube Control Stick Move
Wiimote 2 Button Wiimote A Button Classic a Button Gamecube A Button A Button
Wiimote 1 Button Nunchuck C Button Classic b Button Gamecube B Button B Button
Wiimote B Button Nunchuck Z Button Classic L Trigger or Classic ZL Button GameCube L Trigger L Trigger
Wiimote A Button Wiimote B Button Classic R Trigger or Classic ZR Button GameCube R Trigger R Trigger
Wiimote + Button Wiimote + Button Classic + Button GameCube START Button Start
Wiimote - Button Wiimote - Button Classic - Button Gamecube X Button or Gamecube Y Button Select
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

Game Gear

Below are the "default" control mappings for the Game Gear emulator. Controls can be overridden on a game-by-game basis via the "Game-specific settings" menu item.

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad Nunchuck Control Stick Classic D-Pad or Classic Left Control Stick GameCube D-Pad or GameCube Control Stick Move
Wiimote 2 Button Wiimote A Button Classic a Button Gamecube A Button Button 2
Wiimote 1 Button Nunchuck C Button Classic b Button Gamecube B Button Button 1
Wiimote + Button Wiimote + Button Classic + Button GameCube START Button Start
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

Atari Lynx

Lynx emulation requires that the Lynx boot ROM image, "lynxboot.img" exists in the "/wiimednafen" directory.

Below are the "default" control mappings for the Lynx emulator. Controls can be overridden on a game-by-game basis via the "Game-specific settings" menu item.

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad Nunchuck Control Stick Classic D-Pad or Classic Left Control Stick GameCube D-Pad or GameCube Control Stick Move
Wiimote 2 Button Wiimote A Button Classic a Button Gamecube A Button A Button
Wiimote 1 Button Nunchuck C Button Classic b Button Gamecube B Button B Button
Wiimote A Button Wiimote 1 Button or Wiimote 2 Button Classic R Trigger or Classic ZR Button or Classic L Trigger or Classic ZL Button GameCube START Button Pause
Wiimote + Button Wiimote + Button Classic + Button Gamecube X Button Option 1
Wiimote - Button Wiimote - Button Classic - Button Gamecube Y Button Option 2
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

Mega Drive/Genesis

The MegaDrive emulator currently supports up to 2 3-button or 6-button controllers. Whether to use 3 or 6 button controllers can be specified via the "Game-specific settings" menu.

Below are the "default" control mappings for the MegaDrive emulator. Controls can be overridden on a game-by-game basis via the "Game-specific settings" menu item.

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad Nunchuck Control Stick Classic D-Pad or Classic Left Control Stick GameCube D-Pad or GameCube Control Stick Move
Wiimote A Button Wiimote A Button Classic y Button Gamecube B Button A Button
Wiimote 1 Button Wiimote B Button Classic b Button Gamecube A Button B Button
Wiimote 2 Button Nunchuck Z Button Classic a Button Gamecube X Button C Button
(None) (None) Classic L Trigger or Classic ZL Button GameCube L Trigger X Button (6-button mode)
(None) (None) Classic x Button Gamecube Y Button Y Button(6-button mode)
(None) (None) Classic R Trigger or Classic ZR Button GameCube R Trigger Z Button(6-button mode)
Wiimote + Button Wiimote + Button Classic + Button GameCube START Button Start
Wiimote - Button Wiimote - Button Classic - Button (None) Mode
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

Nintendo Entertainment System (NES)

The NES emulator currently supports up to 4 standard controllers, Zapper support (via Wiimote IR), Arkanoid controller support (via Wiimote IR, Twist, and Tilt), Space Shadow gun support (via Wiimote IR), Oeka Kids support (via Wiimote IR), and up to 2 Hypershot controllers (Hyper Sports).

To play Famicom Disk System (FDS) games, the disk system BIOS, "disksys.rom" must exist in the "/wiimednafen" directory.

Below are the "default" control mappings for the NES emulator. Controls can be overridden on a game-by-game basis via the "Game-specific settings" menu item.

Gamepad

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad Nunchuck Control Stick Classic D-Pad or Classic Left Control Stick GameCube D-Pad or GameCube Control Stick Move
Wiimote 2 Button Wiimote A Button Classic a Button Gamecube A Button A Button
Wiimote 1 Button Nunchuck C Button Classic b Button Gamecube B Button B Button
Wiimote A Button Wiimote 1 Button or Wiimote 2 Button Classic R Trigger or Classic ZR Button or Classic L Trigger or Classic ZL Button GameCube R Trigger or GameCube L Trigger * Special (See notes below)
Wiimote + Button Wiimote + Button Classic + Button GameCube START Button Start
Wiimote - Button Wiimote - Button Classic - Button Gamecube X Button or Gamecube Y Button Select
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

Zapper

Wiimote.svg Action
Wiimote.svg (IR) Aim (Point Wiimote at screen)
Wiimote B Button Zapper Trigger
Wiimote 2 Button A
Wiimote 1 Button B
Wiimote A Button * Special (See notes below)
Wiimote + Button Start
Wiimote - Button Select
Wiimote HOME Button Exit to Homebrew channel

Arkanoid Controller

Wiimote.svg Action
Wiimote.svg (IR) Move (IR Wiimote mode)
WiimoteHorizontal.svg (Tilt) Move (Tilt Wiimote mode)
WiimoteHorizontal.svg (Twist) Move (Twist Wiimote mode)
Wiimote 2 Button or Wiimote B Button Arkanoid Button
Wiimote A Button A
Wiimote 1 Button B
Wiimote + Button Start
Wiimote - Button Select
Wiimote HOME Button Exit to Homebrew channel
  • IR Wiimote mode: In this mode, you point the Wiimote at the screen and move it left and right
  • Tilt Wiimote mode: In this mode, you hold the Wiimote horizontally and tilt it up and down (like a seesaw)
  • Twist Wiimote mode: In this mode, you hold the Wiimote horizontally and twist it forward and backward (like the Wiiware game Bit Trip Beat)

Space Shadow Gun

Wiimote.svg Action
Wiimote D-Pad Move
Wiimote.svg (IR) Aim (Point Wiimote at screen)
Wiimote A Button Grenade
Wiimote B Button Fire
Wiimote 2 Button A
Wiimote 1 Button B
Wiimote + Button Start (Pause)
Wiimote - Button Select
Wiimote HOME Button Exit to Homebrew channel

Hypershot Controller (Hyper Sports)

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad or Wiimote A Button Nunchuck Control Stick or Nunchuck C Button or Nunchuck Z Button Classic D-Pad or Classic Left Control Stick or Classic x Button or Classic y Button GameCube D-Pad or GameCube Control Stick or Gamecube X Button Jump
Wiimote 2 Button or Wiimote 1 Button Wiimote A Button or Wiimote B Button Classic a Button or Classic b Button Gamecube A Button or Gamecube B Button Run
Wiimote + Button Wiimote + Button Classic + Button GameCube START Button Start
Wiimote - Button Wiimote - Button Classic - Button Gamecube Y Button Select
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

Oeka Kids Tablet

Wiimote.svg Action
Wiimote.svg (IR) Move Cursor (Point Wiimote at the screen)
Wiimote B Button Oeka Kids Button
Wiimote 2 Button A
Wiimote 1 Button B
Wiimote + Button Start
Wiimote - Button Select
Wiimote HOME Button Exit to Homebrew channel
  • Special is used for "Vs. Unisystem" and "Famicom Disk System" (FDS) games. For Vs. Unisystem games this button simulates inserting a coin. For FDS games, this button flips the disk (necessary for games that utilize both disk sides).

PAL mode

Currently, the only way to have a gameplay in PAL mode is via the file name of the ROM. To enable PAL mode for a ROM, ensure the file name contains "(P)". In the future, I will be adding the ability to force PAL mode via "Game-specific settings".

Game Genie

Game Genie emulation requires that the Game Genie ROM image, "gg.rom" exists in the "/wiimednafen" directory. Game Genie emulation can be enabled/disabled via the "Emulator settings" menu.

Neo Geo Pocket

Below are the "default" control mappings for the Neo Geo Pocket emulator. Controls can be overridden on a game-by-game basis via the "Game-specific settings" menu item.

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad Nunchuck Control Stick Classic D-Pad or Classic Left Control Stick GameCube D-Pad or GameCube Control Stick Move
Wiimote 2 Button Wiimote A Button Classic a Button Gamecube A Button A Button
Wiimote 1 Button Nunchuck C Button Classic b Button Gamecube B Button B Button
Wiimote + Button Wiimote + Button Classic + Button GameCube START Button Option
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

PC Engine (CD)/TurboGrafx 16 (CD)/SuperGrafx (Fast version)

PC Engine CD emulation requires that the PC Engine CD BIOS file, "syscard3.pce" exists in the "/wiimednafen" directory.

The PC Engine emulator currently supports up to 4 2-button or 6-button controllers. Whether to use 2 or 6 button controllers can be specified via the "Game-specific settings" menu.

NOTE: Using a 6-button controller on a game that has not been designed to work with it will exhibit strange behaviors. Only use 6-button controllers on games that were designed to work with them.

Below are the "default" control mappings for the PC Engine emulator. Controls can be overridden on a game-by-game basis via the "Game-specific settings" menu item.

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad Nunchuck Control Stick Classic D-Pad or Classic Left Control Stick GameCube D-Pad or GameCube Control Stick Move
Wiimote 2 Button Wiimote A Button Classic a Button Gamecube A Button I Button
Wiimote 1 Button Nunchuck C Button Classic b Button Gamecube B Button II Button
(None) (None) Classic y Button (None) III Button (6-button mode)
(None) (None) Classic L Trigger or Classic ZL Button (None) IV Button (6-button mode)
(None) (None) Classic x Button (None) V Button (6-button mode)
(None) (None) Classic R Trigger or Classic ZR Button (None) VI Button (6-button mode)
Wiimote + Button Wiimote + Button Classic + Button GameCube START Button Run
Wiimote - Button Wiimote - Button Classic - Button Gamecube X Button or Gamecube Y Button Select
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

SuperGrafx

SuperGrafx games should be automatically detected and enabled by the emulator. However, if you believe that a SuperGrafx game is not being detected appropriately (you see a blank screen, etc.) you can force it by ensuring that the ROM file name ends in ".sgx".

PC-FX

NOTE: PC-FX emulation is currently quite slow.

PC-FX emulation requires that the PC-FX BIOS image file, "pcfx.rom" exists in the "/wiimednafen" directory.

The emulator currently supports up to 4 standard controllers. Control mappings can be overridden on a game-by-game basis via the "Game-specific settings" menu item.

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad Nunchuck Control Stick Classic D-Pad or Classic Left Control Stick GameCube D-Pad or GameCube Control Stick Move
Wiimote 2 Button Wiimote A Button Classic a Button Gamecube A Button I Button
Wiimote 1 Button Nunchuck C Button Classic b Button Gamecube B Button II Button
(None) (None) Classic y Button (None) III Button
(None) (None) Classic L Trigger or Classic ZL Button (None) IV Button
(None) (None) Classic x Button (None) V Button
(None) (None) Classic R Trigger or Classic ZR Button (None) VI Button
Wiimote + Button Wiimote + Button Classic + Button GameCube START Button Run
Wiimote - Button Wiimote - Button Classic - Button Gamecube X Button or Gamecube Y Button Select
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

Sega Master System

The Master System emulator currently supports up to 2 standard controllers. Control mappings can be overridden on a game-by-game basis via the "Game-specific settings" menu item.

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad Nunchuck Control Stick Classic D-Pad or Classic Left Control Stick GameCube D-Pad or GameCube Control Stick Move
Wiimote 2 Button Wiimote A Button Classic a Button Gamecube A Button Fire 2
Wiimote 1 Button Nunchuck C Button Classic b Button Gamecube B Button Fire 1
Wiimote + Button Wiimote + Button Classic + Button GameCube START Button Pause
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

Virtual Boy

The Virtual Boy emulation included with this emulator is much improved over WiirtualBoy. Most games now run at 100% speed without frame skipping. These improvements are due entirely to Ryphecha (Mednafen) who optimized the core emulation code in addition to eliminating idle loops on a per game basis.

If you do experience any issues, you may want to disable the idle loop "ROM patching". This can be configured globally via "Emulator settings", or on a game-by-game basis via "Game-specific settings".

Below are the "default" control mappings for the Virtual Boy emulator. Controls can be overridden on a game-by-game basis via the "Game-specific settings" menu item.

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad Nunchuck Control Stick Classic D-Pad or Classic Left Control Stick GameCube D-Pad or GameCube Control Stick Left Control Pad
N/A Wiimote D-Pad Classic Right Control Stick Gamecube C Control Stick Right control pad
Wiimote 2 Button Wiimote A Button Classic a Button Gamecube A Button A Button
Wiimote 1 Button Nunchuck C Button Classic b Button Gamecube B Button B Button
Wiimote B Button Nunchuck Z Button Classic L Trigger or Classic ZL Button GameCube L Trigger L Trigger
Wiimote A Button Wiimote B Button Classic R Trigger or Classic ZR Button GameCube R Trigger R Trigger
Wiimote + Button Wiimote + Button Classic + Button GameCube START Button Start
Wiimote - Button Wiimote - Button Classic - Button Gamecube X Button or Gamecube Y Button Select
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

WonderSwan

Below are the "default" control mappings for the WonderSwan emulator. Controls can be overridden on a game-by-game basis via the "Game-specific settings" menu item.

Controls (normal)

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad Nunchuck Control Stick Classic D-Pad or Classic Left Control Stick GameCube D-Pad or GameCube Control Stick Move
Wiimote 2 Button Wiimote A Button Classic a Button Gamecube A Button A Button
Wiimote 1 Button Nunchuck C Button Classic b Button Gamecube B Button B Button
Wiimote B Button Nunchuck Z Button Classic R Trigger or Classic ZR Button GameCube R Trigger Y1
(None) Wiimote 1 Button Classic x Button Gamecube X Button Y2
Wiimote - Button Wiimote 2 Button or Wiimote - Button Classic y Button Gamecube Y Button Y3
Wiimote A Button Wiimote B Button Classic L Trigger or Classic ZL Button GameCube L Trigger Y4
Wiimote + Button Wiimote + Button Classic + Button GameCube START Button Start
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

Controls (rotated)

WiimoteHorizontal.svg Wiimote.svg + Nunchuck alternative.svg ClassicController.svg GameCube Controller Action
Wiimote D-Pad Nunchuck Control Stick Classic D-Pad or Classic Left Control Stick GameCube D-Pad or GameCube Control Stick Move
(None) Wiimote 2 Button Classic R Trigger or Classic ZR Button GameCube R Trigger A Button
Wiimote - Button Wiimote 1 Button or Wiimote - Button Classic L Trigger or Classic ZL Button GameCube L Trigger B Button
Wiimote B Button Nunchuck Z Button Classic y Button Gamecube Y Button X1
Wiimote 2 Button Wiimote A Button Classic x Button Gamecube X Button X2
Wiimote 1 Button Nunchuck C Button Classic a Button Gamecube A Button X3
Wiimote A Button Wiimote B Button Classic b Button Gamecube B Button X4
Wiimote + Button Wiimote + Button Classic + Button GameCube START Button Start
Wiimote HOME Button Wiimote HOME Button Classic HOME Button GameCube Z Button Exit to menu

Language support

WiiMednafen supports the ability to switch between different languages via the "Advanced" menu's "Language" option. The language translations files must be located in the "/wiimednafen/lang" directory with each file having a ".lang" extension.

A sample "language" file has been provided as a template, "Hacker.lang". If you create a translation, please contact me and I will include it in the next release. Thanks!

WiiMednafen crashes, code dumps, etc.

If you are having issues with WiiMednafen, please let me know about it via one of the following locations:


https://github.com/raz0red/wii-mednafen/issues

http://www.wiibrew.org/wiki/Talk:WiiMednafen

Credits / Special Thanks

  • Ryphecha
    • Providing an incredible multi-emulator, optimizing the Virtual Boy emulation, and putting up with my questions.
  • mastershoes
    • WiiMednafen channel
  • Hielkenator
    • Testing, Dutch translation
  • cloudskipa
    • Testing
  • Thiago Alves
    • Testing
  • Davide Arielli
    • Testing
  • Arikado
    • Helping with the initial Virtual Boy (WiirtualBoy) port.
  • Eke-eke
    • Double strike help and color trap filter implementation.
  • Tantric
    • Menu example code and SDL enhancements

Changelog

0.2-pre - March 16, 2012

  • NES controls support
    • Added Arkanoid controller support (via Wiimote IR, Twist, and Tilt)
    • Added Space Shadow gun support (via Wiimote IR)
    • Added Zapper support (via Wiimote IR)
    • Added Oeka Kids support (via Wiimote IR)
    • Added Hypershot controller support (Hyper Sports)
  • CD ROM cue sheets
    • Added support for UTF-8 files.
    • Added support for high-ascii characters.
  • Inherited settings now display the inherited value and where they are being inherited from.
  • Added ability to specify language for WonderSwan via emulator settings. (see Mednafen 0.9.19 merge notes below)
  • Merged changes from 0.9.19 (Mednafen proper)
    • LYNX emulation
      • Fixed EVERON detection emulation, and emulated a hardware bug regarding SCB data reading, the latter of which fixes a graphical glitch in "Joust".
    • NES emulation
      • Improved iNES mapper 69 expansion sound emulation accuracy (volume interpretation and channel frequencies were off). (Gimmick! sound)
      • Fixed a bug in the MMC5 split-screen emulation that caused a garbage scanline in the intro sequence of "Uchuu Keibitai SDF".
      • Fixed MMC5 32K PRG switching mode.
    • WonderSwan emulation
      • Fixed a reset initialization bug (due to a design flaw) that was partially corrupting internal and external EEPROM.
      • Implemented experimental setting "wswan.language"; it's only known to affect "Digimon Tamers: Battle Spirit".

0.1.1 - January 27, 2012

  • Minor update from 0.1
    • Double strike fixes for PAL display modes
      • PAL50: fixed minor display corruption issue
      • PAL60: was completely broken, now works correctly
    • Space Pinball Prototype (Virtual Boy)
      • Added idle loop patch, it now runs at full speed w/o frame skipping
      • Added proper control mappings

0.1 - January 13, 2012

  • Added support for MegaDrive/Genesis.
  • Added rewind support for the following emulators:
    • GameBoy/GameBoy Color
    • Game Gear
    • Lynx
    • Nintendo Entertainment System (excludes FDS games)
    • Neo Geo Pocket
    • PC Engine/TurboGrafx 16 (excludes CD games)
    • Sega Master System
    • WonderSwan (excludes large SRAM sizes: Dicing Knight, Judgment Silversword)
  • VI + GX scaler (eliminates majority of scaling artifacts).
  • Default screen sizes per emulator (1x, 2x, Full, etc.).
  • Full widescreen support
  • 16:9 correction option (displays 4:3 on widescreen displays).
  • Double strike (240p) mode support (can be enabled globally and per-emulator). By default, is explicitly disabled for handheld emulators.
  • Color trap filter (Eke-eke implementation)
  • Master system FM sound support (when region set to Domestic/Japan)
  • Virtual Boy SRAM bug fix (was not being persisted).
  • Fixed bug where screen sizing controls were not being properly rotated (games with vertical orientation).
  • Ability to map "rotate screen" button for WonderSwan (Klonoa, etc.).
  • WonderSwan control mappings now supports "profile" toggle. Allows for saving mappings for both orientations for a single game (Klonoa, etc.).
  • Updated Game Gear to display with proper aspect ratio.
  • Ability to set Volume globally and per-emulator.
  • Additional SMS/GG compatibility
  • Fixed bug that prevented certain Ogg Vorbis files (multiples of 1024, go figure) from loading as part of a CD image (CUE sheet).
  • Fixed bug that prevented some FDS games (Metroid) from properly flipping the disk.

0.0 - October 10, 2011

  • Initial public release