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
P#78497 2020-06-25 12:21

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?



P#78503 2020-06-25 13:29 ( Edited 2020-06-25 13:54)

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

P#78531 2020-06-26 07:17

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.

P#78532 2020-06-26 08:23 ( Edited 2020-06-30 16:18)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-06-10 18:01:56 | 0.006s | Q:9