Video game console emulator

(Redirected from Console emulation)

A video game console emulator is a type of emulator that allows a computing device[fn 1] to emulate a video game console's hardware and play its games on the emulating platform. More often than not, emulators carry additional features that surpass limitations of the original hardware, such as broader controller compatibility, timescale control (such as fast-forwarding and rewinding), easier access to memory modifications (like GameShark),[1] and unlocking of gameplay features.[citation needed] Emulators are also a useful tool in the development process of homebrew demos and the creation of new games for older, discontinued, or rare consoles.[citation needed]

Project64 running Star Fox 64 on Windows 8

The code and data of a game are typically supplied to the emulator by means of a ROM file (a copy of game cartridge data) or an ISO image (a copy of optical media).[citation needed] While emulation softwares themselves are legal as long as they don't infringe copyright protections on the console,[2][3] emulating games is only so when legitimately purchasing the game physically and ripping the contents. Freely downloading or uploading game ROMs across various internet sites is considered to be a form of piracy,[4] and users may be sued for copyright infringement.[5][6]

History

edit

By the mid-1990s, personal computers had progressed to the point where it was technically feasible to replicate the behavior of some of the earliest consoles entirely through software, and the first unauthorized, non-commercial console emulators began to appear. These early programs were often incomplete, only partially emulating a given system, resulting in defects. Few manufacturers published technical specifications for their hardware, which left programmers to deduce the exact workings of a console through reverse engineering. Nintendo's consoles tended to be the most commonly studied, for example the most advanced early emulators reproduced the workings of the Nintendo Entertainment System, the Super Nintendo Entertainment System, and the Game Boy. The first such recognized emulator was released around 1996, being one of the prototype projects that eventually merged into the SNES9X product.[7] Programs like Marat Fayzullin's iNES, VirtualGameBoy, Pasofami (NES), Super Pasofami (SNES), and VSMC (SNES) were the most popular console emulators of this era. A curiosity was also Yuji Naka's unreleased NES emulator for the Genesis, possibly marking the first instance of a software emulator running on a console.[8] Additionally, as the Internet gained wider availability, distribution of both emulator software and ROM images became more common, helping to popularize emulators.[7]

Legal attention was drawn to emulations with the release of UltraHLE, an emulator for the Nintendo 64 released in 1999 while the Nintendo 64 was still Nintendo's primary console – its next console, the GameCube, would not be released until 2001. UltraHLE was the first emulator to be released for a current console, and it was seen to have some effect on Nintendo 64 sales, though to what degree compared with diminishing sales on the aging consoles was not clear. Nintendo pursued legal action to stop the emulator project, and while the original authors ceased development, the project continued by others who had gotten the source code. Since then, Nintendo has generally taken the lead in actions against emulation projects or distributions of emulated games from their consoles compared to other console or arcade manufacturers.[7]

This rise in popularity opened the door to foreign video games, and exposed North American gamers to Nintendo's censorship policies. This rapid growth in the development of emulators in turn fed the growth of the ROM hacking and fan-translation. The release of projects such as RPGe's English language translation of Final Fantasy V drew even more users into the emulation scene.[9] Additionally, the development of some emulators has contributed to improved resources for homebrew software development for certain consoles, such as was the case with VisualBoyAdvance, a Game Boy Advance emulator that was noted by author Casey O'Donnell as having contributed to the development of tools for the console that were seen as superior to even those provided by Nintendo, so much so that even some licensed game developers used the tools to develop games for the console.[10]

On April 17, 2024, Apple began allowing emulators on the App Store,[11] lifting a ban that had lasted nearly 16 years. Following this decision, numerous emulators such as Delta, Sutāto, and RetroArch appeared on the store. [12] [13] [14]

Methods

edit

Emulators can be designed in three ways: purely operating in software which is the most common form such as MAME using ROM images; purely operating in hardware such as the ColecoVision's adapter to accept Atari VCS cartridges.[7]

