Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
Update to buildable and working status (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo Elezović authored Mar 29, 2020
1 parent 236d748 commit 7df6de2
Show file tree
Hide file tree
Showing 52 changed files with 6,813 additions and 6,040 deletions.
19 changes: 2 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CK2ToEU3/build/
build/
Release/
ReleaseIntermediate/
Release-Linux/
Expand All @@ -15,19 +15,4 @@ changelog.txt
*.sdf
*.VC.db
*.cppcheck
/EU4toV2/.vs/EU4ToV2/v14/.suo
/Vic2ToHoI4/.vs/Supercharger/Vic2ToHoI4/codemap.dat
/Vic2ToHoI4/.vs/Supercharger/Vic2ToHoI4/global_history.dat
/Vic2ToHoI4/.vs/Supercharger/Vic2ToHoI4/workbench.dat
/Vic2ToHoI4/.vs/Vic2ToHoI4/v14/.suo
/Vic2ToHoI4/.vs/
/EU4toV2/.vs/Supercharger/EU4ToV2/codemap.dat
/EU4toV2/.vs/Supercharger/EU4ToV2/global_history.dat
/EU4toV2/.vs/Supercharger/EU4ToV2/workbench.dat
/EU4toV2/.vs/
/EU4toV2/build
/Vic2ToHoI4/build
/EU4toV2/EU4toV2Converter.pdb
/EU4toV2/log.txt
/EU4toV2/Woxolo.eu4
/EU4toV2/EU4toV2Converter.iobj
.vs/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Frontend"]
path = Frontend
url = https://github.com/ParadoxGameConverters/Frontend
142 changes: 72 additions & 70 deletions Copy_Files.bat
Original file line number Diff line number Diff line change
@@ -1,70 +1,72 @@
copy "data files\country_mappings.txt" "release\country_mappings.txt"
copy "data files\readme.txt" "release\readme.txt"
copy "data files\province_mappings.txt" "release\province_mappings.txt"
copy "data files\cultureMap.txt" "release\cultureMap.txt"
copy "data files\slaveCultureMap.txt" "release\slaveCultureMap.txt"
copy "data files\religionMap.txt" "release\religionMap.txt"
copy "data files\unions.txt" "release\unions.txt"
copy "data files\governmentMapping.txt" "release\governmentMapping.txt"
copy "data files\port_whitelist.txt" "release\port_whitelist.txt"
copy "data files\port_blacklist.txt" "release\port_blacklist.txt"
copy "data files\starting_factories.txt" "release\starting_factories.txt"
copy "data files\merge_nations.txt" "release\merge_nations.txt"
copy "data files\configuration.txt" "release\configuration.txt"
copy "data files\blocked_tech_schools.txt" "release\blocked_tech_schools.txt"
copy "data files\leader_traits.txt" "release\leader_traits.txt
copy "data files\regiment_costs.txt" "release\regiment_costs.txt
copy "data files\license.txt" "release\license.txt"

del release\changelog.txt
git log --oneline --decorate >> release/log.txt
(for /f "delims=" %%i in (release/log.txt) do @echo %%i)>release/changelog.txt
del release\log.txt

del "Release\blankMod" /Q
mkdir "release\blankMod"
mkdir "release\blankMod\output"
mkdir "release\blankMod\output\history"
mkdir "release\blankMod\output\history\provinces"
mkdir "release\blankMod\output\history\provinces\africa"
mkdir "release\blankMod\output\history\provinces\asia"
mkdir "release\blankMod\output\history\provinces\australia"
mkdir "release\blankMod\output\history\provinces\austria"
mkdir "release\blankMod\output\history\provinces\balkan"
mkdir "release\blankMod\output\history\provinces\canada"
mkdir "release\blankMod\output\history\provinces\carribean"
mkdir "release\blankMod\output\history\provinces\central asia"
mkdir "release\blankMod\output\history\provinces\china"
mkdir "release\blankMod\output\history\provinces\france"
mkdir "release\blankMod\output\history\provinces\germany"
mkdir "release\blankMod\output\history\provinces\india"
mkdir "release\blankMod\output\history\provinces\indonesia"
mkdir "release\blankMod\output\history\provinces\italy"
mkdir "release\blankMod\output\history\provinces\japan"
mkdir "release\blankMod\output\history\provinces\low countries"
mkdir "release\blankMod\output\history\provinces\mexico"
mkdir "release\blankMod\output\history\provinces\pacific island"
mkdir "release\blankMod\output\history\provinces\portugal"
mkdir "release\blankMod\output\history\provinces\scandinavia"
mkdir "release\blankMod\output\history\provinces\south america"
mkdir "release\blankMod\output\history\provinces\soviet"
mkdir "release\blankMod\output\history\provinces\spain"
mkdir "release\blankMod\output\history\provinces\united kingdom"
mkdir "release\blankMod\output\history\provinces\usa"
mkdir "release\blankMod\output\history\countries"
mkdir "release\blankMod\output\history\diplomacy"
mkdir "release\blankMod\output\history\units"
mkdir "release\blankMod\output\history\pops"
mkdir "release\blankMod\output\history\pops\1836.1.1"
mkdir "release\blankMod\output\history\wars"
mkdir "release\blankMod\output\common"

xcopy "Data Files\countries" "release\blankmod\output\common\countries" /Y /E /I
xcopy "Data Files\gfx" "release\blankmod\output\gfx" /Y /E /I
xcopy "Data Files\interface" "release\blankmod\output\interface" /Y /E /I
xcopy "Data files\localisation" "release\blankmod\output\localisation" /Y /E /I
xcopy "Data files\wars" "release\blankmod\output\wars" /Y /E /I
copy "Data Files\countries.txt" "release\blankMod\output\common\countries.txt"
copy "Data Files\country_colors.txt" "release\blankMod\output\common\country_colors.txt"
copy "Data Files\religion.txt" "release\blankMod\output\common\religion.txt"
copy "Data Files\cultures.txt" "release\blankMod\output\common\cultures.txt"
copy "data files\country_mappings.txt" "release\EU3ToVic2\country_mappings.txt"
copy "data files\readme.txt" "release\EU3ToVic2\readme.txt"
copy "data files\province_mappings.txt" "release\EU3ToVic2\province_mappings.txt"
copy "data files\cultureMap.txt" "release\EU3ToVic2\cultureMap.txt"
copy "data files\slaveCultureMap.txt" "release\EU3ToVic2\slaveCultureMap.txt"
copy "data files\religionMap.txt" "release\EU3ToVic2\religionMap.txt"
copy "data files\unions.txt" "release\EU3ToVic2\unions.txt"
copy "data files\governmentMapping.txt" "release\EU3ToVic2\governmentMapping.txt"
copy "data files\port_whitelist.txt" "release\EU3ToVic2\port_whitelist.txt"
copy "data files\port_blacklist.txt" "release\EU3ToVic2\port_blacklist.txt"
copy "data files\starting_factories.txt" "release\EU3ToVic2\starting_factories.txt"
copy "data files\merge_nations.txt" "release\EU3ToVic2\merge_nations.txt"
copy "data files\configuration.txt" "release\EU3ToVic2\configuration.txt"
copy "data files\blocked_tech_schools.txt" "release\EU3ToVic2\blocked_tech_schools.txt"
copy "data files\leader_traits.txt" "release\EU3ToVic2\leader_traits.txt
copy "data files\regiment_costs.txt" "release\EU3ToVic2\regiment_costs.txt
copy "data files\license.txt" "release\EU3ToVic2\license.txt"
copy "data files\Eu3ToVic2DefaultConfiguration.xml" "release\Configuration\Eu3ToVic2DefaultConfiguration.xml"
copy "data files\SupportedConvertersDefault.xml" "release\Configuration\SupportedConvertersDefault.xml"

del release\EU3ToVic2\changelog.txt
git log --oneline --decorate >> release/log.txt
(for /f "delims=" %%i in (release/log.txt) do @echo %%i)>release/changelog.txt
del release\EU3ToVic2\log.txt

del "release\EU3ToVic2\blankMod" /Q
mkdir "release\EU3ToVic2\blankMod"
mkdir "release\EU3ToVic2\blankMod\output"
mkdir "release\EU3ToVic2\blankMod\output\history"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\africa"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\asia"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\australia"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\austria"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\balkan"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\canada"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\carribean"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\central asia"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\china"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\france"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\germany"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\india"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\indonesia"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\italy"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\japan"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\low countries"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\mexico"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\pacific island"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\portugal"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\scandinavia"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\south america"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\soviet"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\spain"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\united kingdom"
mkdir "release\EU3ToVic2\blankMod\output\history\provinces\usa"
mkdir "release\EU3ToVic2\blankMod\output\history\countries"
mkdir "release\EU3ToVic2\blankMod\output\history\diplomacy"
mkdir "release\EU3ToVic2\blankMod\output\history\units"
mkdir "release\EU3ToVic2\blankMod\output\history\pops"
mkdir "release\EU3ToVic2\blankMod\output\history\pops\1836.1.1"
mkdir "release\EU3ToVic2\blankMod\output\history\wars"
mkdir "release\EU3ToVic2\blankMod\output\common"

xcopy "Data Files\countries" "release\EU3ToVic2\blankmod\output\common\countries" /Y /E /I
xcopy "Data Files\gfx" "release\EU3ToVic2\blankmod\output\gfx" /Y /E /I
xcopy "Data Files\interface" "release\EU3ToVic2\blankmod\output\interface" /Y /E /I
xcopy "Data files\localisation" "release\EU3ToVic2\blankmod\output\localisation" /Y /E /I
xcopy "Data files\wars" "release\EU3ToVic2\blankmod\output\wars" /Y /E /I
copy "Data Files\countries.txt" "release\EU3ToVic2\blankMod\output\common\countries.txt"
copy "Data Files\country_colors.txt" "release\EU3ToVic2\blankMod\output\common\country_colors.txt"
copy "Data Files\religion.txt" "release\EU3ToVic2\blankMod\output\common\religion.txt"
copy "Data Files\cultures.txt" "release\EU3ToVic2\blankMod\output\common\cultures.txt"
178 changes: 178 additions & 0 deletions Data files/Eu3ToVic2DefaultConfiguration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
<?xml version="1.0" encoding="utf-8"?>

<configuration
Comment="This file is used to build the configuration parth of the frontend. This is done at run-time, so errors here might prevent the frontend from running.">
<!--This part contains the various options that will be displayed as preferences in the converter ui, and outputted as configuration.txt as input for the converter itself-->
<converterOptions>
<categories>
<category>
<friendlyName>Configuration</friendlyName>
<preferences>
<preference>
<name>V2gametype</name>
<friendlyName>V2 Game Version</friendlyName>
<description>V2 Game Version: what version of V2 to convert to</description>
<entryOptions>
<entryOption>
<name>HOD</name>
<friendlyName>Heart of Darkness (3.x)</friendlyName>
<description>Heart of Darkness (3.x)</description>
<isDefault>true</isDefault>
</entryOption>
<entryOption>
<name>HOD-NNM</name>
<friendlyName>HoD with the New Nations Mod</friendlyName>
<description>HoD with the New Nations Mod</description>
<isDefault>false</isDefault>
</entryOption>
</entryOptions>
</preference>
<preference>
<name>start_date</name>
<friendlyName>Start Date</friendlyName>
<description>The date on which the game is to start. Default: Januar 1st, 1836</description>
<value>1836.1.1</value>
<minDateValue>1835.1.1</minDateValue>
<dateFormat>yyyy.m.d</dateFormat>
<!-- Property only used for easier parsing of this xml file -->
<isDate>true</isDate>
</preference>
<preference>
<name>resetProvinces</name>
<friendlyName>Reset Provinces?</friendlyName>
<description>Whether or not to reset resettable V2 provinces</description>
<entryOptions>
<entryOption>
<name>yes</name>
<friendlyName>Yes</friendlyName>
<description>Reset provinces</description>
<isDefault>false</isDefault>
</entryOption>
<entryOption>
<name>no</name>
<friendlyName>No</friendlyName>
<description>Don't reset provinces</description>
<isDefault>true</isDefault>
</entryOption>
</entryOptions>
</preference>
<preference>
<name>max_literacy</name>
<friendlyName>Max Literacy</friendlyName>
<description>The maximum literacy a nation will start with. Default 80%</description>
<hasDirectlyEditableValue>true</hasDirectlyEditableValue>
<value>1</value>
<minValue>0.1</minValue>
<maxValue>1</maxValue>
</preference>
<preference>
<name>EU3Mod</name>
<friendlyName>EU3 Mod</friendlyName>
<description>A mod used in EU3</description>
<hasDirectlyEditableValue>true</hasDirectlyEditableValue>
</preference>
<preference>
<name>EU3gametype</name>
<friendlyName>Eu3 Game Type</friendlyName>
<description>EU3 Game Type: what version of EU3 generated the save.</description>
<entryOptions>
<entryOption>
<name>auto</name>
<friendlyName>Auto</friendlyName>
<description>Detect version automatically - vanilla only!</description>
<isDefault>true</isDefault>
</entryOption>
<entryOption>
<name>in</name>
<friendlyName>In Nomine</friendlyName>
<description>Force version to In Nomine (3.x) - experimental!</description>
</entryOption>
<entryOption>
<name>httt</name>
<friendlyName>Heir to the Throne</friendlyName>
<description>Force version to Heir To The Throne (4.x)</description>
</entryOption>
<entryOption>
<name>dw</name>
<friendlyName>Divine Wind</friendlyName>
<description>Force version to Divine Wind (5.x)</description>
</entryOption>
</entryOptions>
</preference>
<preference>
<name>V2gametype</name>
<friendlyName>V2 Game Type</friendlyName>
<description>V2 Game Type: what version of V2 to convert to.</description>
<entryOptions>
<entryOption>
<name>vanilla</name>
<friendlyName>Vanilla</friendlyName>
<description>Detectvanilla V2 (1.x)</description>
</entryOption>
<entryOption>
<name>AHD</name>
<friendlyName>A House Divided</friendlyName>
<description>A House Divided (2.x)</description>
</entryOption>
<entryOption>
<name>HOD</name>
<friendlyName>Heart of Darkness</friendlyName>
<description>Heart of Darkness (3.x)</description>
<isDefault>true</isDefault>
</entryOption>
<entryOption>
<name>HoD-NNM</name>
<friendlyName>Heart of Darkness - New Nations Mod</friendlyName>
<description>Heart of Darkness with the New Nations Mod</description>
</entryOption>
</entryOptions>
</preference>
<preference>
<name>removetype</name>
<friendlyName>Types of Landless nations to remove</friendlyName>
<description>Which landless nations to remove</description>
<entryOptions>
<entryOption>
<name>none</name>
<friendlyName>None</friendlyName>
<description>Remove none of them</description>
<isDefault>true</isDefault>
</entryOption>
<entryOption>
<name>dead</name>
<friendlyName>Dead</friendlyName>
<description>Remove ones without cultural backing</description>
<isDefault>false</isDefault>
</entryOption>
<entryOption>
<name>all</name>
<friendlyName>All</friendlyName>
<description>Remove all of them</description>
<isDefault>false</isDefault>
</entryOption>
</entryOptions>
</preference>
<preference>
<name>convertPopTotals</name>
<friendlyName>Convert pop totals?</friendlyName>
<description>Whether or not the population totals should be converted.</description>
<entryOptions>
<entryOption>
<name>yes</name>
<friendlyName>Yes</friendlyName>
<description>The population totals should be converted</description>
<isDefault>false</isDefault>
</entryOption>
<entryOption>
<name>no</name>
<friendlyName>No</friendlyName>
<description>The population totals should NOT be converted</description>
<isDefault>true</isDefault>
</entryOption>
</entryOptions>
</preference>
</preferences>
</category>
</categories>
</converterOptions>
</configuration>
Loading

0 comments on commit 7df6de2

Please sign in to comment.