Engineering:Homebrew (video gaming)

From HandWiki
Screenshot of the Atari 2600 homebrew Duck Attack! (2010)

Homebrew is a term frequently applied to video games or other software produced by consumers to target proprietary hardware platforms (usually with hardware restrictions) that are not typically user-programmable or that use proprietary storage methods. This can include games developed with official development kits, such as Net Yaroze, Linux for PlayStation 2 or Microsoft XNA.[1] A game written by a non-professional developer for a system intended to be consumer-programmable, like the Commodore 64, is simply called hobbyist (rather than homebrew).

Along with the Dreamcast, Game Boy Advance, and PlayStation Portable, the most frequently used platforms for homebrew development are older generations of consoles, among them the Atari 2600 and Nintendo Entertainment System (NES). The relative simplicity of older systems enables an individual or small group to develop acceptable games in a reasonable time frame.

All major sixth generation consoles are given attention in homebrew development, but less so than earlier generations. This is mostly the case because software production requires more resources, accurate emulators do not exist yet, that the consoles themselves often employ rather complex systems to prevent the execution of unauthorized code, and that recent consoles are updated more often than older ones. Homebrew developers must often exploit loopholes to enable their software to run.

Homebrewing is not only limited to games; there are numerous demos that have been released for most systems with a homebrew scene.

Development

Homebrew games for older systems are typically developed using emulators for convenience since testing them requires no extra hardware on the part of the programmer. Development for newer systems typically involves actual hardware given the lack of accurate emulators. Efforts have been made to use actual console hardware for many older systems, though. Atari 2600 homebrew developers use various methods, for example, burning an EEPROM to plug into a custom cartridge board or audio transfer via the Starpath Supercharger. Game Boy Advance homebrew developers have several ways to use GBA flash cartridges in this regard.

First through fourth generation consoles

The Atari 2600 is a popular platform for homebrew developers.

Magnavox Odyssey

In 2009, Odball became the first game for the Magnavox Odyssey since 1973. It was produced by Robert Vinciguerra[2] who has since written several other Odyssey games. On July 11, 2011, Dodgeball was published by Chris Read.[3]

Fairchild Channel F

A handful of homebrew games have been programmed for the Fairchild Channel F, the first console to use ROM cartridges. The first known release is Sean Riddle's Lights Out which included instructions on how to modify the SABA#20 Chess game into a Multi-Cartridge.[4] There is also a version of Tetris and in 2008 "Videocart 27: Pac-Man" became the first full production homebrew for the Channel F.

Atari 2600

Main page: Software:Atari 2600 homebrew

The Atari 2600, released in 1977, is a popular[vague] platform for homebrew projects. Games created for the Atari 2600 can be executed using either an emulator or directly when copied onto a blank cartridge making use of either a PROM or EPROM chip. Unlike later systems, the console does not require a modchip. Although there is one high-level compiler available, batari Basic, most development for the Atari 2600 is still done in 6502 assembly language. Combined with the extremely limited resources of the 2600, it is a difficult system to develop for, and some games are programmed simply for the technical challenge.[5]

NES

Several compilers are available for the Nintendo Entertainment System, but like the Atari 2600, most development directly applies assembly language. One impediment to NES homebrew development is the relative difficulty involved with producing physical cartridges. Although third-party flash carts do exist allowing homebrew possible on original NES hardware.[6] Several varieties of custom processors are used within NES cartridges to expand system capabilities; most are difficult to replicate except by scavenging old cartridges. The hardware lockout mechanism of the NES further complicates the construction of usable physical cartridges. However, the NES-101 removed the 10NES lockout chip so any game, whether homebrew, unlicensed, or another region of an official game, can be played. The original Famicom and its clones also feature no lockout mechanism. [citation needed] The 10NES chip can eventually be permanently disabled by performing a minor change to the hardware.

Genesis and Master System

The Sega Genesis received a high-profile homebrew game with a physical release, Pier Solar, in 2010.

Both the Sega Genesis/Mega Drive and Sega Master System benefit from limited homebrew development, as there is no physical lockout mechanism, thereby easing the operation of software on these platforms. Homebrew efforts for the Genesis have grown, as there are now several full games scheduled[when?] for release in physical form, such as Rick Dangerous 1 & 2 and a port of Teenage Queen. Pier Solar and the Great Architects, Sacred Line Genesis, Coffee Crisis and Frog Feast for the Genesis and Mighty Mighty Missile for the Sega Mega-CD are examples of homebrew games already released for Sega consoles.

The 2018 game Tanglewood was developed using original Mega Drive development hardware.[7]

Neo-Geo MVS, Neo-Geo AES, and Neo-Geo CD

The Neo-Geo Home Cart and Arcade Systems can be tough candidates for homebrew development. Neo-Geo AES and MVS cartridges have two separate boards: one for video, and one for sound. If programming a cartridge for the system were to occur, it would involve replacing the old ROM chips with one's newly programmed ones as the cartridges are in a sense, Arcade boards. NGDevTeam who have released Fast Striker and Gunlord found a workaround with this. What they did was print out their own board, and soldered their own ROM chips into them; this, however, can cause the Universe Bios logo to look corrupted if a custom bios were to be programmed. Programming for the Neo-Geo CD, however is easier than programming for cartridges. The CDs themselves can actually contain both sound and video respectively. Depending on the Megabit count for a game program, load times will vary. A CD game with low Megabit counts will load only one time; whereas a CD game with higher megabit counts could load in between scenes, or rounds. There are now some full games scheduled[when?] for release in physical form, such as Neo Xyx.[citation needed][8]

Programmer of the Neo-Geo Universe Bios, Razoola is currently[when?] working on a "Skeleton Game Driver" that supports two players. This ROM is meant to remedy the corrupted Universe Bios Screens, as well as work with an unmodified/stock Neo-Geo Multi-Video System (MVS), or Advanced Entertainment System (AES).[9]

Gameboy

The Gameboy Homebrew scene started around 1995, when Marat Fayzullin released the Virtual Gameboy, a Gameboy emulator. The release of Pokémon Red and Blue in 1998 is one of the biggest reasons as to why the Gameboy has a successful homebrew community in 2019, however many years after, it became obsolete in 2001 with the release of the Gameboy Advance and its discontinuation in 2003.

Bung Enterprises Ltd. made a lot of homebrewed or homebrew-able Gameboy games on the internet.

SNES

After its discontinuation of games in 1998, and production in 1999, homebrew ROM images were created, despite the various security measures to prevent unauthorized code running on the machine.

Eventually[when?] the homebrew community figured out how games ran on the SNES hardware and were able to bypass its security mechanisms. Companies such as Bung Enterprises Ltd. released hardware plugins such as the Game Doctor SF series. These allowed users to not only copy games but also to run homebrew developed games on SNES hardware. Homebrew ROMs could be converted into the Game Doctor SF format and put onto a 3 1/2" floppy. Games as large as twelve megabits could be put on floppy disks formatted to 1.6 megabytes.

An alternative device was the Super Flash, by Tototek, which allowed for multiple games to be burned onto a flash memory chip of cartridge. This allowed up to 48 megabits. This chip was the mask ROM for the Super Flash development cartridge; it was easy to use and had a user interface on the computer end. This allowed users to make a SNES game and play it in an actual cartridge rather than a floppy disk.

TurboGrafx-16/PC Engine

The TurboGrafx-16/PC Engine has a comparatively small homebrew scene. The first homebrew title released on CD was MindRec's Implode in 2002, a few years after the system's last official release (Dead Of The Brain I & II for the PC Engine in 1999). Two years later, MindRec released Meteor Blaster DX on CD-R. Official word was that it was unable to be pressed to CD proper due to the glass mastering software suddenly unable to handle the unorthodox style of CD layout that the system expects. Five years later, Aetherbyte Studios released Insanity, a Berzerk clone, on pressed CD, quelling the notion of unpressable CDs. Aetherbyte later went on to prototype and produce a new HuCard design called "AbCARD", which was fully compatible with the console.

There is one dedicated C compiler for the console known as HuC. It has not been officially updated since 2005. The MagicKit assembler is generally considered[by whom?] the de facto assembler for the console, and comes included with HuC. Additional libraries for HuC/MagicKit include Squirrel, a sound engine developed by Aetherbyte Studios, and the SGX/ACD library, developed by Tomatheous, that gives the developer easy access to the SuperGrafx video hardware as well as the Arcade Card.

The cc65 C compiler is compatible with the console, although there is no development library support for it.

Fifth-generation consoles

Atari Jaguar

The Atari Jaguar has had a cult following after being declared as an open platform in 1999.

After the properties of Atari Corporation were bought out by Hasbro Interactive in 1998, Hasbro released the rights and patents to the Jaguar into public domain in 1999, declaring the console an open platform and opening the doors for homebrew development.[10][11][12] Because of this, a few developers and publishers such as AtariAge, B&C Computervisions, Piko Interactive, Songbird Productions, Telegames and Video61 continue to release both previously unfinished games from the Jaguar's past life cycle and several brand new titles to satisfy the system's cult following. These titles are not endorsed or licensed by Atari.

Homebrew games for the Atari Jaguar are released in either cartridge, CD or both formats. Titles released in the CD format are either glass mastered, or burned on regular CD-Rs however, since the add-on was released in very limited quantities, most of the homebrew developers prefer to publish their works either online on forums or in cartridge via independent publishers, with many of the cartridge releases stylized as a retail Jaguar title from the era. Since both systems do not have regional locking all of the titles are region free but some titles, such as Gorf Classic and the initial release of Black Out! do not work correctly on PAL systems. Some of the earliest CD releases were not encrypted, requiring either B&C's Jaguar CD Bypass Cartridge[13] or Reboot's Jagtopia (Freeboot) program burned into a CD in order to run unencrypted CD games,[14] but Curt Vendel of Atari Museum released the binaries and encryption keys for both the cartridge and CD format, making it possible to run games without the need of development hardware.[15] Most recently,[when?] the BIOS of the Jaguar CD was cracked and can be installed inside the system but with some soldering skills.[16]

Some of the titles listed have been released on other platforms, such as the Amiga, Atari ST, Dreamcast, Genesis, mobile devices, PC, PlayStation and Super Nintendo. The very first homebrew title programmed for the Jaguar dates from 1995, a version of Tetris called JSTetris developed using a hacked Alpine Dev. Kit, one of the pieces of development hardware used to program official Jaguar titles.[17]

Since emulation of the console is still limited, coding is conducted using a real Jaguar console through either the Skunkboard development cartridge, using a BJL modified Jaguar, or the official Alpine Development Kit. The commercial game BattleSphere Gold, also contains the JUGS (Jaguar Unmodified Game Server) aid to development.[18]

Homebrew games and demos for the system developed between 1995-2008 were done by small groups which released their titles in either downloadable or physical format, with the downloadable games needing an emulator or development device. There has been an increase in the number of homebrew games released for the Jaguar in recent years. There are also ST-to-Jaguar conversions, which involves porting titles from the Atari ST to the Jaguar, which a few of them includes some enhancements and improvements from its original computer version, also done by some members of the community.[19] While they can be downloaded for free, select titles were sold in August 3, 2016[20][21] and others, as of date, are being licensed and sold in festivals dedicated to the system such as E-JagFest, JagFest or online via AtariAge.[22]

PlayStation

Making games on the PlayStation is possible with any model of the system through the use of a modchip or the double 'Swap Trick'. Requirements consist of a PC, SDK, and a 'Comms Link' device to upload and download files to and from the console.

Another way of starting Homebrew on the PlayStation is 'UniROM', which is a Softmod. UniROM works by being installed onto a cheat-device, which is connected via the parallel-port (on old consoles) and allows loading of custom code via burned CDs and the serial port.

Homebrew was originally promoted by Sony with the Net Yaroze, which had a large scene for quite some time. However, the official Net Yaroze site was shut down in mid-2009, and Sony stopped supporting the system as well as the users who still owned the console.

Sega Saturn

The Sega Saturn homebrew scene is small but active. As with the PlayStation, all models are capable of homebrew. Modchips for the Saturn Model 1 have been scarce for some time, as it seems that no one has produced any new modchips in years. As such, the only two options left are to either perform the swap trick or extensively modify a Saturn Model 2 modchip.

