Section: User Commands (1)
ZSNES - Super Nintendo console emulator
[-?] [-1 #] [-2 #] [-dd] [-dh] [-f #] [-g #] [-h | -l] [-j] [-js #] [-k #] [-m] [-mc] [-md] [-ml #] [-n #] [-o] [-p #] [-r #] [-s] [-sa] [-t | -u] [-v #] [-y] [-z] [-zm #] [-zs #] [romname]
is an emulator for the Super Nintendo video game console. It is written in a combination of x86 assembly, C, C++, and PSR. It is currently available on Windows, DOS, x86 Linux, x86 Mac OS X, and x86 BSD.
Visit http://www.zsnes.com/ for the latest updates.
Note: Many of these options can also be set in the GUI.
Display command-line help
- -1 # / -2 #
Set controls for Player 1/2
0 = None 1 = Keyboard/Gamepad
Disable sound DSP emulation
Disable game hacks
- -f #
Enable frame skipping, where # is a numerical value from 0-9
- -g #
Specify gamma correction value, where # is a numerical value from 0-15
Force HiROM. Cannot be used with -l
Disable Mouse (Automatically turns off right mouse click)
- -js #
Adjust joystick sensitivity, where # is a numerical value from 0-32767
- -k #
Set volume level, where # is a numerical value from 1-100
Force LoROM. Cannot be used with -h
Disable GUI (Must specify ROM filename)
Exit ZSNES when closing a movie (use with -zm)
Dump raw video (use with -zm)
Define movie dump length in amount of frames (use with -md)
- -n #
Enable scanlines (when available), where
is one of:
0 = none 1 = full 2 = 25%
3 = 50%
Disable MMX support
- -p #
Change the clock speed of the main CPU, where
is a numerical value from 50-150. 100 is the normal speed. Changing this value may have adverse side effects.
- -r #
Set audio sampling rate, where
is one of:
0 = 8 KHz 1 = 11.025 KHz 2 = 22.05 KHz
3 = 44.1 KHz 4 = 16 KHz 5 = 32 KHz
6 = 48 KHz
Enable SPC700/DSP emulation (Sound)
Show files with all extensions (*.*) in GUI. Default is to only show files with one of the extensions listed in
Force NTSC (60 Hz) timing. Cannot be used with -u
Force PAL (50 Hz) timing. Cannot be used with -t
- -v #
Select video mode, where
is one of:
0 = 256x224 R W 1 = 256x224 R F 2 = 512x448 DR W
3 = 512x448 DR F 4 = 640x480 DR F 5 = 256x224 OR W
6 = 512x448 ODR 7 = 640x480 ODS F 8 = 640x480 ODS W
9 = 640x560 ODR W 10 = 768x672 ODR W 11 = 800x600 ODS F
12 = 800x600 ODS W 13 = 896x784 ODR W 14 = 1024x768 ODS F
15 = 1024x768 ODS W 16 = 1024x896 ODR W 17 = 1280x960 ODS F
18 = 1280x1024 ODS F 19 = 1600x1200 ODS F 20 = VARIABLE ODR W
21 = VARIABLE ODS W 22 = CUSTOM OD F
Disable stereo sound. Stereo sound is enabled by default
- -zm #
Auto load specified movie on startup, where # is a numerical value from 0-9
- -zs #
Auto load specified save state on startup, where # is a numerical value from 0-99
Name of ROM to auto-load
is of the format filename.ext, where
is one of
SMC, SFC, SWC, FIG, MGD, MGH, UFO, BIN, GD3, GD7, USA, EUR, JAP, AUS, ST, BS, DX2, 048, 058, 078, 1 or A. You can also load ROMs which have been compressed with GZip, Zip or JMA.
FILES AND DIRECTORIES
The main program.
This is the directory where ZSNES configuration files are stored. By default, it is also the directory where save states, screenshots, SPC dumps and ZMV movie files are stored, but you can change this behaviour by editing zsnesl.cfg. This directory is created by ZSNES.
This file is where configuration settings for ZSNES are stored. It is in a human-readable format and can be edited by hand. It is created by ZSNES.
This file is where settings specific to AVI dumping are saved. It is created by ZSNES.
This file allows you to customize the fonts in the GUI. Enable "Use Custom Font" in the GUI Options menu. It is created by ZSNES.
This file is where input configuration settings for ZSNES are stored.
If for some reason you update your version of ZSNES and it keeps crashing before you can do anything, you should try deleting the above .cfg files and let ZSNES create new ones.
SPECIAL CHIP GAMES
Many games on the Super Nintendo used custom CPUs in addition to the main SNES CPU. Some of these CPUs have not been fully reverse-engineered, and games that use them may either not work or may experience strange bugs.
You can find more information about these special CPUs at:
Some games based on the SPC7110 chip, such as Far East of Eden Zero, can use special graphics packs to work around unemulated portions of their custom CPU. These graphics packs must be stored in individual directories within the save directory, which is specified in zsnesl.cfg. By default, this is ~/.zsnes. The directory name of each graphics pack must be capitalized and all files within that directory must be in lowercase.
The proper directory name for a given graphics pack can be found in the readme file included with that pack.
NOTE: As of version 1.40, games which use the S-DD1 chip (Star Ocean and Street Fighter Alpha 2) do not require graphics packs.
You can report bugs using the bug tracker at the ZSNES BountySource page, located at
Please refer to the "About" section of the documentation.
ZSNES RELATED WEBSITES
- ZSNES Home Page:
- ZSNES Board:
- ZSNES Project Page:
- ZSNES Repository (SubVersioN):
- ZSNES Documentation Online:
- ZSNES IRC:
#zsnes on irc.freenode.net
- ZSNES Docs IRC:
#zsnes-docs on irc.freenode.net
Copyright © 1997-2007 ZSNES Team
Permission is granted to copy and distribute this manual under the terms of the GNU Free Documentation License.