ZSNES explained

ZSNES
Author:zsKnight, _Demo_, pagefault, and Nach
Developer:ZSNES Team
Released:0.150 /
Latest Release Version:1.51
Operating System:Linux, DOS, Windows, Mac OS X, FreeBSD, Xbox
Language:English
Genre:Video game console emulator
License:Since 1.50: GPL-2.0-only
1.17b to 1.42: GPL-2.0-or-later
Until 1.17: Proprietary
Programming Language:x86 assembly, C, C++, PSR
Discontinued:yes

ZSNES is a free software Super Nintendo Entertainment System emulator written mostly in x86 assembly with official ports for Linux, DOS, Windows, and unofficial ports for Xbox and macOS.

Background

Development of ZSNES began on 3 July 1997 and the first version was released on 14 October 1997, for DOS. Since then, official ports have been made for Windows and Linux. The emulator became free software under the GPL-2.0-or-later license on 2 April 2001. Despite an announcement by adventure_of_link in 2009 stating that "ZSNES is NOT dead, it's still in development", made on the ZSNES board after the departure of its original developers zsKnight and _Demo_,[1] development has slowed dramatically since its last version (1.51 released on 24 January 2007). Much of the development efforts concentrated on increasing the emulator's portability, by rewriting assembly code in C and C++,[2] including a new GUI using Qt.[3]

ZSNES is notable in that it was early in being able to emulate several of the SNES enhancement chips at some level.[4] Until version 1.50, ZSNES featured netplay via TCP/IP or UDP.[5]

An early ZSNES feature of interest were "ZMVĀ movies"https://www.zophar.net/movies/snes.html. This feature enabled players to record their play session inputs and then output those to a ZMV file, in such a way that another user with a copy of ZSNES, a matching ROM file, and the ZMV file, should be able to "watch" the other person's gameplay. This long preceded mass availability of gameplay videos online, being an early form of sharing this type of content.

Because ZSNES is largely written in low-level assembly language for x86 processors, the idea of porting ZSNES to devices using RISC architectures such as ARM is highly unfeasible. Commercial gaming consoles did not typically use x86 processors (with the original Xbox being the most well-known exception) prior to the eighth generation, with the 2013 releases of the Xbox One and PlayStation 4.[6]

Development history

The first public release of ZSNES was version 0.150, on October 14, 1997. It incorporated the entire 65816 instruction set from the SNES's modified WDC 65C816 microprocessor, as well as SRAM support and partial Mode 7 implementation. It also already offered save states to a .ZST file as an additional feature. This initial version missed certain DSP features.[7]

Version 0.600 from September 9, 1998, was the first to feature developer Pharos (as a coding assistant), and was a milestone release due to the implementation a of new 16-bit graphics engine, as well as featuring an entirely new GUI with more functions available than before.[8] Shortly afterwards, version 0.700 from October 27, 1998, was the first to compile with C code.[9]

Starting from version 0.900c/a from July 4, 1999, an important feature for the time was added, which was native ZIP compression support, which allowed users to save space in the then expensive hard disks. Also, work intensified on improving support of the SA-1 chip.[10]

Version 1.000 from September 1, 2000, marks ZSNES's first official Windows release,[11] and the next several versions of the emulator focused on improving the quality of this port. In April 2, 2001, the software's source code was released and the team was joined by coder Teuf.[12]

Release 1.30b from June 16, 2001, can be considered a landmark in Super Nintendo emulation, as it added initial support to Star Ocean and its S-DD1 compression chip.[13] This title pushed the limits of the system's hardware, boasting voice clips and enhanced graphics, and was tricky to even get running on an emulator.

After zsKnight's departure for personal reasons in July 2001, the project made a release in homage to him and his family, version 1.337, from September 30, 2001.[14] The emulator continued being updated until July of 2002, but releases halted, and it was more than two years until a new public release was out.

When version 1.40 eventually released on December 25, 2004, it marked a turning point for the project, with new contributors and significant overhauls to the emulator's ageing systems. Developers Nach and pagefault particularly focused on removing several of the infamous hacks that were part of ZSNES's code base, implementing proper code that tricky games relied on. In tandem with that, extensive work was carried out to better support special chips.[15]

Version v1.50 from December 22, 2006, was another major overhaul, which according to the developers: "ZSNES is a program with over 200,000 lines of source code, and in this release, over 25% of that has been modified; also, around 15% of the assembly has been ported to C."[16] This was the final major release of the emulator, being followed by the minor 1.51, and winding down thereafter.

Reception

ZSNES was generally well-regarded in its heyday, with British game magazine Retro Gamer in 2005 calling the emulator "very impressive" and praising the "incredible toaster mode".[17]

However, with the more recent development of more accurate SNES emulators such as Snes9x and higan as computers have gradually become more powerful, retrospective reviews have criticized ZSNES not only for its relatively low accuracy, but also because its former popularity has led several fan-made translations and modifications to be designed with specific workarounds for the emulator's inaccuracies, which often makes them unplayable both on real hardware and in the newer emulators that have superseded ZSNES. Some of these other emulators even include a mode which is explicitly designed to replicate the quirks of ZSNES, allowing the ZSNES-focused mods to become playable again.[18]

In 2015 an exploit that allowed a specially crafted SNES ROM to gain control of the host system, and thus be able to execute malicious code, was discovered in version 1.51; a partially fixed preview build was released shortly afterwards.[19]

See also

External links

Notes and References

  1. Web site: ZSNES is not dead, it is still under active development . badinsults . 9 October 2009 . 23 July 2010 . https://web.archive.org/web/20190612221548/https://board.zsnes.com/phpBB3/viewtopic.php?t=13245 . 12 June 2019.
  2. Web site: grinvader . Re: Current Status FAQ . dead . https://web.archive.org/web/20120403023441/board.zsnes.com/phpBB3/viewtopic.php?p=204739 . 3 April 2012 . 24 October 2011 . ZSNES board.
  3. Web site: ZSNES GUI 3.0 the first screenshot . https://web.archive.org/web/20120403023450/board.zsnes.com/phpBB3/viewtopic.php?f=6&t=11027 . April 3, 2012 . 24 October 2011 . ZSNES board.
  4. Web site: History - ZSNES Documentation.
  5. Web site: ZSNES Home Page . ZSNES . 2007-01-25 . Changes: v1.50 - December 22, 2006: Netplay, Modem, IPX code removed...As much as we hated to, we had to remove all computer to computer playing options in order to fix up the other subsystems since the code was spread throughout ZSNES. We hope to in future versions to reimplement it and also provide new features. . 2020-04-24.
  6. Web site: No Port requests . Deathlike2 . 3 November 2007 . 23 July 2010.
  7. Web site: History - ZSNES Documentation - v0.150 - Initial Release - October 14, 1997.
  8. Web site: History - ZSNES Documentation.
  9. Web site: History - ZSNES Documentation.
  10. Web site: History - ZSNES Documentation.
  11. Web site: History - ZSNES Documentation.
  12. Web site: History - ZSNES Documentation.
  13. Web site: History - ZSNES Documentation.
  14. Web site: History - ZSNES Documentation.
  15. Web site: History - ZSNES Documentation.
  16. Web site: History - ZSNES Documentation.
  17. 2005 . Retro Coverdisc . . 15 . 108 .
  18. Web site: Byuu . Accuracy takes power: one man's 3GHz quest to build a perfect SNES emulator . Ars Technica . 9 August 2011 . 24 October 2011.
  19. Web site: #792420 - zsnes: emulator escape vulnerability - Debian Bug report logs . . 28 July 2016.