Xaudio2 serious sam ошибка

Обновлено: 07.07.2024

22 янв. 2018 в 5:11

As title suggests, XAudio 2.9 produces audio stuttering/distortion. It's not possible to record the stuttering through a video because the problem vanishes while recording.

In order to repro the distortion, make sure that the game is in fullscreen mode, make sure that you're using Stereo configuration (2.0) and then switch to XAudio 2.9. You should be able to hear a lot of distortion while playing BFE or while browsing menus.

22 янв. 2018 в 5:40

Found a problem with XAudio 2.9 implementation in the game.

Went ahead and performed some testing (like always) and found some interesting stuff:
1) Increasing sfx_fMixingTimeFactor to 1.0 (it was 0.5) with XAudio 2.9 deletes audio stuttering but increases audio delay.
2) Decreasing sfx_fMixingTimeFactor to 0.1 (it was 0.5) with XAudio 2.7 doesn't generate stuttering at all, and it also decreases audio delay a lot.

Something's clearly wrong with XAudio 2.9 implementation.

22 янв. 2018 в 6:03

First of all, select the desired API in Sound Settings.
Then, type the following in console:

sfx_fMixingTimeFactor = 0.1; sfx_bSoftwareMixer = 0; sfxRestart(); 22 янв. 2018 в 6:27 22 янв. 2018 в 7:08 22 янв. 2018 в 7:21 22 янв. 2018 в 7:39 22 янв. 2018 в 8:05 Yes. Asus Xonar Essence STX. This is weird, does the game complain about a missing DLL? Check console. 22 янв. 2018 в 8:13 22 янв. 2018 в 12:27
23:21:03 INF: Sfx API: XAudio2 2.7
23:21:03 INF: Software mixer: enabled
23:21:03 INF: Current device:  (ASUS Xonar Essence STX Audio Device) (.)
23:21:03 INF: Available devices:
23:21:03 INF: 0:  (ASUS Xonar Essence STX Audio Device) (.)
23:21:03 INF: 1: S/PDIF Pass-through Device (ASUS Xonar Essence STX Audio Device) (.)
23:21:03 INF: Mixer frequency: 44100 Hz
23:21:03 INF: Mixer voices: 0
23:21:03 INF: Max sound sources: 35
23:21:03 INF: Max total volume: 3
23:21:03 INF: Speaker config: stereo
23:21:03 INF: Environment FX: enabled
23:21:03 INF: Current environment: Padded cell
23:22:23 WRN: [XAudio2] Couldn't switch audio device to '�������� (ASUS Xonar Essence STX Audio Device)', because wave format data is not available.
22 янв. 2018 в 12:52
23:21:03 INF: Sfx API: XAudio2 2.7
23:21:03 INF: Software mixer: enabled
23:21:03 INF: Current device:  (ASUS Xonar Essence STX Audio Device) (.)
23:21:03 INF: Available devices:
23:21:03 INF: 0:  (ASUS Xonar Essence STX Audio Device) (.)
23:21:03 INF: 1: S/PDIF Pass-through Device (ASUS Xonar Essence STX Audio Device) (.)
23:21:03 INF: Mixer frequency: 44100 Hz
23:21:03 INF: Mixer voices: 0
23:21:03 INF: Max sound sources: 35
23:21:03 INF: Max total volume: 3
23:21:03 INF: Speaker config: stereo
23:21:03 INF: Environment FX: enabled
23:21:03 INF: Current environment: Padded cell
23:22:23 WRN: [XAudio2] Couldn't switch audio device to '�������� (ASUS Xonar Essence STX Audio Device)', because wave format data is not available.

Yeah, it's clearly outputting to SPDIF because it can't output to your headphones because "wave format data is not available". This error is too generic so I can't really understand what it's talking about. The best you can do is trying to change your device's audio frequency to something like 44100 Hz and disable all effects or, as a last resort, reinstall the audio devices without reinstalling the drivers (if you need help with this step, please tell me). A dev who knows game code can probably understand what's actually happening in the game when this error pops up.

Edit: Another thing I notice is that device's name is not properly showing up. Can you rename the device using english characters? For example: "Headphones". In order to do that, reach "Playback devices" in Windows 10, double click headphones and change the name.

4 окт. 2013 в 16:22

Whenever I play Serious Sam 3 recently an error pops up stating the following:

"You do not have an up to date version of the XAudio2 libraries, which are a part of DirectX, Press OK to update the DirectX, or Cancel to continue. If you continue without updating, the game will have no sound, or may have problems with stability, performance or sound quality."

If I hit Cancel the game loads, but no sound. If I hit OK, and have directx install the libraries it says I already have a newer version and does nothing.

How I solved it in the past was by doing the following:

1. Go to: C:\Program Files (x86)\Steam\SteamApps\common\Serious Sam 3\Redist\DirectX
2. Then delete: DXSETUP.exe and Feb2010_X3DAudio_x86.cab
3. Then verify integrity of game cache on Steam.

But this no longer works. Any suggestions on what I should do? This game worked in the past on my computer. I don't know if this is a problem from an update or not since the last time I played without problems was months ago.

Затем:
Поместите XAudio2_8.dll в одну из следующих папок:

Если у вас 64-битная версия Windows, то поместите файл в:
"C:\Windows\SysWOW64"

Если у вас 32-битная версия Windows, то поместите файл в:
"C:\Windows\System32"

После этого
Перезагрузите компьютер, чтобы изменения вступили в силу.

Всё равно выдаёт ошибку XAudio2_8.dll не был найден?

Тогда придётся установить этот файл вручную. Для этого:

Зайдите в меню "Пуск".
В строчке поиска введите "cmd". И запустите найденную программу от имени администратора.
В открывшемся окне введите "regsvr32 XAudio2_8.dll ".

После этого снова перезагрузите компьютер. Теперь ошибка должна быть исправлена.

Если что-то не понятно прочитайте более подробную инструкцию - как установить dll файл.


Игра не запускается. И при каждом запуске в папке bin создается файл типа SamHD.exe.1244.STEAMSTART - что подскажете делать?

При тыкании в SamHD.exe компьютер не дает ни какой реакции, и при всем этом в bin'е создается файл, описанный выше. что мне делать, чтобы запустить игру? ОС у меня ХР.



А У ТЕБЯ КАКАЯ ВИДЕО-КАРТА?

Да не в видюхе дело. На ноуте не пашет стоит ATI, на компе Nvidia тоже пашет. А на 3ем компе, он вообще древний пошла.


Парень на английском форуме вроде нашёл решение проблемы File read error or file missing: content/serioussamhd/locales/enu/fonts/standartfont.fnt
Но нужен очен точный перевод ! Помогите кто сможет.


I had the exact same problem (only game not working from all the stuff i bought over the steam holiday sale!). After searching these and the serious sam forums i still couldn't find anything relevant. I had also tried 3 reinstalls 4 verify integrity checks and numerous reboots to no avail.

I got an idea (from when i had to prevent that gamespy comrade crap (came with crysis) for installing) about all those first installation steps that occur with the first launch. I had installed this and other older games through steam that had that damned MS Visual C++ 2005 redistributable as a requirement as well. (stop clogging my system!). During the SSHD launch no errors with it but seemed to hang a bit and then vanish.

So I went into the control panel and removed all of those (2 instances for some reason). Then went to through the reinstall and verify game cache process one more time before launch (re-installing what should have been now the only copy of MSVS2005 redistrib) and BAM the game launched right up without the missing standardfont.fnt error. so far no other problems with it.

i'm running on XP SP3 for what it's worth.

Now then I just have to order a new video card so i can play it on higher-than-low settings

Читайте также: