Skip to content

A simple script for generating an .srt file out of GTA V's subtitle files

License

Notifications You must be signed in to change notification settings

bemxio/gta-subtitle-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gta-subtitle-extractor

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.

Running

Make sure you're running Python 3.7+ before doing any steps.

  1. Clone the repository into a directory of your choice.
  2. Move to the directory with the files in a terminal.
  3. Run python3 -m pip install -r requirements.txt to install required requirements.
  4. Done! To check the usage of the script, do python3 main.py -h.

Contributing

As with all my projects, contributions are highly appreciated!

About

A simple script for generating an .srt file out of GTA V's subtitle files

Topics

Resources

License

Stars

Watchers

Forks

Languages