Log In  

Using extcmd to record audio works correctly inside of PICO-8, but doesn't work in compiled versions. It shows an error saying that it's an unknown command. Am I doing something wrong, or is this a bug?


P#109029 2022-03-23 03:49 ( Edited 2022-03-23 04:18)


Sounds like (if you'll pardon the pun, @thebarfyshow) that you found something important, well done.

All commands should be available in Pico-8, compiled or not.

I would change the category of this to BUG and use the marker @zep to bring it to his attention.

P#109031 2022-03-23 03:58

I doubt this is intended to be a feature. If people are only giving out a compiled version, not the cart, they probably intend their work not to be edited or shared outside of the use or purchase of their executable. That choice of open-closed source is, it seems, an intended feature.

And @dw817, no, all commands should not be available. The compiled versions are intended to be closed executables, and should not contain any commands outside of game controls. Pico-8 commands should only be available to those who own and are using the Pico-8 program with license.

P#109098 2022-03-24 13:26

Now @UnitVector. Perhaps I'm confused. What I mean to say is anything that can be run in P8 and provided you have purchased and own Pico-8 should also run in an exported executable ?

At no point even if closed-source should commands be restricted or prohibited that you cannot use in immediate mode, except for SAVE which saves off the source-code ?

With exception to the LOAD, SAVE, and SPLORE command. In fact if you attempt to use the SAVE command you get:

can not save while running

Which makes sense. Entering SPLORE in your source-code does nothing.

Failing this what other commands do you think should not be available for export that can run in immediate or Lexaloffle mode ?

P#109104 2022-03-24 16:33 ( Edited 2022-03-24 17:19)

I'm wanting to make compiled EXE PICO-8 game that uses audio commands to record and save sounds. Other extcmds like "rec" and "video" work correctly, it's specifically the audio commands that don't work.

P#109112 2022-03-24 18:05

Hi @thebarfyshow

This isn't possible in the exported builds, but I can't see any good reason it shouldn't be, especially as it's already possible to save gifs / screenshots via extcmd. I've added it for 0.2.4c

P#109120 2022-03-24 20:30

Good deal. Thanks for the info, @zep. And of course we are all awaiting Picotron !

P#109145 2022-03-25 15:55

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2022-12-03 15:18:08 | 0.049s | Q:22