Destroyed HLE AAC Decoder (markdown)

Steveice10 2023-11-04 14:57:11 -07:00
parent bee3d06036
commit 809d0b51df

@ -1,23 +0,0 @@
During our reverse engineering efforts, it was found that Pokémon X/Y use `AAC` files for the music.
So, to achieve feature parity between LLE & HLE audio, our developer B3N30 implemented an HLE AAC decoder.
This makes Pokémon X/Y work at full speed, with audio, without using the slow LLE method.
This feature depends on `AAC` codecs which, unfortunately, due to patent issues, we cannot include in the builds.
You can get these files by following the instructions below.
**Please note that this method might not improve audio or performance for all games that started working on LLE.**
### Instructions
* If you are using **Windows** or **macOS**, you don't need anything else. It will work directly. Download the latest Citra build [here](https://citra-emu.org/download/).
- **Note:** If you are using **Windows N**, then you will have to install the [MediaFeaturePack](https://www.microsoft.com/en-us/software-download/mediafeaturepack) for HLE AAC decoding to work. This is because the DLLs used by Citra aren't available on Windows N, by default.
* If you are using **Linux**, you need to have a compatible version of libfdk-aac or FFmpeg installed.
- Both are included with the Flatpak runtime, so if you are using the Flatpak you don't need to install anything.
- libfdk-aac 2.0+ should work with Citra, if available through your distribution's repositories. This is usually the easiest to install a compatible version of.
- Ubuntu: `sudo apt install libfdk-aac2`
- Arch: `sudo pacman -S libfdk-aac`
- Fedora: `sudo dnf install fdk-aac` (or `fdk-aac-free`)
- If you want to use FFmpeg instead, we build against FFmpeg 6.0 headers by default.
- If you use the AppImage you will need to have a compatible version on your system, which may or may not be available depending on your distribution.
- Otherwise, you can manually build Citra from source and enable using your system's FFmpeg headers, to use whatever version you want.