nesdev.com
https://forums.nesdev.com/

Mesen - NES Emulator
https://forums.nesdev.com/viewtopic.php?f=3&t=13844
Page 1 of 31

Author:  Sour [ Thu Feb 11, 2016 10:10 pm ]
Post subject:  Mesen - NES Emulator

Mesen is a high accuracy emulator for Windows/Linux/Libretro - as far as I know, it passes more test ROMs than any other emulator currently available.

It has most features you would expect from an emulator (save states, online play, cheats, movies) and a lot of advanced options (Rewinding, overclocking, remove sprite limit, custom palettes, stereo effects, support HD packs, automatic updates, etc.). It also includes a very complete set of debugging tools (including Lua scripting).

Download: https://www.mesen.ca/download.php
Website: https://www.mesen.ca
Source (GPLv3): https://github.com/SourMesen/Mesen
Releases: https://github.com/SourMesen/Mesen/releases

The current version is 0.9.5 - released on March 31, 2018.

Author:  miker00lz [ Thu Feb 11, 2016 10:28 pm ]
Post subject:  Re: Mesen - NES Emulator

This is an excellent emulator! Tons of features. Sound is great. It handled everything I threw at it, except for one little bug I found (which you're likely already aware of)... got a hang in Battletoads on the second level.

Author:  Dwedit [ Thu Feb 11, 2016 11:28 pm ]
Post subject:  Re: Mesen - NES Emulator

Joystick emulation has bugs. Seems to not respect the strobe status, and always shifts bits out after the first write. I think you need to make reads not trigger shifts until the strobe bit is cleared.

Example joystick reading code that shows the bug:

Code:
   ldx #1
   stx $4016
   lda $4016
   dex
   stx $4016
   and #$FC
   tax

   cpx $4016
   ror a
   cpx $4016
   ror a
   cpx $4016
   ror a
   cpx $4016
   ror a
   cpx $4016
   ror a
   cpx $4016
   ror a
   cpx $4016
   ror a
   cpx $4016
   ror a
   eor #$FF

Author:  tokumaru [ Thu Feb 11, 2016 11:31 pm ]
Post subject:  Re: Mesen - NES Emulator

Sounds cool, but...

Attachment:
mesen-error.png
mesen-error.png [ 27.09 KiB | Viewed 12256 times ]

Any idea of what could've gone wrong?

Author:  oRBIT2002 [ Thu Feb 11, 2016 11:42 pm ]
Post subject:  Re: Mesen - NES Emulator

Works fine here on my Windows 10 x64. Nice work!

Author:  Dwedit [ Thu Feb 11, 2016 11:45 pm ]
Post subject:  Re: Mesen - NES Emulator

It references System.IO.Compression and System.IO.Compression.FileSystem, and those should come with .NET 4.0 or greater.

Author:  tokumaru [ Thu Feb 11, 2016 11:56 pm ]
Post subject:  Re: Mesen - NES Emulator

Dwedit wrote:
It references System.IO.Compression and System.IO.Compression.FileSystem, and those should come with .NET 4.0 or greater.

Thanks. Looks like I don't have 4.5 installed, which according to the site, is required. Will try to install it now.

Author:  Sour [ Fri Feb 12, 2016 5:37 am ]
Post subject:  Re: Mesen - NES Emulator

Thanks for the replies!

Wasn't aware of the Battletoads freeze on level 2, thanks for letting me know, I'll look into it.

Dwedit - It does look like the code for this is incorrect, thanks!

tokumaru - Not sure if you've had any success with installing .NET 4.5, but that's most likely the source of the error. Mesen uses .NET 4.5-specific features to read/extract data from zip files, which is the first thing it needs to do when starting up.

Author:  miker00lz [ Fri Feb 12, 2016 9:21 am ]
Post subject:  Re: Mesen - NES Emulator

This how it looked when it hung on Battletoads for me:

Image

It happened when I moved all the way to the top of the screen. Doesn't necessarily mean it's related, but that's when it did this in any case. The game ran perfectly until this point.

Author:  zeroone [ Fri Feb 12, 2016 9:32 am ]
Post subject:  Re: Mesen - NES Emulator

Awesome emulator. Very impressive work.

As for Battletoads, many threads on this forum have been dedicated to that exact stage 2 freezing issue. The nature of the issue is not fully understood. Hopefully, further research will yield a new test ROM.

Author:  tokumaru [ Fri Feb 12, 2016 10:13 am ]
Post subject:  Re: Mesen - NES Emulator

Sour wrote:
tokumaru - Not sure if you've had any success with installing .NET 4.5, but that's most likely the source of the error.

Yup, installing .NET 4.5 fixed it. It's a very nice emulator! The debug tools look promising.

zeroone wrote:
The nature of the issue is not fully understood.

Isn't it just a scrolling/sprite 0 hit issue?

Author:  zeroone [ Fri Feb 12, 2016 10:53 am ]
Post subject:  Re: Mesen - NES Emulator

tokumaru wrote:
Isn't it just a scrolling/sprite 0 hit issue?


Yes. And, it has been confirmed with trace logs. But, the test ROMs do not detect the problem. The details of the issue are not fully understood.

Author:  zeroone [ Fri Feb 12, 2016 11:37 am ]
Post subject:  Re: Mesen - NES Emulator

@Sour

Could you provide a zip download link? Antivirus software does not like downloading .exe files.

Author:  tokumaru [ Fri Feb 12, 2016 11:51 am ]
Post subject:  Re: Mesen - NES Emulator

Can't you temporarily disable your Antivirus?

Author:  zeroone [ Fri Feb 12, 2016 4:25 pm ]
Post subject:  Re: Mesen - NES Emulator

tokumaru wrote:
Can't you temporarily disable your Antivirus?


I can't :(

Page 1 of 31 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/