Hatari 2.0 released
-
Just noticed this has been updated today, testing it now so figured id post up my current findings.
Seems to build fine by just changing
function sources_hatari() {
wget -q -O- "$__archive_url/hatari-1.9.0.tar.bz2" | tar -xvj --strip-components=1to
function sources_hatari() {
wget -q -O- "http://download.tuxfamily.org/hatari/2.0.0/hatari-2.0.0.tar.bz2" | tar -xvj --strip-components=1-
not sure on its effect on IPF files yet as theres a small patch in the retropie script on 1.9
-
SDL2 scaler now gives a full monitor sized image. the downside of this is it breaks the 4:3 aspect ratio (there may be an option i havent found yet)
Tested on a pi3, latest raspbian with retropie installed. Only diference i can see over a "default retropie" build is ive manually updated SDL2 libs to 2.0.5 ( i think retropie is on 2.0.4?)
-
-
Thanks. Have made a ticket here - https://github.com/RetroPie/RetroPie-Setup/issues/1739
Will look into it.
-
looking at video/performance options at the moment. Im trying to remember where we discussed all this stuff (likely on petrockblog or github) previously , theres a lot of relavent notes somewhere
--zoom 1 disables the internal scaler so better for performance , the menus look awful though
-- zoom 2 (default) looks a lot nicer.theres now a 3rd option to consider.
--zoom 1 on command line and enable SDL2 Linear Scaling in the video options. Gives a blurred upscale that gives more of a CRT look/feel -
This post is deleted! -
@AmigaGamer with our SDL2 it might be possible to improve this - if you can get hatari to use a native resolution / unscaled and set the env variable
SDL_VIDEO_RPI_SCALE_MODE=1
it should use dispmanx for the scaling. -
@buzz yes this fixed the aspect ratio launching through bash shell using
SDL_VIDEO_RPI_SCALE_MODE=1
export SDL_VIDEO_RPI_SCALE_MODE
then tested hatari with
hatari --zoom 1 or hatari --zoom 2
emulationstation is ignoring it though, im not sure if its not seeing the variable or something with my launch configinteresting i never knew about that SDL2 var before , will give it a try with the SDL2 dev branch of FUSE later on today https://sourceforge.net/p/fuse-emulator/code/HEAD/tree/branches/2014-12-28-sdl2/ https://sourceforge.net/p/fuse-emulator/patches/326/
-
to get it to work from ES, put it in the emulators.cfg launch line in
/opt/retropie/configs/atari/emulators.cfg
likeSDL_VIDEO_RPI_SCALE_MODE=1 $md_inst/bin/hatari --zoom 1 etc
you can change the pixel aspect ratio also: (note these options are specific to our SDL2 - our SDL1 also has similar options)
Docs:
/** * \brief Tell dispmanx to stretch the SDL window to fill the display. * * This hint only applies to the rpi video driver. * * The variable can be set to the following values: * "0" - Window resolution is desktop resolution. * This is the behaviour of SDL <= 2.0.4. (default) * "1" - Requested video resolution will be scaled to desktop resolution. * Aspect ratio of requested video resolution will be respected. * "2" - Requested video resolution will be scaled to desktop resolution. * "3" - Requested video resolution will be scaled to desktop resolution. * Aspect ratio of requested video resolution will be respected. * If possible output resolution will be integral multiple of video * resolution. */ #define SDL_HINT_VIDEO_RPI_SCALE_MODE "SDL_VIDEO_RPI_SCALE_MODE" /** * \brief Tell dispmanx to set a specific aspect ratio. * * This hint only applies to the rpi video driver. * * Must be set together with SDL_HINT_VIDEO_RPI_SCALE_MODE=1. */ #define SDL_HINT_VIDEO_RPI_RATIO "SDL_VIDEO_RPI_RATIO"
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.