Skip to content
This repository has been archived by the owner on Mar 29, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/Idhrendur/EU4toV2' into Id…
Browse files Browse the repository at this point in the history
…hrendur/master
  • Loading branch information
kratostatic committed May 21, 2017
2 parents b8d7ba6 + 084dec6 commit 9188742
Show file tree
Hide file tree
Showing 755 changed files with 33,598 additions and 21,327 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
CK2ToEU3/build/
Release/
ReleaseIntermediate/
Release-Linux/
Debug/
DebugIntermediate/
testResults
Expand All @@ -15,3 +16,14 @@ V2ToHoI3.zip
/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
35 changes: 35 additions & 0 deletions EU4toV2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
cmake_minimum_required(VERSION 3.8)
#set(CMAKE_VERBOSE_MAKEFILE on)

project(EU4ToVic2)
set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/Source)
set(PROJECT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/Source)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/Release-Linux)
set(LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/Release-Linux)

add_compile_options("-std=c++11")

include_directories("../common_items")
include_directories("${PROJECT_SOURCE_DIR}")

file(GLOB MAIN_SOURCES "${PROJECT_SOURCE_DIR}/*.cpp")
file(GLOB VIC2WORLD_SOURCES "${PROJECT_SOURCE_DIR}/V2World/*.cpp")
file(GLOB MAPPER_SOURCES "${PROJECT_SOURCE_DIR}/Mappers/*.cpp")
file(GLOB EU4WORLD_SOURCES "${PROJECT_SOURCE_DIR}/EU4World/*.cpp")
set(COMMON_SOURCES "../common_items/CardinalToOrdinal.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "../common_items/CommonUtils.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "../common_items/Date.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "../common_items/LinuxUtils.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "../common_items/Log.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "../common_items/Object.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "../common_items/ParadoxParser8859_15.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "../common_items/ParadoxParserUTF8.cpp")

set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_MULTITHREADED OFF)
set(Boost_USE_STATIC_RUNTIME OFF)
find_package(Boost)
if(Boost_FOUND)
add_executable(EU4ToVic2 ${MAIN_SOURCES} ${VIC2WORLD_SOURCES} ${MAPPER_SOURCES} ${EU4WORLD_SOURCES} ${COMMON_SOURCES})
add_custom_command(TARGET EU4ToVic2 POST_BUILD WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} COMMAND ./Copy_Files.sh)
endif()
70 changes: 70 additions & 0 deletions EU4toV2/Copy_Files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
#!/bin/bash

# Copy converter data files
cp "Data_Files/configuration.txt" "Release-Linux/configuration.txt"
cp "Data_Files/ReadMe.txt" "Release-Linux/ReadMe.txt"
cp "Data_Files/merge_nations.txt" "Release-Linux/merge_nations.txt"
cp "Data_Files/starting_factories.txt" "Release-Linux/starting_factories.txt"
cp "Data_Files/province_mappings.txt" "Release-Linux/province_mappings.txt"
cp "Data_Files/country_mappings.txt" "Release-Linux/country_mappings.txt"
cp "Data_Files/cultureMap.txt" "Release-Linux/cultureMap.txt"
cp "Data_Files/slaveCultureMap.txt" "Release-Linux/slaveCultureMap.txt"
cp "Data_Files/religionMap.txt" "Release-Linux/religionMap.txt"
cp "Data_Files/unions.txt" "Release-Linux/unions.txt"
cp "Data_Files/governmentMapping.txt" "Release-Linux/governmentMapping.txt"
cp "Data_Files/blocked_tech_schools.txt" "Release-Linux/blocked_tech_schools.txt"
cp "Data_Files/leader_traits.txt" "Release-Linux/leader_traits.txt"
cp "Data_Files/regiment_costs.txt" "Release-Linux/regiment_costs.txt"
cp "Data_Files/license.txt" "Release-Linux/license.txt"
cp "Data_Files/idea_effects.txt" "Release-Linux/idea_effects.txt"
cp "Data_Files/colonial_flags.txt" "Release-Linux/colonial_flags.txt"
cp "Data_Files/colonial_tags.txt" "Release-Linux/colonial_tags.txt"
cp "Data_Files/ck2titleMap.txt" "Release-Linux/ck2titleMap.txt"
cp "Data_Files/port_blacklist.txt" "Release-Linux/port_blacklist.txt"
cp "Data_Files/port_whitelist.txt" "Release-Linux/port_whitelist.txt"
cp "Data_Files/minorityPops.txt" "Release-Linux/minorityPops.txt"
cp "Data_Files/FAQ.txt" "Release-Linux/FAQ.txt"
cp "Data_Files/after_converting.txt" "Release-Linux/after_converting.txt"

