- Improved Audio Downsampler.
- Improved Audio generally.
- Improved performance by converting audio samples from integers into bytes.
- Audio now is output in unsigned 8 bit instead of signed 16 bit, it is correct for nes.
- Improved SlimDX DirectSound renderer, it sounds now better and stable.
Notes:
- It may sound error sometimes with some games, but it is correct. Since nes sound output is about 179 MHz and
Audio Channels might sound up to 444000 Hz, so downsampling from 444000 Hz into 44100 Hz will result a loss of resolution.
Applying fixes like taking averages of samples proved to be wrong, so in My Nes, the downsampler now just do downsampling
without any fix. This is correct but might sound error, this is normal due to the loss of resolution. - Nes when outputing audio samples and mixed together, they are range from 0 into 1 in amplitude. If we try to convert
that to 8 bit samples or signed 16 bits will result errors and corruption in sound. The correct convert is from 0-1 apm into
0-127 value or 0 - 0x7F. My Nes now output sound in 8bits with range of 0 - 127, applying a simple fix as well that makes sure
no sample is 0 (DB Fix, see https://github.com/alaahadid/Docs/blob/main/Audio%20And%20DB.txt) to make the sound 100 % correct. - Performance is improved by using 8 bit audio samples instead of 16 bit samples, also renderer now control speed correctly to
make sure audio samples are played correctly in time. This affect performance and accuracy of fps.
System Requirements And Installation
Usually My Nes comes in portable package, which can be installed simply by extracting the content of that package
anywhere in your machine.
Note that My Nes save settings and user files (such as states, snapshots, sound records ...etc) at the documents.
In order to run My Nes correctly in your machine, please make sure that your machine meets up these requirements:
- My Nes can run at any version of windows that can run .net framework 4, such as Windows 7, 8, 8.1 and 10.
- .Net Framework version 4.8 is required.
- Latest DirectX package from Microsoft.
- Latest C++ Runtime package from Microsoft. (Try latest, if My Nes doensn't work, installing older version of this package may work.)
- CPU: 2400 MHz or faster, multicore cpu is recommended for better performance. My Nes is built for x86 cpus,
but it should run without problems with x64 cpus (tested and runs perfectly) - RAM: My Nes usually uses about 30 to 60 MB ram. When launcher is used, it may use up to 200 MB. In other words,
since Windows is running perfectly in your machine, you should not worry about ram at all when using My Nes.
Notes
. My Nes doesn't work:
Please make sure that these packages are installed in pc:
.Net framework 4.8
C++ Runtime (Try latest, if My Nes doensn't work, installing older version of this package may work.)
If the problem isn't solved, please try to install SlimDX latest runtime, one can be found here: https://code.google.com/archive/p/slimdx/downloads (SlimDX Runtime .NET 4.0 x86 (January 2012).msi).
- Error (about cannot open archive for example) when trying to open a .nes game
If that happens, you need to locate the settings file in:
Documents>MyNes
And delete them all except folders. Files are: controls.mnc, emusettings.ini, renderersettings.ini, sdlsettings.ini and winsettings.ini.
This will reset all settings into default.
. Some games doesn't work
Please use Hard Reset (F4) to reset the emulation, happen sometimes when changing games. If the game stil doesn't work, that's mean it is a not-implemented mapper issue or emulation bug. Reporting the game problem to the https://github.com/alaahadid/My-Nes/issues will be appreciated.
. If My Nes fails to start (mostly on Windows 7), please intstall SlimDX Runtime .NET 4.0 x86 (January 2012).
https://github.com/likeleon/Micro/blob/master/Externals/SlimDX%20SDK%20(January%202012)/Runtime/SlimDX%20Runtime%20.NET%204.0%20x86%20(January%202012).msi
My Nes may fail to launch with SDL2 video renderer, or just "White Screen".
If that happens, you need to locate the settings file in:Documents>MyNes>sdlsettings.ini
Open that file then edit the line (set it to):
"Video_Driver=opengl" or "Video_Driver=direct3d" then try again.
direct3d: is the direct3d driver
opengl: is the opengl driverIf both drivers doesn't work, there is no choice but to switch into SlimDX video renderer.
There is no sound whith SDL2 Audio.
Please try to change audio device selection in SDL2 Settings window.If that doesn't work, you need to locate the settings file in:
Documents>MyNes>sdlsettings.ini
Open that file then find the line :
"Audio_Device_Index=0"
This is the audio device index, 0 is the first audio device, 1 is the second ...etc
Can be set to any "Enabled" audio device, please set the index to the default audio device in Windows audio settings.If both drivers doesn't work, there is no choice but to switch into SlimDX audio renderer.
沒有留言:
張貼留言