About the resolutions
A said in P-UAE configuration.txt:
To emulate a high-resolution, fully overscanned PAL screen - either non-interlaced with line-doubling, or interlaced - you need to use a display of at least 720 by 568 pixels. If you specify a smaller size, E-UAE's display will be clipped to fit (and you can use the gfx_center_* options - see below - to centre the clipped region of the display). Similarly, to fully display an over-scanned lo-res PAL screen, you need a display of 360 by 284 pixels.
So, in the version provided yesterday I’ve setted these resolutions in the settings (it’s in the source code):
- 360x284: PAL Low resolution with overscan
- 320x256: PAL Low resolution cropped/clipped (without the “borders”)
- 360x240: NTSC Low resolution with overscan
- 320×200: NTSC Low resolution cropped/clipped (without the “borders”)
- 720x568: PAL High resolution with overscan
- 640×512: PAL High resolution cropped/clipped (without the “borders”)
- 720x480: NTSC High resolution with overscan
- 640×400: NTSC High resolution cropped/clipped (without the “borders”)
When using a high resolution mode, rendering will be doubled horizontally and vertically for low res games. It’s compatible with High res games (like The Pawn) and the Workbench but scaling shaders (scalefx) will look ugly.
When using a low resolution, scaling shaders (scalefx) looks greats but high res games and and the workbench are badly rendered (but still usable).
Cropped resolutions work with most of the games but, as others said, certains games use overscan. And it’s not the real deal… Project-X for instance which use PAL overscan, it’s even cropped in NTSC with overscan…
You can choose what you want from the core options in RetroArch but it needs a restart… That’s not ideal…
NB: If you use specific .uae files you can specify what you want I do not touch that. It’s for adf, hdf and m3u direct launch.
- In the core options: I could remove the resolution option and replace it with three options: Video system (PAL, NTSC), High resolution (true, false), Crop screen (true, false). They will determine what default resolution/video options to use .
- I could add tag parsing for (PAL), (NTSC), (HIGHRES), (CROP) in the game name, it will be optionnal (like I’ve done for AGA games for instance). They should be added to the game name to specify what configuration must be used for each game.
- If no tag is found in the name of the game the default options (from 1) will be used. If tag are founds I will autoconfigure the core for the game.
Example: if you name a game ‘my_game(AGA)(PAL)(HIGHRES).adf’ the emulator will launch with the core with an A1200 configured with 720x568 resolution.
I think it would be very convenient to use with frontends and from RetroArch load content function.
NB: .uae file for configuration will be always usable so you can specify what you want, I do not touch that configuration. It will only be used for ‘.adf, .hdf, .m3u’ launched directly with no specific configuration.
What do you think of this ?