Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Content and Fixes #475

Draft
wants to merge 63 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
18e7c87
Update
klorpa Sep 2, 2024
1039188
Update
klorpa Sep 2, 2024
2145b50
WIP
klorpa Sep 3, 2024
79eb46d
Fixing
klorpa Sep 3, 2024
4c147a0
Updating
klorpa Sep 3, 2024
785e062
Fixing
klorpa Sep 4, 2024
a27a7cb
AddingMissingContent
klorpa Sep 4, 2024
3b473e6
Fixes
klorpa Sep 4, 2024
489c902
Renames
klorpa Sep 4, 2024
eae2151
Fix
klorpa Sep 4, 2024
7cac5d0
Sorting
klorpa Sep 5, 2024
38d172e
Sorting
klorpa Sep 7, 2024
1ca83a3
Sorting
klorpa Sep 8, 2024
a42d68b
Sorting
klorpa Sep 10, 2024
8ea6076
Sorting
klorpa Sep 12, 2024
9a6f209
TempDelete
klorpa Sep 15, 2024
a8e21b0
ReAdd
klorpa Sep 15, 2024
46eba82
Sorting
klorpa Sep 16, 2024
a2c9f13
Sorting
klorpa Sep 19, 2024
9aa83c4
Merge branch 'master' of https://github.com/hmlendea/more-cultural-names
klorpa Sep 19, 2024
41aee34
Sorting
klorpa Sep 23, 2024
1db7454
Sorting
klorpa Sep 25, 2024
079e96e
Test
klorpa Sep 27, 2024
509a037
Fix
klorpa Sep 27, 2024
ab21ca7
Fix
klorpa Sep 27, 2024
6f4fa8b
Testing
klorpa Sep 27, 2024
3f4a2c9
Revert
klorpa Sep 27, 2024
bcb171e
Sorting
klorpa Sep 28, 2024
6ade137
Fixing
klorpa Sep 29, 2024
993273b
Sorting
klorpa Oct 1, 2024
321915a
FindingNames
klorpa Oct 7, 2024
0db0a41
AddingPaths
klorpa Oct 9, 2024
d4b7be0
Merge branch 'master' of https://github.com/hmlendea/more-cultural-names
klorpa Oct 9, 2024
bc655e1
Sorting
klorpa Oct 9, 2024
713c807
Adding
klorpa Oct 12, 2024
8400f94
Merge branch 'master' of https://github.com/hmlendea/more-cultural-names
klorpa Oct 12, 2024
3efebb3
Sorting
klorpa Oct 13, 2024
303acde
Fix
klorpa Oct 13, 2024
8cc50ff
Updating
klorpa Oct 14, 2024
ffc9494
NameNormalization
klorpa Oct 15, 2024
337aa9b
CountryAdding
klorpa Oct 30, 2024
a175f5d
Adjust
klorpa Oct 30, 2024
1650e3c
CountriesAdded
klorpa Oct 30, 2024
1891cc1
Updating
klorpa Nov 4, 2024
02b46d5
Updating
klorpa Nov 9, 2024
4709522
Update
klorpa Nov 12, 2024
7dcda3f
Merge branch 'master' of https://github.com/hmlendea/more-cultural-names
klorpa Nov 17, 2024
373196b
Updates
klorpa Nov 17, 2024
827e52a
ContentAddition
klorpa Nov 24, 2024
fdbe926
Adding
klorpa Nov 25, 2024
6c7bd3d
SortingEtc
klorpa Nov 27, 2024
99c442c
Adding
klorpa Nov 29, 2024
4c8f0e5
Sorting
klorpa Dec 3, 2024
595ca3c
Update
klorpa Dec 4, 2024
0182045
Updates
klorpa Dec 9, 2024
ad790ca
Updates
klorpa Dec 9, 2024
88578fc
Updates
klorpa Dec 9, 2024
c513dc5
Sorting
klorpa Dec 11, 2024
7b2dd35
Sorting
klorpa Dec 23, 2024
66d1d68
PreMerge
klorpa Dec 26, 2024
c286729
Merge branch 'master' of https://github.com/hmlendea/more-cultural-names
klorpa Dec 26, 2024
a2787e8
Sorted
klorpa Dec 27, 2024
c64dd52
Sorting
klorpa Dec 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16,726 changes: 12,745 additions & 3,981 deletions languages.xml

