It is currently Sun Aug 19, 2018 10:42 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 514 posts ]  Go to page 1, 2, 3, 4, 5 ... 35  Next
Author Message
 Post subject: Mesen - NES Emulator
PostPosted: Thu Feb 11, 2016 10:10 pm 
Offline

Joined: Sun Feb 07, 2016 6:16 pm
Posts: 484
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.6 - released on August 5, 2018.


Last edited by Sour on Sun Aug 05, 2018 7:53 pm, edited 28 times in total.

Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Thu Feb 11, 2016 10:28 pm 
Offline
User avatar

Joined: Thu Sep 23, 2010 7:28 pm
Posts: 232
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.


Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Thu Feb 11, 2016 11:28 pm 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 4067
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

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Thu Feb 11, 2016 11:31 pm 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10716
Location: Rio de Janeiro - Brazil
Sounds cool, but...

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

Any idea of what could've gone wrong?


Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Thu Feb 11, 2016 11:42 pm 
Offline
User avatar

Joined: Sun Mar 19, 2006 3:06 am
Posts: 585
Location: Gothenburg/Sweden
Works fine here on my Windows 10 x64. Nice work!

_________________
http://nes.goondocks.se/


Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Thu Feb 11, 2016 11:45 pm 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 4067
It references System.IO.Compression and System.IO.Compression.FileSystem, and those should come with .NET 4.0 or greater.

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Thu Feb 11, 2016 11:56 pm 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10716
Location: Rio de Janeiro - Brazil
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.


Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Fri Feb 12, 2016 5:37 am 
Offline

Joined: Sun Feb 07, 2016 6:16 pm
Posts: 484
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.


Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Fri Feb 12, 2016 9:21 am 
Offline
User avatar

Joined: Thu Sep 23, 2010 7:28 pm
Posts: 232
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.


Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Fri Feb 12, 2016 9:32 am 
Offline
User avatar

Joined: Mon Dec 29, 2014 1:46 pm
Posts: 799
Location: New York, NY
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.


Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Fri Feb 12, 2016 10:13 am 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10716
Location: Rio de Janeiro - Brazil
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?


Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Fri Feb 12, 2016 10:53 am 
Offline
User avatar

Joined: Mon Dec 29, 2014 1:46 pm
Posts: 799
Location: New York, NY
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.


Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Fri Feb 12, 2016 11:37 am 
Offline
User avatar

Joined: Mon Dec 29, 2014 1:46 pm
Posts: 799
Location: New York, NY
@Sour

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


Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Fri Feb 12, 2016 11:51 am 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10716
Location: Rio de Janeiro - Brazil
Can't you temporarily disable your Antivirus?


Top
 Profile  
 
 Post subject: Re: Mesen - NES Emulator
PostPosted: Fri Feb 12, 2016 4:25 pm 
Offline
User avatar

Joined: Mon Dec 29, 2014 1:46 pm
Posts: 799
Location: New York, NY
tokumaru wrote:
Can't you temporarily disable your Antivirus?


I can't :(


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 514 posts ]  Go to page 1, 2, 3, 4, 5 ... 35  Next

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group