Jump to content

Recommended Posts

Posted (edited)

(Vintage Story prelease v1.22.0-pre.1 dropped in the middle of working on this, and because I am eager to play with 1.22 and because I don't want to faff about with building for both .NET 8.0 and 10.0, as of this writing I do not intend to make a v1.21-compatible version of this mod. The source is public, fill your boots if that's your cup of tea. :D)

I've gone ahead and done the legwork to support the v1.21 stable client!

https://mods.vintagestory.at/closedcaptions

This mod adds closed captions for sounds in the game, with some configurable display options, including some colors for dangerous sounds, and icons for (mostly?) creatures/animals. Similar sounds get grouped together as "unique" (like there can only be one weather caption displayed at once).

Hypothetically it should be easy to add captions from other mods -- the configuration is patchable using JSON patching. Can filter based on categories in the configuration.

2026-02-12_07-57-24.thumb.png.cbe959b9dd41147659a3feee3539a0f1.png

2026-02-08_19-45-54.thumb.png.6b726f286b5f02c23e7c1f9849b623b1.png

2026-02-08_19-46-11.thumb.png.a457ff2f93a86e55f3658d7ec3cd1e53.png

2026-02-13_09-58-12.thumb.png.7fa60bd38773be6ee9d3e95697e9599c.png

More screenshots!

Spoiler

2026-02-12_04-44-26.thumb.png.2649dc21d4aa1024836a8834f06a7445.png

2026-02-12_06-23-43.thumb.png.e2f11fe739f692984fd40a01abbea889.png

2026-02-12_17-38-55.thumb.png.56f63a000399afe05b284f6d90e46c15.png

2026-02-13_07-51-06.thumb.png.913e01816d415b803f6bfa46c14dcf03.png

It wasn't until I went to post this that I caught that someone else has been working on a closed caption mod -- so shout out to @Diff and his Captions mod too!! Accessibility is near and dear to my heart, and I love seeing that someone else is working on something like this. (Wish I had seen before now, but here we are! :D)

 

 

Edited by apocriva
Changing subject for new version
  • Like 2
  • apocriva changed the title to Closed Captions 0.1.1 (VS v1.22.0 prerelease)
  • apocriva changed the title to Closed Captions 0.1.2 (VS v1.22.0 prerelease)
Posted

How'd you manage the little color previews in the ConfigLib? And getting widgets side by side in Display Offset? Is that from just using ConfigLib directly rather than going through AutoConfigLib like I'm doing?

  • apocriva changed the title to Closed Captions 0.1.3 (VS v1.12.6 stable and v1.22.0 prerelease)
Posted
24 minutes ago, Diff said:

How'd you manage the little color previews in the ConfigLib? And getting widgets side by side in Display Offset? Is that from just using ConfigLib directly rather than going through AutoConfigLib like I'm doing?

You can feel free to browse the source on GitHub! I haven't used AutoConfigLib, so I can't speak to how it works, but I'm using ImGui to call ImGui.ColorEdit4() for the color widgets, and ImGui.InputInt2() for the vectors.

There's a weird thing with ImGui.NET where it doesn't look like the vector inputs work (InputIntX, InputFloatX) but you basically pass in a reference to the X value and the underlying native code gets at the other values using pointer math.

  • Like 1
Posted

v0.1.3 Now with VS v1.21.6 stable support!

Have done the legwork to support both stable and prerelease clients. Yeehaw!

(Also fixed a nasty threading bug!)

I had a problem.
I decided to solve it with threads.
Now twIo haprobve lems.

 

  • apocriva changed the title to Closed Captions 0.1.4 (VS v1.12.6 stable and v1.22.0 prerelease)
  • apocriva changed the title to Closed Captions 0.1.5 (VS v1.12.6 stable and v1.22.0 prerelease)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.