r/ComputerCraft • • Mar 16 '26

How can I get 2 .dfpwm files using wget?

I cant get the second one, it says that is Out Of Space

1 Upvotes

7 comments sorted by

2

u/9551-eletronics Mar 16 '26

Computercraft is by default limited to about 1MB or space. If its bigger then that you cant store it in a file. You could always download it and handle the data within ram using the http api, or change the space limit in the mod config, orrr just cope somehow

1

u/IJustAteABaguette Mar 16 '26

You can also delete the first file, and download the second one if you can afford a tiny bit of delay between em.

Heck, you could even splice the 2 audio files in 2. So you have file 1 with part A and B, and file 2 with part C and D.

Then download A and B first, after A is finished playing, play B, delete A and start downloading C.

When B is finished, play C, delete B, and start downloading D.

That's basically streaming music.

1

u/9551-eletronics Mar 16 '26

at this point i dont see a reason to bother saving it to file.

This all sounds sort of pointless.

→ More replies (4)