Skip to content

Export source engine closdecaption_languge.txt files into .json for easier integration with crowdsourcing translation websites

License

Notifications You must be signed in to change notification settings

Nbc66/CCExporter

Repository files navigation

CCExporter

This is a simple python app that can convert closedcaption_<language>.txt files into .json for easy import into crowdsourcing websites like crowdin and POEditor

Features

GUI

The app has a simple built in gui which allows you to export to JSON and Back to VDF

python_sf6rYRZSI1

CLI

It also can be used in the command line by itself to allow for easy automation using GitHub Actions and GitLab's CI/CD Pipelines

WindowsTerminal_OFhKVT62mC

Export back to VDF

You can Export JSON back to VDF files

Exported VDF Files are UTF 16 LE BOM Encoded this is so that you can easily pass the exported VDF file into CaptionCompiler.exe to easily compile them into Source Engine Readable .dat files

Compile straight to .dat files

as the title says you can compile JSON files straight to .dat files when converting it will spit out a .vdf file and a .dat file which you can use straight away inside the source engine

Installing

To install this app you can simply go to the Releases Section on the Repo and download the latest CCExporter.exe

or you can just run the project using python __main__.py

Credits

Credit to p0358 for writing source-caption-compiler and open-sourcing it so that we can now compile closed caption files without needing to use CaptionCompiler.exe

About

Export source engine closdecaption_languge.txt files into .json for easier integration with crowdsourcing translation websites

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages