Ok, I know what the sound command does and how it works, but to enable it on windows you had to add 'sound' to the property's of the shortcut or launch with the command prompt. I recently ported over to linux and i'm using wine to run TPT++. How would I enable this on linux? Do I have to download the linux version?
It plays a .wav file.
To use (windows):
Right click on start menu icon
Click 'Open Command Prompt'
Type 'cd PowderToyDirectoryHere'
Hit Enter
Type 'powder sound'
Hit Enter
Powder Toy will open
Press the '~' key
Type '!sound sound.wav'
Listen!
Sadly, the same method doesn't work on linux
EDIT: Wine is very confusing. Got powder to launch w/ terminal, no sound.
It still worked in TPT++, but it could only play one file at a time and it would loop, so I guess it's for the better. Also, I recommend just removing it since it's so hard to use and barely works whatsoever.
P.S. Could you recommend any way to play a sound file in TPT++?(I don't care what type, I'll find a way to run on linux.) Since forever, people have always asked for sound in TPT, and instead of waiting for someone to do it for me, i'm doing for them.
P.S.S. I'm also willing to use program that you can launch from TPT++, given it runs in the backround.
@boxmein (View Post) SDL succesfully plays audio, but on devices without SDL, static plays until the error message fades away. How would I go about forcing SDL install?
P.S. Is it possible to have the script download some files? I want it to automaticly download sound files, and would it require a special server? I'd rather it be from google drive.