An emulator is created typically through reverse engineering of the hardware information as to avoid any possible conflicts with non-public intellectual property. Some information may be made public for developers on the hardware's specifications which can be used to start efforts on emulation but there are often layers of information that remain as trade secrets such as encryption details. Operating code stored in the hardware's BIOS may be disassembled to be analyzed in a clean room design, with one person performing the disassembling and another person, separately, documenting the function of the code. Once enough information is obtained regarding how the hardware interprets the game software, an emulation on the target hardware can then be constructed.[7] Emulation developers typically avoid any information that may come from untraceable sources to avoid contaminating the clean room nature of their project. For example, in 2020, a large trove of information related to Nintendo's consoles was leaked, and teams working on Nintendo console emulators such as the Dolphin emulator for GameCube and Wii stated they were staying far away from the leaked information to avoid tainting their project.[15]

Once an emulator is written, it then requires a copy of the game software to be obtained, a step that may have legal consequences. Typically, this requires the user to make a copy of the contents of the ROM cartridge to computer files or images that can be read by the emulator, a process known as "dumping" the contents of the ROM. A similar concept applies to other proprietary formats, such as for PlayStation CD games. While not required for emulation of the earliest arcade or home console, most emulators also require a dump of the hardware's BIOS, which could vary with distribution region and hardware revisions. In some cases, emulators allow for the application of ROM patches which update the ROM or BIOS dump to fix incompatibilities with newer platforms or change aspects of the game itself. The emulator subsequently uses the BIOS dump to mimic the hardware while the ROM dump (with any patches) is used to replicate the game software.[7]

ROM files and ISO files are created by either specialized tools for game cartridges, or regular optical drives reading the data.[16] As an alternative, specialized adapters such as the Retrode allow emulators to directly access the data on game cartridges without needing to copy it into a ROM image first.

Perspectives

edit

Outside of official usage, emulation has generally been seen negatively by video game console manufacturers and game developers. The largest concern is nature of copyright infringement related to ROM images of games, typically distributed freely and without hardware restrictions. While this directly impacts potential sales of emulated games and thus the publishers and developers, the nature of the value chain of the industry can lead to potential financial harm to console makers.[7] Further, emulation challenges the industry's use of the razorblade model for console games, where consoles are sold near cost and revenue instead obtained from licenses on game sales. With console emulation being developed even while consoles are still on the market, console manufacturers are forced to continue to innovate, bring more games for their systems to market, and move quickly onto new technology to continue their business model.[7] There are further concerns related to intellectual property of the console's branding and of games' assets that could be misused, though these are issues less with emulation itself but with how the software is subsequently used.[7]

Alternatively, emulation is seen to enhance video game preservation efforts, both in shifting game information from outdated technology into newer, more persistent formats, and providing software or hardware alternates to aged hardware.[17] Concerns about cost, availability, and longevity of game software and console hardware have also been cited as a reason for supporting the development of emulators.[17] Some users of emulation also see emulation as means to preserve games from companies that have long-since gone bankrupt or disappeared from the industry's earlier market crash and contractions, and where ownership of the property is unclear. Emulation can also be seen as a means to enhance functionality of the original game that would otherwise not be possible, such as adding in localizations via ROM patches or new features such as save states.[7] In November 2021, Phil Spencer stated that he hoped for video game companies to eventually develop and propagate legal emulation which would allow users to play any game from the past that they already owned a copy of, characterizing it as "a great North Star" for the industry to aim towards in the future.[18][19]

edit

United States

edit

As computers and global computer networks continued to advance and become more popular, emulator developers grew more skilled in their work, the length of time between the commercial release of a console and its successful emulation began to shrink. Fifth generation consoles such as Nintendo 64, PlayStation and sixth generation handhelds, such as the Game Boy Advance, saw significant progress toward emulation during their production. This led to an effort by console manufacturers to stop unofficial emulation, but consistent failures such as Sega v. Accolade 977 F.2d 1510 (9th Cir. 1992), Sony Computer Entertainment, Inc. v. Connectix Corporation 203 F.3d 596 (2000), and Sony Computer Entertainment America v. Bleem 214 F.3d 1022 (2000),[20] have had the opposite effect, which has ruled that emulators, developed through clean room design, are legal. The Librarian of Congress, under the Digital Millennium Copyright Act (DMCA), has codified these rules as allowed exemptions to bypass technical copyright protections on console hardware.[7] However, emulator developers cannot incorporate code that may have been embedded within the hardware BIOS, nor ship the BIOS image with their emulators.[7]

Unauthorized distribution of copyrighted code remains illegal, according to both country-specific copyright and international copyright law under the Berne Convention.[21][better source needed] Accordingly, video game publishers and developers have taken legal action against websites that illegally redistribute their copyrighted software, successfully forcing sites to remove their titles[22] or taking down the websites entirely.[23]

Under United States law, obtaining a dumped copy of the original machine's BIOS is legal under the ruling Lewis Galoob Toys, Inc. v. Nintendo of America, Inc., 964 F.2d 965 (9th Cir. 1992) as fair use as long as the user obtained a legally purchased copy of the machine. To mitigate this however, several emulators for platforms such as Game Boy Advance are capable of running without a BIOS file, using high-level emulation to simulate BIOS subroutines at a slight cost in emulation accuracy.[citation needed]

Newer consoles have introduced one or more layers of encryption to make emulation more difficult from a technical perspective but also can create further legal challenges under the DMCA, which forbids the distribution of tools and information on how to bypass these layers. The Nintendo Switch emulator Yuzu had been sued by Nintendo because the group behind the emulator had provided such information on how to obtain the required decryption keys, leading the group to settle with Nintendo and removing the emulator from distribution. Forked projects from Yuzu since appeared, taking the route of informing users what decryption items they would need but otherwise not stating how to acquire these as to stay within Nintendo's stance against emulation and copyright infringement.[24]

Impersonation by malware

edit

Due to their popularity, emulators have also been a target of online scams in the form of trojan horse programs designed to mimic the appearance of a legitimate emulator, which are then promoted through spam, on YouTube and elsewhere.[25] Some scams, such as the purported "PCSX4" emulator, have even gone so far as to setting up a fake GitHub repository, presumably for added trustworthiness especially to those unfamiliar with open-source software development.[26] The Federal Trade Commission has since issued an advisory warning users to avoid downloading such software, in response to reports of a purported Nintendo Switch emulator released by various websites as a front for a survey scam.[27]

Official use

edit

Due to the high demand of playing old games on modern systems, consoles have begun incorporating emulation technology. The most notable of these is Nintendo's Virtual Console. Originally released for the Wii, but present on the 3DS and Wii U, Virtual Console uses software emulation to allow the purchasing and playing of games for old systems on this modern hardware. Though not all games are available, the Virtual Console has a large collection of games spanning a wide variety of consoles. The Virtual Console's library of past games currently consists of titles originating from the Nintendo Entertainment System, Super NES, Game Boy, Game Boy Color, Nintendo 64, Game Boy Advance, Nintendo DS, and Wii, as well as Sega's Master System and Genesis/Mega Drive, NEC's TurboGrafx-16, and SNK's Neo Geo. The service for the Wii also includes games for platforms that were known only in select regions, such as the Commodore 64 (Europe and North America) and MSX (Japan),[28] as well as Virtual Console Arcade, which allows players to download video arcade games. Virtual Console titles have been downloaded over ten million times.[29] Each game is distributed with a dedicated emulator tweaked to run the game as well as possible. However, it lacks the enhancements that unofficial emulators provide, and many titles are still unavailable.[which?]

