Log In  
Follow
monsim
[ :: Read More :: ]

I was checking a suspicion of a regression in version 0.2.0c and discovered this minor inconvenience. When a newer version cart is loaded into an older version PICO-8, it errors out with "Could not load $filename". Technically, it's correct, but the same error is shown when, say, a given cart file is missing. I find this messaging confusing: it took me a while to realise that the file is fine and it's the version mismatch that causes it.

Suggestion. Make it forward-compatible: error out with something like "cart version unsupported".

(FWIW, I was trying all this via command-line)

Bonus small bug: non-lower-cased message word "Could" is rendered in the puny font, while the rest of PICO-8 UI does not use it.

Demo.

$ cat newer.p8 
pico-8 cartridge // http://www.pico-8.com
version 42
__lua__

$ pico8 -run newer.p8
P#75152 2020-04-22 06:55

[ :: Read More :: ]

Changelog for version 0.2.0 lists, among other new operators, these three: "@ @@ $". However, I cannot find and mention or description of them in the pico-8.txt user manual, including manuals up to version 0.2.0c. Consider this a documentation "bug".

P.S. I cannot get single backticks to work here on BBS. Instead of formatting in-line code, they format the whole block (so act as if they were triple backticks).

P#75045 2020-04-20 15:34

[ :: Read More :: ]

I've found out that stop(nil) crashes PICO-8. Not that it's a particularly useful call, but it definitely must not crash the console.

Version: 0.2.0c
Platform: Linux 64bit
Example cart:

$ cat stop-nil-segv.p8
pico-8 cartridge // http://www.pico-8.com
version 21
__lua__

--this segfaults:
stop(nil)
$ pico8 -run stop-nil-segv.p8 
Segmentation fault (core dumped)
P#75042 2020-04-20 15:21 ( Edited 2020-04-20 15:22)

Follow Lexaloffle:          
Generated 2024-04-20 15:08:17 | 0.093s | Q:10