From 8fbb34b5756f5f28de068f7b2e7ad60891a1f910 Mon Sep 17 00:00:00 2001 From: Idhrendur Date: Fri, 18 Dec 2015 09:22:54 -0800 Subject: [PATCH] We own the configuration for the frontend. Copy it appropriately when doing the overall build. --- .../Vic2toHoI3DefaultConfiguration.xml | 217 ++++++++++++++++++ build_Vic2ToHoI3_release.bat | 1 + 2 files changed, 218 insertions(+) create mode 100644 Vic2ToHoI3/Data_Files/Vic2toHoI3DefaultConfiguration.xml diff --git a/Vic2ToHoI3/Data_Files/Vic2toHoI3DefaultConfiguration.xml b/Vic2ToHoI3/Data_Files/Vic2toHoI3DefaultConfiguration.xml new file mode 100644 index 000000000..1f157a803 --- /dev/null +++ b/Vic2ToHoI3/Data_Files/Vic2toHoI3DefaultConfiguration.xml @@ -0,0 +1,217 @@ + + + + + + + + Configuration + + + Vic2Mods + Vic2 Mods + Vic2 mods to use for conversion (mods require manual conversion) + true + { } + + + resetProvinces + Reset Provinces? + Whether or not to reset resettable HoI3 provinces + + + yes + Yes + Reset provinces + false + + + no + No + Don't reset provinces + true + + + + + faction_leader + Faction Leader + how the converter determines who the faction leaders are + + + auto + Auto + Automatic conversion + true + + + manual + Manual conversion + Will need to set the other faction options (requires manual conversion of save) + false + + + + + axis_faction + Axis faction + The axis faction when manually converting factions + true + { } + + + allies_faction + Allies faction + The allies faction when manually converting factions + true + { } + + + comintern_faction + Comintern faction + The comintern faction when manually converting factions + true + { } + + + min_infrastructure + Minimum Infrastructure + every land province will have at least this much infrastructure. Default: 3.0 (minimum required to move armies) + true + 3 + 0.1 + 10 + + + ic_conversion + IC Conversion + Set to "no" if you want to use the original HoI3 IC values + + + squareroot + Square Root + sqrt(artisan/2 + craftsman + capitalists*2 + clerks*2) * 0.002 * factor + false + + + linear + Linear + (artisan/2 + craftsman + capitalists*2 + clerks*2) * 0.000008 * factor + true + + + logarithmic + Logarithmic + log((nc - 70000) / 8000.0) * factor + false + + + no + No conversion + uses the original HoI3 values + false + + + + + ic_factor + IC Factor + used for IC conversion + true + 1.0 + 0.1 + 10 + + + manpower_conversion + Manpower Conversion + Set to "no" if you want to use the original HoI3 manpower values + + + squareroot + Square Root + sqrt(soldiers + farmers/4 + labourers/4 + craftsmen/4) * factor + false + + + linear + Linear + (soldiers + farmers/4 + labourers/4 + craftsmen/4) * factor + true + + + no + No conversion + uses the original HoI3 values + false + + + + + manpower_factor + Manpower Factor + used for adjusting manpower conversion + true + 1.0 + 0.01 + 10.0 + + + leadership_conversion + Leadership Conversion + Set to "no" if you want to use the original HoI3 leadership values + + + squareroot + Square Root + sqrt(officers + clerks + capitalists/2 + clergymen/2 + bureaucrats/4 + aristocrats/4) * factor + false + + + linear + Linear + (officers + clerks + capitalists/2 + clergymen/2 + bureaucrats/4 + aristocrats/4) * factor + true + + + no + No conversion + uses the original HoI3 values + false + + + + + leadership_factor + Leadership Factor + used for leadership conversion + true + 1.0 + 0.01 + 10.0 + + + literacy_weight + Literacy Weight + This value affects how much the POP's literacy affects the weighting of the educated classes in leadership and IC + true + 0.1 + 0.01 + 1 + + + practicals_scale + Practicals Scale + Starting production practicals: practicals_scale * Sum of all units' practical bonus when they are constructed + true + 0.05 + 0.01 + 1 + + + + + + > + \ No newline at end of file diff --git a/build_Vic2ToHoI3_release.bat b/build_Vic2ToHoI3_release.bat index dd116f1b4..f9e4c9f4f 100644 --- a/build_Vic2ToHoI3_release.bat +++ b/build_Vic2ToHoI3_release.bat @@ -3,6 +3,7 @@ set /p version=Version Number?: call "%VS120COMNTOOLS%\vsvars32.bat" msbuild.exe "..\paradoxGameConverters - Frontend\Frontend\ParadoxConverters.Frontend\ParadoxConverters.Frontend.sln" /p:Configuration=Release /m xcopy "..\paradoxGameConverters - Frontend\Frontend\ParadoxConverters.Frontend\ParadoxConverters.Frontend\bin\Release" "..\Vic2ToHoI3-%version%" /Y /E /I +copy "Vic2ToHoI3\Data_Files\Vic2toHoI3DefaultConfiguration.xml" "..\Vic2ToHoI3-%version%\Configuration\" cd Vic2ToHoI3 call "build-VS2013.bat"