Question / Help Struggles running OBS in .bat file

SkryMotion

New Member
I have a batch file to run my files I run everyday, which consists of

@Echo Off
start "" C:\Users\Tom\AppData\Local\FiveM/Fivem.exe
start "" H:\Steam\steam.exe
start "" "H:\Program Files\Snaz\Snaz.exe"
start "" H:\obs-studio\bin\64bit\obs64.exe


All of the other 3 programs run fine, but I have never been able to get OBS to work. When i try to run the .bat file, the error code "Filed to find locale/en-US.ini" and "Failed to load locale" show up.
I have tried a few variations of the run command for OBS but this is the one that I most recently tried before coming here.
I am not familiar with any of this, so please if anyone can help try to keep any terminology user friendly :D
Just to confirm, the other 3 applications I have been using on a daily basis and continue to work, but I just have not found a way to successfully add Obs to the .bat file.

My install location for obs64.exe is as follows
H:\obs-studio\bin\64bit\obs64.exe
 

Attachments

  • Screenshot_27.png
    Screenshot_27.png
    91.4 KB · Views: 70

vapeahoy

Member
no, the folder parent to that.

edit: if you want to run it portable, which everyone should anyway. or just edit the batch to BE in the H:\obs-studio\ folder by calling it in the batch file.

So do I just add a blank notepad file named portable_mode.txt into the same folder that my obs64.exe is in?
 

koala

Active Member
You need to start OBS with its exe directory as current directory. This is a suitable start command:

c:> start "it's obs" /d "C:\Program Files\obs-studio\bin\64bit" obs64.exe
 
Top