Log In  


Hello! I am setting up a Pico 8 Console in my shed, but can't get the screen scaling just right. This is running on a raspberry pi, and otherwise seems to work great.

However, Pico 8 runs either much too small, or just a fraction too big.

These are the settings I am using in config.txt.

Is anyone able to help?

// :: Video Settings

window_size 768 576 // window width, height
screen_size 768 576 // screen width, height (stretched to window) 
pixel_perfect 0

// :: Window Settings

windowed 1 // 1 to start up in windowed mode
window_position -1 -1 // x and y position of window (-1, -1 to let the window manager decide)
frameless 1 // 1 to use a window with no frame
fullscreen_method 0 // 0 maximized window (linux)  1 borderless desktop-sized window  2 fullscreen


1

Using Windows and a laptop monitor (1366*768) and pico-8's own commandline parameters, I can position it with:

-width 768
-height 768
-windowed 0
-draw_rect 299,0,768,768

Would something like this work for you:

-width 576
-height 576
-windowed 0
-draw_rect 96,0,576,576

Where 96 is (actual screen width minus pico-8 width) divided by 2.

Edit: Or to stretch it horizontally, I think the last line would be -draw_rect 0,0,768 576

Is the following a factor to consider?

https://en.wikipedia.org/wiki/Display_resolution#Overscan_and_underscan

https://en.wikipedia.org/wiki/Overscan


Thanks - will give this a shot. Can those parameters go in the config.txt or do they need to launch with commandline?


I was using them at commandline. I don't know if they will work in config.txt. Your basic positioning looks good anyway - the problem anyway might be with overscan as mentioned on the wikipedia pages?

By which I meant either dropping height and width to about 550 and putting top at y=13 might help it fit, or perhaps the monitor has some settings to allow adjustment of its display area.


Different use case, but this worked really nicely for some resizing on a tiny display connected to a raspberry pi as well, thanks!



[Please log in to post a comment]