Until the 4.0.0 firmware update, the Nintendo Switch system software contained an embedded NES emulator, referred to internally as "flog", running the game Golf (with motion controller support using Joy-Con). The Easter egg was believed to be a tribute to former Nintendo president Satoru Iwata, who died in 2015: the game was only accessible on July 11 (the date of his death), Golf was programmed by Iwata, and the game was activated by performing a motion gesture with a pair of Joy-Con that Iwata had famously used during Nintendo's video presentations. It was suggested that the inclusion of Golf was intended as a digital form of omamori—a traditional form of Japanese amulets intended to provide luck or protection.[30][31][32] As part of its Nintendo Switch Online subscription service, Nintendo subsequently released an app featuring an on-demand library of NES and SNES titles updated regularly.[33] The app features similar features to Virtual Console titles, including save states, as well as a pixel scaler mode and an effect that simulates CRT television displays.[34]

Due to differences in hardware, the Xbox 360 is not natively backwards compatible with original Xbox games.[fn 2] However, Microsoft achieved backwards compatibility with popular titles through an emulator. On June 15, 2015, Microsoft announced the Xbox One would be backwards compatible with Xbox 360 through emulation. In June 2017, they announced original Xbox titles would also be available for backwards compatibility through emulation, but because the Xbox original runs on the x86 architecture, CPU emulation is unnecessary, greatly improving performance. The PlayStation 3 uses software emulation to play original PlayStation titles, and the PlayStation Store sells games that run through an emulator within the machine. In the original Japanese and North American 60 GB and 20 GB models, original PS2 hardware is present to run titles; however all PAL models, and later models released in Japan and North America removed some PS2 hardware components, replacing it with software emulation working alongside the video hardware to achieve partial hardware/software emulation.[35][36] In later releases, backwards compatibility with PS2 titles was completely removed along with the PS2 graphics chip, and eventually Sony released PS2 titles with software emulation on the PlayStation Store.[36]

Commercial developers have also used emulation as a means to repackage and reissue older games on newer consoles in retail releases. For example, Sega has created several collections of Sonic the Hedgehog games. Before the Virtual Console, Nintendo also used this tactic, such as Game Boy Advance re-releases of NES titles in the Classic NES Series.[37]

Other uses

edit

Although the primary purpose of emulation is to make older video-games execute on newer systems, there are several advantages inherent in the extra flexibility of software emulation that were not possible on the original systems.

ROM hacking and modification

edit

Disk image loading is a necessity for most console emulators, as most computing devices do not have the hardware required to run older console games directly from the physical game media itself. Even with optical media system emulators such as the PlayStation and PlayStation 2, attempting to run games from the actual disc may cause problems such as hangs and malfunction as PC optical drives are not designed to spin discs the way those consoles do.[citation needed] This, however, has led to the advantage of it being far easier to modify the actual game's files contained within the game ROMs. Amateur programmers and gaming enthusiasts have produced translations of foreign games, rewritten dialogue within a game, applied fixes to bugs that were present in the original game, as well as updating old sports games with modern rosters. It is even possible to use high-resolution texture pack upgrades for 3-D games and sometimes 2-D if available and possible.[fn 3]

Enhanced technical features

edit

Software that emulates a console can be improved with additional capabilities that the original system did not have. These include Enhanced graphical capabilities, such as spatial anti-aliasing, upscaling of the framebuffer resolution to match high definition and even higher display resolutions, as well as anisotropic filtering (texture sharpening).

Emulation software may offer improved audio capabilities (e.g. decreased latency and better audio interpolation), enhanced save states (which allow the user to save a game at any point for debugging or re-try) and decreased boot and loading times. Some emulators feature an option to "quickly" boot a game, bypassing the console manufacturer's original splash screens.

Furthermore, emulation software may offer online multiplayer functionality and the ability to speed up and slow down the emulation speed. This allows the user to fast-forward through unwanted cutscenes for example, or the ability to disable the framelimiter entirely (useful for benchmarking purposes).

Bypassing regional lockouts

edit

Some consoles have a regional lockout, preventing the user from being able to play games outside of the designated game region. This can be considered a nuisance for console gamers as some games feature seemingly inexplicable localization differences between regions, such as differences in the time requirements for driving missions and license tests on Gran Turismo 4,[38][39][better source needed] and the PAL version of Final Fantasy X which added more ingame skills, changes to some bosses, and even more bosses, Dark Aeons,[40] that weren't available in the North American NTSC release of the game.[41]

Although it is usually possible to modify the consoles themselves to bypass regional lockouts, console modifications can cause problems with screens not being displayed correctly and games running too fast or slow, due to the fact that the console itself may not be designed to output to the correct format for the game. These problems can be overcome on emulators, as they are usually designed with their own output modules, which can run both NTSC and PAL games without issue.[citation needed]

Cheating and widescreen functionality

edit

Many emulators, for example Snes9x,[42] make it far easier to load console-based cheats, without requiring potentially expensive proprietary hardware devices such as those used by GameShark and Action Replay. Freeware tools allow codes given by such programs to be converted into code that can be read directly by the emulator's built-in cheating system, and even allow cheats to be toggled from the menu. The debugging tools featured in many emulators also aid gamers in creating their own such cheats. Similar systems can also be used to enable Widescreen Hacks for certain games, allowing the user to play games which were not originally intended for widescreen, without having to worry about aspect ratio distortion on widescreen monitors.

See also

edit

Notes

edit
  1. ^ These target platforms usually have available compilers to allow such emulators to be available.[citation needed] Computer systems are not included, see List of computer system emulators
  2. ^ The Xbox architecture is similar to a PC with an x86 architecture, whereas the Xbox 360 is a PowerPC system.
  3. ^ Having these improved textures requires a demanding graphics chipset which is capable of handling such.

References

