All Projects → kosumosu → X3daudio1_7_hrtf

kosumosu / X3daudio1_7_hrtf

HRTF for Arma 3, Skyrim, and other titles that use XAudio2 + X3DAudio

Programming Languages

c
50402 projects - #5 most used programming language
cpp
1120 projects

Projects that are alternatives of or similar to X3daudio1 7 hrtf

Epicsurvivalgameseries
Third-person Survival Game for Unreal Engine 4 (Sample Project)
Stars: ✭ 2,389 (+1144.27%)
Mutual labels:  game, ue4, unreal-engine-4
Unreal Polygonal Map Gen
An Unreal Engine 4 implementation of the Polygonal Map Generator for generating islands found at http://www-cs-students.stanford.edu/~amitp/game-programming/polygon-map-generation/
Stars: ✭ 229 (+19.27%)
Mutual labels:  game, ue4, unreal-engine-4
Buoyancysystem
A system for buoyancy and boat physics in Unreal Engine 4.
Stars: ✭ 87 (-54.69%)
Mutual labels:  game, ue4, unreal-engine-4
Flopnite Ue4
A remake of the popular battle royale game, Fortnite, made in Unreal Engine 4 and integrated with Amazon GameLift
Stars: ✭ 250 (+30.21%)
Mutual labels:  game, ue4, unreal-engine-4
Psrealvehicle
Plugin for Unreal Engine 4 with simple force-driven vehicle simulation
Stars: ✭ 92 (-52.08%)
Mutual labels:  ue4, unreal-engine-4
Wac
UE4 Visualization Plugin - Windows Audio Capture (WAC) is an Unreal Engine 4 plugin that captures live audio from the windows default audio device and analyse it to frequency values.
Stars: ✭ 81 (-57.81%)
Mutual labels:  ue4, unreal-engine-4
Hmiyc
Hunt Me If You Can is an UnrealEngine4 Battle Lan Game
Stars: ✭ 114 (-40.62%)
Mutual labels:  game, ue4
Grid
An UE4 plugin for grid-based game
Stars: ✭ 122 (-36.46%)
Mutual labels:  ue4, unreal-engine-4
Pcsgolh
PCSGOLH - Pointless Counter-Strike: Global Offensive Lua Hooks. A open-source Lua API for CS:GO hacking written in modern C++
Stars: ✭ 56 (-70.83%)
Mutual labels:  hooks, dll
Sound
🔊 A Vue composable for playing sound effects
Stars: ✭ 116 (-39.58%)
Mutual labels:  hooks, sound
Facepunch.steamworks
Another fucking c# Steamworks implementation
Stars: ✭ 1,945 (+913.02%)
Mutual labels:  game, dll
Ue4linuxlauncher
Stars: ✭ 79 (-58.85%)
Mutual labels:  ue4, unreal-engine-4
Actionroguelike
Third-person Action Roguelike made in Unreal Engine C++ (for Stanford CS193U 2020)
Stars: ✭ 1,121 (+483.85%)
Mutual labels:  game, ue4
Dll hook Rs
Rust code to show how hooking in rust with a dll works.
Stars: ✭ 57 (-70.31%)
Mutual labels:  game, dll
Ue4 Gitignore
A git setup example with git-lfs for Unreal Engine 4 projects.
Stars: ✭ 150 (-21.87%)
Mutual labels:  ue4, unreal-engine-4
Gamedev4noobs
Olá, sejam bem-vindos ao repositório _gamedev4noobs_ do Estúdio Vaca Roxa. O propósito desse repositório, além de contribuir para o projeto 4noobs, é ensinar o básico do desenvolvimento de jogos para iniciantes. Apresentando boas práticas e insumos para criar games incríveis.
Stars: ✭ 122 (-36.46%)
Mutual labels:  game, unreal-engine-4
Allure
Allure of the Stars is a near-future Sci-Fi roguelike and tactical squad combat game written in Haskell; please offer feedback, e.g., after trying out the web frontend version at
Stars: ✭ 149 (-22.4%)
Mutual labels:  game, squad
Ue4 Style Guide
An attempt to make Unreal Engine 4 projects more consistent
Stars: ✭ 2,656 (+1283.33%)
Mutual labels:  ue4, unreal-engine-4
Soloud
Free, easy, portable audio engine for games
Stars: ✭ 1,048 (+445.83%)
Mutual labels:  game, sound
Ueviewer
Viewer and exporter for Unreal Engine 1-4 assets (UE Viewer).
Stars: ✭ 1,083 (+464.06%)
Mutual labels:  ue4, unreal-engine-4

