Log In  

If I edit config.txt and set background_sleep_ms to something other than the default of 20, next time PICO-8 runs it will still appear to use 20 as the setting (evinced by the fact that it doesn't keep 60 FPS when the window is not in focus) and then it always writes 20 to config.txt on exit :O

This is v0.1.11f on Linux.

P#47908 2018-01-05 23:44 ( Edited 2018-01-14 21:00)

Confirmed with 0.1.11f on Windows. The app always ignores startup values and writes the following on exit:

foreground_sleep_ms 5 // number of milliseconds to sleep each frame. Try 10 to conserve battery power

background_sleep_ms 20 // number of milliseconds to sleep each frame when running in the background

I tested by having no instances running, edited the config file to say 1 and 10 respectively, ran with no command line options, exited immediately, and reloaded the config file. Back to 5 and 20.

Definitely a bug. Good catch.

There may be other config file values that also get set back to default, so maybe check all of them...?

P#47910 2018-01-06 05:13 ( Edited 2018-01-06 10:15)

hey good intuition, Felice! there are indeed other settings affected: gif_scale is also always resetting back to the default of "2", I just noticed today, with v0.1.11g

P#48181 2018-01-14 16:00 ( Edited 2018-01-14 21:00)

[Please log in to post a comment]