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.

1


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


I have in the same folder a bunch of carts, including:
16Greens.p8.png
Pakpok.p8.png
"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.


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.


2

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.


yeah, I agree!


1

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'.


1

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
COULD NOT LOAD
import "snoopy xmas2.png"
COULD NOT LOAD
import snoopy-xmas2.png
IMPORTED 128,128 TO SPRITESHEET


[Please log in to post a comment]