Skip to content

Python script to get the names and in-game coordinates of settlements in Rome: Total War

License

Notifications You must be signed in to change notification settings

EB-Online-Team/rtw-locate-settlements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rtw-locate-settlements

Python script to get the names and in-game coordinates of settlements in Rome: Total War.

Please note that this script is not thoroughly tested and makes certain assumptions. For example, it only looks inside data/world/maps/base for map_regions.tga and descr_regions.txt. It does not look through campaign folders.

Usage

Open a command prompt and run one of the following commands:

  • To list settlement names, coordinates, and colors:
    • python rtw-locate-settlements.py mod_path
    • mod_path is the path to the mod folder itself, not data or any other subfolders.
  • To read map_regions.tga and list coordinates and colors only:
    • python rtw-locate-settlements.py map_regions_path
    • map_regions_path is the path to map_regions.tga
    • in this mode, invalidly placed settlements will be listed in invalid_settlements.csv

The script will save results to settlements.csv.

Brought to you by the EB Online Team

About

Python script to get the names and in-game coordinates of settlements in Rome: Total War

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages