Ошибка в обс could not find locale ini path

  • #1

So I was going to test out the newest release of OBS Multiplatform. It seems to have imported my overlay from the previous version but now every time I click settings in the 32 bit version I get the message in the thread title and it crashes. Do I need to totally uninstall and reinstall, and if so where can I grab the file that has my layout(s) in it so I don’t have o start from scratch?

https://gist.github.com/93982cdccb0d459db08b

dodgepong


  • #2

OBS Multiplatform does not import anything from OBS1, so if something was already there when you started it, it was left over from an older time where you used OBS MP. I do recommend uninstalling and reinstalling, making sure to delete the %appdata%/obs-studio folder and the folder you uninstalled from.

  • #3

OBS Multiplatform does not import anything from OBS1, so if something was already there when you started it, it was left over from an older time where you used OBS MP. I do recommend uninstalling and reinstalling, making sure to delete the %appdata%/obs-studio folder and the folder you uninstalled from.

Is there any way to grab my overlays from my previous OBS MP?

dodgepong


  • #4

There is no import tool or anything yet, so no.

  • #5

Finally got to test out again. I uninstalled and did a new install. It seems I can access settings before I add my elgato as a source. After that I get the «could not find locale.ini path» error.

https://gist.github.com/d8e4facaba44bbb3b30d

  • #7

You’re using 0.10.0 I see, change that to 0.10.1 if possible. There was a breaking bug in 0.10.0.

  • #9

I feel like it’s not installed correctly. Use the OBS multiplatform installer on the front page.

  • #12

Have you tried using the binaries?

This does not normally happen. The function causing that error is over a year old and I’ve never had someone report this happen before. I feel like this cannot at all be an issue with OBS itself, I have not heard it from another individual and cannot replicate it at all. Do you have security software? Something is breaking our file data. Did you try the binary install of OBS?

The function causing that error only fails if the locale.ini file is not found or if the string buffer has insufficient space. Essentially, either your path to OBS is way too impossibly nested (not possible if you installed it), or if the file is getting deleted or something somewhere.

I don’t know what’s going on. I can’t even really theorize any other possibilities. Does the locale.ini file exist in the data/obs-studio directory after this happens? This just shouldn’t be really possible.

  • #14

