Log In  

I'm running the Linux version of Pico-8
The load command works with some carts but doesn't work with others. The only output from the pico-8 console is "could not load". If I launch splore, then I can launch all carts from splore.
I just recently reinstalled my system and the problem started after that.

P#101134 2021-11-30 22:26 ( Edited 2021-12-01 01:41)

Can you give examples of commands that you type that work and some that don’t work?

P#101137 2021-11-30 22:48

I have in the same folder a bunch of carts, including:
"Load 16Greens.p8.png" works but "Load Pakpok.p8.png" doesn't. Both carts (all of them in fact) load from splore, but some don't load from the console.

P#101139 2021-11-30 23:05

Found out what the problem was: I was using capital letters in the name of the carts. Once I renamed all carts only using small case letters, they started working again on the console.

P#101145 2021-11-30 23:52

When you mentioned the reverse, the one with mixed caps loading and the with lower caps not, @profpatonildo, I wasn't sure what the problem was. But then you said it was the opposite I knew precisely the problem.

And yes, I ran into this exact situation myself sometime back.

I would still let @zep know that it is something that could be fixed in the next version. To be able to load any-case cart.

Gold star for this bug finally getting attention.

P#101173 2021-12-01 05:45 ( Edited 2021-12-01 05:46)

yeah, I agree!

P#101195 2021-12-01 19:00

pico8 probably depends on the underlying operating system and file system here. (Being case sensitive is not a bug to me! case-insensitive filesystems like older macs had did create bugs)

A hint is that you can type 'load p' then press Tab, pico8 will show you possible completions; it will be shown as 'LOAD P', and match cart names starting with 'p'. If you press Ctrl-P to enter puny mode, you can type a capital 'P', which is shows as small caps 'P', and matches file names starting with 'P'.

P#101230 2021-12-02 03:02

Ran into another similar problem, @profpatonildo and co. If you are IMPORTING a PNG say for your sprite table, it cannot contain any spaces in it.

And no, you can't use QUOTES " either to specify the spaces either.

To load it you must rename it first.

import snoopy xmas2.png
import "snoopy xmas2.png"
import snoopy-xmas2.png
P#101235 2021-12-02 05:59

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-06-08 19:17:05 | 0.027s | Q:20