Skip to content

Posts from Ошибка "cannot load 3D sound"

No ratings yet — be the first to rate!
User Avatar
#1
Auto-translated

Situation: I have a pack of files in ogg format. This is one of the three formats that the map editor accepts for export (mp3, wav, and ogg). When exporting sound files, the editor creates files without an extension in the bin/Sounds/ folder, with a hex uid in the name. However, the content of these files is still audio, and manually renaming them to ogg/wav/mp3 format allows you to play the track (or, to be precise, most of the files are described as wav format). An xdb file is also created with the sound parameters and a reference to the uid, which the game uses to find the track itself. Due to this file structure, I used a program I wrote to convert ogg files from my pack to the bin/Sounds/ folder, keeping the uid the same as in the original (and also without a file extension). At the same time, xdb files for the sounds were generated.
Problem: When trying to play the .(Sound) files of my sounds, the game gives an error "cannot load 3D(2D) sound" - this is specifically an error when playing the uid file from the bin folder. When I insert the uid of some original sound into my xdb, it starts working, which means something is wrong with my created files in the bin/ folder. However, when I manually rename them to an audio format, all tracks play, and when I export my original ogg files through the editor, they also work. But the ones generated by the program do not. If you know what the problem is or what the peculiarity of the uid sound files created by the editor is, please let me know! And if you create sound files manually by directly renaming audio tracks to uid files (there was such a user on the forum), please write what initial format you use and if any additional steps are required.

P.S. There are 4198 audio tracks, so manual export through the editor is out of the question frown

С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
#2
Auto-translated
Converting the original files to wav did not help.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
#3
Auto-translated
Hmm, but getting the file name from the original UID helped. So, the problem isn't with my sound file or the conversion method, but with the UID itself. It's strange; I can't see any pattern in their names. Maybe someone knows what principle is used to generate UIDs for sounds?
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
#4
Auto-translated
Unfortunately, converting the name from hexadecimal to text didn't yield any results. It's just gibberish.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
#5
Auto-translated
However, changing the last letter E in the UID to C did not affect the audio output, meaning the accuracy of the UID is not important, so there is no specific registry involved. The problem lies in something else, but it is not yet clear what.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
#6
Auto-translated
Okay, I think I messed up. In the UID numbers, the sequence is 9-4-4-4-12, but in the original, it clearly starts with 8.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
User Avatar
#7
Auto-translated
Created the problem himself, solved it himself, and even earned 10 little birds for it. biggrin
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________

Statistics

Welcome our newest member: dodoD0D0

Users Online 2 users 1395 guests