Running homebrew on the Model 2 can be accomplished by bridging two points on the modchip, soldering a wire from the modchip to the Saturn power supply, and inserting it where the CD-rom ribbon cable inserts. The swap trick is more difficult to pull off on this Model due to the lack of an access light.

Another method is what is known as the "PseudoSaturn" unlocking method. It is a program created by CyberWarrior2000 that abuses the "Pro Action Replay" cartridge's firmware. It unlocks region, frequency, and CD protection of most Saturn models. Either a modded Saturn or a swap trick is required to run the installer, which loads the code in the FlashROM of the cartridge. Afterwards, the cartridge unlocks everything and most software can be run, from backups to homebrews. There is also now a new engine for development called the Jo-Engine created by Johannes Fetz to allow easy development of 2D games.[23] This engine is currently able to compile 2D games without the Sega Graphic Libraries (SGL). Another engine by XL2, called the Z-Treme engine, led to the creation of a fully 3D Sonic The Hedgehog game called Sonic Z-Treme.[24] Z-Treme uses Sega Basic Libraries (SBL) and Sega Graphic Libraries (SGL).

Virtual Boy

Planet Virtual Boy has promoted homebrew for years by the site, since the system has no region lock.[25] But it wasn't until the flash carts FlashBoy and FlashBoy+ were released that the homebrew scene began to grow. Despite the Virtual Boy's mere 8 months in production before being discontinued (August 1995 - March 1996), dedicated fans have been making a variety of homebrew games for years. Two previously unreleased games, Bound High! and Niko-Chan Battle (the Japanese version of Faceball) have been released.

Nintendo 64

The Nintendo 64 homebrew scene is small, but homebrew can still be played and developed through the use of a Doctor V64, (Acclaim used a Doctor V64 to help develop Turok,[26]) the Everdrive 64[27] or 64drive.[28]

NEC PC-FX

There is only one homebrew development kit known for the PC-FX, which is based on the GNU Compiler Collection version 2.95.1. The Mednafen author began work on a library for the compiler called pcfxlib but it was discontinued due to lack of interest until trap15 started development of a new library called liberis. The toolchain is designed for a Linux environment, although it can also be used with cygwin. To date, no homebrew titles for the PC-FX have been released, although Aetherbyte Studios and Eponasoft have both expressed interest in developing new software for the console.

Sixth-generation consoles

Nuon

The Nuon was a game chip built into several DVD players. VM Labs, which made the system, released an SDK just before it went bankrupt. Homebrew Nuon apps can only be played on Samsung DVD-N50x and RCA Nuon DVD players.

Dreamcast

Despite its short commercial lifespan of less than two years in North America, the Dreamcast benefits from an active homebrew scene even ten years after its discontinuation. Due to a flaw in the Dreamcast BIOS, which was intended for use with MIL-CD's, the console can run software from CD-R without the use of a modchip. Sega reacted by removing MIL-CD support from the BIOS of the later produced Dreamcast consoles manufactured from November 2000 onwards.

The console is especially notable for its commercial homebrew scene. One notable project was the Bleemcast! emulator, which was a series of bootdisks made to play PlayStation games on the system, featuring visual enhancements over the original console. Newer independent releases include Last Hope, released by RedSpotGames in 2007, and DUX,[29] both Shoot 'em up style games. These releases were written using the KallistiOS development system. A port of the freeware high-level development language Fenix and BennuGD is available for use in game development; many DIV Games Studio games have been ported and others were originally written for the system.

PlayStation 2

Early versions of the PlayStation 2 have a buffer overflow bug in the part of the BIOS that handles PS1 game compatibility; hackers found a way to turn this into a loophole called the PS2 Independence Exploit, allowing the use of homebrew software. Another option for homebrew development is the use of a modchip. Also, it is possible for developers to utilize a PS2 hard drive and HD Loader.

As of May 2008, there is a superior exploit called Free McBoot, which is applicable to all PS2s including Slimlines except for SCPH-9000x models with BIOS 2.30 and up, where the exploit was patched by Sony. Manufacturing of such homebrew-proof models started in the third quarter of 2008, which is denoted as date code 8C on the console, although some consoles of this line still have the old unpatched 2.20 BIOS.

Unlike the Independence Exploit, which requires a trigger disk, Free McBoot needs only a standard Memory Card, which allows it to be used on systems with broken optical drives. The installation is keyed to the Memory Card and will be usable on only the same version consoles that it was originally installed on, unless a Multi-Install is performed.

The drawback of this exploit is that it needs to be installed/compiled on each individual memory card. Simply copying the exploit is not possible; this means that an already modded or exploited system is required to install FMCB on a Memory Card.

After installing an exploit, unsigned executables (Executable and Linkable Format) may be launched from a Memory Card or a USB drive. Such programs include emulators, media players, hard drive management tools, and PC-based or NAS-based file shares. The exploit is also notable for allowing the user to copy PS1/PS2 save files from a Memory Card to a USB drive, a functionality normally only possible with tools such as a DexDrive.

Sony also released an official homebrew-development kit that allows PlayStation 2 to run Linux.

Nintendo GameCube

Homebrew development on the Nintendo GameCube tended to be difficult, since it uses a proprietary MiniDVD-based drive and media as opposed to the standard DVD drives of the PS2 and Xbox for piracy protection. Also, its connectivity is limited, as it does not feature a USB port or an HDD port like the PlayStation 2.

The barrier to burning Nintendo GameCube discs with a consumer DVD burner is the Burst Cutting Area, a "barcode" in the innermost ring of the disc, an area inaccessible to most burners and writeable only by very expensive disc pressing machines. For a long time the only way to run homebrew software on Nintendo GameCube was through a patching-system exploit of Phantasy Star Online Episode I & II, requiring users to find the game and a Broadband Adapter. Both of these are difficult to find because a follow-up has been released (under the name Phantasy Star Online Episode I & II Plus) and thus the original PSO was rarely sold after then, and because the Broadband Adapter was not often carried in stores due to the Nintendo GameCube's very limited selection of online games.

As of August 2019, the most common method is to use an Action Replay in conjunction with an SD card adapter inserted into the memory card slot, allowing the user to run Homebrew from the SD card, or over Ethernet. Another method involves using a modchip to allow the GameCube to run Homebrew from a MiniDVD-R via the disc drive. Another method uses a save game exploit which involves transferring modified game save files to a GameCube memory card that triggers arbitrary code execution when loaded by an official game, allowing custom software to be run from a memory card, SD card, or other media.[30] As the Nintendo GameCube's case does not fit a full-size DVD-R, third party replacement cases are available.

Homebrew software for the Nintendo GameCube mainly consists of emulators for other systems, as well as several popular Homebrew utilities. Swiss is an “all-in-one Homebrew utility”, including a file browser, and the ability to force software to use different video modes that aren't officially supported, such as progressive scan or 16:9 widescreen.[31] The Game Boy Interface is a Homebrew software frontend for the Game Boy Player peripheral, and is often used for capturing high-quality footage from Game Boy, Game Boy Color, and Game Boy Advance games.[32]

Xbox

Microsoft Xbox with a modchip installed

The Xbox console uses several measures, including cryptographically signed code to obfuscate firmware. The primary method of executing homebrew code required installing a mod chip which could be flashed with a modified Microsoft BIOS. This BIOS allowed the system to boot unsigned executables (XBEs) and control several hardware variables, such as region coding and video mode. With the leak of Microsoft's official development kit (XDK) homebrew coders were able to write replacement Xbox GUIs (known as dashboards), games and applications for the Xbox.

A softmod which uses a commercial game such as 007: Agent Under Fire, Mech Assault or Splinter Cell to load up homebrew software has been discovered. This method utilizes modified font bug and sound bug to cause the Xbox to cause a stack buffer overflow and load one of the homebrew dashboards. Once in this condition, the Xbox is able to execute homebrew games and applications.

Because the Xbox uses standard PC libraries, writing homebrew games is relatively easy, as the vast majority of libraries available for a PC programmer are available to an Xbox homebrew programmer.

One of the more common type of homebrew games for the Xbox are ports of PC games whose source has been publicly released or leaked. Many classic PC games have been released for Xbox, but most are created with the XDK which limits their availability. The only places to find these ports are through IRC or peer-to-peer browsers.

The Xbox system is also very adept at running emulators which have been ported from PC. The Xbox is able to emulate systems up to the previous generation, including the Nintendo 64 and the PlayStation. For this reason, many different emulators have been created for or ported to the Xbox.

Gameboy Advance

The popularity of homebrew development for the Game Boy Advance system since its release in 2001 is due to the availability of C compilers and ready-made, high-quality code libraries, and debugging features for Gameboy Advance emulators like the VisualBoyAdvance-M, the mgba, the No$gba GBA Emulator, John GBA and My Boy. Also contributing to the success is both the nostalgia for the system in general, the Pokémon Romhacking community, and the wide availability of Flash ROM cartridges and cartridge writers in online shops.

Seventh-generation consoles

PlayStation Portable (PSP)

Nintendo DS

Nintendo DS Lite with SuperCard DS Lite and MicroSD card.

Nintendo DS homebrew software is unofficial software written for the Nintendo DS by hobbyist programmers, versus software written by a game production company or corporation using the official development tools from Nintendo. Homebrew software is typically used on the DS via third-party rewritable game cartridges, SD cards, emulators, or rewritten game cards (most notably the R4 cartridge)

Photographer Steve Chapman, looking for other ways to continue his photography work with smaller equipment, created DS-DSLR, an application that allowed him to control his camera without his bulky laptop. When his camera was connected to the DS through the GBA cartridge slot, DS-DSLR allowed him to execute many tasks, including controlled breacketing, custom intervalshots, and timed long exposures. DS-DSLR even had a noise-activated shutter control which was activated when the DS mic detected noise.[33]

Xbox 360

Microsoft has released a version of its proprietary Software Development Kit (SDK) for free, to would-be homebrew programmers. This SDK, called XNA Game Studio, is a free version of the SDK available to professional development companies and college students. However, to create Xbox 360 games one must pay for a premium membership to the XNA Creators Club. Once the games are verified, the games written with XNA Studio can be made available for 80, 240, or 400 Microsoft Points to all Xbox 360 owners (through Xbox Live). This allows creators of homebrew content access to their target audience of Xbox 360 owners. This content is available under the Indie Games section of the New Xbox Experience.

On March 20, 2007, it was announced that a hack using the previously discovered hypervisor vulnerability in the Xbox 360 kernel versions 4532 and 4548 had been developed to allow users to run XeLL, a Linux bootloader. The initial hack was beyond the average user and required an Xbox serial cable to be installed and a flashed DVD Drive firmware. Felix Domke, the programmer behind XeLL, has since announced a live bootable Linux CD suitable for novice users, with the capabilities to be installed to the SATA hard drive of the Xbox 360. Despite the availability of such a distribution, the Xbox 360 still isn't considered a popular platform for homebrew development, given the dependence of the exploit on the DVD-ROM being able to load a burnt DVD |game, a modified version of the game King Kong, and two older kernel revisions of the console itself.

A group independent of Microsoft is working on the means to run homebrew code, as part of the Free60 project.

Note: The hypervisor vulnerability in the Xbox 360 kernel versions 4532 and 4548 was addressed by Microsoft with the release of the NXE system and dashboard update in 2008.[citation needed]

Homebrew was since re-enabled on any Xbox 360 with dash 2.0.7371.0 or lower via an exploit referred to as the jtag / jtag smc hack but was promptly patched again by Microsoft with the 2.0.8495.0 update.

Homebrew has now become available on most if not all Xbox 360 consoles due to the Reset Glitch Hack. So far it works on all current dashboards up to as of now the latest 17526 dashboard. Although it can run unsigned code some hardware is required to do the hack/exploit. Also soldering skills are a necessity when attempting to use this exploit.

PlayStation 3

The PlayStation 3 was designed to run other operating systems from day one. Very soon after launch, the first users managed to install Fedora Core 5 onto the PlayStation 3 via the 'Install Other OS' option in the PlayStation 3's XMB (Xross Media Bar), which also allows configuring the PlayStation 3 to boot into the other OS installed by default.

So far, several Linux flavors have been successfully installed to the PlayStation 3, such as Fedora Core 5, Fedora Core 6, Gentoo, Ubuntu and Yellow Dog Linux (YDL). The latter comes installed with the Cell SDK by default, allowing programmers a low cost entry into Cell programming. See also: Linux for PlayStation 3

Originally, graphics support was limited to framebuffer access only (no access to the PlayStation 3's graphics chip RSX), yet some access to the RSX graphics processor was achieved (but Sony blocked this with firmware release 2.10).

As of firmware release 3.21, consumers are no longer able to access the 'Other OS' due to Sony removing the facility[34] from the software in an update. Sony said this was in response to several 'security concerns'.

Homebrew developers do have access to the Cell microprocessor, including 6 of its 7 active Synergistic Processing Elements (SPEs). The Game OS resides under a hypervisor and prevents users from taking full control of the PlayStation 3's hardware. This is a security measure which helps Sony feel secure enough to allow users to install other operating systems on the PS3.

The Sixaxis controller has also been exposed to Linux and Windows,[35] but no driver seems to have been successfully created yet that exposes its accelerometer functionality, except for Motioninjoy. However other drivers have successfully used it as a controller for gaming etc.

In May 2008, a vulnerability was found in the PlayStation 3 allowing users to install a partial debug firmware on a regular console. However, the debug functionality is disabled, so neither homebrew applications nor backup games can be run yet.

Another exploit was found on August 14, 2008, allowing users to boot some backup games from the PlayStation 3's HDD, although the exact instructions on how to do this were not released at that time. However, a different person posted instructions 10 days later, which explained the exploit.[36]

On January 6, 2009 a hacking ring known as the "Sh4d0ws" leaked the jig files needed to launch the PlayStation 3 into service mode. Although the PlayStation 3 can be triggered into service mode, it is not yet of any use because the files needed to make changes to the console have not been leaked.[37]

On August 31, 2010 PSGroove, an exploit for the PS3 through the USB port, was released and made open source. This exploit works on all of the PS3 models released up until then.[38] A guide for the creation of the PSGroove is available through several online sources.[39]

George Hotz, better known under his nickname "geohot", has recently appeared on Attack of the Show because he released the PlayStation 3's encryption keys, therefore any homebrew or custom firmware can be signed. Once signed, homebrew can be natively run. It would be difficult for Sony to fix this because it would most likely require a voluntary recall and the most expensive parts would have to be replaced.[40] In 2011, Sony, with help from law firm Kilpatrick Stockton, sued Hotz and associates of the group fail0verflow for their jailbreaking activities. Charges included violating the DMCA, CFAA, Copyright law, and California's CCDAFA, and for Breach of Contract (related to the PlayStation Network User Agreement), Tortious interference, Misappropriation, and Trespass.[41]

Wii

Wii Homebrew Channel logo

In advance of the Wii's release, WiiCade was the first site to host Adobe Flash homebrew games specifically designed for the Wii and its remote, which could be played without any exploits using the Wii's Opera web browser.[42] The Wii was hacked via a custom serial interface in December 2007.[43] The goal of most Wii exploits is to install the Homebrew Channel, a custom channel that lets users run homebrew software on the console. The Homebrew Channel's first full release was in December 2008.[44] Though Nintendo successfully patched various older exploits to install the Homebrew Channel, many exploits to run the channel on current firmware exist. This channel can be installed using exploits in games such as Super Smash Bros. Brawl, an exploit in the Internet Channel,[45] or it can be installed via an exploit in the Wii's messaging system.[46] Note that only exploits that use disc games are compatible with installing the Homebrew Channel on the vWii (virtual Wii) mode on a Wii U, with the exception of "wuphax", an exploit that installs the channel via Wii U specific system permission exploits. The Wii Opera software development kit let developers make their own games in JavaScript.[47] The console's controller was also a popular target for modification.[48] On Aug 9, 2010, Team Twiizers released an exploit called LetterBomb which uses a malformed mail letter (Buffer overflow) to load a boot.elf file into memory, which then installs The Homebrew Channel to run unsigned code.

In recent years, other methods exploiting the Internet channel (Flashhax) and EULA have been released (str2hax[49]). In 2019, an exploit using Bluetooth called bluebomb[50] was released. Bluebomb meant the Wii Mini was hackable for the first time, as it was previously not possible due to the Wii Mini's Internet and Wii messaging capabilities, and SD slot removed.

Eighth-generation consoles

Nintendo 3DS

A New Nintendo 3DS XL running the Homebrew Launcher

The first public homebrew exploit for the Nintendo 3DS, ninjhax, allowed the user to scan a QR Code to exploit the game Cubic Ninja. Other ways to run the Homebrew Launcher have been discovered since then, including freakyhax, an exploit in the Deluxe edition of Freakyforms,[51] Doodlebomb, an exploit in the 1.1.1 and older versions of Swapdoodle,[52] and smashbroshax, a New 3DS exclusive exploit for the 3DS version of Super Smash Bros. for Nintendo 3DS and Wii U.[53]

The majority of system updates that have "Further improvements to overall system stability and other minor adjustments have been made to enhance the user experience" in their changelog are simply to patch Homebrew Launcher (userland) exploits that require a specific version of a game or application are often patched in these updates by adding those exploited application versions to the "IsTitleAllowed" blacklist, which prevents outdated applications on the list from launching, forcing users to update those applications to the latest version to launch the application.[54] For example, notehax only works on outdated versions of Flipnote Studio 3D. In the 11.6.0-39 system update, all regions of Flipnote Studio version <=1.0.1 in USA, <=1.2.0 in EUR, and <=1.3.1 in JPN were blocked from launching the application, patching the exploit on current firmware.[55][56]

Unsigned software can be launched from the SD card without having to install custom firmware on the device by using an exploit to run the Homebrew Launcher. The Homebrew Launcher itself can be launched on system versions 9.0-11.10 on any 3DS system. However, without installing custom firmware, the user will need to run the exploit each time they want to access the Homebrew Launcher.

To directly install custom software onto the 3DS home menu, a custom firmware is needed. There are several custom firmware releases available, the most popular being Luma3DS. Requirements to install custom firmware involve using various exploits to run a bootrom exploit called boot9strap, which executes custom code before boot ROM lockout. As of May 2019, the latest exploit uses an oversight in the encryption key for DSiWare software, as it can be partially determined from the system's Friend Code, making it possible to brute force the remainder of the encryption key.

PlayStation Vita

In 2016, an exploit for the PlayStation Vita was released named "HENkaku".[57] This exploit used a bug found on the 3.60 system firmware, allowing users to run unsigned software. It was installed by visiting a website and clicking on the install button on the PlayStation Vita web browser. This had to be done every time the user turned the system on. In the 3.61 system update, Sony patched the bug to make it impossible to run unsigned code on the Vita. However, in 2018, computer science student TheFloW (Andy Nguyen) found a kernel bug in firmware versions 3.65, 3.67, and 3.68 that allowed unsigned code to be run. Eventually, he developed an exploit called "h-encore" which allowed one to install the HENkaku hack on later PS Vita versions. The kernel bug was patched in firmware version 3.69, but the userland bug still works.

On February 13, 2019, TheFloW released a downgrader tool that can downgrade any Vita console to an older firmware down to its factory firmware.[58]

Wii U

The Wii U currently has homebrew execution in both the PowerPC kernel and the ARM9 kernel (nicknamed IOSU by the community). The most common way to execute code on the Wii U for 5.5.1 and below is through vulnerabilities in the Wii U's built in web browser. There are many different userland and PowerPC kernel exploits in the Wii U internet browser. The earliest userland exploits used C code (on versions 2.0.0-5.3.2) and libstagefright bugs (on versions 5.4.0-5.5.1) to load custom code in the browser, with memory and permission limitations.[59][60] The first kernel exploit found in the browser, called osdriver, only works on system versions 5.3.2 and lower, but this is no longer used as the 5.5.1 and lower exploit is more reliable. Currently, two different browser kernel exploits are used in the community. The first exploit found works on 5.5.1 and below and is very reliable.[61] The other kernel exploit works on 5.5.2 and below, but due to its unreliability, it is only used on 5.5.2 to install Haxchi. Haxchi exploits the fact that DS virtual console game data is only checked when the game is installed. When installed to a DS virtual console game, Haxchi launches homebrew directly (such as the Wii U Homebrew Launcher) using an exploit installed in the game's file location. Many homebrew applications that run via the homebrew launcher have been collected and hosted on wiiubru.com, which has a layout similar to that of the Wii U's own menu. These hosted applications can be downloaded directly on the Wii U using the HB App Store app in the repository. Some of these applications utilize an IOSU exploit that was released by the WiiUbru team, which allows full access to any Wii U console.[62] This IOSU exploit is often used to launch a console into a patched mode called CFW (custom firmware) sysNAND. In this patched mode, the system is able to launch any title, including unofficial titles and titles without valid signatures and Wii virtual console games or injections that are shortcuts to vWii (Wii Mode) games or homebrew applications. All of the current CFWs allow editing of files stored on the Wii U via an internet connection and an FTP application as well.

The Wii U's built-in Wii emulator (often nicknamed vWii or Wii Mode) is capable of running Wii homebrew, such as the Homebrew Channel.[63] However, vWii is much more fragile than a classic Wii console and has a higher chance of being bricked if dangerous software is used. Also, due to changes in the Wii operating system only found in vWii mode, previous exploits that utilized the HOME menu itself to load the HackMii Installer, such as Letterbomb, do not work on vWii. However, exploits that launch the HackMii Installer via a game still work on vWii. The only way to hack vWii without one of the exploit games is using an application called wuphax. Wuphax uses the public Wii U IOSU exploit to temporarily inject the HackMii installer into the Mii Channel so that the Homebrew Channel can be installed without an exploit game.[64]

Nintendo Switch

The Nintendo Switch got its first exploit with PegaSwitch on March 14, 2017; just 11 days after the console's release. It was developed by a team called ReSwitched, and it can be run through the browser included when connecting to a Wi-Fi network with a login page. Luca Todesco used the same exploit to jailbreak iOS 9 devices in 2016. It did not allow true homebrew to run on the system at the time, but it let developers look for other security bugs in the system. On October 1, 2017, ReSwitched announced many new exploits and tools allowing developers to start working on homebrew programs for the system even before they could be launched.[65] At the 34c3 event, hackers Plutoo, Derrek, and Naehrwert announced a kernel exploit for the system (which they said would not be released) and said that a homebrew launcher was coming soon.[66] On January 7, 2018, fail0verflow posted a video to Twitter showing a simple side-scrolling text program before booting the system, which shows that there is a way to run code before boot, opening up possibilities for new programs focused on development.[67] A homebrew launcher application has been released as well,[68] and a custom firmware called Atmosphere, has also been released.[69] Access to a Japanese copy of Puyo Puyo Tetris is initially required to install a Fake News exploit to launch the CFW on 1.0.0. For later system versions, the ability to install depends on the age of the console, as new consoles first appearing in June 2018 and shipping with system version 4.1.0 have their bootroms patched against the TrustZone (full control) exploit that allows CFW to be installed. As long as the system does not have the patches (which can only be installed at the factory during console assembly), the exploit can be used to install CFW.[70]

On March 29, 2018, SciresM, a respected developer in the homebrew community, announced that custom firmware called "Atmosphere" would be released for all available firmware versions at the time.[71] Firmware above 1.0.0 will be hackable via a cold boot exploit known as Fusée Gelée developed by the Reswitched team. This exploit takes advantage of a bug in the boot ROM on the Tegra X1 chip used by the Nintendo Switch. The exploit was also independently discovered by Fail0verflow under the name ShofEL2. Firmware version 1.0.0 will be hackable via a Trustzone exploit known as Jamais Vu. Atmosphere released its first public build in October 2018, which supports all system versions.

Xbox One

The Xbox One has a Dev Mode, though intended to be used for retail game development, can be used to run unsigned homebrew software.[72] It can be enabled on any retail Xbox One console. Dev Mode disables retail games and software while enabled. Homebrew software can be developed as Universal Windows Platform applications, allowing many programs designed to run on desktop editions of Windows 10 to run on the console.

See also

References

  1. Winterhalter, Ryan (April 29, 2011). "31 Homebrew Games Worth Playing". 1UP.com. http://www.1up.com/features/31-homebrew-games-worth-playing. Retrieved December 12, 2013. 
  2. "Odball for Magnavox Odyssey Official Page". Revrob.com. 2010-08-04. http://www.revrob.com/sci-a-tech-topmenu-52/129-odball-for-magnavox-odyssey-official-page-. Retrieved 2012-04-03. 
  3. "Dodgeball – Magnavox Osyssey". Atari2600Land.com. 2012-07-17. http://www.atari2600land.com/odyssey/dodgeball.html. Retrieved 2012-07-17. 
  4. "Sean Riddle's Home Page – Channel F info". Seanriddle.com. 2004-06-16. http://seanriddle.com/chanf.html. Retrieved 2012-04-03. 
  5. Williamson, D. Scott. "Atari 2600 Star Castle". https://archive.org/details/Atari2600StarCastle. 
  6. "PowerPak – RetroZone". Retrousb.com. http://www.retrousb.com/product_info.php?cPath=24&products_id=34. Retrieved 2012-04-03. 
  7. "This Guy Is Making an All-New Sega Genesis Game the 90s Way" (in en-us). 14 November 2016. https://motherboard.vice.com/en_us/article/jpgk7d/this-guy-is-making-an-all-new-sega-genesis-game-the-90s-way. 
  8. NGDevTeam.com
  9. Razoola (23 January 2015). "Neo Geo Dev: Two Player Skeleton game driver.". https://www.youtube.com/watch?v=1WVyJHV4BaQ. Retrieved 11 February 2018. 
  10. "The Atari Jaguar 64-Bit Multimedia Entertainment System". Atari Explorer. http://ftp.pigwa.net/stuff/mirror/www.atari-explorer.com/jaguar.html. Retrieved 2018-04-07. 
  11. "Hasbro Releases Jaguar Publishing Rights". Hasbro Interactive. http://www.atariage.com/Jaguar/archives/HasbroRights.html. Retrieved 2018-04-07. "Beverly, MA (May 14, 1999) – Leading entertainment software publisher, Hasbro Interactive announced today it has released all rights that it may have to the vintage Atari hardware platform, the Jaguar." 
  12. Goss, Patrick. "Redundant gadgets (Atari Jaguar entry)". Archived from the original on October 11, 2007. https://web.archive.org/web/20071011200651/http://tech.uk.msn.com/features/gallery.aspx?cp-documentid=6171299&imageindex=5. Retrieved 2018-04-07 
  13. "B & C Computervisions myatari.com atarijag.txt". B&C Computervisions. http://www.myatari.com/atarijag.txt. Retrieved 2018-04-07. 
  14. "Reboot - Releases". Reboot. http://reboot.atari.org/downloads.html. Retrieved 2018-04-07. 
  15. "Jaguar File-Store". Atari Museum. http://www.atarimuseum.com/videogames/consoles/jaguar/jagmenu/jagfiles.htm. Retrieved 2018-04-07. 
  16. "Atari Jaguar CD Encryption Bypass BIOS Kit". Consoles5.com. https://console5.com/store/atari-jaguar-cd-encryption-bypass-bios-kit.html. Retrieved 2018-04-07. 
  17. "History on what's new on the Jaguar Server Home Page?". Jaguar Server Homepage. http://www.jagware.org/jag_uploads/dev/roine_steinberg_jaguar_server/whatsnew.html. Retrieved 2018-04-07. 
  18. "THE SEMIOFFICIAL BATTLESPHERE FAQ". Official BattleSphere Home Page. http://www.scatologic.com/faq.html. Retrieved 2018-04-07. 
  19. Charnock, Tom (April 17, 2015). "Fantasy World Dizzy, Rick Dangerous & Other Atari ST Classics Ported To Atari Jaguar". http://www.retrocollect.com/News/fantasy-world-dizzy-rick-dangerous-a-other-atari-st-classics-ported-to-atari-jaguar.html. Retrieved 2018-11-23. 
  20. Yarusso, Albert. "Jaguar Ports on Cart Available Here!". AtariAge. Archived from the original on 28 November 2016. https://web.archive.org/web/20161128061657/http://atariage.com/forums/topic/255538-jaguar-ports-on-cart-available-here/. Retrieved 2018-04-07. 
  21. Gaztee (February 1, 2017). "ST Port Boxsets Pre-Order Now OPEN". AtariAge. http://atariage.com/forums/topic/261712-st-port-boxsets-pre-order-now-open/. Retrieved 2018-11-23. 
  22. CyranoJ (December 11, 2015). "Atari ST Games Ported to the Jaguar". AtariAge. http://atariage.com/forums/topic/246639-atari-st-games-ported-to-the-jaguar/page-1?hl=+atari%20+st. Retrieved 2018-11-23. 
  23. "Jo Sega Saturn Engine, Sega Saturn SDK for homebrews" (in en). http://jo-engine.org/home/. 
  24. XL2 (2018-08-30), (Sega Saturn homebrew) Sonic Z-Treme 2018-08-30, https://sonicfangameshq.com/forums/showcase/sonic-z-treme-saturn-sage-2018-demo.161/, retrieved 2018-08-30 
  25. KR155E. "Planet Virtual Boy". http://www.planetvb.com. Retrieved 11 February 2018. 
  26. "Archived copy". Archived from the original on 2013-03-28. https://web.archive.org/web/20130328061141/http://dextrose.64scener.com/0428turok3dev.htm. Retrieved 2012-08-24. 
  27. EverDrive 64
  28. "64drive by Retroactive". http://64drive.retroactive.be/. 
  29. Agnello, Anthony John (November 19, 2013). "Back from the dead: 9 modern games for obsolete consoles". The A.V. Club. http://www.avclub.com/article/back-from-the-dead-9-modern-games-for-obsolete-con-105772. Retrieved December 12, 2013. 
  30. "Booting Homebrew". http://www.gc-forever.com/wiki/index.php?title=Booting_Homebrew. 
  31. emukidid (2019-05-27), GitHub - emukidid/swiss-gc: Swiss: The swiss army knife of GameCube homebrew., https://github.com/emukidid/swiss-gc, retrieved 2019-05-27 
  32. "Game Boy Interface - GC-Forever Wiki". https://www.gc-forever.com/wiki/index.php?title=Game_Boy_Interface. 
  33. "Homebrew DS-DSLR Uses Nintendo DS as a Canon EOS Remote". https://gizmodo.com/homebrew-ds-dslr-uses-nintendo-ds-as-a-canon-eos-remote-5051117.  Retrieved 2019-10-05.
  34. "Sony blocks OtherOS in firmware 3.21". http://www.joystiq.com/2010/04/01/psa-ps3-firmware-update-3-21-available-now.  Retrieved 2012-04-14.
  35. "Sixaxis driver for Windows XP". http://forums.ps2dev.org/viewtopic.php?t=7099. 
  36. "How to run a PS3 game backup". http://forums.maxconsole.net/showthread.php?t=122140. 
  37. "PlayStation 3 Service Mode JIG Set-Up Files Leaked!". http://www.ps3news.com/PS3Dev/playstation-3-service-mode-jig-set-up-files-leaked. 
  38. "Open Source PS JailBreak Clone "PSGroove" Available Now! | PS3-Hacks :: Hack your PlayStation 3". PS3-Hacks. http://www.ps3-hacks.com/2010/08/31/diy-ps-jailbreak-may-be-available-soon/. Retrieved 2012-04-03. 
  39. "Web hosting, domain name registration and web services by 1&1 Internet". Howtohackps3.com. http://howtohackps3.com/. Retrieved 2012-04-03. 
  40. "Geohotz Page". http://www.geohot.com. 
  41. Sony follows up, officially sues Geohot and fail0verflow over PS3 jailbreak. Nilay Patel, Engadget (2011-01-12). Retrieved on 2011-02-16.
  42. "For your enjoyment: WiiCade". https://www.engadget.com/2006/11/17/for-your-enjoyment-wiicade/. 
  43. Wilson, Mark. "Nintendo Wii Hacked, The Video". https://gizmodo.com/338897/nintendo-wii-hacked-the-video. 
  44. "Wii Homebrew Channel turns 1.0". https://www.engadget.com/2008/12/10/wii-homebrew-channel-turns-1-0/. 
  45. "New free homebrew entry point. FlashHax" (in en-US). GBAtemp.net - The Independent Video Game Community. https://gbatemp.net/threads/new-free-homebrew-entry-point-flashhax.491674/. 
  46. "LetterBomb". http://please.hackmii.com/. 
  47. "Revolutionary: Web Wii Wares". https://www.engadget.com/2007/07/17/revolutionary-web-wii-wares/. 
  48. Brophy-Warren, Jamin (29 April 2007). "Magic Wand: How Hackers Make Use Of Their Wii-motes". https://www.wsj.com/articles/SB117772630151685703. 
  49. Gerig, Dexter (2019-11-16), An implementation of CVE-2009-0689 for the Nintendo Wii.: Fullmetal5/str2hax, https://github.com/Fullmetal5/str2hax, retrieved 2019-12-02 
  50. Gerig, Dexter (2019-11-22), GitHub - Fullmetal5/bluebomb: A Bluetooth exploit for the Nintendo Wii., https://github.com/Fullmetal5/bluebomb, retrieved 2019-12-02 
  51. "Freakyhax Website". https://plutooo.github.io/freakyhax/. 
  52. "Doodlebomb". https://mrnbayoh.github.io/doodlebomb/. 
  53. "yellows8/3ds_smashbroshax". https://github.com/yellows8/3ds_smashbroshax. 
  54. "IsTitleAllowed Documentation". https://3dbrew.org/wiki/APT:IsTitleAllowed. 
  55. "11.6.0-39 Documentation". https://3dbrew.org/wiki/11.6.0-39. 
  56. "Notehax". https://mrnbayoh.github.io/notehax/. 
  57. "HENkaku". https://henkaku.xyz/changes. 
  58. "Modoru". https://github.com/TheOfficialFloW/modoru. 
  59. "Build system and examples for running C code on the Wii U". 4 March 2015. https://github.com/wiiudev/libwiiu. 
  60. "Wii U libstagefright exploits". 13 January 2016. https://github.com/yellows8/wiiu_browserhax_fright. 
  61. "Wii U Hacking & Homebrew Discussion". 13 January 2016. https://gbatemp.net/threads/wii-u-hacking-homebrew-discussion.367489/page-760#post-5965348. 
  62. "Wiiubru on GBATemp". 22 October 2016. https://gbatemp.net/threads/how-to-load-a-fw-img-for-any-file-dumping-wiiubru-status-update.445840/. 
  63. "WiiMode". 3 February 2016. http://wiiubrew.org/wiki/WiiMode#Homebrew_Channel. 
  64. "Official - wuphax v1.1 - Hacking vWii from WiiU Mode". http://gbatemp.net/threads/wuphax-hacking-vwii-with-iosuhax.446786/. Retrieved 11 February 2018. 
  65. "octrelease". 1 October 2017. https://reswitched.tech/octrelease. 
  66. "Nintendo Switch Kernel exploit 34c3 presentation: "Nvidia Backdoored themselves"". 29 December 2017. http://wololo.net/2017/12/29/nintendo-switch-kernel-exploit-34c3-presentation-nvidia-backdoored/. 
  67. "We made a nice scroller for Switch :)". 7 January 2018. https://twitter.com/fail0verflow/status/950003287062974465?s=17. 
  68. https://switchbrew.github.io/nx-hbl/
  69. https://twitter.com/SciresM/status/969790718951608321
  70. https://reinx.guide/firsttime
  71. "An update on timelines • r/SwitchHacks" (in en). https://www.reddit.com/r/SwitchHacks/comments/87ve3k/an_update_on_timelines/. 
  72. "Developer Mode Activation App FAQ" (in en). https://support.xbox.com/en-AU/xbox-one/apps/developer-mode-activation-app-faq. 

External links