Resource icon

OBS Lua Organized Output Directory 1.0.1

With "Organized Output Directory" you can create order in your output directory. The script automatically creates subdirectories for each game in the output directory. To do this, it searches for Window Capture or Game Capture sources in the current scene. The top active source is then used to determine the name of the subdirectory from the window title or the process name.

❗This script only works with OBS v30.0.0 and newer versions.

screenshot.png


Known Issues / Planned Features​

  • Some kind of rule/wildcard/match system would be useful.
    Some games/apps like Minecraft are a little tricky. The window title contains the current game version like Minecraft 1.20.4 and the process name is something like javaw.exe. With a rule/wildcard/match system, we could change the name and remove the version from the window title, for example.

  • Currently only Windows is supported. I would like to get the script running on Linux and MacOS as well.

  • Maybe add an option to exclude some characters or only allow a certain character set
    Some games like Battlefield 2042 have a window title like Battlefield™ 2042. Even if it is technically possible to use characters such as ™ in the file name, it is often not recommended, as it can happen that some software, especialy older ones, may only expect ASCII characters. The same applies to whitespaces.
  • Like
Reactions: Thomask70
Author
Mr.Martin
Downloads
1,349
Views
1,457
First release
Last update
Rating
5.00 star(s) 2 ratings

Latest updates

  1. Release 1.0.1

    What's Changed Fix: Process names with trailing whitespaces are not working #10 Fix: Detect...

Latest reviews

Was working on my own (extremely outdated plugin) for past hour before finally discovering this gem. Worked right away, no issues and does exactly what I wanted by grabbing names from Window/Game capture.
Top