📄 faq.txt
字号:
Keeping your device drivers fully updated will provide other benefits
unrelated to ZSNES.
- Set the resolution for ZSNES to the same one used by the Windows desktop.
- Try enabling 16-bit color depth in Windows.
Q: Why is the video choppy with an FPS of 60 and VSync on?
A: If you have VSync on, your monitor needs to be set to a refresh rate that is
a multiple of the framerate of the game. NTSC games natively run at ~60 FPS.
PAL games natively run at 50 FPS. Thus your monitor would need to be either
60Hz or 120Hz for NTSC games, or 50Hz/100Hz for PAL games. If you run ZSNES
with the -6 switch, with a sub-argument of '60', ZSNES will try to switch
your monitor to 60Hz refresh rate. You can use the -ks switch to make ZSNES
try to switch your monitor to 120Hz refresh rate. These two switches only
work in fullscreen modes and are for the Windows port only.
Please reference [Advanced.txt] for details on command-line switches.
You can also try enabling Triple Buffering (using the -3 switch or the GUI
option), however this currently only works in Full Screen modes. One last
thing you can try is to turn off auto frame-skipping, and set manual frame
rate to "0".
................................
Sound
................................
Q: How come I don't get any sound?
A: Either you accidentally disabled sound, you don't have a sound card, the
sound drivers aren't properly installed in your system, or your sound card is
not compatible with DirectSound (part of Microsoft's DirectX API
[Support.txt]). Also make sure that 'Disable SPC Emulation' is NOT checked.
See [GUI.txt] for more information about sound settings in ZSNES.
Try (re-)installing the latest version of DirectX, and make sure you have the
latest drivers for your sound card (WHQL Certified, if possible).
Please also note that ISA sound cards tend not to work with Windows, while
they do with DOS.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3. SDL-SPECIFIC QUESTIONS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
................................
General
................................
Q: Can I run ZSNES without X?
A: Yes, but you'll need to have SDL compiled to use SVGAlib.
Q: I got ZSNES from my distro and I found a bug. To whom should I report it?
A: Compile ZSNES yourself and see if the bug still exists. If it does,
please tell us, otherwise be happy that ZSNES works now, and give your
distro a heads-up if you feel motivated enough.
Q: Should I use SVN?
A: SVN ("Subversion") is the best way to get the most up-to-date ZSNES source.
It is best to double-check with SVN if you have a problem, since we might
have already fixed it. If you find a new problem in SVN, please tell us, but
be warned that we won't take it too seriously if it involves something that's
currently being worked on.
To check out and install ZSNES from SVN, refer to this thread on the ZSNES
board [http://board.zsnes.com/phpBB2/viewtopic.php?t=7371].
Q: I'm getting an error about gzdirect() missing when I try to compile ZSNES.
What's up?
A: Make sure you're using zlib 1.2.3 or higher. Some distributions say you have
zlib 1.2.3 but in reality give you an older version. If your distribution is
being problematic, compile zlib yourself. Grab the latest version of zlib at
the official website. [http://www.zlib.net]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4. DOS-SPECIFIC QUESTIONS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
................................
Video
................................
Q: How do you enable transparencies?
A: First, try setting the video mode to a 16-bit color mode in the GUI. (If
320x240x16b doesn't work, then try 640x480x16b). If it gives you an error
that says that your video card isn't compatible with VESA 2.0, you might want
to get Scitech Display Doctor. It provides certain cards with VESA 2.0
support. Running with transparencies on is definitely slower because of the
extra math equations, memory, and video space involved.
Q: Why is there a layer of fog blocking my view?
A: You need to either enable transparencies (see above), or you can disable
certain backgrounds by pressing the 1, 2, 3, or 4 keys. If you get lost while
pressing those keys, press 6 to re-enable all of the backgrounds.
Q: Why am I getting error messages regarding VESA 2 drivers?
A: Here is a list of the various error codes that you may be coming across,
along with descriptions of what they mean:
* VBE not detected - ZSNES failed to detect any VBE interrupts (Your video
card doesn't support VESA).
* VESA not detected - ZSNES failed to detect any VESA extensions (Your
video card doesn't support VESA).
* VESA 2.0 or greater required - Your video card supports VESA, but it has
an older version. You may want to use SciTech Display Doctor
[http://www.scitechsoft.com/sdd.html] to upgrade your VESA driver.
* VESA 2 mode does not work on your video card/driver - Meaning that the
resolution you requested does not exist in the supported resolutions of
your video card. Choose a different resolution or upgrade with SDD,
which can sometimes help increase the number of resolutions supported.
* Unable to initialize video mode - A VESA 2.0 driver is found, but the
video mode failed to start. There could possibly be an error on the
video card setting, or it may be a defective piece of hardware.
* Linear frame buffer not detected - Meaning that your video card does not
support linear frame buffering, which is required for the ZSNES VESA 2
routines.
................................
Sound
................................
Q: Why is there no sound?
A: There could be several situations:
- You haven't enabled sound. You can enable it through the GUI or through
zsnes.cfg. Also make sure that 'Disable SPC Emulation' is NOT checked.
- You need to make sure that the SET BLASTER variable is set properly. To do
this, type SET in DOS and look for a string starting with "BLASTER=". If
such a string exists, then this is not your problem.
- You don't have a SB2.0 compatible sound card. If this is your case, there
is nothing you can do at the moment. ZSNES uses auto-initialization mode
for sound which requires SB2.0+.
- Your SB IRQ conflicts with another device. If this is the case, you might
want to check your sound card settings through Control Panel -> System.
- ZSNES doesn't like your sound card.
- You can try using VDMSound [http://sourceforge.net/projects/vdmsound/].
Q: Are there any plans to improve detection for non-SoundBlaster cards (or
supporting non-SB cards)?
A: There is little effort put into major changes to the DOS code, since so few
people use that port these days. However, we will gladly accept anyone's help
in improving the DOS sound code.
Q: I get a sound initialization error using my SB Live! (or any other PCI card).
How do I fix it?
A: Here is a solution: (Thanks CyberGodz for the post on the forums!)
SB Live! uses what is known as a NMI, or Non Maskable Interrupt, to emulate
SB 16 sound. Don't ask us exactly what it does (it's a type of IRQ) but that
is pretty much all it is good for.
The problem is that many sound cards either lack NMI support or don't have it
enabled (No NMI = No DOS support).
To try and solve this problem, do the following:
- Check your BIOS. If there is an option for RAM parity checking, enable
it; it usually turns on NMI support. If there is something that says
"NMI", turn it on.
- If you don't find anything in your BIOS, then go to your motherboard's
website and download the latest BIOS flash. Install it and try your DOS
sound (You may still have to enable the stuff in the BIOS afterwards).
- Failing the first two things, you could either get a new motherboard or
get another compatible sound card alongside the SB Live!. Just attach a
cable from the line out of the SB 16 to the line in of the SB Live!.
Enable line in on the mixer of your SB Live! and it should route the
sound through the old sound card (Don't use the SPDIF to connect the
cards if you have one; wave sound doesn't pass through SPDIF--only MIDI).
................................
Input
................................
Q: Why doesn't my Sidewinder pad work?
A: First, for non-USB Sidewinders, you should disable the Sidewinder profiler
from the Win9x icon tray, run ZSNES, set Input #1 as SidewinderPad1, then
press the mode button a few times. If that doesn't work, try the following:
- Try checking or unchecking the Sidewinder Fix option under
Config Menu -> Options and repeat the above steps.
- Fully disable the Win9x Sidewinder drivers by going to Control Panel/Game
Controllers. Then remove the Sidewinder (Thanks Scarlet-Slider for this
info!).
- Run ZSNES under pure DOS.
- Again, try checking or unchecking the Sidewinder Fix in the options menu of
the GUI and repeat the above 2 steps.
- Make sure your Sidewinder is plugged in and is not broken.
For USB joysticks, you can either set ZSNES as a 6-button joystick or
simulate keyboard keys through the Sidewinder profiler by setting Input #1 as
a keyboard with those defined keys.
Q: How do I get my daisy-chained Sidewinder to work?
A: First, run ZSNES. Temporarily disconnect the second Sidewinder pad from the
first one, get the first one to work, then re-connect the second Sidewinder
pad.
Q: Why doesn't my Gamepad Pro work?
A: For the non-USB version, be sure to have your Gamepad Pro set on 'GrIP' mode.
Then set the input device as Gamepad Pro P0. For the USB version, you can use
a keyboard emulator, which should be included with the software that came
with your joystick.
Q: Why doesn't my joystick work anymore?
A: You might have accidentally clicked the 'Use Joystick Port 209H' check box.
Just uncheck it.
Q: Why does JB5/JB6 keep getting pressed whenever I try to change a key?
A: Try changing your joystick type from 6-button to 4-button.
................................
Freezing/Crashing Issues
................................
Q: Why does ZSNES freeze when I run it under pure DOS?
A: Try loading your mouse driver or run ZSNES using the -j switch. For the most
compatible result, use the Microsoft Mouse driver if possible.
Q: Why does ZSNES crash when I load a ROM?
A: It could be that ZSNES doesn't recognize your sound configuration. To fix it,
disable sound or try changing your sound configuration. Also see this
question: (Universal-->Freezing/Crashing Issues) "Why does ZSNES crash
as soon as I load a ROM?"
Q: Why does ZSNES freeze when I try to enter the GUI?
A: Run ZSNES using the commandline -j.
Q: ZSNES gives me an "out of memory" error and I only have 16MB of RAM. How do I
fix this?
A: If you are running the DOS port of ZSNES from within Windows, try restarting
the computer in DOS mode; more RAM should then presumably be available for
ZSNES to use. To get it running under Win9x, first create a shortcut to the
DOS prompt on the desktop (the filename 'target' can be "C:\command.com").
Next, right-click on the icon and go to Properties. Then, select the Memory
tab and look below for Protected Mode (DPMI) settings and set a high value
(like 20000). Last, double-click on that icon and load ZSNES as usual.
................................
Miscellaneous
................................
Q: I'm using DJGPP 2.03 and I get an error about missing stdint.h. What's wrong?
A: You're probably missing this file. Download the latest version of this file
and put it in DJGPP's include directory.
. . . . . . . . . . . . . . . .
This documentation is best viewed in a fixed-width font such as "Courier New".
Copyright (C) ZSNES Team & ZSNES Documentation Team [License.txt]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -