FOSS-Supremacy / OpenLiberty

A GTA 3 reimplementation on the Godot Engine
MIT License
179 stars 11 forks source link

Add a way to load the WAV files of the GTA3 radios #14

Open hardBSDk opened 3 months ago

hardBSDk commented 3 months ago

Currently Godot can't natively load unimported WAV files, thus we need to use a script.

There's this project, but it and the Godot 4.x PR doesn't work.

atirut-w commented 3 months ago

Actually, you can do it manually if you know how to parse WAV files. You just have to set the correct encoding format, mix rate, stereo, etc. Just shove the audio samples into the data array.