A tool for managing audio door configurations in GTA V, built with Dear ImGui.
twAudioDoorTool is a cross-platform application that allows you to manage and configure door audio settings for GTA V. It provides a modern user interface for creating, editing, and managing door sound presets.
- Windows 10/11 or macOS 10.15+
- CMake (version 3.10 or higher)
- C++17 compatible compiler (MSYS2 MinGW for Windows, clang++ for macOS)
- Visual Studio Code (recommended)
- Install MSYS2 from https://www.msys2.org/
- During installation, keep the default path (C:\msys64)
- After installation, open "MSYS2 MINGW64" terminal (not the regular MSYS2 terminal)
- Update the package database and base packages:
pacman -Syu- Close the terminal when prompted and reopen "MSYS2 MINGW64"
- Install required packages:
pacman -S mingw-w64-x86_64-gcc
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-make
pacman -S mingw-w64-x86_64-glfw- Add MSYS2 to your system's PATH:
- Open Windows System Properties (Win + Pause/Break)
- Click "Advanced system settings"
- Click "Environment Variables"
- Under "System variables", find and select "Path"
- Click "Edit"
- Click "New"
- Add
C:\msys64\mingw64\bin - Click "OK" on all windows
- Restart your terminal/Visual Studio Code
Using Homebrew:
brew install cmake
brew install glfw- Dear ImGui v1.91.9
- nlohmann/json v3.11.2
- pugixml v1.13
- ImGuiFileDialog
- Clone this repository:
git clone https://github.com/tiwabs/twAudioDoorTool.git
cd twAudioDoorTool- Open the project in Visual Studio Code:
code .- Press
Ctrl+Shift+B(Windows) orCmd+Shift+B(macOS) to build the project - Press
F5to run the application in debug mode
mkdir build
cd build
cmake -G "MSYS Makefiles" ..
make
./twAudioDoorTool.exemkdir -p build
cd build
cmake ..
make
./twAudioDoorTool-
Compiler not found error:
- Make sure you've followed all MSYS2 installation steps above
- Verify that
C:\msys64\mingw64\binis in your system's PATH - Try running the commands in a new terminal session
- Run
gcc --versionto verify the compiler is accessible
-
CMake configuration fails:
- Use "MinGW Makefiles" generator:
cmake -G "MinGW Makefiles" .. - Make sure you're using the MINGW64 version of CMake
- Clear your build directory and try again
- Check that all required packages are installed
- Use "MinGW Makefiles" generator:
-
GLFW3 not found error:
- Verify GLFW is installed:
pacman -Qs glfw - Try reinstalling:
pacman -S mingw-w64-x86_64-glfw - Make sure you're using the MINGW64 terminal
- Verify GLFW is installed:
-
Build script fails:
- Make sure you're running build.bat from a regular Command Prompt or PowerShell
- Verify all MSYS2 packages are up to date
- Check that you can run gcc, cmake, and mingw32-make from the terminal
src/: Application source codecomponents/: UI components
assets/: Application resourceslibs/: External librariesbuild/: Build output directoryCMakeLists.txt: CMake configurationbuild.bat: Windows build scriptbuild.sh: macOS build script
- Modern GUI built with Dear ImGui
- Cross-platform compatibility (Windows and macOS)
- Sound preset management for door configurations
- Settings persistence between sessions
- XML format support for configurations
- Integrated file selection dialog
The application is structured with the following main components:
- Dear ImGui-based user interface
- JSON file management for settings
- XML parsing with pugixml
- File handling with ImGuiFileDialog
This project is licensed under the MIT License - see the LICENSE file for details.
Created by tiwabs