Log In  


Cart #filename_typewirter_bc-0 | 2024-09-28 | Code ▽ | Embed ▽ | No License
1

This is the file name input code for writing a .p8l file with printh.

The following characters are excluded from input to make it safe to enter file names:

'\\/:*?"<>|!\'#$%&()+-*^=~`@{}[]<>,.;'

If these characters are included in the file name, an error will occur and I have experienced my edited data being ruined. This is to prevent this from happening.

By the way, there is no reference document for the excluded characters, and it seems that there are more characters that pico8 cannot handle in file names than the host OS.

I have not checked the excluded characters in detail and have set them based on a guess. Has anyone checked all the excluded characters?

1



[Please log in to post a comment]