The Way To Create Bin File To Update At Receiver

-->

Jan 19, 2012  - Generating Action Replay codes to create Pokemon or modify the Pokedex, including exporting to an XML file that can be dragged to the Action Replay code manager - Loading and saving of save files. Pokemon data and Pokedex data can be fully modified. Loading and saving of party and PC.pkm files (136, 220, and 236 byte, encrypted and unencrypted).

This topic describes how to update a removable or in-chassis device's firmware using the Windows Update (WU) service. For information about updating system firmware, see Windows UEFI firmware update platform.

To do this, you'll provide an update mechanism, implemented as a device driver, that includes the firmware payload. If your device uses a vendor-supplied driver, you have the option of adding the firmware update logic and payload to your existing function driver, or providing a separate firmware update driver package. If your device uses a Microsoft-supplied driver, you must provide a separate firmware update driver package. In both cases, the firmware update driver package must be universal. For more info about universal drivers, see Getting Started with Universal Windows drivers. The driver binary can use KMDF, UMDF 2 or the Windows Driver Model.

Because WU cannot execute software, the firmware update driver must hand the firmware to Plug and Play (PnP) for installation.

Firmware update driver actions

Typically, the firmware update driver is a lightweight device driver that does the following:

  • At device start or in the driver's EVT_WDF_DRIVER_DEVICE_ADD callback function:

    1. Identify the device to which it is attached.
    2. Determine whether the driver has a firmware version that is more recent than the version on the device.
    3. If a firmware update is necessary, set an event timer to schedule the update.
    4. Otherwise, do nothing until the driver is started again.
  • During system runtime:

    1. If an update is queued, wait for a set of conditions to be met.
    2. When conditions are met, perform the firmware update on the device.

Firmware update driver contents

Typically, the firmware update driver package contains the following:

  • Driver catalog
  • Function driver (.sys or .dll)
  • Firmware update payload binary

Submit your firmware update package as a separate driver submission.

Adding firmware update logic to a vendor-supplied driver

The existing function driver can implement the firmware update mechanism, as shown in the following diagram:

Alternatively, if you want to update the function driver and the firmware update driver separately, create a second device node, on which you will install the firmware update driver. The following diagram shows how one device can have two separate device nodes:

In this case, the function and firmware device nodes must have different hardware IDs in order to be targeted independently.

There are a couple ways to create a second device node. Certain device types have the ability to expose a second device node on one physical device, such as USB. You can use this functionality to create a device node targetable by WU, and install a firmware update driver on it. Many device types, however, do not allow a single physical device to enumerate more than one device node.

In this case, use an extension INF that specifies the AddComponent directive to create a device node that can be targeted by Windows Update and install the firmware update driver on it. The following snippet from an INF file shows how you can do this:

In the above INF sample, ComponentIDs = ComponentDeviceId indicates that the child device will have a hardware ID of SWCComponentDeviceId. When installed, this INF creates the following device hierarchy:

For future firmware updates, update the INF and binary file containing the firmware payload.

Adding firmware update logic to a Microsoft-supplied driver

To update firmware for devices that use a Microsoft-supplied driver, you need to create a second device node, as shown above.

Best practices

  • In your firmware update driver INF, specify DIRID 13 to cause PnP to leave the files in the driver package in the DriverStore:

    PnP resolves this location when it installs the device. The driver can then open this registry key to determine the location of the payload.

  • Firmware update drivers should specify the following INF entries:

  • To locate another device node, the firmware driver should walk the device tree relative to itself, not by enumerating all device nodes for a match. A user may have plugged in multiple instances of the device, and the firmware driver should only update the device with which it is associated. Typically, the device node to be located is the parent or sibling of the device node on which the firmware driver is installed. For example, in the diagram above with two device nodes, the firmware update driver can look for a sibling device to find the function driver. In the diagram immediately above, the firmware driver can look for the parent device to find the primary device with which it needs to communicate.

  • The driver should be robust to multiple instances of the device being on the system, possibly with multiple different firmware versions. For example, there may be one instance of the device that has been connected and updated several times; a brand new device may then be plugged in which is several firmware versions old. This means that state (such as current version) must be stored against the device, and not in a global location.

  • If there is an existing method to update the firmware (EXE or co-installer, for example), you can largely reuse the update code within a UMDF driver.

