CraftOS-PC Accelerated v2.6.4
Pre-releaseMerry Christmas and Happy Holidays! CraftOS-PC v2.6.4 is a smaller release compared to previous ones, and it's hot on the heels of v2.6.3. However, it brings an amazing new feature of CC:T 1.100: PCM audio playback on speakers! This feature has been a long time coming, and it's finally possible to play any music you want in ComputerCraft - no extra mods/plugins required.
Yesterday was also the 10th anniversary of ComputerCraft. @dan200 released CC 1.0 for Minecraft 1.0.0 on December 24, 2011, and it was quite barebones compared to today's CC: Tweaked releases. Over the years, it has grown in both size and popularity, and even after Dan left in 2017, its legacy continues today through the continuation that is CC:T. It's inspired thousands of future programmers, young and old, including myself - I wouldn't be doing what I am today without it.
Unfortunately, today is also the day that @SquidDev announced that he's stepping down from active CC: Tweaked development. It's sad to see him go, but maintaining a mod used by millions for years can take a toll on you, and I respect his decision to move on. ComputerCraft will live on in CC: Restitched (the Fabric port) and CraftOS-PC, and I plan on working on my own fork/continuation of CC: Tweaked as well (once I figure out how Minecraft modding works fully). CraftOS-PC will be honoring SquidDev with a permanent MOTD until the end of the year. Thank you for everything, Squid, and good luck in your future endeavors! ♥
- Updated CC:T version to 1.100.0
- Speakers can now play arbitrary PCM audio.
- Add support for encoding and decoding DFPWM streams, with the cc.audio.dfpwm module.
- Fix the "repeat" program not repeating broadcast rednet messages.
- Added
useDFPWM
config setting to toggle use of DFPWM playback emulation - Added
speaker.setPosition(x, y, z)
to emulate positioning of speaker audio - Standards mode now controls the behavior of the new
speaker.playAudio
- When disabled, all audio is added to a queue with no latency, and
speaker.playAudio
never fails - When enabled:
speaker_audio_empty
is queued when the audio is 0.5 seconds before it's expected to finish, emulating latencyspeaker.playAudio
returnsfalse
if there is more than 0.5 seconds of audio in the bufferuseDFPWM
is forced totrue
- When disabled, all audio is added to a queue with no latency, and
- Renamed
speaker.stopSounds
tospeaker.stop
stopSounds
still exists for backwards compatibility, but is deprecated
speaker.playLocalMusic
is now deprecated in favor ofspeaker.playAudio
- It is recommended you load the audio files yourself instead of relying on the system to decode it
- CraftOS-PC Online is now working better (#222)
- CraftOS-PC Online now supports Safari on iOS 15.2+/macOS 12.2+
- There is currently a huge memory leak bug in some browsers that can cause the page to crash on low-memory systems
- Hopefully CraftOS-PC Online will be fully working in the near future
- Fixed some string comparisons not working as expected
- Fixed incorrect documentation on mobile gestures (#230)
- Fixed keyboard on iOS being dismissed when closing the app (#231)
- Fixed screen glitches when opening a new terminal after changing
useHDFont
(SkyTheCodeMaster) - Fixed some issues with textutils.serializeJSON
If you need help using CraftOS-PC, I'm available on the CraftOS-PC Discord server as @JackMacWindows#9776
. Feel free to ping me if you need anything.