# UltraHLE

UltraHLE is a discontinued emulator for the Nintendo 64. Emulating the Nintendo 64 (which was only three years old at the time) made it the first of the N64 emulators to run commercial titles at a playable frame rate on the hardware of the time, and the first emulator for a currently-sold console system, which drew Nintendo to seek legal action against the developers.

## The Ultra High-level (UHLE) technique

Earlier emulators had sought to accurately emulate all low-level operations of a target machine; this worked well for consoles such as the Super NES and Genesis that were substantially simpler than the computer running the emulator.
HLE was done even before the UltraHLE emulator (to emulate the BIOS, and the SNES enhancement chips). But UltraHLE introduced aggressive optimization and time-savers which go beyond traditional HLE.
Co-authors Epsilon and RealityMan realized that since N64 games were programmed in C, they could intercept (the far fewer) C library calls rather than machine-level operations, and simply reimplement the libraries. Thus UltraHLE is an emulator that is partly implemented as a simulator, in contrast to projects such as MAME. However it paved the way for playable emulators of recent consoles that require considerable graphical computational power which could be simulated easily with available PC graphic cards.
The final implementation was written in C and used the Glide API, specific to 3dfx adapters. Due to the emulator's popularity, several Glide to DirectX translation utilities were made specifically for UltraHLE for non-3dfx video cards.
UltraHLE's high-level emulation had its drawbacks; at the time of its release it was able to emulate only approximately 20 games to a playable standard as it emulated and simulated only those calls required by those specific games; it was necessary to adapt the emulator for games that used different parts of the N64 hardware. Nevertheless it supported many more titles than other contemporaneous N64 emulation projects such as Project Unreality.
Emulators other than UltraHLE eventually adopted variants of high-level emulation as well. For example, the Dolphin emulator, which emulates the GameCube and Wii, uses HLE to reimplement the Wii's IOS operating system, and it also has an option for HLE of the GameCube's audio DSP.

## Nintendo's response and UltraHLE's discontinuation

Also notable for its time, UltraHLE was capable of playing commercial games while the console was still commercially viable, a feat which was ultimately noticed by Nintendo. In February 1999, Nintendo began the process of filing a lawsuit against the emulator's authors, along with the website hosting the emulator. Speaking to PC Zone, Nintendo representative Beth Llewellwyn commented: "Nintendo is very disturbed that RealityMan and Epsilon have widely distributed a product designed solely to play infringing copies of copyrighted works developed by Nintendo and its third-party licensees. We are taking measures to further protect and enforce our intellectual property rights which, of course, includes the bringing of legal action." Despite this, UltraHLE had grown beyond either its authors' or Nintendo's control. Subsequently, Epsilon and RealityMan abandoned their pseudonyms and went silent.
After the source code was leaked in 2002, an OpenGL version of UltraHLE called UltraHLE 2064 was released, though it garnered little acclaim, as several more powerful emulators had subsequently been released. UltraHLE 2064 was available at its official site until the site was de-registered.