# Create Blank Mod
rm -rf "Release-Linux/blankMod"
cp -r "Data_Files/blankMod" "Release-Linux/blankMod"
mkdir "Release-Linux/blankMod/output/history/provinces"
mkdir "Release-Linux/blankMod/output/history/provinces/africa"
mkdir "Release-Linux/blankMod/output/history/provinces/asia"
mkdir "Release-Linux/blankMod/output/history/provinces/australia"
mkdir "Release-Linux/blankMod/output/history/provinces/austria"
mkdir "Release-Linux/blankMod/output/history/provinces/balkan"
mkdir "Release-Linux/blankMod/output/history/provinces/canada"
mkdir "Release-Linux/blankMod/output/history/provinces/carribean"
mkdir "Release-Linux/blankMod/output/history/provinces/central asia"
mkdir "Release-Linux/blankMod/output/history/provinces/china"
mkdir "Release-Linux/blankMod/output/history/provinces/france"
mkdir "Release-Linux/blankMod/output/history/provinces/germany"
mkdir "Release-Linux/blankMod/output/history/provinces/india"
mkdir "Release-Linux/blankMod/output/history/provinces/indonesia"
mkdir "Release-Linux/blankMod/output/history/provinces/italy"
mkdir "Release-Linux/blankMod/output/history/provinces/japan"
mkdir "Release-Linux/blankMod/output/history/provinces/low countries"
mkdir "Release-Linux/blankMod/output/history/provinces/mexico"
mkdir "Release-Linux/blankMod/output/history/provinces/pacific island"
mkdir "Release-Linux/blankMod/output/history/provinces/portugal"
mkdir "Release-Linux/blankMod/output/history/provinces/scandinavia"
mkdir "Release-Linux/blankMod/output/history/provinces/south america"
mkdir "Release-Linux/blankMod/output/history/provinces/soviet"
mkdir "Release-Linux/blankMod/output/history/provinces/spain"
mkdir "Release-Linux/blankMod/output/history/provinces/united kingdom"
mkdir "Release-Linux/blankMod/output/history/provinces/usa"
mkdir "Release-Linux/blankMod/output/history/countries"
mkdir "Release-Linux/blankMod/output/history/diplomacy"
mkdir "Release-Linux/blankMod/output/history/units"

# Copy Flags
rm -rf "Release-Linux/flags"
cp -r "Data_Files/flags" "Release-Linux/flags"

# Create changelog
#del Release-Linux/changelog.txt
#git log --oneline --decorate >> Release-Linux/log.txt
#(for /f "delims=" %%i in (Release-Linux/log.txt) do @echo %%i)>Release-Linux/changelog.txt
#del Release-Linux/log.txt
20 changes: 12 additions & 8 deletions EU4toV2/Data_Files/blankMod/output/common/countries.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Please keep tags sorted alphabetically when you add/remove country tags

# Special countries...
AAA = "countries/AAA.txt" ##Added here only to make the converted mod use rebel flag is no country
REB = "countries/rebels.txt"

# Common Great Powers
Expand All @@ -20,6 +21,7 @@ KUK = "countries/Austria-Hungary.txt"
DEN = "countries/Denmark.txt"
FIN = "countries/Finland.txt"
NOR = "countries/Norway.txt"
SMI = "countries/Sami.txt"
SCA = "countries/Scandinavia.txt"
SWE = "countries/Sweden.txt"

Expand Down Expand Up @@ -151,6 +153,7 @@ YEM ="countries/Yemen.txt"

# India
HND ="countries/India.txt"
AND ="countries/Andhra.txt"
AWA ="countries/Awadh.txt"
BAS ="countries/Bastar.txt"
BER ="countries/Beroda.txt"
Expand Down Expand Up @@ -321,18 +324,19 @@ TEU ="countries/Teutonic Order.txt"##
# British Isles
CNN ="countries/Connacht.txt"##
CRN ="countries/Cornwall.txt"##
DMS ="countries/Desmond.txt"
ENL ="countries/England.txt"#
KID ="countries/Kildare.txt"
HSC ="countries/Highlands.txt"
LAN ="countries/Lancaster.txt"##
MNS ="countries/IRE_Munster.txt"##
LEI ="countries/Leinster.txt"##
TYR ="countries/Ulster.txt"##
WLS ="countries/Wales.txt"##
YOR ="countries/York.txt"##
MNS ="countries/IRE_Munster.txt"##
NOL ="countries/Northumberland.txt"
HSC ="countries/Highlands.txt"
DMS ="countries/Desmond.txt"
SLN ="countries/Sligo.txt"
KID ="countries/Kildare.txt"
TYR ="countries/Tyrone.txt"##
ULS ="countries/Ulster.txt"
WLS ="countries/Wales.txt"##
YOR ="countries/York.txt"##