edit
  1. ^ Stenger, Ben (May 31, 2021). "The Pros and Cons of Playing Video Games on an Emulator". Archived from the original on May 19, 2024. Retrieved May 19, 2024.
  2. ^ Rich Wordsworth (2016-09-25). "Are game emulators legal?". TechRadar. Retrieved 2023-05-24.
  3. ^ "Emulating the gaming world on DS". Engadget. 15 July 2016. Retrieved 2023-05-24.
  4. ^ Hughes, Thomas (2021-06-01). "Nintendo wins $2.1million in legal case against ROMUniverse owner". NME. Retrieved 2023-05-24.
  5. ^ Scharon Harding (2018-07-26). "Yes, Downloading Nintendo ROMs Is Illegal (Even if You Own the Game)". Tom's Hardware. Retrieved 2023-05-20.
  6. ^ Stephen, Bijan (2019-04-18). "How the Game Boy found a new life through emulation". The Verge. Retrieved 2023-05-24.
  7. ^ a b c d e f g h i j k l Conley, James; Andros, Ed; Chinai, Priti; Lipkowitz, Elise; Perez, David (Spring 2004). "Use of a Game Over: Emulation and the Video Game Industry, A White Paper". Northwestern Journal of Technology and Intellectual Property. 2 (2). Retrieved September 2, 2020.
  8. ^ "An Interview with Yuji Naka". The Next Level. 15 June 2004. Retrieved 9 June 2014.
  9. ^ "How Three Kids With No Experience Beat Square And Translated Final Fantasy V Into English". Kotaku. 25 April 2017. Retrieved 2020-11-02.
  10. ^ O'Donnell, Casey (2014). Developer's dilemma : the secret world of videogame creators. Cambridge, Massachusetts: MIT Press. p. 241. ISBN 9780262028196. Retrieved 15 September 2022.
  11. ^ "Apple Allowing Game Emulators in the App Store". 17 April 2024. Retrieved 2024-06-16.
  12. ^ "Delta Emulator". 22 April 2024.
  13. ^ "Sutāto Emulator". 29 April 2024.
  14. ^ "Retro Arch". 17 May 2024.
  15. ^ Gault, Matthew (May 6, 2020). "Using Leaked Nintendo Source Code Poses Serious Legal Risk to Emulators". Vice. Retrieved May 6, 2020.
  16. ^ "Ripping Games - Emulation General Wiki". emulation.gametechwiki.com. Retrieved 2018-04-21.
  17. ^ a b "Pirating Metroid aside, emulators play an important role in games preservation". Destructoid. 2021-10-19. Retrieved 2022-09-25.
  18. ^ Totilo, Stephen (2021-11-17). "Microsoft gaming chief calls for industry-wide game preservation". Axios. Retrieved 2022-09-28.
  19. ^ "Phil Spencer hopes for industry-wide emulation, even as Xbox emulation ends". PCGamesN. 18 November 2021. Retrieved 2022-09-28.
  20. ^ see Midway Manufacturing Co. v. Artic International, Inc., 574 F.Supp. 999, aff'd, 704 F.2d 1009 (9th Cir 1982) (holding the computer ROM of Pac Man to be a sufficient fixation for purposes of copyright law even though the game changes each time played.) and Article 2 of the Berne Convention
  21. ^ "COOLROM.COM FORCED REMOVAL OF NINTENDO ROMS DUE TO COPYRIGHTS". RealGamerNewZ. February 3, 2015. Retrieved August 4, 2018.
  22. ^ Good, Owen (July 22, 2018). "Nintendo sues to shut down two big ROM sites". Polygon. Retrieved August 1, 2018.
  23. ^ "How Nintendo's destruction of Yuzu is rocking the emulator world". 14 March 2024.
  24. ^ Musil, Steven (30 March 2017). "Don't get conned: That free Nintendo Switch emulator is a scam". CNET. Retrieved 24 April 2017.
  25. ^ Fenlon, Wes (15 January 2019). "PS4 emulators on PC don't work yet, so don't get scammed by a fake". PC Gamer. Retrieved 16 February 2020.
  26. ^ "FTC warns against fake Nintendo Switch emulators". TrustedReviews. 23 April 2017. Retrieved 23 April 2017.
  27. ^ "Nintendo Japan Virtual Console overview" (in Japanese). Nintendo. Retrieved 2007-02-25.
  28. ^ Thorson, Tor; Ramsay, Randolph (20 February 2008). "Q&A: Nintendo's Satoru Iwata". GameSpot.
  29. ^ Frank, Allegra (2017-12-27). "Switch's hidden Iwata tribute removed in latest update". Polygon. Retrieved 2019-04-02.
  30. ^ Humphries, Matthew. "Hidden NES Golf Game on Switch a Tribute to Satoru Iwata". PCMAG. Retrieved 2019-04-02.
  31. ^ "Hidden Switch game is actually a tribute to former Nintendo president [Updated]". Ars Technica. Retrieved 2017-09-28.
  32. ^ Knezevic, Kevin (September 17, 2018). "Nintendo Switch Online Service: More Details Revealed In Nintendo Direct". GameSpot. Retrieved December 1, 2018.
  33. ^ Machkovech, Sam (2018-09-19). "Welcome to NES-flix: Testing Nintendo Online's new 8-bit library on Switch". Ars Technica. Retrieved 2019-04-02.
  34. ^ "Play PSone and PlayStation 2 Games on a PlayStation 3". Sony Playstation Services and Support. Retrieved 21 April 2018.
  35. ^ a b Leadbetter, Richard (21 July 2012). "Digital Foundry vs. PS2 Classics on PlayStation 3". Eurogamer.
  36. ^ "Classic NES Series (Concept)". Giant Bomb. Retrieved 2020-11-02.
  37. ^ "Gran Turismo 4 - The Cutting Room Floor". tcrf.net. Retrieved 2018-11-15.
  38. ^ "Pal versus NTSC versions of gt4: What are the differences?". 12 April 2006.
  39. ^ "Dark Aeons".
  40. ^ "Version Differences (FFX)".
  41. ^ Whizzy. "Game Genie, Action Replay, and Other Cheat Codes for SNES9x". CheatZILLA. Retrieved 3 January 2017.