PyCaptionCompiler - Caption Compiler remade in Python #2050
TheEnderek0
started this conversation in
Resources
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Project Collapse Studios is proud to present:
PyCaptionCompiler - Caption Compiler completely remade in Python.
This was made because the original caption compiler is an ancient piece of software that often refuses to work properly, and it's limited in ways it shouldn't be.
The Python rewrite includes an executable for Windows and Linux (compiled on Ubuntu) systems. Usage instructions can be viewed with the
-hcommand. You can also just drag and drop files onto the executable to compile (no more -game needed!).This compile is also a bit more efficient on subtitles packing. The original compiler created new blocks when the next string did not fit inside the current one. Here a new block is created only when it is either full or there are no more strings left that could fit inside.
See for yourself:

Now with a library for Python!
If you're developing a program that needs to compile captions for Source Engine internally, you don't need to call an executable, you can just use the
pycaptioncompilerlibrary (theSubtitlesclass). Usage instructions are located inside README file on the repository.Beta Was this translation helpful? Give feedback.
All reactions