X3DAudio HRTF

HRTF for Arma 3, Skyrim, Fallout 4 and potentially other titles using X3dAudio + XAudio2 (including ones running on Unreal Engine 4 and UDK).

Youtube video Youtube video

Tags

HRTF, HRIR, Binaural sound, Spatial sound, Ambisonics

Download

Visit releases page and grab the latest one. Ensure the version you download matches version of the game (x86 or x64).

Installation

For Unreal Engine 4 based games

First, you must locate the true main executable. The one in the root folder is not the one. Inside the root folder there must be another folder that usually has the same name as the game. Within it there must be a folder Binaries\Win64 or Win32. Examples:

  • Squad: SteamLibrary\steamapps\common\Squad\Squad\Binaries\Win64
  • The Vanishing of Ethan Carter Redux: SteamLibrary\steamapps\common\The Vanishing of Ethan Carter Redux\EthanCarter\Binaries\Win64

Then unpack the archive into this folder, so it's contents lie next to the true main executable. Ensure you use the correct (x64 or x86) version of the x3daudio_hrtf.

For UDK based games

Same as for UE4, but Binaries folder lies right in the root folder. Examples:

  • The Vanishing of Ethan Carter: SteamLibrary\steamapps\common\The Vanishing of Ethan Carter\Binaries\Win64

For other games

Unpack the contents of the package to the game folder where the main executable is located. Ensure it is the exe of the game itself, not a launcher. Enjoy!

Note: some anti-cheat software (e.g. BattleEye) won't let you hook anything into the game, so you will have to disable it. That means no HRTF in multiplayer.

Notes for developers

How it works

Game hooks both x3daudio1_x.dll, which is simple, and IXAudio2 COM interface, which is a less trivial thing to do. X3daudio proxy remembers 3D audio position into repository. To mark sound as 3D it sets the first coefficient of the mixing matrix to NaN. And the second one is set to sound ID, so we can later identify it. Let's hope game is not that stupid and won't pass a 1x1 matrix. Then, when game calls IXAuido2Voice::SetOutputMatrix(), we check if 1st coeff == NaN which means we have to enable our XAPO DSP effect and pass parameters to it (position, etc).

Arma 3

Works well now. No tricky things there. Has pretty complex audio mixing graph, but nothing wierd. BattleEye must be disabled in order to work.

Arma 2

Has glitches. I haven't investigated them yet. Most sounds were fine, but HMMWV's engine sound was coming from a completely different direction when I was playing. BattleEye must be disabled in order to work.

TES V Skyrim (including Special Edition)

Works perfectly now. Skyrim always creates Mastering voice as six-channel. We override it to two-channel. For Special Edition use x64 version.

Fallout 4

Works well. Uses the same codebase as Skyrim, so nothing different here. The only difference is x64 platform.

Unreal Engine 4 and UDK based games

Works well. UE does not pass distance to X3DAudio, only direction. The distance between listener and emitter is always 1. UE calculates volume by itself, so the volume is passed in the matrix.

Legal Stuff

X3DAudio HRTF

The given library is licensed under the GPLv3.

Mhook

Copyright (c) 2007-2012, Marton Anka Portions Copyright (c) 2007, Matt Conover

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].