If I remove the video source and reopen the program I can access Settings again. but that doesn’t particularly help me. :(

Edit: I also tried to put the folder in the root of the c drive to prevent the file path from becoming too long and that still didn’t work.

  • #15

I should also note that this only seems to effect the 32 bit version. The 64 bit version still seems to be able to access Settings, but, of course, my elgato won’t work with the 64 bit program. I really need to get this to work, but I’m pretty much totally out of ideas. I just tried changing my folder’s permissions but that did not do the trick.

  • #16

Tried the 0.11.3 vesion. Both the Installer version and the Portable version and had the same problem. How do I post the Crash Logs?

  • #18

So I was never able to find a solution to this issue. Fortunately elgato has released 64bit drivers for their capture devices. This is allowing my to use the 64bit version of OBS MP.

So while its not a solution, it seems to be a work around that allows me to finally experiment with OBS MP.

  • #19

This happens to me and sadly I can’t change to 64bit because Avermedia hasn’t and likely will never release 64bit drivers for C875.

  • #20

I was getting this error aswell. I was also getting the «MSVCR120.dll Is Missing From Your Computer » error.

I looked up a solution for the MSVCR120.dll error and that was to download and install the Visual C++ redis files and install them manually vs updaters.

https://www.microsoft.com/en-us/download/details.aspx?id=40784

upon manually installing the Visual C++ redis packages both errors went away, so it’s worth a try.

@biosmatrix123

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

27.2.4

OBS Studio Version (Other)

No response

OBS Studio Log URL

removed

OBS Studio Crash Log URL

removed

Expected Behavior

Not to crash! And show OBS Settings

Current Behavior

OBS Crashes after pressing ‘OK’ to the Error dialog

Steps to Reproduce

  1. Obtain the StereoTool VST Plugin (Demo version is fine) and place in appropriate directory.
  2. Add a media source to use the VST plugin with
  3. Add VST 2.x Plug-in and then select the StereoTool VST Plugin to the Audio/Video Filters of the added media source
  4. Open the Plug-in Interface
  5. Within the StereoTool interface, under ‘Configuration’ options, click the ‘Preset’ button, under Generic Presets load the top one (Mathijs Vos & Hans …..»
  6. Click Save — save all settings
  7. Click Load, load all settings and select the file you just saved in step 6.
  8. Close StereoTool interface
  9. Open OBS Settings — it will show the ‘Could not find locale.ini path’ error and upon pressing OK, crash.

Anything else we should know?

This only seems to happen once — until you change StereoTool settings or load a(nother) preset.

@WizardCM

This comment was marked as outdated.

@biosmatrix123

Please try without the following third party plugins, which may be conflicting and/or outdated:

11:47:04.987:   Loaded Modules:
11:47:04.987:     spectralizer.dll
11:47:04.987:     obs-websocket.dll
11:47:04.987:     obs-gstreamer.dll
11:47:04.987:     advanced-scene-switcher.dll

Nope — no different. I’m pretty sure they have absolutely nothing to do with this issue.

@WizardCM

This comment was marked as outdated.

@biosmatrix123

I cannot reproduce this on a clean 27.2.4 OBS version running on Windows 10.

That’s surprising! I can reproduce it each time, on 2 different systems…. I’m happy to blow my installation away totally and just try StereoTool alone with no other plugins being installed.

Can you confirm you’re saving a preset within StereoTool then loading it — then going to Settings ?

@WizardCM

Yep, clicked Save, then clicked Load. You can test without the third party plugins without blowing away your installation, just download the portable ZIP of OBS available on the website.

@biosmatrix123

Yep, clicked Save, then clicked Load. You can test without the third party plugins without blowing away your installation, just download the portable ZIP of OBS available on the website.

Ok — So I did this and the issue occurred still…..Can you try this?….

  1. Remove the filter / VST plugin from the source.
  2. Add it back in
  3. Open StereoTool interface
  4. Goto ‘Configuration’ section and then click the ‘Preset’ button, under Generic Presets load the top one (Mathijs Vos & Hans …..»
  5. Click Save — save all settings
  6. Click Load, load all settings and select the file you just saved in step 5.
  7. Close StereoTool etc, goto ‘Settings’
  8. Issue should now be reproduced (I hope!)

@WizardCM

Aha, confirmed. I’m not 100% sure if the code is on the obs-vst side or on the OBS Studio side, but I’ll mark it as confirmed and will revisit later. Please update the original issue description with the confirmed reproduction steps.

@biosmatrix123

Great — got there in the end! Have updated the issue description.

@notr1ch

This sounds like a DLL (probably StereoTool) is changing the current directory of the process which is bad behavior, the process is responsible for its own directory. Per MSDN:

The current directory is shared by all threads of the process: If one thread changes the current directory, it affects all threads in the process. Multithreaded applications and shared library code should avoid calling the SetCurrentDirectory function due to the risk of affecting relative path calculations being performed by other threads. Conversely, multithreaded applications and shared library code should avoid using relative paths so that they are unaffected by changes to the current directory performed by other threads.

I have for some time wanted to avoid OBS depending on the current directory, perhaps this is the motivation to do so :).

@biosmatrix123

This sounds like a DLL (probably StereoTool) is changing the current directory of the process which is bad behavior, the process is responsible for its own directory. Per MSDN:

The current directory is shared by all threads of the process: If one thread changes the current directory, it affects all threads in the process. Multithreaded applications and shared library code should avoid calling the SetCurrentDirectory function due to the risk of affecting relative path calculations being performed by other threads. Conversely, multithreaded applications and shared library code should avoid using relative paths so that they are unaffected by changes to the current directory performed by other threads.

I have for some time wanted to avoid OBS depending on the current directory, perhaps this is the motivation to do so :).

Yep you are spot on! I used Process Explorer to check the ‘Current Directory’ of OBS and after loading a preset, this gets changed to the directory of where the preset file is loaded from.

At least I have a workaround now (I can put the preset file we load into the OBS bin directory and load from there).

@hansvanzutphen

@biosmatrix123

Hey Hans,

I believe if you do implement that, it should resolve the issue here — thanks for your input! :)

@hansvanzutphen