Large diffs are not rendered by default.

196,970 changes: 173,081 additions & 23,889 deletions locations.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions scripts/common/name_normalisation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function nameToLocationId() {
-e 's/-*$//g' \
-e 's/-\+/-/g' \
\
-e 's/central/centre/g' \
-e 's/central/centre/middle/g' \
-e 's/\(north\|west\|south\|east\)ern/\1/g' \
\
-e 's/borealis/north/g' \
Expand All @@ -31,7 +31,7 @@ function nameToLocationId() {
-e 's/^\(north\|west\|south\|east\)_\(.*\)$/\2_\1/g' \
-e 's/^\(lower\|upper\|inferior\|superior\)_\(.*\)$/\2_\1/g' \
-e 's/^\(minor\|maior\|lesser\|greater\)_\(.*\)$/\2_\1/g' \
-e 's/^\(centre\)_\(.*\)$/\2_\1/g')
-e 's/^\(central\|centre\|middle\)_\(.*\)$/\2_\1/g')
done

echo "${LOCATION_ID}"
Expand Down
21 changes: 16 additions & 5 deletions scripts/common/paths.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,31 +29,36 @@ STEAM_WORKSHOP_EU4_DIR="${STEAM_WORKSHOP_DIR}/content/236850"
STEAM_WORKSHOP_HOI4_DIR="${STEAM_WORKSHOP_DIR}/content/394360"
STEAM_WORKSHOP_IR_DIR="${STEAM_WORKSHOP_DIR}/content/859580"
STEAM_WORKSHOP_Vic3_DIR="${STEAM_WORKSHOP_DIR}/content/529340"
CK2_LOCAL_MODS_DIR="${HOME}/.paradoxinteractive/Crusader Kings II/mod"

LOCAL_MODS_DIR="${HOME}/.paradoxinteractive"
LOCAL_MODS_CK2_DIR="${LOCAL_MODS_DIR}/Crusader Kings II/mod"
LOCAL_MODS_CK3_DIR="${LOCAL_MODS_DIR}/Crusader Kings III/mod"

AOD_DIR="${STEAM_GAMES_DIR}/Arsenal of Democracy"
AOD_LOCALISATIONS_DIR="${AOD_DIR}/config"

CK1_DIR="${STEAM_GAMES_DIR}/Crusader Kings"
CK1_LOCALISATIONS_DIR="${CK1_DIR}/config"

CK2_DIR="${STEAM_GAMES_DIR}/Crusader Kings II"
CK2_CULTURES_DIR="${CK2_DIR}/common/cultures"
CK2_LANDED_TITLES_DIR="${CK2_DIR}/common/landed_titles"
CK2_LOCALISATIONS_DIR="${CK2_DIR}/localisation"
CK2_VANILLA_LANDED_TITLES_FILE="${VANILLA_FILES_DIR}/ck2_landed_titles.txt"

CK2HIP_DIR="${CK2_LOCAL_MODS_DIR}/Historical_Immersion_Project"
CK2HIP_DIR="${LOCAL_MODS_CK2_DIR}/Historical_Immersion_Project"
CK2HIP_CULTURES_DIR="${CK2HIP_DIR}/common/cultures"
CK2HIP_LANDED_TITLES_DIR="${CK2HIP_DIR}/common/landed_titles"
CK2HIP_LOCALISATIONS_DIR="${CK2HIP_DIR}/localisation"
CK2HIP_VANILLA_LANDED_TITLES_FILE="${VANILLA_FILES_DIR}/ck2hip_landed_titles.txt"

