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 'origin/Vic2ToHoI4'
Browse files Browse the repository at this point in the history
  • Loading branch information
Idhrendur committed Sep 5, 2016
2 parents 07a4420 + caa4156 commit 52cc532
Show file tree
Hide file tree
Showing 530 changed files with 17,307 additions and 4,255 deletions.
25 changes: 6 additions & 19 deletions Vic2ToHoI4/Copy_Files.bat
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
rem **Create blankMod**
del "Release\blankMod" /Q
rmdir "Release\blankMod" /S /Q
mkdir "release\blankMod"
mkdir "release\blankMod\output"
mkdir "release\blankMod\output\common"
mkdir "release\blankMod\output\gfx"
mkdir "release\blankMod\output\gfx\interface"
mkdir "release\blankMod\output\history"
mkdir "release\blankMod\output\interface"
mkdir "release\blankMod\output\history\provinces"
mkdir "release\blankMod\output\history\countries"
xcopy "Data_Files\blankMod" "release\blankmod" /Y /E /I

rem **Copy data files**
copy "Data_Files\configuration.txt" "release\configuration.txt"
copy "Data_Files\configuration.txt" "release\configuration-example.txt"
copy "Data_Files\readme.txt" "release\readme.txt"
copy "Data_Files\merge_nations.txt" "release\merge_nations.txt"
copy "Data_Files\province_mappings.txt" "release\province_mappings.txt
Expand All @@ -25,18 +19,11 @@ copy "Data_Files\resources.txt" "release\resources.txt"
copy "Data_Files\navalprovinces.txt" "release\navalprovinces.txt"
copy "Data_Files\positions.txt" "release\positions.txt"
copy "Data_Files\adj.txt" "release\adj.txt"
copy "Data_Files\NeededFiles\countrypoliticsview.gfx" "release\blankmod\output\interface\countrypoliticsview.gfx"
copy "Data_Files\MonarchIdeas.txt" "release\blankmod\output\common\MonarchIdeas.txt"

xcopy "Data_Files\events" "release\blankmod\output\events" /Y /E /I
xcopy "Data_Files\bookmarks" "release\blankmod\output\common\bookmarks" /Y /E /I
xcopy "Data_Files\on_actions" "release\blankmod\output\common\on_actions" /Y /E /I
rem **Copy flags**
xcopy "Data_Files\flags" "release\flags" /Y /E /I
xcopy "Data_Files\NeededFiles\interface" "release\blankmod\output\gfx\interface" /Y /E /I
xcopy "Data_Files\NeededFiles\ideologies" "release\blankmod\output\common\ideologies" /Y /E /I
xcopy "Data_Files\NeededFiles\ideas" "release\blankmod\output\common\ideas" /Y /E /I
xcopy "Data_Files\NeededFiles\defines" "release\blankmod\output\defines" /Y /E /I

rem **Create changelog**
del release\changelog.txt
git log --oneline --decorate >> release\makelog.txt
(for /f "delims=" %%i in (release\makelog.txt) do @echo %%i)>release\changelog.txt
Expand Down
20 changes: 15 additions & 5 deletions Vic2ToHoI4/Data_Files/FAQ.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
Q: I got an error that mentions MSVCP140.dll. What do I do?
A : Go to the Visual Studio Redistributable page: https://www.microsoft.com/en-us/download/details.aspx?id=51682
then click Download and select vcredist_x86.exe.
Once it has downloaded, install it and run the converter again.
Q: I used a mod, will the converter work with it?
A: It depends on what the mod changed. Your best bet is to simply try (and let us know how it went). As far as we can tell, it does work well with
NNM, PDM, HPM, and games converted from EU4.

Q: What should I put it the Victoria 2 mod directory option?
A: It should be the directory where Victoria 2 stores mods.
If Victoria 2 was installed at D:\Paradox Interactive\Victoria 2 then this option should be D:\Paradox Interactive\Victoria 2\mod.

Q: What should I put in the Vic2 Mods option?
A: The name of the folder for any mods you used. For PoD, put PDM. For HPM, put HPM. For Divergences, put "Divergences of Darkness" (and include the quotes).
You can check log.txt after trying to convert to see if this setting was correct.
Early on it will say "Double-check Vic2 mods", and follow that with a list of mods it expected and a list of mods it found.
The ones it expects are the ones listed in the option. The ones it found are the ones it could see in your mod folder.
The names of the ones it expects should exactly match the names of the ones it found.

Q: I'm trying to convert a EU4 To Vic2 game and keep getting an error. What do I do?
A: You need to include the Vic2 mod from the EU4 to Vic2 converter to properly convert these games.

You should put the name of the mod's folder in the Vic2 Mods option, as with other mods.
2 changes: 2 additions & 0 deletions Vic2ToHoI4/Data_Files/ReadMe.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ DasGuntLord01 - Analysis
dtremenak - Analysis
history_fan - Analysis
PTSnoop - Analysis
AllUncertain - Analysis
simsulla - Data Files
Mattymooz - Data Files
Yellowone1 - Art


- AND ALL THE OTHERS WHO GAVE THEIR INPUT ON THE FORUM -
66 changes: 46 additions & 20 deletions Vic2ToHoI4/Data_Files/Vic2toHoI4DefaultConfiguration.xml
Original file line number Diff line number Diff line change
@@ -1,24 +1,50 @@
<?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 tool itself-->
<converterOptions>
<categories>
<category>
<friendlyName>Configuration</friendlyName>
<preferences>
<preference>
<name>Vic2Mods</name>
<friendlyName>Vic2 Mods</friendlyName>
<description>Vic2 mods to use for conversion (mods require manual conversion)</description>
<hasDirectlyEditableValue>true</hasDirectlyEditableValue>
<useCurlyBraces>true</useCurlyBraces>
<value></value>
</preference>
</preferences>
</category>
</categories>
</converterOptions>
>
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 tool itself-->
<converterOptions>
<categories>
<category>
<friendlyName>Configuration</friendlyName>
<preferences>
<preference>
<name>Vic2Mods</name>
<friendlyName>Vic2 Mods</friendlyName>
<description>Vic2 mods to use for conversion (mods require manual conversion)</description>
<hasDirectlyEditableValue>true</hasDirectlyEditableValue>
<useCurlyBraces>true</useCurlyBraces>
<value></value>
</preference>
<preference>
<name>industrial_shape_factor</name>
<friendlyName>Industrial shape factor</friendlyName>
<description>How much to balance countries' industry to each other. 1.0 = fully balanced, 0.0 = no balancing</description>
<hasDirectlyEditableValue>true</hasDirectlyEditableValue>
<value>0.0</value>
<minValue>0.0</minValue>
<maxValue>1.0</maxValue>
</preference>
<preference>
<name>ic_factor</name>
<friendlyName>IC Factor</friendlyName>
<description>How much to make the world's industry match default HoI4 industry. 1.0 = fully matched, 0.0 = no matching</description>
<hasDirectlyEditableValue>true</hasDirectlyEditableValue>
<value>0.1</value>
<minValue>0.0</minValue>
<maxValue>1.0</maxValue>
</preference>
<preference>
<name>manpower_factor</name>
<friendlyName>Manpower Factor</friendlyName>
<description>Used to increase or decrease the total amount of manpower in the world.</description>
<hasDirectlyEditableValue>true</hasDirectlyEditableValue>
<value>1.0</value>
<minValue>0.01</minValue>
<maxValue>10.0</maxValue>
</preference>
</preferences>
</category>
</categories>
</converterOptions>
</configuration>
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading

0 comments on commit 52cc532

Please sign in to comment.