Tools

From NESdev Wiki
Jump to navigationJump to search

Useful tools for NES development.

See also:

Assemblers, compilers, and PRG-oriented tools

Assemblers

Commonly used assemblers

  • asm6 - written by Loopy because most other assemblers "were either too finicky, had weird syntax, took too much work to set up, or too bug-ridden to be useful".
  • asm6f - fork of asm6, providing support for illegal opcodes, NES 2.0 headers, symbol files for FCEUX/Mesen/Lua, and other features. See Releases for Windows binaries
  • CC65 - A portable 6502/65c02/65c816 assembler, linker, and C compiler.
  • NESASM (MagicKit) by Charles Doty, David Michel, and J.H. Van Ornum.
  • Unofficial MagicKit by zzo38. Based on MagicKit but with many improvements; includes PPMCK support
  • WLA DX - A portable GB-Z80/Z80/6502/6510/65816 macro assembler. Linux and MS-DOS versions are also available.

Other assemblers

  • AS65 - written by Andrew John Jacobs. A macro assembler for 8 and 16-bit 65xx. Available for DOS/Win32 and Java. The Java port is strongly recommended.
  • ACME - Marco Baye's ACME 6502/65c02/65c816 cross-assembler. Runs on several platforms, including Amiga, DOS, and Linux. Supports macros, local labels, and many other features.
  • dasm - by Matthew Dillon of the DragonflyBSD project, extended and maintained by various other authors. A macro assembler intended for 6502, 6507, 6803, HD6303, 68HC11, 68705, and F8 architectures.
  • FASM v1.0 by Toshi Morita. FASM was written as a quick replacement for the 2500 AD assembler for Nintendo 8-bit development. Licensed under the GPL.
  • Merlin 32 - by Brutal Deluxe Software. 6502/65816 cross-assembler/linker for Win32, Linux, and OS X. Influenced by the Merlin/16+ assembler/linker for the Apple IIGS.
  • nescom - Joel Yliluoma's 6502 assembler; written in C++, based on xa65 and largely compatible with it, including with the o65 object file format.
  • NESHLA by Brian Provinciano. A 6502 assembler specifically geared towards NES development.
  • Ophis Assembler by Michael C. Martin. An open-source 6502 assembler written in Python.
  • P65 Assembler - A portable 6502 assembler written in Perl.
  • Telemark Cross Assembler - A shareware assembler for numerous 8-bit processors, including the 6502, Z80, and 8051.
  • x816 v1.12f by minus. An assembler for 6502/65c02/65c816. MS-DOS only.
  • xa65 - Andre Fachat's open-source cross-assembler; written in C and supports the standard 6502 and 65c816 opcode lists. Sports a C-like preprocessor and supports label-hiding in a block structure. Produces plain binary files, as well as special o65 object files. Further tools include a linker, file and relocation utilities for o65 files.
  • XORcyst - "... a rather platform-independent set of tools and languages for 6502 software development" written by Kent Hanson, aka SnowBro.
  • XTOOLS - table-based assembler and toolkit. Includes an assembler, disassembler, and several tools. Shareware (US$49); registered version includes a table-based assembly source translator. Note: files are generated as Motorola formatted hex files; you will need a converter (see Converters below)
  • Kick Assembler - 6510 assembler with high level scripting. KickC targets at this assembler.
  • NESASM CE - fork of NESASM (MagicKit) by Alexey Avdyukhin (Cluster) with additional NES features: NES 2.0 headers, symbol files for FCEUX, etc.

Disassemblers

  • 6502d - by Cortez Ralph. Win32 (GUI-based) rewrite of original 6502 disassembler (MS-DOS) by Bart Trzynadlowski.
  • clever-disasm - by Bisqwit/Joel Yliluoma. Part of the nescom assembler suite (see above).
  • da65 - part of the cc65 suite. Primarily intended for individuals using tools in the cc65 suite (ex. ca65).
  • disasm6 - PHP-based 6502 (NES-oriented) disassembler intended for use with asm6 assembler. Pre-compiled Windows binaries are available.
  • NES Disassember - by Morgan Johansson. MS-DOS.
  • nesgodisasm - a tracing disassembler that can generate output compatible with asm6/ca65/nesasm
  • SmartRENES - by Hyde. Supports mappers 0, 1, 2, 3, and 7. Windows binaries only.
  • TRaCER - by koitsu/Jeremy Chadwick. 6502/65816 disassembler intended for NES and SNES platforms. MS-DOS. (Does contain a confirmed bug related to one 65816-specific opcode)

IDEs

  • NESICIDE (WIP) source code only, Github link for the NESICIDE IDE by cpow (Chris Pow)
  • WUSDN A New NES IDE as of 2012 by the WUSDN team, Originally for Atari 8-Bit computers, Now also comes with NES capability, Requires Java Runtime Environment and Eclipse to run!