CK2RoI_DIR="${CK2_LOCAL_MODS_DIR}/633 rise of islam"
CK2RoI_DIR="${LOCAL_MODS_CK2_DIR}/633 rise of islam"
CK2RoI_CULTURES_DIR="${CK2RoI_DIR}/common/cultures"
CK2RoI_LANDED_TITLES_DIR="${CK2RoI_DIR}/common/landed_titles"
CK2RoI_LOCALISATIONS_DIR="${CK2RoI_DIR}/localisation"
CK2RoI_VANILLA_LANDED_TITLES_FILE="${VANILLA_FILES_DIR}/ck2roi_landed_titles.txt"

CK2TWK_DIR="${CK2_LOCAL_MODS_DIR}/britannia"
CK2TWK_DIR="${LOCAL_MODS_CK2_DIR}/britannia"
CK2TWK_CULTURES_DIR="${CK2TWK_DIR}/common/cultures"
CK2TWK_LANDED_TITLES_DIR="${CK2TWK_DIR}/common/landed_titles"
CK2TWK_LOCALISATIONS_DIR="${CK2TWK_DIR}/localisation"
Expand Down Expand Up @@ -107,8 +112,10 @@ CK3IBL_VANILLA_LOCALISATION_FILE="${CK3IBL_LOCALISATIONS_DIR}/replace/ibl_titles
CK3MBP_DIR="${STEAM_WORKSHOP_CK3_DIR}/2216670956"
CK3MBP_CULTURES_DIR="${CK3MBP_DIR}/common/culture/cultures"
CK3MBP_LANDED_TITLES_DIR="${CK3MBP_DIR}/common/landed_titles"
CK3MBP_LOCALISATIONS_DIR="${CK3MBP_DIR}/localization/replace"
CK3MBP_VANILLA_LANDED_TITLES_FILE="${VANILLA_FILES_DIR}/ck3mbp_landed_titles.txt"
CK3MBP_VANILLA_LOCALISATION_FILE="${CK3MBP_DIR}/localization/replace/english/z_MB_titles_l_english.yml"
CK3MBP_VANILLA_LOCALISATION_FILE_1="${CK3MBP_LOCALISATIONS_DIR}/english/z_MB_titles_l_english.yml"
CK3MBP_VANILLA_LOCALISATION_FILE_2="${CK3MBP_LOCALISATIONS_DIR}/english/z_MB_game_rules_l_english.yml"

CK3RICE_DIR="${STEAM_WORKSHOP_CK3_DIR}/2273832430"
CK3RICE_CULTURES_DIR="${CK3RICE_DIR}/common/culture/cultures"
Expand Down Expand Up @@ -139,19 +146,23 @@ CK3TFE_VANILLA_LANDED_TITLES_FILE="${VANILLA_FILES_DIR}/ck3tfe_landed_titles.txt
CK3TFE_VANILLA_LOCALISATION_FILE="${CK3TFE_LOCALISATIONS_DIR}/replace/TFE_titles_l_english.yml"

DH_DIR="${STEAM_GAMES_DIR}/Darkest Hour A HOI Game"
DH_LOCALISATIONS_DIR="${DH_DIR}/config"

EU3_DIR="${STEAM_GAMES_DIR}/Europa Universalis III - Complete"
EU3_LOCALISATIONS_DIR="${EU3_DIR}/localisation"

EU4_DIR="${STEAM_GAMES_DIR}/Europa Universalis IV"
EU4_CULTURES_DIR="${EU4_DIR}/common/cultures"
EU4_LOCALISATIONS_DIR="${EU4_DIR}/localisation"

EUR_DIR="${STEAM_GAMES_DIR}/Europa Universalis Rome"
EUR_LOCALISATIONS_DIR="${EUR_DIR}/localisation"

FTG_DIR="${STEAM_GAMES_DIR}/For The Glory"
FTG_LOCALISATIONS_DIR="${FTG_DIR}/Localisation/English"

HOI2_DIR="${STEAM_GAMES_DIR}/Hearts of Iron 2 Complete Pack"
HOI2_LOCALISATIONS_DIR="${HOI2_DIR}/config"