# Balkans
ACH ="countries/Achaea.txt"##
Expand Down Expand Up @@ -380,7 +384,7 @@ KUB ="countries/Kuba.txt"
KZB ="countries/Kazembe.txt"
LDU ="countries/Lundu.txt"
LND ="countries/Lunda.txt"
LUB ="countries/Luba.txt"
LBX ="countries/Luba.txt"
MFY ="countries/Mahafaly.txt"
MIR ="countries/Merina.txt"
MKU ="countries/Makua.txt"
Expand Down
6 changes: 6 additions & 0 deletions EU4toV2/Data_Files/blankMod/output/common/countries/AAA.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Rebels

color = { 154 132 126 }

graphical_culture = Generic

171 changes: 171 additions & 0 deletions EU4toV2/Data_Files/blankMod/output/common/countries/Andhra.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
color = { 47 132 124 }
graphical_culture = IndianGC


party = {
name = "TRA_conservative"
start_date = 1800.1.1
end_date = 2000.1.1

ideology = conservative

economic_policy = state_capitalism
trade_policy = protectionism
religious_policy = moralism
citizenship_policy = residency
war_policy = pro_military
}

party = {
name = "TRA_liberal"
start_date = 1820.1.1
end_date = 1936.1.1

ideology = liberal

economic_policy = laissez_faire
trade_policy = protectionism
religious_policy = pluralism
citizenship_policy = full_citizenship
war_policy = pacifism
}

party = {
name = "TRA_reactionary"
start_date = 1820.1.1
end_date = 2000.1.1

ideology = reactionary

economic_policy = interventionism
trade_policy = protectionism
religious_policy = moralism
citizenship_policy = residency
war_policy = jingoism
}

party = {
name = "TRA_anarcho_liberal"
start_date = 1830.1.1
end_date = 2000.1.1

ideology = anarcho_liberal

economic_policy = laissez_faire
trade_policy = free_trade
religious_policy = pro_atheism
citizenship_policy = full_citizenship
war_policy = pro_military
}

party = {
name = "TRA_socialist"
start_date = 1848.1.1
end_date = 2000.1.1

ideology = socialist

economic_policy = planned_economy
trade_policy = protectionism
religious_policy = secularized
citizenship_policy = full_citizenship
war_policy = anti_military
}

party = {
name = "TRA_communist"
start_date = 1848.1.1
end_date = 2000.1.1

ideology = communist

economic_policy = planned_economy
trade_policy = protectionism
religious_policy = pro_atheism
citizenship_policy = full_citizenship
war_policy = pro_military
}

party = {
name = "TRA_fascist"
start_date = 1905.1.1
end_date = 2000.1.1

ideology = fascist

economic_policy = state_capitalism
trade_policy = protectionism
religious_policy = moralism
citizenship_policy = residency
war_policy = jingoism
}

party = {
name = "TRA_socialist"
start_date = 1848.1.1
end_date = 2000.1.1

ideology = socialist

economic_policy = planned_economy
trade_policy = protectionism
religious_policy = secularized
citizenship_policy = full_citizenship
war_policy = anti_military
}

party = {
name = "TRA_communist"
start_date = 1848.1.1
end_date = 2000.1.1

ideology = communist

economic_policy = planned_economy
trade_policy = protectionism
religious_policy = pro_atheism
citizenship_policy = full_citizenship
war_policy = pro_military
}

party = {
name = "TRA_fascist"
start_date = 1905.1.1
end_date = 2000.1.1

ideology = fascist

economic_policy = state_capitalism
trade_policy = protectionism
religious_policy = moralism
citizenship_policy = residency
war_policy = jingoism
}

unit_names = {
dreadnought = {
"Rama Varma" "Aditya Varma" "Ravi Varma" "Balarama Varma" "Swathi Thirunal" "Uthram Thirunal" "Visakham Thirunal"
}
cruiser = {
Amar Anil Asim Bhavesh Chandrahas Dhirendra Gopan Jagajit Jishnu Mahabala Pinak Ranjit Satyajit Urjit Varun Vishvajit
}
ironclad = {
Akshat Avanindra Dipendra Debashish Durjaya Ilesh Jagannath Meghnad Paramjit Samarjit Sudhir Vijay Vikrant
}
monitor = {
Atul Chapal Kartikeya Mahavir Nachiketa Prajit Rutujit Shreyas Veer Yuyutsu
}
manowar = {
Padmanabhapuram Thiruvananthapuram Kilimanoor Kollam Kochi Mavelikkara Thrissur
}
frigate = {
Abhay Akhilesh Baldev Chandresh Duranjaya Gaurav Jayant Parindra Prabir Shatrunjay Vipan Viraj Yudhisthir
}
clipper_transport = {
}
steam_transport = {
}
commerce_raider = {
Anupam Arihant Bhanu Dhananjay Hemendra Jawahar Kaushal Makarand Manindra Narhari Nidhish Ratnakar Shashwat Srikant
}
}
Loading

0 comments on commit 9188742

Please sign in to comment.