Mesen - Emulator
Moderator: Moderators
Re: Mesen - Emulator
so everything is implemented and compatibility has reached 100%? congratulations!
-
- Posts: 3
- Joined: Sat Jul 27, 2024 11:30 pm
Re: Mesen - Emulator
@sour I just found a palette bug in Mesen's emulation of a Game Gear "Prince of Persia". Mesen shows wrong colors for both background and sprites. Using bios.gg somehow produces even worse result. I didn't notice any palette problems with other Game Gear games. Kega Fusion shows correct colors in "Prince of Persia".
Also. there is a less critical issue, that Mesen by default cuts too much screen (using overscan). There is a nice select preset function that can be used to choose "Full frame (excluding first column)" but I wonder if it's possible that Mesen will try to select a correct preset depending on a game. Kega Fusion somehow chooses a correct overscan depending on a game, I'm not sure however, if it uses a game db or some indication in a rom.
Thanks for the great Game Gear emulation!
Also. there is a less critical issue, that Mesen by default cuts too much screen (using overscan). There is a nice select preset function that can be used to choose "Full frame (excluding first column)" but I wonder if it's possible that Mesen will try to select a correct preset depending on a game. Kega Fusion somehow chooses a correct overscan depending on a game, I'm not sure however, if it uses a game db or some indication in a rom.
Thanks for the great Game Gear emulation!
- Attachments
-
- Mesen Prince of Persia without BIOS.png (6.11 KiB) Viewed 1513 times
-
- Mesen Prince of Persia with BIOS.png (5.89 KiB) Viewed 1513 times
-
- Kega Prince of Persia.png (17.27 KiB) Viewed 1513 times
Re: Mesen - Emulator
hey i use "unifont-16.0.01.otf", 24pt render to 8x12 pixel, generate all 55509 chars,
make osd label to support all CJK language.
but i can't pull request.
maybe u can merge it.
https://github.com/kokutoukiritsugu/Mesen2/commit/3e30f8ebd87b608563937d32bf4650273a5727bc
make osd label to support all CJK language.
but i can't pull request.
maybe u can merge it.
https://github.com/kokutoukiritsugu/Mesen2/commit/3e30f8ebd87b608563937d32bf4650273a5727bc
-
- Posts: 3
- Joined: Thu Jan 09, 2025 3:17 pm
Re: Mesen - Emulator
I tried to replace this font library, and VS2022 did not display any errors during debugging and can run normally. However, the program compiled into AOT does not respond when running. Debugging the generated EXE file using VS prompts stack overflow. More code may need to be modifiedjxkFp3th wrote: ↑Mon Jan 06, 2025 7:55 pm hey i use "unifont-16.0.01.otf", 24pt render to 8x12 pixel, generate all 55509 chars,
make osd label to support all CJK language.
but i can't pull request.
maybe u can merge it.
https://github.com/kokutoukiritsugu/Mesen2/commit/3e30f8ebd87b608563937d32bf4650273a5727bc
Snipaste_2025-01-07_10-53-27.png
Snipaste_2025-01-07_10-51-47.png
Re: Mesen - Emulator
Hi, I am posting this here hopefully someone can help. I am using the mesen to play nes zaper. I have a sinden lightgun. The accuracy is very good however I want to put the game in full screen. If I don't use the full screen exclusive then the menu bar which is hidden will show up if the gun is move anywhere near the top.
If i use fullscreen exclusive then if I shoot anywhere off screen such as not in the area where the graphic is displaying the full screen is exited the game looses focus. Location similar to the attached image.
If i use fullscreen exclusive then if I shoot anywhere off screen such as not in the area where the graphic is displaying the full screen is exited the game looses focus. Location similar to the attached image.
Last edited by Zuluuk on Thu Jan 09, 2025 4:02 pm, edited 1 time in total.
Re: Mesen - Emulator
It's hard to make any claims about perfect compatibility - I certainly haven't tested all the games myself. I know one of the RTCs that a game uses isn't implemented yet, too. Other than that, everything "should" be working properly, but it hasn't necessarily been thoroughly re-tested after my recent changes. Someone on the snesdev discord did spend a lot of their time retesting a lot of games and reporting a few regressions that have all been fixed, though, so it should in a fairly good state.
Thanks for the report! I haven't looked into it a whole lot yet, but as far as I'm understanding, the Game Gear version of "prince of persia" uses the Game Gear in "SMS mode", which is not something the core supports at the moment. There are at least a couple of other games that do this too, iirc. I'll have a proper look when I have the time.UnrealDeveloper wrote: ↑Mon Jan 06, 2025 2:49 am I just found a palette bug in Mesen's emulation of a Game Gear "Prince of Persia"
Sorry, PRs are closed because I generally do not want to deal with reviewing/merging changes/features at the moment, for a variety of reasons. The ability to display all CJK characters might be useful for some people, but I'd rather not commit a 4mb source code file for this at the moment. The current Japanese font was already bigger than I would have liked, and this is 8x bigger than that. Maybe it's something worth considering at some point in the future, but it's not a priority at the moment, and I think a different approach would have to be found, rather than embedding very large fonts into the code. (and the licenses on the fonts are also a potential concern, etc.)
I think this is probably a bug - I'm not sure it was intended to behave that way. I'll take a look when I have the time, thanks!
Re: Mesen - Emulator
https://unifoundry.com/unifont/index.html
unifont use GPL
etc. it provide a .hex format
https://en.wikipedia.org/wiki/GNU_Unifont#Example
unifont use GPL
etc. it provide a .hex format
https://en.wikipedia.org/wiki/GNU_Unifont#Example
Re: Mesen - Emulator
Any chance HD Mode 7 for SNES emulation will ever be added?
Re: Mesen - Emulator
Is this the right place for an emulation bug report? The Game Boy game "Batman: The Video Game" seems not to work (it freezes shortly after boot). Thanks for all your great work on Mesen!
-
- Posts: 15
- Joined: Sat May 11, 2024 11:29 pm
Re: Mesen - Emulator
Robopon - Sun Version (USA) (SGB Enhanced) (GB Compatible).gbc
fails to load
Graphical glitch in homebrew demo: MENTAL RESPIRATOR
"Gin&Tonic drink" effect is not correct
Daiku no Gen-san - Robot Teikoku no Yabou (Japan).gb (Gensan 2)
speech during gameplay is way to soft to hear
Zerd no Densetsu (Japan).gb
crashes out straight away
Vila Caldan Color (PD) [C].gbc
characters are all black
Stunt Race 3D Demo (PD).gb
graphic glitches during gameplay
fails to load
Graphical glitch in homebrew demo: MENTAL RESPIRATOR
"Gin&Tonic drink" effect is not correct
Daiku no Gen-san - Robot Teikoku no Yabou (Japan).gb (Gensan 2)
speech during gameplay is way to soft to hear
Zerd no Densetsu (Japan).gb
crashes out straight away
Vila Caldan Color (PD) [C].gbc
characters are all black
Stunt Race 3D Demo (PD).gb
graphic glitches during gameplay
Re: Mesen - Emulator
I don't have any immediate plans for this right now, but maybe at some point in the future.
Thanks for the report! This should be fixed now.
Thanks for the reports!
-Robopon: This uses a mapper/cartridge type that isn't supported yet, so this is normal.
-Mental respirator: The effect should be fixed now
-Daiku no Gen-san: I think you've reported this one already in the past, it's already on my list of things to look into, but I haven't yet.
-Zerd no Densetsu: This game crashes in GBC mode, this is normal (matches what happens on an actual GBC). If you play it in GB mode, it runs correctly.
-Vila Caldar Color: This demo(?) doesn't initialize the palette at all, not sure what it does on hardware, but it should now get random colors in Mesen if you have the power on ram option set to use random ram (which is the default) - this matches what SameBoy does.
-Stunt Race 3D Demo: This seems to have the same issues in SameBoy, so my guess is that it's broken on hardware, too?
-
- Posts: 15
- Joined: Sat May 11, 2024 11:29 pm
Re: Mesen - Emulator
Stunt Race 3D Demo (PD).gb
graphic glitches during gameplay
yes you are correct
it is broken on hardware aswell
i just tried it on my gameboy
graphic glitches during gameplay
yes you are correct
it is broken on hardware aswell
i just tried it on my gameboy
-
- Posts: 3
- Joined: Thu Jan 09, 2025 3:17 pm
Re: Mesen - Emulator
Hi, there is an SFC ROM:Tengai Makyou Zero (Japan)
cannot run, please check it, thx
cannot run, please check it, thx
Re: Mesen - Emulator
Another game bug report: Sylvan Tale (Game Gear) has glitched graphics in the intro (after pressing start).