mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-26 12:47:37 +00:00
216 lines
8.4 KiB
Groff
216 lines
8.4 KiB
Groff
.\" ssnes.1:
|
|
|
|
.TH "SSNES" "1" "November 2011" "SSNES" "System Manager's Manual: ssnes"
|
|
|
|
.SH NAME
|
|
|
|
ssnes \- Simple Super Nintendo Emulator System
|
|
|
|
.SH SYNOPSIS
|
|
|
|
\fBssnes\fR [rom file] [OPTIONS]...
|
|
|
|
.SH "DESCRIPTION"
|
|
|
|
\fBssnes\fR is an emulator frontend for the libsnes API.
|
|
libsnes provides emulation of a Super Nintendo system, and can be implemented by any SNES emulator.
|
|
\fBssnes\fR focuses on exposing needed functionality through the use of command line and configuration files.
|
|
|
|
.SH "GENERAL OPTIONS"
|
|
|
|
.TP
|
|
\fB[rom file]\fR
|
|
If no rom file path is defined on the command line, \fBssnes\fR will try to load a rom from \fBstdin\fR.
|
|
\fBssnes\fR only supports loading of \fBuncompressed\fR roms, such as *.sfc or *.smc.
|
|
|
|
.TP
|
|
\fB--help, -h\fR
|
|
Prints help text.
|
|
|
|
.TP
|
|
\fB--features\fR
|
|
Prints available features compiled into SSNES, then exits.
|
|
|
|
.TP
|
|
\fB-L PATH, --libsnes PATH\fR
|
|
Path to a libsnes implementation which is to be used.
|
|
This option will override any setting in a config file.
|
|
This option is only available if SSNES is compiled with dynamic libsnes loading.
|
|
|
|
.TP
|
|
\fB--save PATH, -s PATH\fR
|
|
Overrides the path used for save ram (*.srm).
|
|
Without this flag, the save ram path will be inferred from the rom path name, and put in the same directory as the rom file with the extention replaced with '.srm'.
|
|
When rom is loaded from \fBstdin\fR, this flag is mandatory to define as no path can be inferred.
|
|
If PATH is a directory, SSNES will treat this as the save file directory, where the save file name will be inferred from the rom name.
|
|
When loading a rom from stdin, the path must be a full path, however.
|
|
|
|
.TP
|
|
\fB--savestate PATH, -S PATH\fR
|
|
Overrides the path used for save states.
|
|
Without this flag, the save state path will be inferred from the rom path name, and put in the same directory as the rom file with the extention replace with '.state'.
|
|
When rom is loaded from \fBstdin\fR, this flag is mandatory to define as no path can be inferred.
|
|
If PATH is a directory, SSNES will treat this as the save state directory, where the state file name will be inferred from the rom name.
|
|
When loading a rom from stdin, the path must be a full path, however.
|
|
Do note that save states are bound to the libsnes implementation being used. Using a different libsnes could invalidate the save state file.
|
|
|
|
.TP
|
|
\fB--fullscreen, -f\fR
|
|
Always starts SSNES in fullscreen. Disregards settings in configuration file.
|
|
|
|
.TP
|
|
\fB--config PATH, -c PATH\fR
|
|
Sets the configuration file path. \fBssnes\fR will use this path to load the configuration file.
|
|
Should this not be defined, \fBssnes\fR will look in platform specific paths to attempt finding the config file.
|
|
/etc/ssnes.cfg (when installed), or ssnes.cfg in the source tarball serves as a skeleton configuration file.
|
|
If PATH is a directory, SSNES will treat this as the config file directory, where the state file name will be inferred from the rom name (*.cfg).
|
|
When loading a rom from stdin, the path must be a full path, however.
|
|
If a config cannot be found when using directory path, the default config path will be used instead.
|
|
|
|
.IP
|
|
Unix-like systems will look in $XDG_CONFIG_HOME/ssnes/ssnes.cfg first. Then it will try $HOME/.ssnes.cfg. Last, it will try /etc/ssnes.cfg. If no configuration is found, default settings will be assumed. A configuration file does not need to define every possible option, only those that should be overridden.
|
|
|
|
.IP
|
|
Windows will look in ssnes.cfg in same folder where ssnes.exe resides.
|
|
|
|
.TP
|
|
\fB--gameboy PATH, -g PATH\fR
|
|
Path to a Nintendo Game Boy ROM. If this flag is set, the Super Game Boy subsystem will be activated. The Super Game Boy BIOS needs to be loaded as the normal rom.
|
|
|
|
.TP
|
|
\fB--bsx PATH, -b PATH\fR
|
|
Path to BS-X rom. Load BS-X BIOS as the regular rom.
|
|
When using BS-X, save ram paths will be inferred from the BS-X BIOS path, not BS-X rom path.
|
|
|
|
.TP
|
|
\fB--bsxslot PATH, -B PATH\fR
|
|
Path to BS-X slotted rom. Load BS-X BIOS as the regular rom.
|
|
When using BS-X, save ram paths will be inferred from the BS-X BIOS path, not BS-X rom path.
|
|
|
|
.TP
|
|
\fB--sufamiA PATH\fR
|
|
Path to A slot in Sufami Turbo. Load Sufami Turbo BIOS as regular rom.
|
|
When using Sufami, save ram paths will be inferred from the Sufami BIOS path, not slot paths.
|
|
|
|
.TP
|
|
\fB--sufamiB PATH\fR
|
|
Path to B slot in Sufami Turbo. Load Sufami Turbo BIOS as regular rom.
|
|
When using Sufami, save ram paths will be inferred from the Sufami BIOS path, not slot paths.
|
|
|
|
.TP
|
|
\fB--mouse PORT, -m PORT\fR
|
|
Connects a Super Nintendo Mouse into port number PORT of the emulated SNES. Possible values for PORT are 1 and 2.
|
|
|
|
.TP
|
|
\fB--nodevice PORT, -N PORT\fR
|
|
Disconnects an input device from port number PORT of the emulated SNES. Possible values for PORT are 1 and 2. This may be needed for some odd games to run properly.
|
|
|
|
.TP
|
|
\fB--scope, -p\fR
|
|
Connects a Super Scope into port 2 of the SNES. It is controlled with your mouse.
|
|
|
|
.TP
|
|
\fB--justifier, -j\fR
|
|
Connects a Konami Justifier into port 2 of the SNES. It is controller with your mouse.
|
|
|
|
.TP
|
|
\fB--justifiers, -J\fR
|
|
Connects two Konami Justifier into port 2 of the SNES. Currently, only player 1 is controlled with the mouse.
|
|
|
|
.TP
|
|
\fB--multitap, -4\fR
|
|
Connects a four-way multitap into port 2 of the SNES. This allows for up to 5 players.
|
|
|
|
.TP
|
|
\fB--record PATH, -r PATH\fR
|
|
Activates video recording of gameplay into PATH. Using .mkv extension is recommended.
|
|
Codecs used are (FFV1 or H264 RGB lossless (x264))/FLAC, suitable for processing the material further.
|
|
|
|
.TP
|
|
\fB--size WIDTHxHEIGHT\fR
|
|
Allows specifying the exact output width and height of FFmpeg recording. This option will override any configuration settings.
|
|
The video input is scaled with point filtering before being encoded at the correct size.
|
|
|
|
.TP
|
|
\fB--bsvplay PATH, -P PATH\fR
|
|
Play back a movie recorded in the .bsv format (bSNES). Cart ROM and movie file need to correspond.
|
|
It also requires to play back with the same libsnes backend that was used for recording.
|
|
|
|
.TP
|
|
\fB--bsvrecord PATH, -R PATH\fR
|
|
Start recording a .bsv video to PATH immediately after startup.
|
|
|
|
.TP
|
|
\fB--sram-mode MODE, -M MODE\fR
|
|
MODE designates how to handle SRAM.
|
|
The format of the second parameter is {no,}load-{no,}save.
|
|
These two boolean values tell if SRAM loading and SRAM saving should take place.
|
|
Note that noload-save implies that the SRAM will be overwritten with new data.
|
|
|
|
.TP
|
|
\fB--verbose, -v\fR
|
|
Activates verbose logging.
|
|
|
|
.TP
|
|
\fB--host, -H\fR
|
|
Be the host of netplay. Waits until a player connects. The host will always assume player 1.
|
|
|
|
.TP
|
|
\fB--connect SERVER, -C SERVER\fR
|
|
Connect to a host of netplay. Will always assume player 2.
|
|
|
|
.TP
|
|
\fB--frames FRAMES, -F FRAMES\fR
|
|
Sync frames to use when using netplay. More frames allow for more latency, but requires more CPU power.
|
|
Set FRAMES to 0 to have perfect sync. 0 frames is only suitable for LAN. Defaults to 0.
|
|
|
|
.TP
|
|
\fB--port PORT\fR
|
|
Network port used for netplay. This defaults to 55435. This option affects both TCP and UDP.
|
|
|
|
.TP
|
|
\fB--spectate\fR
|
|
If netplay is used, it will go into a spectator mode.
|
|
Spectator mode allows one host to live stream game playback to multiple clients.
|
|
Essentially, clients receive a live streamed BSV movie file.
|
|
Clients can connect and disconnect at any time.
|
|
Clients thus cannot interact as player 2.
|
|
For spectating mode to work, both host and clients will need to use this flag.
|
|
|
|
.TP
|
|
\fB--nick NICK\fR
|
|
Pick a nickname for use with netplay.
|
|
This is purely cosmetic, and only serves to help players identify each other.
|
|
|
|
.TP
|
|
\fB--ups PATCH, -U PATCH\fR
|
|
Attempts to apply an UPS patch to the current ROM image. No files are altered.
|
|
If this flag is not specified, SSNES will look for a .ups file with same basename as ROM specified.
|
|
|
|
.TP
|
|
\fB--bps PATCH\fR
|
|
Attempts to apply a BPS patch to the current ROM image. No files are altered.
|
|
If this flag is not specified, SSNES will look for a .bps file with same basename as ROM specified.
|
|
|
|
.TP
|
|
\fB--ips PATCH\fR
|
|
Attempts to apply a IPS patch to the current ROM image. No files are altered.
|
|
If this flag is not specified, SSNES will look for a .ips file with same basename as ROM specified.
|
|
Note that SSNES cannot perform any error checking if patching was successful due to how IPS works.
|
|
|
|
.TP
|
|
\fB--no-patch\fR
|
|
Disables all kinds of ROM patching.
|
|
|
|
.TP
|
|
\fB--xml MAP, -X MAP\fR
|
|
Specifies path to XML memory map for the given ROM.
|
|
If this flag is not specified, SSNES will look for a .xml file with same basename as ROM specified.
|
|
|
|
.TP
|
|
\fB-D, --detach\fR
|
|
Detach from the current console. This is currently only relevant for Microsoft Windows.
|
|
|
|
.SH "SEE ALSO"
|
|
\fBssnes-joyconfig\fR(1)
|