You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds an option to specify a manual installation for Invictus, while improving the Steam Default option by checking the D:, E:, and F: drives. Both options now will automatically log an error if the hybrid option is selected and Invictus cannot be found.
Copy file name to clipboardexpand all lines: BaToImperator/DataFiles/Fronter/options_l_english.yml
+6-4
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,15 @@ l_english:
7
7
HYBRIDOPTIONTIP: "Instead of creating a standalone mod based on vanilla, would you prefer to have the converter create a sub-mod for Imperator:Invictus"
8
8
HYBRIDNO: "No"
9
9
HYBRIDNOTIP: "The output will be a standalone mod based on vanilla."
10
-
HYBRIDYES: "Yes (Requires Invictus)"
11
-
HYBRIDYESTIP: "The output will be a sub-mod for Imperator:Invictus."
10
+
HYBRIDINV: "Yes (Requires Invictus)"
11
+
HYBRIDINVTIP: "The output will be a sub-mod for Imperator:Invictus."
12
12
13
-
INVICTUSDIROPTION: "Invictus Directory"
14
-
INVICTUSDIROPTIONTIP: "If hybridizing with Invictus, what directory is that mod located in?"
13
+
INVICTUSDIR: "Invictus Directory"
14
+
INVICTUSDIRTIP: "If hybridizing with Invictus, what directory is that mod located in?"
15
15
INVICTUSDIRDEFAULT: "Steam Default"
16
16
INVICTUSDIRDEFAULTTIP: "The converter will look for Invictus in your Steam Workshop folder."
17
+
INVICTUSDIRCUSTOM: "Custom Installation"
18
+
INVICTUSDIRCUSTOMTIP: "The converter will use the directory specified in BaToImperator\configurables\modDirectories.txt. Useful for manual and non-Steam installations."
17
19
18
20
ANTAGONISTOPTION: "Convert Antagonists"
19
21
ANTAGONISTOPTIONTIP: "Certain AI countries have a hidden modifier which makes them much stronger and highly aggressive. Should those countries which had it in BA also have it carried over to I:R?"
LOGGER.info("Checking for Invictus on the "+invictusDirLetter+": drive...");
225
+
FileinvictusTest = newFile(invictusDir);
226
+
if (invictusTest.isDirectory()) {
227
+
LOGGER.info("Invictus found on the "+invictusDirLetter+": drive!");
228
+
dirCount = dirCountMax + 1;
229
+
}
230
+
dirCount = dirCount + 1;
231
+
if (dirCount == dirCountMax) {
232
+
LOGGER.severe("Unable to detect Invictus! If you have a custom or non-Steam installation, select the 'Custom Installation' Invictus Directory option before converting.");
233
+
}
234
+
}
235
+
236
+
} elseif (configDirectories[8].equals("custom")){ //default directory for Invictus
0 commit comments