As of the 2024.8 version of GameMaker (including 2024.800 Betas), the audio libraries used to import, convert and play back your audio assets has been upgraded to be consistent with the same changes in the Mac and Windows IDEs.
However, versions of Ubuntu prior to 24 do not ship with this required audio library installed by default and so in order to be able to use newer GameMaker versions with the older Ubuntu 22.04, you will need to manually install the FFmpeg framework on your Ubuntu machine after downloading the source from the manufacturer's own website before trying to work with any audio assets inside GameMaker.
This guide is not relevant if you're using Ubuntu 24+ and so (if possible) we would recommend just updating your Ubuntu OS install to the version we say should be used on the Required SDKs FAQ.
To set up the newer audio tools you must perform the following steps:
- Remove the FFmpeg version currently installed with the following command:
sudo apt-get remove ffmpeg
- Go to https://www.ffmpeg.org/download.html and download FFmpeg. Any version from 6.x onwards should be supported.
- Extract the tar.xz file to your home directory (you can do this by right-clicking on the file and selecting 'Extract to' )
- Open the folder on the terminal (cd into the folder directory)
- Type './configure' to create the configuration. A list of configure options is printed by running 'configure --help'. `configure` can be launched from a directory different from the FFmpegsources to build the objects out of tree. To do this, use an absolute path when launching `configure`, e.g. `/ffmpegdir/ffmpeg/configure`.
- At this point you may get an error saying 'yasm/nasm not found or too old. Use --disable-yasm for a crippled build' . To resolve this, install yasm by typing the command:
sudo apt-get install yasm
- Then type `sudo make` to build FFmpeg (GNU Make 3.81 or later is required) - this step might take a while!
- Type `sudo make install` to install all the binaries and libraries you just built.
- To check FFmpeg has been installed correctly you can type 'ffmpeg -version' on the terminal and it should indicate the new version you have just installed.