Compilers

  • CC65 - A portable 6502/65c02/65c816 assembler, linker, and C compiler.
  • GBDK - GBDK is a cross-platform development kit for sm83, z80 and 6502 based gaming consoles.
  • KickC - C-compiler for creating optimized and readable 6502 assembler code. (NesDev forum)
  • llvm-mos - llvm-mos is a fork of LLVM supporting the MOS Technology 65xx series of microprocessors and their clones.
  • Millfork - A middle-level programming language targeting 6502- and Z80-based microcomputers and home consoles.
  • NESFab - A new programming language for creating NES games.
  • vbcc - vbcc is a highly optimizing portable and retargetable ISO C compiler.

Converters

Pre-processors and other code (PRG) tools

Compression related tools

  • Compress Tools - A multi-featured open-source compressor featuring many algorithms, extendable to new algorithms. Allows to break data in many small independent blocks and more by the usage of scripts.
  • Huffmunch - A generic compression library for NES/6502 with very low RAM requirements.
  • Donut - A fast and efficient CHR compression library by JRoatch.

Graphics-oriented tools

General NES graphics studios

Collected here are editors that offer a holistic approach to the creation and editing of various NES native graphics assets. These tools may offer in more or less equal measures the editing of tiles, screens, maps, sprites, metasprites and palettes in tandem; allowing for a resource efficient approach.

  • NES Assets Workshop (NAW), by Nesrocks. Built in GameMaker with a thematic GUI. Compared to NESST & NEXXT, NAW opts for a classic toolbox menu with toggle hotkeys, similar to Photoshop, Aseprite and many more, which makes certain tools instantly discoverable. Has a special "Overlay" editing mode which lets you draw sprite overlays on top of backgrounds.
  • NEXXT, a continuation of NESST maintained by FrankenGraphics. Adds an arsenal of new tools and features along with speed-improved workflows, work safety, discoverability, and bugfixes.
  • NES Screen Tool (NESST) by Shiru (Deprecated). Tile oriented pixel art studio capable of editing CHR, backgrounds, sprites, metasprites, and palettes. Facilitates a modifier-key approach to make editing quicker, at some cost of discoverability (browsing through the readme is recommended).
  • RetroSpriteEditor, by xverizex. a tile and nametable editor for Windows and Linux.

Animation tools

  • DONER by Codemeow. Generates easing tables to use for position animations. Output is suitable for 6502 C or Assembly.


Asset Converters

Converters are good choices for when you prefer to work on an asset in a general purpose graphics studio such as Photoshop, GIMP, Aseprite, GraphicsGale etc, and need to convert or extrapolate NES ready data from that work.

  • I-CHR by Kasumi. Converts PC images and image sequences into NES compatible tilesets and nametables. Can also produce a NES ROM program displaying the graphics.
  • OverlayPal by Michel Iwaniec (Bananmos). An image-to-NES-assets converterter that specializes in splitting the source image into a background layer and an "overlay" sprite layer.
  • pilbmp2nes.py by Damian Yerrick - Command-line converter from indexed BMP or PNG to multiple consoles' tile formats.
  • Tilificator by Michel Iwaniec (Bananmos) - sprite optimisation tool. Takes an image and finds resource effective hardware tiles for sprite usage. Can import/export to NESST .msb formats. A tutorial is available.
  • NesTiler by Alexey Avdyukhin (Cluster). Converts PC images into pattern tables, nametables, attribute tables and palettes. This application can accept multiple images as input, the main point is to use single set of palettes (and tiles if required) for all of them, so it's possible to switch CHR banks and base nametable on a certain line, in the middle of rendering process. Can produce lossy result if image doesn't meet the limitations of NES. Uses command-line interface, so it can be used as a part of toolchain. Multiplatform.

Tile (CHR) editors

  • 8ted by Damian Yerrick (deprecated).
  • Famitile - (Note: the link is recovered from archive.org ) Old, super-minimalist graphics tool by zzo38. Requires an sdl of version 1.x, which can be gotten (here). Includes command-line and graphical mode; supports editing CHR, but also standard nametables, and MMC5 extension nametables.
  • Nasu by 100 rabbits. A Minimalist NES tile editor with features such as quick colour selection via hotkeys. For win/mac/linux via an "UXN" emulator.
  • Tile Molester by SnowBro, Central MiB, Lab313, and Mewster.
  • YY-CHR, by YY. A tile editor that works like visual hex editor. Particularly popular in the romhacking scene, since you may modify an already assembled ROM image. Also has provisionary tile layout (nametable) capabilities.
  • Tile Layer a program for modifying graphics in NES ROMs.

Map (nametable) editors

  • 8name by Damian Yerrick
  • 8name.py by Damian Yerrick
  • Famitile (mentioned above). While primarily a CHR editor, there is some support for nametable editing.
  • YY-CHR (mentioned above). Has provisionary tools for nametable layouts.

Music tools

Trackers/sequencers

DMC conversion tools

  • FamiTracker can import .wav files and convert to DMC samples, which can then be exported as .dmc files.
  • NSF Live! NSF player that can export DMC samples from NSF songs as .dmc files.
  • Pin Eight NES Tools includes a command-line encoder and decoder by Damian Yerrick.

Other conversion tools

Engines

Runtime engines for playing music and sound: see Audio drivers

Multicart Tools

Miscellaneous other tools