Mesen - Emulator

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

User avatar
Controllerhead
Posts: 312
Joined: Tue Nov 13, 2018 4:58 am
Location: $4016
Contact:

Re: Mesen - Emulator

Post by Controllerhead »

Ok, as a preface, i am glad that there is now the ability to customize the debugger window! This is a great step and i really appreciate the ability to do so. ...However, some things appear to be broken =(

X'ing out windows doesn't work when pinned (though right click -> close does); In a multi-tab: sometimes i can't drag individual windows out once multi-tab'd; sometimes it doesn't let me adjust width / height in a new position. Interacting with it could yield others.

Of note is a truly severe issue where you can X out all the windows to an unrecoverable state where opening the debugger just crashes the whole emulator; i had to rebuild the emulator from scratch and wipe all settings to alleviate this.

If you want to play with it yourself: File -> Reset to Default Layout can help you if it gets in a funny state.

I think it just needs a little attention is all. Thanks! :mrgreen:

EDIT: Ok, sorry, for my original post i had code from a couple months ago, i've updated and it seems a bit better now, i edited the post and the issues listed still exist (not sure about the one where you X out all the windows, but at this point, i don't wanna try it again...)
Image
007
Posts: 73
Joined: Mon May 02, 2016 5:55 am

Re: Mesen - Emulator

Post by 007 »

@sour is this thread the official Mesen thread or is there somewhere else people discuss this emulator?

Also after tons of heavy use for gaming the only thing I wish to see changed a bit are the scanlines. Thhey are too big, compare to lets say mame or retroarch shaders it look like there are alot less and appear thick. Is this something you could on day revisit?

For now I just keep them off
jadasse
Posts: 7
Joined: Mon Apr 03, 2023 9:23 pm

Re: Mesen - Emulator

Post by jadasse »

Sour wrote: Mon May 15, 2023 2:48 pm
NSFE is the same as NSF, just with different/more metadata about the tracks/titles/etc. You still need to emulate the entire song to be able to seek through it, unfortunately.
Noted.
Sour
Posts: 876
Joined: Sun Feb 07, 2016 6:16 pm

Re: Mesen - Emulator

Post by Sour »

Controllerhead wrote: Mon May 22, 2023 11:28 amHowever, some things appear to be broken =(
I've fixed the X button not working. In general though, this entire functionality is using an open source component, it's not my own code, so some fixes might not be possible. I've updated it the component to its latest build (along with updating to avalonia 11 preview 8, which means some things might be broken although it seems to be working properly) - maybe some issues are fixed, although I'd expect it to be mostly the same as before.

How did you close all the windows? It shouldn't be possible to close the "disassembly" window - did you find a way to do this (I tried a few things but could not find any way to do this on my end)

I'm not sure what you mean by "pinned"?

007 wrote: Thu May 25, 2023 4:29 pm @sour is this thread the official Mesen thread or is there somewhere else people discuss this emulator?
Other than some feedback/bug reports on the nesdev discord, everything else is here.

007 wrote: Thu May 25, 2023 4:29 pm Also after tons of heavy use for gaming the only thing I wish to see changed a bit are the scanlines.
This was discussed earlier in this thread I think. Improving the scanline "effect" and/or adding support for shaders isn't really a priority right now - it's unlikely I'll devote time to this in the short/medium-term.
User avatar
Controllerhead
Posts: 312
Joined: Tue Nov 13, 2018 4:58 am
Location: $4016
Contact:

Re: Mesen - Emulator

Post by Controllerhead »

Sour wrote: Thu May 25, 2023 11:12 pm In general though, this entire functionality is using an open source component, it's not my own code, so some fixes might not be possible.
Ah, i understand, not a big deal, there isn't anything that can't be fixed by just hitting Reset To Defualt Layout, except...
Sour wrote: Thu May 25, 2023 11:12 pm How did you close all the windows? It shouldn't be possible to close the "disassembly" window - did you find a way to do this (I tried a few things but could not find any way to do this on my end)
I ...don't remember lol, and i can't seem to do it again. It was actually a while ago, however, i do have this zipped copy containing the emulator crashing with a stack trace when you try to open the debugger with the debugger window gone if you want to implement some sort of safety check: https://nesblast.com/stuff/Mesen2_no_debugger_crash.zip
Sour wrote: Thu May 25, 2023 11:12 pm I'm not sure what you mean by "pinned"?
Just attached in the window, as opposed to free floating.
Image
paulb_nl
Posts: 28
Joined: Fri Nov 18, 2016 7:57 am

Re: Mesen - Emulator

Post by paulb_nl »

Regarding Game Boy Window Y logic:
https://github.com/SourMesen/Mesen2/com ... 5R278-R279

The check is ($FF4A == LY) && ($FF40.5 == 1) so if the Window was disabled when WY==LY then the Window Y Match does not get set.

This is what the game Warriors of Might And Magic depends on. It disables the Window in VBlank and then later enables it at line 121.
jadasse
Posts: 7
Joined: Mon Apr 03, 2023 9:23 pm

Re: Mesen - Emulator

Post by jadasse »

Is Mesen2 planned to play VGMs? (NES APU only, gives error for any incompatible audio chips)
007
Posts: 73
Joined: Mon May 02, 2016 5:55 am

Re: Mesen - Emulator

Post by 007 »

So im happy with mesen2 not complaining but noticed there is still something deff wrong with exclusive fullscreen on windows.

When not using exclusive pressing f11 toggles between window and full screen no issues at all.


When using exclusive. If in window and i press f11 it goes full screen, but image seems a bit small, pushing f11 again makes image a bit bigger and pushing f11 again takes it to window. Am able to replicate multiple setups. I had stopped using exclusive so i had no issues a friend i got into mesen2 noticed it and then i was able to replicate it.


Just reporting since something is actually up there. Using latest dev build. Tested latest win 10 latest win 11 on nvida amd and intel graphic drivers. Willing to do a video or whatever showing if it helps
Post Reply