libretro / hatari

New rebasing of Hatari based on Mercurial upstream. Tries to be a shallow fork for easy upstreaming later on.
25 stars 41 forks source link

Medium resolution broken (Windows) #47

Open Jamirus238 opened 5 years ago

Jamirus238 commented 5 years ago

While the high internal resolutions which didn't quite make sense are gone now, it seems medium resolution (640x200x4 color mode) is broken. You can see this when you're setting the desktop to it or any game - Magnetic scrolls adventures, Empire etc. It seems the core always assumes low-res (320x200x16 mode, with PAL borders 416x260). For that reason I'm also puzzled about the high resolution option, I would think it should let you boot into 640x400 mono mode, but it doesn't seem to do anything.

DamsRoxxx commented 5 years ago

You can specify high resolution (640x400 mode, 832x520 with PAL borders) in core options.

It's work for me on a Magnetic scrolls games (The pawn):

Pawn, The-191021-194650

You can save a specific configuration for high resolution games.

Jamirus238 commented 5 years ago

I was updating the core and this fixed the issue at first, but then I got some scaling issues showing distorted text. I then deleted references to hatari in RA core options and the original problem appeared again. I think it's somehow related to how Hatari sets max width not right, there seem to be some conflicts of some sort.

The launch windows says that Hatari width is still configured for 416x260, even though in my RA core options it says: hatari_frameskips = "0" hatari_video_crop_overscan = "false" hatari_video_hires = "yes" Time and Magik-191023-225204 Time and Magik-191023-225543

This is Time & Magik above when it's working and below with the issue. My dumped RA log does not refer to any Hatari resolutions. The launch window in Windows refers to a Hatari.cfg in my RA System folder. There is no such file.

Also, I don't think it's a good idea to call that option hi-res, because of the confusion potential with the real Atari ST 640x400 mono mode as opposed to 640x200 colour mode doubled to 640x400 which is also seen in the Pawn screenshot.

Better behavior which would be consistent with how eg. the Amstrad CPC Caprice32 handles it would be 832x260 (borders included) as base, the core can provide the correct aspect ratio (if needed) which taller than just square pixels anyway.

I should probably point out that this didn't work properly on the original old Hatari versions for me either though, Hatari would always insist on doubling 640x200 mode to 640x400 (at least in Fullscreen I think). Some maybe this is a bit tricky coding wise.

DamsRoxxx commented 5 years ago

As you sayed Hatari (orginal emu) always double medium resolution.

This morning, I tried to change this behavior but it's indeed tricky... Lot of Hatari code need to be modified and dynamic resolution switching have to be implemented with this core.