HOI3_DIR="${STEAM_GAMES_DIR}/Hearts of Iron 3"
HOI3_LOCALISATIONS_DIR="${HOI3_DIR}/localisation"
Expand Down
12 changes: 6 additions & 6 deletions scripts/get-unlinked-languages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,18 +164,18 @@ echo "Crusader Kings 3:" && getCk3Cultures "CK3" "${CK3_CULTU
echo "Crusader Kings 3 AEP:" && getCk3Cultures "CK3AEP" "${CK3AEP_CULTURES_DIR}" "${CK3_CULTURES_DIR}"
echo "Crusader Kings 3 ATHA:" && getCk3Cultures "CK3ATHA" "${CK3ATHA_CULTURES_DIR}"
echo "Crusader Kings 3 CE:" && getCk3Cultures "CK3CE" "${CK3CE_CULTURES_DIR}" "${CK3_CULTURES_DIR}"
echo "Crusader Kings 3 CMH:" && getCk3Cultures "CK3CMH" "${CK3AP_CULTURES_DIR}" "${CK3IBL_CULTURES_DIR}" "${CK3RICE_CULTURES_DIR}" "${CK3_CULTURES_DIR}"
echo "Crusader Kings 3 CMH:" && getCk3Cultures "CK3CMH" "${CK3CMH_CULTURES_DIR}" "${CK3AP_CULTURES_DIR}" "${CK3IBL_CULTURES_DIR}" "${CK3RICE_CULTURES_DIR}" "${CK3_CULTURES_DIR}"
echo "Crusader Kings 3 IBL:" && getCk3Cultures "CK3IBL" "${CK3IBL_CULTURES_DIR}" "${CK3_CULTURES_DIR}"
echo "Crusader Kings 3 MBP:" && getCk3Cultures "CK3MBP" "${CK3MBP_CULTURES_DIR}" "${CK3_CULTURES_DIR}"
echo "Crusader Kings 3 SoW:" && getCk3Cultures "CK3SoW" "${CK3_CULTURES_DIR}"
echo "Crusader Kings 3 SoW:" && getCk3Cultures "CK3SoW" "${CK3SoW_CULTURES_DIR}" "${CK3_CULTURES_DIR}"
echo "Crusader Kings 3 TBA:" && getCk3v14Cultures "CK3TBA" "${CK3TBA_CULTURES_DIR}"
echo "Crusader Kings 3 TFE:" && getCk3Cultures "CK3TFE" "${CK3TFE_CULTURES_DIR}"
echo "Crusader Kings 3 TFE:" && getCk3Cultures "CK3TFE" "${CK3TFE_CULTURES_DIR}" "${CK3_CULTURES_DIR}"
echo "Hearts of Iron 4:" && getHoi4Countries "HOI4" "${HOI4_TAGS_DIR}" "${HOI4_LOCALISATIONS_DIR}"
echo "Hearts of Iron 4 MDM:" && getHoi4Countries "HOI4MDM" "${HOI4MDM_TAGS_DIR}" "${HOI4MDM_LOCALISATIONS_DIR}"
echo "Hearts of Iron 4 TGW:" && getHoi4Countries "HOI4TGW" "${HOI4TGW_TAGS_DIR}" "${HOI4TGW_LOCALISATIONS_DIR}"
echo "Imperator Rome:" && getIrCultures "IR" "${IR_CULTURES_DIR}"
echo "Imperator Rome ABW:" && getIrCultures "IR_ABW" "${IR_ABW_CULTURES_DIR}"
echo "Imperator Rome AoE:" && getIrCultures "IR_AoE" "${IR_AoE_CULTURES_DIR}"
echo "Imperator Rome INV:" && getIrCultures "IR_INV" "${IR_INV_CULTURES_DIR}"
echo "Imperator Rome AoE:" && getIrCultures "IR_AoE" "${IR_AoE_CULTURES_DIR}" "${IR_CULTURES_DIR}"
echo "Imperator Rome INV:" && getIrCultures "IR_INV" "${IR_INV_CULTURES_DIR}" "${IR_CULTURES_DIR}"
echo "Imperator Rome TBA:" && getIrCultures "IR_TBA" "${IR_TBA_CULTURES_DIR}"
echo "Imperator Rome TI:" && getIrCultures "IR_TI" "${IR_TI_CULTURES_DIR}"
echo "Imperator Rome TI:" && getIrCultures "IR_TI" "${IR_TI_CULTURES_DIR}" "${IR_CULTURES_DIR}"
53 changes: 27 additions & 26 deletions scripts/validate-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ function checkForMismatchingLocationLinks() {
checkForMissingCkLocationLinks "${GAME_ID}" "${VANILLA_FILE}" "${@}"
checkForSurplusCkLocationLinks "${GAME_ID}" "${VANILLA_FILE}"
elif [[ ${GAME_ID} == IR* ]]; then
#checkForMissingIrLocationLinks "${GAME_ID}" "${VANILLA_FILE}"
checkForMissingIrLocationLinks "${GAME_ID}" "${VANILLA_FILE}"
checkForSurplusIrLocationLinks "${GAME_ID}" "${VANILLA_FILE}"
elif [[ ${GAME_ID} == Vic3* ]]; then
checkForMissingVic3CountryLinks "${GAME_ID}"
Expand Down Expand Up @@ -566,7 +566,7 @@ function validateThatTheLanguagesAreOrdered() {
local EXPECTED_LANGUAGES_LIST=""

ACTUAL_LANGUAGES_LIST=$(xmlstarlet sel -t -m "//Id" -v "." -n "${LANGUAGES_FILE_TO_CHECK}" | \
grep -v '_\(Ancient\|Before\|Classical\|Early\|Late\|Medieval\|Middle\|Old\|Proto\)')
grep -v '_\(Ancient\|Archaic\|Before\|Classical\|Early\|Late\|Medieval\|Middle\|Old\|Proto\)')
EXPECTED_LANGUAGES_LIST=$(sort <<< ${ACTUAL_LANGUAGES_LIST})

diff --context=1 --color --suppress-common-lines <(echo "${ACTUAL_LANGUAGES_LIST}" | sed 's/%NL%/\n/g') <(echo "${EXPECTED_LANGUAGES_LIST}" | sed 's/%NL%/\n/g')
Expand Down Expand Up @@ -639,7 +639,7 @@ for LOCATIONS_XML in "${LOCATIONS_FILE}" "${UNUSED_LOCATIONS_FILE}"; do
checkForDuplicateEntries "${LOCATIONS_XML}" 'Id'
checkForDuplicateEntries "${LOCATIONS_XML}" 'GeoNamesId'
checkForDuplicateEntries "${LOCATIONS_XML}" 'PleiadesId'
checkForDuplicateEntries "${LOCATIONS_XML}" 'WikiDataId'
checkForDuplicateEntries "${LOCATIONS_XML}" 'WikidataId'
done

# Find duplicate used-unused IDs
Expand Down Expand Up @@ -695,8 +695,8 @@ grep -Pzo "\n\s*<Name .*\n\s*</GameId.*\n" *.xml # </GameId.* after <Name>
grep -Pzo "\n\s*.*</[^<]*\n\s*<Name .*\n" *.xml # <Name> after closing tags
grep -Pzo "</[a-zA-Z]*>\n\s*<Id>.*\n" *.xml # <Id> after a closing tag
grep -Pzo "<Fallback(Languages|Locations)>.*\n\s*<GameId.*\n" *.xml # <GameId.* after <FallbackLanguages> or <FallbackLocations>
grep -Pzo "</(Id|GeonamesId|PleiadesId|WikidataId)>.*\n\s*<GameId .*\n" *.xml # <GameId .* after </Id> or </GeonamesId> or </PleiadesId> or </WikidataId>
grep -Pzo "</(Id|GeonamesId|PleiadesId|WikidataId)>.*\n\s*</GameId.*\n" *.xml # </GameId.* after </Id> or </GeonamesId> or </PleiadesId> or </WikidataId>
grep -Pzo "</(Id|GeoNamesId|PleiadesId|WikidataId)>.*\n\s*<GameId .*\n" *.xml # <GameId .* after </Id> or </GeoNamesId> or </PleiadesId> or </WikidataId>
grep -Pzo "</(Id|GeoNamesId|PleiadesId|WikidataId)>.*\n\s*</GameId.*\n" *.xml # </GameId.* after </Id> or </GeoNamesId> or </PleiadesId> or </WikidataId>
grep -Pzo "\s*([^=\s]*)\s*=\s*\"[^\"]*\"\s*\1\s*=\"[^\"]*\".*\n" *.xml # Double attributes
grep -Pzo "\n.*=\s*\"\s*\".*\n" *.xml # Empty attributes
grep -n "^\s*<\([^> ]*\).*</.*" *.xml | grep -v "^[a-z0-9:.]*\s*<\([^> ]*\).*</\1>.*" # Mismatching start/end tag on same line
Expand Down Expand Up @@ -735,27 +735,27 @@ grep -Pzo "\n.* language=\"([^\"]*)\".*\n.*language=\"\1\".*\n" *.xml
checkForMismatchingLocationLinks "CK2" "${CK2_VANILLA_LANDED_TITLES_FILE}" "${CK2_LOCALISATIONS_DIR}"/*.csv
checkForMismatchingLocationLinks "CK2HIP" "${CK2HIP_VANILLA_LANDED_TITLES_FILE}" "${CK2HIP_LOCALISATIONS_DIR}"/*.csv
checkForMismatchingLocationLinks "CK2RoI" "${CK2RoI_VANILLA_LANDED_TITLES_FILE}" "${CK2RoI_LOCALISATIONS_DIR}"/*.csv
#checkForMismatchingLocationLinks "CK2TWK" "${CK2TWK_VANILLA_LANDED_TITLES_FILE}" "${CK2TWK_LOCALISATIONS_DIR}"/*.csv
checkForMismatchingLocationLinks "CK2TWK" "${CK2TWK_VANILLA_LANDED_TITLES_FILE}" "${CK2TWK_LOCALISATIONS_DIR}"/*.csv
checkForMismatchingLocationLinks "CK3" "${CK3_VANILLA_LANDED_TITLES_FILE}" "${CK3_VANILLA_LOCALISATION_FILE}"
#checkForMismatchingLocationLinks "CK3AEP" "${CK3AEP_VANILLA_LANDED_TITLES_FILE}" "${CK3AEP_LOCALISATIONS_DIR}"/aep_*_titles_l_english.yml "${CK3_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "CK3ATHA" "${CK3ATHA_VANILLA_LANDED_TITLES_FILE}" "${CK3ATHA_LOCALISATIONS_DIR}"/ATHA_titles_*_l_english.yml
checkForMismatchingLocationLinks "CK3AEP" "${CK3AEP_VANILLA_LANDED_TITLES_FILE}" "${CK3AEP_LOCALISATIONS_DIR}"/*_titles_l_english.yml "${CK3_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "CK3ATHA" "${CK3ATHA_VANILLA_LANDED_TITLES_FILE}" "${CK3ATHA_LOCALISATIONS_DIR}"/*_titles*_l_english.yml
checkForMismatchingLocationLinks "CK3CE" "${CK3CE_VANILLA_LANDED_TITLES_FILE}" "${CK3CE_LOCALISATIONS_DIR}"/*_titles_l_english.yml "${CK3_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "CK3CMH" "${CK3CMH_VANILLA_LANDED_TITLES_FILE}" "${CK3CMH_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "CK3IBL" "${CK3IBL_VANILLA_LANDED_TITLES_FILE}" "${CK3IBL_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "CK3MBP" "${CK3MBP_VANILLA_LANDED_TITLES_FILE}" "${CK3MBP_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "CK3SoW" "${CK3SoW_VANILLA_LANDED_TITLES_FILE}" "${CK3SoW_VANILLA_LOCALISATION_FILE}"
#checkForMismatchingLocationLinks "CK3TBA" "${CK3TBA_VANILLA_LANDED_TITLES_FILE}" "${CK3TBA_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "CK3CMH" "${CK3CMH_VANILLA_LANDED_TITLES_FILE}" "${CK3CMH_VANILLA_LOCALISATION_FILE}" "${CK3_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "CK3IBL" "${CK3IBL_VANILLA_LANDED_TITLES_FILE}" "${CK3IBL_VANILLA_LOCALISATION_FILE}" "${CK3_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "CK3MBP" "${CK3MBP_VANILLA_LANDED_TITLES_FILE}" "${CK3MBP_VANILLA_LOCALISATION_FILE_1}" "${CK3MBP_VANILLA_LOCALISATION_FILE_2}" "${CK3_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "CK3SoW" "${CK3SoW_VANILLA_LANDED_TITLES_FILE}" "${CK3SoW_VANILLA_LOCALISATION_FILE}" "${CK3_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "CK3TBA" "${CK3TBA_VANILLA_LANDED_TITLES_FILE}" "${CK3TBA_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "CK3TFE" "${CK3TFE_VANILLA_LANDED_TITLES_FILE}" "${CK3TFE_VANILLA_LOCALISATION_FILE}" "${CK3_VANILLA_LOCALISATION_FILE}"
checkForMismatchingLocationLinks "IR" "${IR_VANILLA_FILE}"
checkForMismatchingLocationLinks "IR_ABW" "${IR_ABW_VANILLA_FILE}"
checkForMismatchingLocationLinks "IR_AoE" "${IR_AoE_VANILLA_FILE}"
checkForMismatchingLocationLinks "IR_INV" "${IR_INV_VANILLA_FILE}"
checkForMismatchingLocationLinks "IR_AoE" "${IR_AoE_VANILLA_FILE}" "${IR_VANILLA_FILE}"
checkForMismatchingLocationLinks "IR_INV" "${IR_INV_VANILLA_FILE}" "${IR_VANILLA_FILE}"
checkForMismatchingLocationLinks "IR_TBA" "${IR_TBA_VANILLA_FILE}"
checkForMismatchingLocationLinks "IR_TI" "${IR_TI_VANILLA_FILE}"
checkForMismatchingLocationLinks "IR_TI" "${IR_TI_VANILLA_FILE}" "${IR_VANILLA_FILE}"
#checkForMismatchingLinks "Vic3"

validateHoi4Parentage "HOI4" "${HOI4_VANILLA_PARENTAGE_FILE}" "${HOI4_LOCALISATIONS_DIR}"
#validateHoi4Parentage "HOI4MDM" "${HOI4MDM_VANILLA_PARENTAGE_FILE}" "${HOI4MDM_LOCALISATIONS_DIR}"
validateHoi4Parentage "HOI4MDM" "${HOI4MDM_VANILLA_PARENTAGE_FILE}" "${HOI4MDM_LOCALISATIONS_DIR}"
validateHoi4Parentage "HOI4TGW" "${HOI4TGW_VANILLA_PARENTAGE_FILE}" "${HOI4TGW_LOCALISATIONS_DIR}"

# Validate default localisations
Expand All @@ -764,25 +764,26 @@ checkDefaultCk2Localisations "CK2HIP" "${CK2HIP_LOCALISATIONS_DIR}"/*.csv
checkDefaultCk2Localisations "CK2RoI" "${CK2RoI_LOCALISATIONS_DIR}"/*.csv
checkDefaultCk2Localisations "CK2TWK" "${CK2TWK_LOCALISATIONS_DIR}"/*.csv
checkDefaultCk3Localisations "CK3" "${CK3_VANILLA_LOCALISATION_FILE}"
checkDefaultCk3Localisations "CK3AEP" "${CK3AEP_LOCALISATIONS_DIR}"/AEP_titles_l_english.yml "${CK3_VANILLA_LOCALISATION_FILE}"
checkDefaultCk3Localisations "CK3ATHA" "${CK3ATHA_LOCALISATIONS_DIR}"/ATHA_titles_*_l_english.yml
checkDefaultCk3Localisations "CK3AEP" "${CK3AEP_LOCALISATIONS_DIR}"/*_titles_l_english.yml "${CK3_VANILLA_LOCALISATION_FILE}"
checkDefaultCk3Localisations "CK3ATHA" "${CK3ATHA_LOCALISATIONS_DIR}"/*_titles*_l_english.yml
checkDefaultCk3Localisations "CK3CE" "${CK3CE_LOCALISATIONS_DIR}"/*_titles_l_english.yml "${CK3_VANILLA_LOCALISATION_FILE}"
checkDefaultCk3Localisations "CK3CMH" "${CK3CMH_VANILLA_LOCALISATION_FILE}"
checkDefaultCk3Localisations "CK3IBL" "${CK3IBL_VANILLA_LOCALISATION_FILE}"
#checkDefaultCk3Localisations "CK3MBP" "${CK3MBP_VANILLA_LOCALISATION_FILE}"
checkDefaultCk3Localisations "CK3SoW" "${CK3SoW_VANILLA_LOCALISATION_FILE}"
checkDefaultCk3Localisations "CK3CMH" "${CK3CMH_VANILLA_LOCALISATION_FILE}" "${CK3_VANILLA_LOCALISATION_FILE}"
checkDefaultCk3Localisations "CK3IBL" "${CK3IBL_VANILLA_LOCALISATION_FILE}" "${CK3_VANILLA_LOCALISATION_FILE}"
checkDefaultCk3Localisations "CK3MBP" "${CK3MBP_VANILLA_LOCALISATION_FILE_1}" "${CK3MBP_VANILLA_LOCALISATION_FILE_2}" "${CK3_VANILLA_LOCALISATION_FILE}"
checkDefaultCk3Localisations "CK3SoW" "${CK3SoW_VANILLA_LOCALISATION_FILE}" "${CK3_VANILLA_LOCALISATION_FILE}"
checkDefaultCk3Localisations "CK3TBA" "${CK3TBA_VANILLA_LOCALISATION_FILE}"
#checkDefaultCk3Localisations "CK3TFE" "${CK3TFE_VANILLA_LOCALISATION_FILE}" # "${CK3_VANILLA_LOCALISATION_FILE}"
checkDefaultCk3Localisations "CK3TFE" "${CK3TFE_VANILLA_LOCALISATION_FILE}" "${CK3_VANILLA_LOCALISATION_FILE}"

checkDefaultHoi4Localisations "HOI4" "${HOI4_LOCALISATIONS_DIR}"
checkDefaultHoi4Localisations "HOI4MDM" "${HOI4MDM_LOCALISATIONS_DIR}"
checkDefaultHoi4Localisations "HOI4TGW" "${HOI4TGW_LOCALISATIONS_DIR}"

checkDefaultIrLocalisations "IR" "${IR_VANILLA_FILE}"
checkDefaultIrLocalisations "IR_ABW" "${IR_ABW_VANILLA_FILE}"
checkDefaultIrLocalisations "IR_AoE" "${IR_AoE_VANILLA_FILE}"
checkDefaultIrLocalisations "IR_INV" "${IR_INV_VANILLA_FILE}"
checkDefaultIrLocalisations "IR_AoE" "${IR_AoE_VANILLA_FILE}" "${IR_VANILLA_FILE}"
checkDefaultIrLocalisations "IR_INV" "${IR_INV_VANILLA_FILE}" "${IR_VANILLA_FILE}"
checkDefaultIrLocalisations "IR_TBA" "${IR_TBA_VANILLA_FILE}"
checkDefaultIrLocalisations "IR_TI" "${IR_TI_VANILLA_FILE}" "${IR_VANILLA_FILE}"

checkDefaultVic3Localisations "Vic3" "${Vic3_LOCALISATIONS_DIR}"

Expand Down
Loading
Loading