A simple script, written in Python, for converting an '.xml' file with the subtitles' time and duration, and an '.oxt' file with the actual subtitle content, retrieved from the GTA V's files, using OpenIV.
It was tested for Princess Robot Bubblegum only, however it should work for other movies/cutscenes in the game.
Make sure you're running Python 3.7+ before doing any steps.
- Clone the repository into a directory of your choice.
- Move to the directory with the files in a terminal.
- Run
python3 -m pip install -r requirements.txt
to install required requirements. - Done! To check the usage of the script, do
python3 main.py -h
.
As with all my projects, contributions are highly appreciated!