Some subdirectories of AndroWish have a ready-to-build-then-use Debian infrastructure built in. That allows to build Debian packages easily e.g. on a Raspbian distribution running on your Raspberry Pi:
cd .../jni/SDL2 ; dpkg-buildpackage -tc -uc ; dpkg -i ../libsdl2*.deb cd .../jni/tcl ; dpkg-buildpackage -tc -uc ; dpkg -i ../sdltcl*.deb cd .../jni/sdl2tk ; dpkg-buildpackage -tc -uc ; dpkg -i ../sdl2tk*.deb /opt/sdltk86/bin/sdl2wish8.6
The resulting sdl2wish8.6, sdl2wish86.exe, or undroidwish binaries support additional command line options to control certain SDL features. Important: these options must be specified on the command line after the optional script to be executed:
Make the SDL window (the root window for Tk) into a fullscreen window.
Allow resizing of the SDL window.
Make the SDL window borderless, i.e. without window manager decorations.
Set the height of the SDL window to pixels.
Set the width of the SDL window to pixels.
Set the height of the root window (as seen by Tk) to pixels. If not set, the root window's size is equal to the SDL window size.
Set the width of the root window (as seen by Tk) to pixels. If not set, the root window's size is equal to the SDL window size.
Set the dots per inch ratio for the X dimension to dpi. If both, -sdlxdpi and -sdlydpi are not set, the default is approx. 75 dpi. If only one dimension is set (-sdlxdpi or -sdlydpi), that value is taken as overall dots per inch ratio.
Set the dots per inch ratio for the Y dimension to dpi. If both, -sdlxdpi and -sdlydpi are not set, the default is approx. 75 dpi. If only one dimension is set (-sdlxdpi or -sdlydpi), that value is taken as overall dots per inch ratio.
Force using the software renderer. This turns OpenGL usage off.
Set the minimum log level to be shown in SDL log message. level must be a positive integer.
Set the SDL root window icon to the BMP image from filename.
Don't search for and register system fonts. This can reduce startup time significantly.
Set the initial opacity of the SDL root window. value must be given as positive integer percentage.
Force use of a software cursor texture. Useful, when no proper hardware cursor support is available, e.g. in Haiku using the OpenGL render driver.
Some SDL runtime switches must be specified early by setting environment variables. All these switches are documented in the SDL_hints.h header file. The most important are:
A string selecting the video driver, use it to enable the jsmpeg video driver.
A string selecting the SDL renderer. Normally chosen automatically but sometimes it can be necessary to explicitly turn on the software renderer. Other possible values depend on how SDL was built, e.g opengl, opengles2 etc.