13 file types use the .bin file extension.
  • 1.Sega Genesis Game ROM
  • 2.Generic Binary File
  • 3.Unix Executable File
  • 4.Generic Binary Executable File
  • 5.Binary Disc Image
  • 6.Nintendo DS Binary File
  • 7.Macbinary Encoded File
  • 8.PCSX PlayStation BIOS Image
  • 9.Nintendo Wii Data File
  • 10.BlackBerry IT Policy File
  • 11.Router Firmware File
  • 12.Atari 2600 Game ROM
  • 13.Binary Video File

File Type 1Sega Genesis Game ROM

DeveloperN/A
Popularity
CategoryGame Files
FormatBinary

What is a BIN file?

A BIN file is a ROM image of a Sega Genesis video game. It stores data dumped from a Sega Genesis game cartridge, which is an exact copy of the game. BIN files can be played on a computer using a Sega Genesis emulation program.

Hollywood movie hostel 3. Sega Genesis game ROMs are typically used by gaming enthusiasts, specifically nostalgic gamers who enjoyed the console in the 1990s. While the games were developed to be played by the actual gaming console, various emulators have been developed to play the games on computers.

There are a variety of Sega Genesis emulators for Windows, macOS, and Linux. Some of the emulators are Kega Fusion, Genesis Plus, HazeMD, Gensplus, and DGen.

NOTE: Sega Genesis ROMs may also be stored in .SMD files.

Unknown files on your Mac? Try File Viewer.
Programs that open BIN files
Mac
Genesis Plus
Kega Fusion
Windows
Kega Fusion
DGen
Gens+
HazeMD
Ages
Linux
Kega Fusion
Updated 5/29/2019

File Type 2Generic Binary File

DeveloperN/A
Popularity
CategoryData Files
FormatN/A

.BIN File Association 2

A BIN file is a file that stores data in a binary format. It is different than a text-based file, which can be edited in a text editor. BIN files may be created by a variety of different programs but typically cannot be manually edited.

Disk images are typically binary files, though they often use other file extensions. BIN files may also be used for firmware updaters.

Mac
Open with program that created the file
Windows
Open with program that created the file

File Type 3Unix Executable File

DeveloperN/A
Popularity
CategoryExecutable Files
FormatN/A

.BIN File Association 3

Program, or compiled binary file, that can be run on a Unix operating system, such as Linux or FreeBSD; may be run from the command line by typing '[filename].bin,' where [filename] is the name of the executable file.

Linux
Runs itself
Updated 2/29/2008

File Type 4Generic Binary Executable File

DeveloperN/A
Popularity
CategoryExecutable Files
FormatBinary

.BIN File Association 4

A BIN file is an executable file used for running various programs. BIN files may contain both executable code and data required to start a program and may be created for Mac, Windows, or Unix platforms.

An example binary executable file is soffice.bin, the quick starter program for OpenOffice.org.

Mac
Apple macOS
Apache OpenOffice
Windows
Microsoft Windows
Apache OpenOffice
Linux
Linux
Apache OpenOffice

File Type 5Binary Disc Image

DeveloperN/A
Popularity
CategoryDisk Image Files
FormatBinary

.BIN File Association 5

Disc image created from an optical disc; stores the binary data copied from a CD or DVD; can be mounted by the computer and recognized as a physical disc; similar to the standard .ISO disc image format.

BIN files are often saved with other metadata files that describe the disc contents. For example, they are often saved with a .CUE file that describes the ordering of data in the binary image.

If a BIN file will not open, it may be opened by some disk utilities by changing the extension from '.bin' to '.iso.'

Mac
Roxio Toast 18
NTI Dragon Burn 4
Windows
Roxio Creator NXT Pro 7
DT Soft DAEMON Tools
Smart Projects IsoBuster
PowerISO
Lightning UK! ImgBurn
EZB Systems UltraISO

File Type 6Nintendo DS Binary File

DeveloperN/A
Popularity
CategoryGame Files
FormatBinary

.BIN File Association 6

Binary file used by the Nintendo DS series portable gaming systems; contains executable data for a Nintendo DS game; can be used to patch, or modify, emulated Nintendo games for DS emulators.

NOTE: BIN files are commonly found within .NDS files.

Mac
DeSmuME
Windows
NO$GBA
DeSmuME
DSOrganize
Linux
DeSmuME

File Type 7Macbinary Encoded File

DeveloperN/A
Popularity
CategoryEncoded Files
FormatN/A

.BIN File Association 7

Compressed file that is encoded as binary or MacBinary; stores a finder header, data fork, and resource fork; ensures the Macintosh Hierarchical File System (HFS) resource fork and data fork are both kept in one file; commonly used to transfer Macintosh files over the Internet.

There are multiple MacBinary formats: MacBinary, MacBinary II, and MacBinary III. MacBinary files have largely been replaced by .DMG files.

Mac
Apple Archive Utility
Smith Micro StuffIt Deluxe 16
The Unarchiver
Windows
Smith Micro StuffIt Deluxe for Windows

File Type 8PCSX PlayStation BIOS Image

DeveloperPCSX
Popularity
CategoryGame Files
FormatBinary

.BIN File Association 8

BIOS file used by PCSX and other variants of PlayStation emulation software; saves an image of the PlayStation BIOS, which enables the emulator to replicate the game console's functionality; allows games to be run exactly as they are run on the console.

A valid BIN file is required for PCSX to emulate the PlayStation.

Mac
PCSX-Reloaded
Windows
PCSX
ePSXe
PCSX-Reloaded
Linux
ePSXe
PCSX-Reloaded
Updated 1/23/2015

File Type 9Nintendo Wii Data File

DeveloperNintendo
Popularity
CategoryData Files
FormatN/A

.BIN File Association 9

A BIN file is a data file created by Nintendo Wii, a video game console. It contains information about a Wii channel or saved game. BIN files partially stores information in plain text, but the majority of the information is stored in an encrypted format that can only be read by a Wii.

Nintnedo Wii BIN files are saved to the following location in an SD card inserted in the front SD slot of the Wii:

F:/private/wii/title/xxxx/

The xxxx is the four character abbreviation of the game or Wii channel for which the file contains data.

NOTE: There is no known program that can open Nintendo Wii data BIN files. However, BIN files can be opened in a Wii as long as it is the original Wii used to copy the BIN file to the SD card.

content.bin - Name of the BIN file used by Nintendo Wii devices to store information about a Wii channel on an SD card.

data.bin - Name of the BIN file used by Nintendo Wii devices to store information about a saved game on an SD card.

Mac
No known program
Windows
No known program
Linux
No known program

File Type 10BlackBerry IT Policy File

DeveloperResearch in Motion
Popularity
CategorySettings Files
FormatBinary

.BIN File Association 10

Configuration file named policy.bin and used for making administrative updates to BlackBerry Desktop Software and the BlackBerry Wireless Handheld; often distributed by IT system administrators to company computers; may be stored on the desktop or other locations specified by the system administrator when distributing configuration updates.

The policy.bin file is created by IT Policy Manager, a program included with BlackBerry Enterprise Server. Typically only company IT system administrators interact with this software to create and distribute the BIN files.

When the BlackBerry Desktop Software is opened, it searches for the policy.bin file to make any policy changes to the software and to connected BlackBerry devices. The location of the file is specified in the Windows registry with the key HKEY_CURRENT_USERSoftwareResearch In MotionBlackBerryPolicy ManagerPath.

If this key doesn't exist, the C:Program FilesResearch In MotionBlackBerry directory is searched instead.

Mac
Research In Motion BlackBerry Desktop Manager
Windows
Research In Motion BlackBerry Desktop Manager

File Type 11Router Firmware File

DeveloperN/A
Popularity
CategorySystem Files
FormatBinary

.BIN File Association 11

Firmware file used by several different brands of routers, including some of those from Linksys, D-Link, and Belkin; contains low-level system data that runs the device; used for upgrading router firmware and often downloaded from router product support pages.

BIN files are usually installed using the router's user interface. For example, many Linksys routers have a browser-based program that includes an Administration tab with a 'Firmware Upgrade' option that is used to load the BIN file. To get specific instructions for upgrading your router's firmware, consult the manufacturer's documentation.

Windows
Various router software

File Type 12Atari 2600 Game ROM

DeveloperN/A
Popularity
CategoryGame Files
FormatBinary

.BIN File Association 12

Atari 2600 ROM used by Atari emulators such as Stella and PCAEWin; contains an exact copy of the original game cartridge; used for playing Atari games on computers; commonly downloaded as a .ZIP file, which can be extracted to the BIN file.

Mac
Stella
Windows
Stella
z26
Linux
Stella
z26
Updated 12/16/2015

File Type 13Binary Video File

DeveloperN/A
Popularity
CategoryVideo Files
FormatN/A

.BIN File Association 13

Video file saved as raw binary data from a DVD or other media; may be saved along with a .CUE file that describes what data is saved in the BIN file.

Since BIN video files may contain long streams of video, they may be several gigabytes in size.

Mac
VideoLAN VLC media player
MPlayer
Windows
VideoLAN VLC media player
Lightning UK! ImgBurn
Linux
VideoLAN VLC media player