Done. I’ve verified it in ProcessExplorer as well, and indeed, while the window is open the directory changes, when I close it it goes back to the original directory. For who needs it: This fix will be available in the next beta build, I expect that to be available tomorrow on our forum.

@notr1ch

@ElSaico

…well would you look at that.

Turns out THIS is what’s behind the crashes with my Cabbage VST plugin; I was finding it weird that:

  • OBS only crashes on reopening
  • the actual thread which crashes is the obs-browser one, despite the VST being the culprit (rename/move it and things start working again)
  • the logs show an «invalid file» message about an unrelated file that’s still there

I’ll ask around in the Cabbage forums for a way to solve this, then.

Meanwhile — and it’s a moonshot about an entirely unrelated plugin: did it work before 27.2?
Both major virtual background plugins remain broken on Windows for non-CUDA GPUs ever since (kounoike/obs-virtualbg#58, royshil/obs-backgroundremoval#87), and the underlying cause seems to be that they attempt to load DirectML from the wrong place…

@hansvanzutphen

@biosmatrix123

@hansvanzutphen

Oh! You’re right. I just searched and apparently there were 2 places in the code that could open a file dialog, and I missed the one that’s used here. I just verified it again and before fixing the 2nd one it remained at the wrong value, with the fix in the other place it works as it should.

I think when I tested it before I may have closed the window using Escape instead of actually loading a preset, since that also restores the old working directory. BETA017 will be available in a few hours, new release will come after that if no new bugs are reported anymore.

@PatTheMav

@notr1ch want to keep this open as a reminder to remove any reliance on the current working dir?

@notr1ch

Yeah let’s keep this open until we fix the dependency on the CWD.

Последнее обновление: 07/16/2022
[Время на прочтение: ~3-5 мин.]

Разработка OBS Studio 24.0.3 компанией Open Broadcaster Software послужила толчком для создания последней версии файла locale.ini. Он также известен как файл Windows Initialization (расширение INI), который классифицируется как файл Параметры (Windows Initialization).

Первая версия locale.ini была выпущена для операционной системы Windows 10 10/12/2019 в составе OBS Studio 24.0.3.

Это не только самый последний выпуск от компании Open Broadcaster Software, но и, насколько известно, единственная существующая версия.

В этой статье обсуждаются подробные сведения о файлах, порядок устранения неполадок с файлом INI при проблемах с locale.ini, а также полный набор бесплатных загрузок для каждой версии файла, которая была зарегистрирована нашей командой.

Что такое сообщения об ошибках locale.ini?

Общие ошибки выполнения locale.ini

Ошибки файла locale.ini часто возникают на этапе запуска OBS Studio, но также могут возникать во время работы программы.
Эти типы ошибок INI также известны как «ошибки выполнения», поскольку они возникают во время выполнения OBS Studio. К числу наиболее распространенных ошибок выполнения locale.ini относятся:

  • Не удается найти locale.ini.
  • locale.ini — ошибка.
  • Не удалось загрузить locale.ini.
  • Ошибка при загрузке locale.ini.
  • Не удалось зарегистрировать locale.ini / Не удается зарегистрировать locale.ini.
  • Ошибка выполнения — locale.ini.
  • Файл locale.ini отсутствует или поврежден.

Библиотека времени выполнения Microsoft Visual C++

Ошибка выполнения!

Программа: C:Program Filesobs-studiodataobs-studiolocale.ini

Среда выполнения получила запрос от этого приложения, чтобы прекратить его необычным способом.
Для получения дополнительной информации обратитесь в службу поддержки приложения.

В большинстве случаев причинами ошибок в INI являются отсутствующие или поврежденные файлы. Файл locale.ini может отсутствовать из-за случайного удаления, быть удаленным другой программой как общий файл (общий с OBS Studio) или быть удаленным в результате заражения вредоносным программным обеспечением. Кроме того, повреждение файла locale.ini может быть вызвано отключением питания при загрузке OBS Studio, сбоем системы при загрузке или сохранении locale.ini, наличием плохих секторов на запоминающем устройстве (обычно это основной жесткий диск) или заражением вредоносным программным обеспечением. Таким образом, крайне важно, чтобы антивирус постоянно поддерживался в актуальном состоянии и регулярно проводил сканирование системы.

Как исправить ошибки locale.ini — 3-шаговое руководство (время выполнения: ~5-15 мин.)

Если вы столкнулись с одним из вышеуказанных сообщений об ошибке, выполните следующие действия по устранению неполадок, чтобы решить проблему locale.ini. Эти шаги по устранению неполадок перечислены в рекомендуемом порядке выполнения.

Шаг 1. Восстановите компьютер до последней точки восстановления, «моментального снимка» или образа резервной копии, которые предшествуют появлению ошибки.

Чтобы начать восстановление системы (Windows XP, Vista, 7, 8 и 10):

  1. Нажмите кнопку «Пуск» в Windows
  2. В поле поиска введите «Восстановление системы» и нажмите ENTER.
  3. В результатах поиска найдите и нажмите «Восстановление системы»
  4. Введите пароль администратора (при необходимости).
  5. Следуйте инструкциям мастера восстановления системы, чтобы выбрать соответствующую точку восстановления.
  6. Восстановите компьютер к этому образу резервной копии.

Если на этапе 1 не удается устранить ошибку locale.ini, перейдите к шагу 2 ниже.

Шаг 2. Если вы недавно установили приложение OBS Studio (или схожее программное обеспечение), удалите его, затем попробуйте переустановить OBS Studio.

Чтобы удалить программное обеспечение OBS Studio, выполните следующие инструкции (Windows XP, Vista, 7, 8 и 10):

  1. Нажмите кнопку «Пуск» в Windows
  2. В поле поиска введите «Удалить» и нажмите ENTER.
  3. В результатах поиска найдите и нажмите «Установка и удаление программ»
  4. Найдите запись для OBS Studio 24.0.3 и нажмите «Удалить»
  5. Следуйте указаниям по удалению.

После полного удаления приложения следует перезагрузить ПК и заново установить OBS Studio.

Если на этапе 2 также не удается устранить ошибку locale.ini, перейдите к шагу 3 ниже.

OBS Studio 24.0.3

Open Broadcaster Software

Шаг 3. Выполните обновление Windows.

Когда первые два шага не устранили проблему, целесообразно запустить Центр обновления Windows. Во многих случаях возникновение сообщений об ошибках locale.ini может быть вызвано устаревшей операционной системой Windows. Чтобы запустить Центр обновления Windows, выполните следующие простые шаги:

  1. Нажмите кнопку «Пуск» в Windows
  2. В поле поиска введите «Обновить» и нажмите ENTER.
  3. В диалоговом окне Центра обновления Windows нажмите «Проверить наличие обновлений» (или аналогичную кнопку в зависимости от версии Windows)
  4. Если обновления доступны для загрузки, нажмите «Установить обновления».
  5. После завершения обновления следует перезагрузить ПК.

Если Центр обновления Windows не смог устранить сообщение об ошибке locale.ini, перейдите к следующему шагу. Обратите внимание, что этот последний шаг рекомендуется только для продвинутых пользователей ПК.

Если эти шаги не принесут результата: скачайте и замените файл locale.ini (внимание: для опытных пользователей)

Если ни один из предыдущих трех шагов по устранению неполадок не разрешил проблему, можно попробовать более агрессивный подход (примечание: не рекомендуется пользователям ПК начального уровня), загрузив и заменив соответствующую версию файла locale.ini. Мы храним полную базу данных файлов locale.ini со 100%-ной гарантией отсутствия вредоносного программного обеспечения для любой применимой версии OBS Studio . Чтобы загрузить и правильно заменить файл, выполните следующие действия:

  1. Найдите версию операционной системы Windows в нижеприведенном списке «Загрузить файлы locale.ini».
  2. Нажмите соответствующую кнопку «Скачать», чтобы скачать версию файла Windows.
  3. Скопируйте этот файл в соответствующее расположение папки OBS Studio:

    Windows 10: C:Program Filesobs-studiodataobs-studio

  4. Перезагрузите компьютер.

Если этот последний шаг оказался безрезультативным и ошибка по-прежнему не устранена, единственно возможным вариантом остается выполнение чистой установки Windows 10.

СОВЕТ ОТ СПЕЦИАЛИСТА: Мы должны подчеркнуть, что переустановка Windows является достаточно длительной и сложной задачей для решения проблем, связанных с locale.ini. Во избежание потери данных следует убедиться, что перед началом процесса вы создали резервные копии всех важных документов, изображений, установщиков программного обеспечения и других персональных данных. Если вы в настоящее время не создаете резервных копий своих данных, вам необходимо сделать это немедленно.

Скачать файлы locale.ini (проверено на наличие вредоносного ПО — отсутствие 100 %)

ВНИМАНИЕ! Мы настоятельно не рекомендуем загружать и копировать locale.ini в соответствующий системный каталог Windows. Open Broadcaster Software, как правило, не выпускает файлы OBS Studio INI для загрузки, поскольку они входят в состав установщика программного обеспечения. Задача установщика заключается в том, чтобы обеспечить выполнение всех надлежащих проверок перед установкой и размещением locale.ini и всех других файлов INI для OBS Studio. Неправильно установленный файл INI может нарушить стабильность работы системы и привести к тому, что программа или операционная система полностью перестанут работать. Действовать с осторожностью.

Файлы, относящиеся к locale.ini

Файлы INI, относящиеся к locale.ini

Имя файла Описание Программа (версия) Размер файла (байты) Расположение файла
he-IL.ini Windows Initialization OBS Studio 24.0.3 1345 C:Program Filesobs-studiodataobs-pluginswi…
ja-JP.ini Windows Initialization OBS Studio 24.0.3 3601 C:Program Filesobs-studiodataobs-pluginsob…
de-DE.ini Windows Initialization OBS Studio 24.0.3 53234 C:Program Filesobs-studiodataobs-studioloc…
zh-TW.ini Windows Initialization OBS Studio 24.0.3 345 C:Program Filesobs-studiodataobs-pluginsob…
vi-VN.ini Windows Initialization OBS Studio 24.0.3 1397 C:Program Filesobs-studiodataobs-pluginsob…

Вы скачиваете пробное программное обеспечение. Для разблокировки всех функций программного обеспечения требуется покупка годичной подписки, стоимость которой оставляет 39,95 долл. США. Подписка автоматически возобновляется в конце срока (Подробнее). Нажимая кнопку «Начать загрузку» и устанавливая «Программное обеспечение», я подтверждаю, что я прочитал (-а) и принимаю Лицензионное соглашение и Политику конфиденциальности компании Solvusoft.


Go to obs


r/obs


r/obs

Free, open source live streaming and recording software for Windows, macOS and Linux




Members





Online



by

Interesting-Pitch316



Error on startup «Failed to find locale/en-US.ini

Not sure how to fix this issue. Have reinstalled OBS multiple times. Sorry if this has already been posted before.

Ask
questions
After adding StereoTool VST plugin to filters on a source, going into OBS Settings presents ‘Could not find locale.ini path’ then crashes

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

27.2.4

OBS Studio Version (Other)

No response

OBS Studio Log URL

removed

OBS Studio Crash Log URL

removed

Expected Behavior

Not to crash! And show OBS Settings

Current Behavior

OBS Crashes after pressing ‘OK’ to the Error dialog

Steps to Reproduce

  1. Obtain the StereoTool VST Plugin (Demo version is fine) and place in appropriate directory.
  2. Add a media source to use the VST plugin with
  3. Add VST 2.x Plug-in and then select the StereoTool VST Plugin to the Audio/Video Filters of the added media source
  4. Open the Plug-in Interface
  5. Within the StereoTool interface, under ‘Configuration’ options, click the ‘Preset’ button, under Generic Presets load the top one (Mathijs Vos & Hans …..»
  6. Click Save — save all settings
  7. Click Load, load all settings and select the file you just saved in step 6.
  8. Close StereoTool interface
  9. Open OBS Settings — it will show the ‘Could not find locale.ini path’ error and upon pressing OK, crash.

Anything else we should know?

This only seems to happen once — until you change StereoTool settings or load a(nother) preset.

obsproject/obs-studio

Answer
questions

notr1ch

Yeah let’s keep this open until we fix the dependency on the CWD.

useful!

Понравилась статья? Поделить с друзьями:
  • Ошибка в обращении к адресату
  • Ошибка в обращение к путину
  • Ошибка в образований формы слова жегший
  • Ошибка в образовании формы числительного свыше
  • Ошибка в образовании формы числительного допущена в конструкции чего