• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Kalelovil

<b>BL-logic</b><br>Event Team Leader
29 Badges
Apr 30, 2008
2.372
1
  • Darkest Hour
  • Victoria 2 A House Divided Beta
  • Victoria 2
  • Supreme Ruler: Cold War
  • Sword of the Stars II
  • Semper Fi
  • Rome Gold
  • March of the Eagles
  • Majesty 2 Collection
  • Magicka
  • King Arthur II
  • Heir to the Throne
  • Hearts of Iron III
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II
  • Deus Vult
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Pride of Nations
  • 500k Club
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
That worked. At first it did not but then I realised that I did not change the install directory as for some reason the .bat file had disappeared.
When I first installed it I did try with it in the same folder but when I got the same results as it not being there I never tried it again.

Thanks

Now all you need to do is work out how to make all the countries convert. How about forcing 2 countries with the tags AAA and AAB ( if they are used numbers come before letters right?) to run though the converter but end up with nothing and not selectable and as they are the first 2 countries the run though the converter the rest should be fine?

PS: you are going to also have to do something to give countries clipper transports becaus as the UK I could not ship the stuff needed to bulid them back home. I belive EU2 converted merchants into them at 1M = 2C
Good to see that things turned out well in the end. Here is a new .bat file (untested) which should hopefully fix various problems including clipper convoys and conversion from vanilla eu3.
 
Last edited:

ladybug

Commander of the Ladybug army
91 Badges
Jul 5, 2003
1.379
12
  • Cities: Skylines Deluxe Edition
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Magicka 2: Ice, Death and Fury
  • Crusader Kings II: Conclave
  • Stellaris: Nemesis
  • Europa Universalis III
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Diplomacy
  • Hearts of Iron II: Armageddon
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
Well still did not the 2 countries that did not convert but I got my convoys (what is used for the conversion) Now a few things using the same save game I posted.

I see what you done and why with Italy but I don’t think the papal states should convert to Italy.

Do you still need to load up as another country before reloading as the one you want to play? I didn’t for this test so it might have caused some problams.

I ended up with a literacy of 1 after all the events fired.

Some EU3 provinces with less the 4000 people in them ended up with no one in them.

(Reloaded to check army sizes in EU3 then the convert, loaded as a random country this time)

I had both the largest army and navy in EU3 but have an army of 0 and only 3rd largest navy in the convert how is it actually converted as some changes might need to be made.
 

Kalelovil

<b>BL-logic</b><br>Event Team Leader
29 Badges
Apr 30, 2008
2.372
1
  • Darkest Hour
  • Victoria 2 A House Divided Beta
  • Victoria 2
  • Supreme Ruler: Cold War
  • Sword of the Stars II
  • Semper Fi
  • Rome Gold
  • March of the Eagles
  • Majesty 2 Collection
  • Magicka
  • King Arthur II
  • Heir to the Throne
  • Hearts of Iron III
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II
  • Deus Vult
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Pride of Nations
  • 500k Club
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
Well still did not the 2 countries that did not convert but I got my convoys (what is used for the conversion) Now a few things using the same save game I posted.

Do you still need to load up as another country before reloading as the one you want to play? I didn’t for this test so it might have caused some problams.
Yes you do, which would be the cause of your literacy problem. I do intend to remove this annoyance at some point.

I see what you done and why with Italy but I don’t think the papal states should convert to Italy.
Some EU3 provinces with less the 4000 people in them ended up with no one in them.
I'll have a look at these issues.

(Reloaded to check army sizes in EU3 then the convert, loaded as a random country this time)

I had both the largest army and navy in EU3 but have an army of 0 and only 3rd largest navy in the convert how is it actually converted as some changes might need to be made.
Because the converter is designed for an EU3 end date of 1821 latin countries need to have a land tech level of at least 53 to get cavalry and 55 to get infantry in Victoria.
 

ravensuominen

Captain
75 Badges
Jan 13, 2003
433
5
  • Hearts of Iron IV: No Step Back
  • Stellaris: Galaxy Edition
  • Surviving Mars
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Humble Paradox Bundle
  • Europa Universalis: Rome Collectors Edition
  • Europa Universalis IV: Pre-order
  • Hearts of Iron IV: Expansion Pass
  • Battle for Bosporus
  • Crusader Kings III
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Ancient Relics
  • Cities: Skylines - Campus
  • Europa Universalis IV: El Dorado
  • Stellaris: Megacorp
  • Cities: Skylines Industries
  • Cities: Skylines - Parklife
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Green Cities
  • Stellaris: Synthetic Dawn
  • Europa Universalis III
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • For The Glory
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Diplomacy
Some EU3 provinces with less the 4000 people in them ended up with no one in them.

I mentioned this earlier: since the population is quite low, all the resulting POPs are smaller than 100 and thus rounded down to zero. Provinces with such low population should not be divided into as many as 8 POPs. (I have no idea how to do this, but I hope Kalelovil finds a way...)
 

Kalelovil

<b>BL-logic</b><br>Event Team Leader
29 Badges
Apr 30, 2008
2.372
1
  • Darkest Hour
  • Victoria 2 A House Divided Beta
  • Victoria 2
  • Supreme Ruler: Cold War
  • Sword of the Stars II
  • Semper Fi
  • Rome Gold
  • March of the Eagles
  • Majesty 2 Collection
  • Magicka
  • King Arthur II
  • Heir to the Throne
  • Hearts of Iron III
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II
  • Deus Vult
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Pride of Nations
  • 500k Club
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
New version: [urlhttp://www.mediafire.com/file/myyunnnyo2j/eu3torev.rar[/url]
Mainly for the purpose of having a complete package rather than .bat links floating around, only feature change being that there should be no POP empty provinces which is accomplished by the temporary fix of rounding up 0s to 1s.
 
Last edited:

italofic

Corporal
60 Badges
Feb 1, 2005
47
0
  • War of the Roses
  • Magicka
  • March of the Eagles
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Sengoku
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Lead and Gold
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Humble Paradox Bundle
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Europa Universalis 4: Emperor
  • Deus Vult
  • Hearts of Iron II: Armageddon
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Arsenal of Democracy
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Impire
Hi. first of all I want to thank you for your wonderful work. I tried other converter but this is the only one I could manage to use. Acutally I'm writing this post because I still have some problems: the pops.csv file that the converter produces is totally empty (0 KB) and so all the prvinces of my map have no population. All the other things are perfect, which is great, but it could be perfet without this last matter.

I've read the previus posts so I downloaded the last file. maybe I'm doing something wrong in postioning files in folders. I don't know. Please help me :D ... (I'm trying to convert form EU3 NA to Vic Rev)
 

ladybug

Commander of the Ladybug army
91 Badges
Jul 5, 2003
1.379
12
  • Cities: Skylines Deluxe Edition
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Magicka 2: Ice, Death and Fury
  • Crusader Kings II: Conclave
  • Stellaris: Nemesis
  • Europa Universalis III
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Diplomacy
  • Hearts of Iron II: Armageddon
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
Ok the heres how you get it to work

1: unzip the file to where ever you want (mine is in the EU3 mod folder but you can stick yours anywhere)

2: Find “eu3mmptorev.bat” (file type might say “windows batch file”) right click on it and select edit (use notepad if it asks) and find “set InstallDirectory="C:\Program Files\Paradox Interactive\Victoria" and replace it to where you installed Victoria (save and quit)

3: open the Utilities folder and copy all the files there to the main converter folder (the one with the .bat file) and “windows\system32” folder overwriting any files that have an older date

4: find the file you wish to convert and copy it into the main converter folder

5: run “eu3mmptorev.bat” but wait until a new window pops up asking for you to select “link list package” select the “EU3vanilli&NAx” and press load

6: press oven and file the file you want to convert select it then press convert

7: once the file is converted you can close the extra window and you move onto the bit that say “press any button to continue” just press anything and twice more what it askes

8: load up Victoria and select the converted save game and start as some random country and let 5 days go past, save the game and quit to the main menu

9: select the game you just saved and load up as the country you wish to play

If this dose not work then I have no clue what’s wrong and you will have to ask Kalelovil
 

Kalelovil

<b>BL-logic</b><br>Event Team Leader
29 Badges
Apr 30, 2008
2.372
1
  • Darkest Hour
  • Victoria 2 A House Divided Beta
  • Victoria 2
  • Supreme Ruler: Cold War
  • Sword of the Stars II
  • Semper Fi
  • Rome Gold
  • March of the Eagles
  • Majesty 2 Collection
  • Magicka
  • King Arthur II
  • Heir to the Throne
  • Hearts of Iron III
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II
  • Deus Vult
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Pride of Nations
  • 500k Club
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
Hi. first of all I want to thank you for your wonderful work. I tried other converter but this is the only one I could manage to use. Acutally I'm writing this post because I still have some problems: the pops.csv file that the converter produces is totally empty (0 KB) and so all the prvinces of my map have no population. All the other things are perfect, which is great, but it could be perfet without this last matter.

I've read the previus posts so I downloaded the last file. maybe I'm doing something wrong in postioning files in folders. I don't know. Please help me :D ... (I'm trying to convert form EU3 NA to Vic Rev)
I have updated the file in the links so download it again and it may fix your problem. Since you are converting from NA you need to make sue that you change the version (4th) line in the .bat to:
Code:
set Version=Vanilla
Also, make sure you have plenty of free hard drive space wherever on your computer you are doing the conversion.
 

unmerged(70561)

Corporal
Mar 2, 2007
37
0
Hey guys, thanks so much for attempting this.

I'm having some trouble. Everything seems to run correctly (following the directions you have given me), but when I load up Vicky nothing appears in the Saved Games area. What am I doing wrong? Thanks!
 

Kalelovil

<b>BL-logic</b><br>Event Team Leader
29 Badges
Apr 30, 2008
2.372
1
  • Darkest Hour
  • Victoria 2 A House Divided Beta
  • Victoria 2
  • Supreme Ruler: Cold War
  • Sword of the Stars II
  • Semper Fi
  • Rome Gold
  • March of the Eagles
  • Majesty 2 Collection
  • Magicka
  • King Arthur II
  • Heir to the Throne
  • Hearts of Iron III
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II
  • Deus Vult
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Pride of Nations
  • 500k Club
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
Hey guys, thanks so much for attempting this.

I'm having some trouble. Everything seems to run correctly (following the directions you have given me), but when I load up Vicky nothing appears in the Saved Games area. What am I doing wrong? Thanks!
Look in the Scenarios area above, the name should have the format of EU3:savegamename. Also, make sure you have changed the directory in the .bat (3rd line) to wherever you have Victoria installed.
 

unmerged(131476)

Recruit
4 Badges
Jan 8, 2009
4
0
  • Crusader Kings II
  • Europa Universalis IV
  • Hearts of Iron III
  • Victoria 2: A House Divided
Thank you!
The converter works for me. Sort of.
Until the last update it wouldn't create a conversion.txt that wasn't empty, but now it does. But for some reason the latest converter doesn't want to write the POP file.
Luckily, one of the older versions of the converter from a few pages back does that well, so by combining the the output of the two different versions I can convert without any major problems.

Also, I think (can't remember anymore) that when I moved the folder with the converter to a directory without spaces in the name it started working better. It might have been a coincidence though.

About those clipper convoys. I had a look at my conversion.txt file and saw what I think are a bunch of events that should hand out clipper convoy resources, but the events don't seem to happen in game.

Is there a way to change the rules on factory and POP conversion?
I'd guess that the rules for factories are locked away in convetorv8.exe, which means that changing the factories in the save file after conversion is the only option.
No clue where the POP rules are.
 

ladybug

Commander of the Ladybug army
91 Badges
Jul 5, 2003
1.379
12
  • Cities: Skylines Deluxe Edition
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Magicka 2: Ice, Death and Fury
  • Crusader Kings II: Conclave
  • Stellaris: Nemesis
  • Europa Universalis III
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Diplomacy
  • Hearts of Iron II: Armageddon
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
I am not sure, when I first made the factory converter it was “hardcoded” but Pascal is quite an easy language to understand, if you can mod paradox games you could probably change what factories you got and I freely gave out to source code for anyone to do it. All you would need to do is change a text file and recompile the program to get what you want.

Now the program still dose the same thing (write an event to add a factory) but I am not sure how its integrated into the converter as a whole as the .pas file included is actually only a .txt used to save the pre compiled coding so changing it should not actually do anything.
If anyone can tell me if the .pas file included is used or not I could change the program so that the factories given are stored in an external file today.

This is the pascal code that actually writes the event have a look and you should be able to see what you would want to change but there are 18 (well thats how many I made) of them
Code:
if wha = (1) then
	begin
                if  whac = (1) then
                begin
				
write(factroy,'event = { id = ',(facid+900000),' random = no province = ',(vicpovid),' trigger = {');
write(factroy,' owned = { province = ',(vicpovid),'   } }');
write(factroy,' name = "AI_EVENT" ');
write(factroy,' desc = "Placeholder" picture = default');
write(factroy,' date = { day = 1 month = january year = 1836 }');
write(factroy,' offset = 1');

write(factroy,' action_a = { Name = "Name"');
write(factroy,' command = { type = activate_building_type which = lumber_mill } }');
write(factroy,' } ');
writeln(factroy);

write(factroy,'event = { id = ',(facid+800000),' random = no province = ',(vicpovid),' trigger = {');
write(factroy,' owned = { province = ',(vicpovid),'   }');
write(factroy,' random = 40 }');
write(factroy,' name = "Factory Convert" ');
write(factroy,' desc = "Heres a factroy from EU3" picture = default');
write(factroy,' date = { day = 4 month = january year = 1836 }');
write(factroy,' offset = 1');

write(factroy,' action_a = { Name = "Name"');
write(factroy,' command = { type = gain_building which = ');
write(factroy,(vicpovid),' value = lumber_mill } }');
write(factroy,' } ');
        whac := (whac +1);
	facid := (facid +1);
	writeln(factroy);

                       end;
 

unmerged(70561)

Corporal
Mar 2, 2007
37
0
Look in the Scenarios area above, the name should have the format of EU3:savegamename. Also, make sure you have changed the directory in the .bat (3rd line) to wherever you have Victoria installed.

It's not in the scenarios section either. The directory is already set to the correct Victoria install directory, so I don't know what the problem could be.
 

unmerged(131476)

Recruit
4 Badges
Jan 8, 2009
4
0
  • Crusader Kings II
  • Europa Universalis IV
  • Hearts of Iron III
  • Victoria 2: A House Divided
I am not sure, when I first made the factory converter it was “hardcoded” but Pascal is quite an easy language to understand, if you can mod paradox games you could probably change what factories you got and I freely gave out to source code for anyone to do it. All you would need to do is change a text file and recompile the program to get what you want.

Now the program still dose the same thing (write an event to add a factory) but I am not sure how its integrated into the converter as a whole as the .pas file included is actually only a .txt used to save the pre compiled coding so changing it should not actually do anything.
If anyone can tell me if the .pas file included is used or not I could change the program so that the factories given are stored in an external file today.

This is the pascal code that actually writes the event have a look and you should be able to see what you would want to change but there are 18 (well thats how many I made) of them
[code snip snip]

Aha, I see. So convetorv8.pas is the source for the exe. Hehe, at first I thought it was just some kind of script file for writing the event text.

Anyway, I believe I understand how the write portion of the code works, even if I don't fully comprehend how EU3data is read.
If I mess around a bit with how the factory counter variables (whac in your example) are used, it will result in more or less of a given factory type.

Eu3mmptorev.bat runs the exe, so it looks like the source isn't used.
What should I use to recompile the source?
 

Kalelovil

<b>BL-logic</b><br>Event Team Leader
29 Badges
Apr 30, 2008
2.372
1
  • Darkest Hour
  • Victoria 2 A House Divided Beta
  • Victoria 2
  • Supreme Ruler: Cold War
  • Sword of the Stars II
  • Semper Fi
  • Rome Gold
  • March of the Eagles
  • Majesty 2 Collection
  • Magicka
  • King Arthur II
  • Heir to the Throne
  • Hearts of Iron III
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II
  • Deus Vult
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Pride of Nations
  • 500k Club
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
It's not in the scenarios section either. The directory is already set to the correct Victoria install directory, so I don't know what the problem could be.
Change the fifth line of eu3mmptorev.bat into
Code:
set Debug=On
and then run the converter, hopefully that will produce the .eug, conversion.txt and pops.csv which you can then manually move to your victoria scenarios and scenarios/GC directories.
No clue where the POP rules are.
The current POP rules (lines 189-280, 469-560 and 743-834 for InNomine, MMP and Vanilla respectively):
Code:
sed -e "s/pommeranian\|prussian\|hannoverian\|saxon\|old_prussian/north_german/g" -e "s/hessian\|rheinlaender\|bavarian\|austrian/south_german/g" -e "s/english\|lowland_scottish\|highland_scottish\|welsh\|breton\|scottish/british/g" -e /central_american/!"s/american/dixie/g" -e "s/lombard/north_italian/g" -e "s/umbrian\|sicilian/south_italian/g" -e "s/castillian\|galician\|andalucian/spanish/g" -e "s/portugese/portuguese/g" -e "s/cosmopolitan_french\|gascon\|normand\|aquitaine\|burgundian\|occitain\|wallonian/french/g" -e "s/finnish\|sapmi\|ingrian/finnish/g" -e "s/slovenian/slovene/g" -e "s/croatian/croat/g" -e "s/serbian/serb/g" -e "s/polish\|schlesian/polish/g" -e "s/maghreb_arabic\|al_misr_arabic\|al_suryah_arabic\|al_iraqiya_arabic\|bedouin_arabic/arabic/g" -e "s/berber\|tuareg/tuareg/g" -e "s/persian\|east_persian/persian/g" -e "s/azerbadjani/azerbaijani/g" -e "s/tunguz/tungus/g" -e "s/zapotek\|aztek/central_american/g" -e "s/inca/south_andean/g" -e "s/guarani\|teremembe\|tupinamba\|mataco/guarani/g" -e "s/arawak\|carib/caribeno/g" -e "s/dakota\|shawnee\|delaware/dakota/g" -e "s/cherokee\|iroquis\|huron\|creek/cherokee/g" -e "s/chihan/nanfaren/g" -e "s/cantonese/yue/g" -e /mongol/!"s/mon\|burmese\|chin/burmanese/g" -e "s/polynesian/polynese/g" -e "s/malayan\|cham/malayan/g" -e "s/filipino/philippine/g" -e "s/madagascan\|madagasque/malagasy/g" -e "s/sulawesi/javan/g" -e "s/central_thai/thai/g" -e "s/lao\|northern_thai/laotian/g" -e /ashanti/!"s/shan/asian_minor/g" -e "s/papuan\|melanesian\|moluccan/melanese/g" -e "s/aboriginal/aborigin/g" -e "s/panjabi\|kashmiri/panjabi/g" -e "s/sindhi/sindi/g" -e "s/senegambian\|dyola/dyula/g" -e "s/bantu/african_minor/g" -e "s/ethiopian/amhara/g" -e "s/kongolese/bakongo/g" -e /somali/!"s/mali/fulbe/g" -e "s/yorumba/yoruba/g" -e "s/aka\|ashanti/akan/g" -e "s/reformed/protestant/g" -e "s/buddhism/theravada/g" -e "s/hinduism/hindu/g" -e "s/shinto\|confucianism/mahayana/g" -e "s/animism\|shamanism/pagan/g" daft8.txt > daft9.txt
...
sed -e /workshop=yes/"s/farmers/craftsmen/" -e /marketplace=yes/"s/farmers/craftsmen/" -e /tax_assessor=yes/"s/farmers/clerks/" -e /regimental_camp=yes/"s/farmers/soldiers/" -e /war_college=yes/"s/farmers/officers/" -e /courthouse=yes.*university=yes/"s/farmers/aristocrats/" -e /courthouse=yes.*fine_arts_academy=yes/"s/farmers/aristocrats/" gawk7.txt > gawk7.5.txt
sed -e /courthouse=yes.*marketplace=yes.*tax_assessor=yes.*customs_house=yes.*textile=yes/"s/farmers/capitalists/" -e /courthouse=yes.*marketplace=yes.*tax_assessor=yes.*customs_house=yes.*refinery=yes/"s/farmers/capitalists/" gawk7.5.txt > gawk8.txt
...
sed -n 241,243p eu3mmptorev.bat > awky2.awk
BEGIN { FS = ";" } 
{ OFS = ";" }
{print $1,$2,$3,$4,$5,$6,$7,$8/11000}
gawk -f awky2.awk gawk10.txt > gawk11.txt
sed -n 246,249p eu3mmptorev.bat > awky5.awk
BEGIN { FS = ";" } 
{ OFS = ";" }
/farmers/ {print $1,$2,$3,$4,$5,$6,$7,$8*6}
!/farmers/ {print $1,$2,$3,$4,$5,$6,$7,$8}
gawk -f awky5.awk gawk11.txt > gawk12.4.txt
sed -n 252,255p eu3mmptorev.bat > awky6.awk
BEGIN { FS = ";" } 
{ OFS = ";" }
/nanfaren/ {print $1,$2,$3,$4,$5,$6,$7,$8*1.7}
!/nanfaren/ {print $1,$2,$3,$4,$5,$6,$7,$8}
gawk -f awky6.awk gawk12.4.txt > gawk12.5.txt
sed -n 258,260p eu3mmptorev.bat > awky3.awk
BEGIN { FS = ";" } 
{ OFS = ";" }
{print $1,$2,$3,$4,$5,$6,$7,$8+0.5}
gawk -f awky3.awk gawk12.5.txt > gawk12.txt
sed -n 263,265p eu3mmptorev.bat > awky4.awk
BEGIN { FS = ";" } 
{ OFS = ";" }
{print $1,$2,$3,$4,$5,$6,$7,int($8)}
gawk -f awky4.awk gawk12.txt > gawk13.txt
...
sed -e "s/;;;;0$/;;;;1/" POP.txt > POPs.csv
 
Last edited:

ladybug

Commander of the Ladybug army
91 Badges
Jul 5, 2003
1.379
12
  • Cities: Skylines Deluxe Edition
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Magicka 2: Ice, Death and Fury
  • Crusader Kings II: Conclave
  • Stellaris: Nemesis
  • Europa Universalis III
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Diplomacy
  • Hearts of Iron II: Armageddon
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
Aha, I see. So convetorv8.pas is the source for the exe. Hehe, at first I thought it was just some kind of script file for writing the event text.

Eu3mmptorev.bat runs the exe, so it looks like the source isn't used.
What should I use to recompile the source?

http://www.freepascal.org/
that's were I got it from about a year ago when I was doing pascal at college


Anyway, I believe I understand how the write portion of the code works, even if I don't fully comprehend how EU3data is read.
If I mess around a bit with how the factory counter variables (whac in your example) are used, it will result in more or less of a given factory type.

well I don't even understand how it gets the data its the only thing I could not actually do :rolleyes: Let me add some comments to the code I posted. which I will repost here (and to let me know what I am doing as its almost been a year since I wrote it and done any kind of pascal programming)

Code:
if wha = (1) then #checks to see if a wharf is in the province
	begin
                if  whac = (1) then # checks to see how many wharfs have been converted
                begin

### start of activating factroy for countries without tech need for it
write(factroy,'event = { id = ',(facid+900000),' random = no province = ',(vicpovid),' trigger = {');
write(factroy,' owned = { province = ',(vicpovid),'   } }');
write(factroy,' name = "AI_EVENT" ');
write(factroy,' desc = "Placeholder" picture = default');
write(factroy,' date = { day = 1 month = january year = 1836 }');
write(factroy,' offset = 1'); 

write(factroy,' action_a = { Name = "Name"');
write(factroy,' command = { type = activate_building_type which = lumber_mill } }'); # factroy being activated
write(factroy,' } ');
writeln(factroy);
### end of activating factroy for countries without tech need for it

###start of event for place factroy
write(factroy,'event = { id = ',(facid+800000),' random = no province = ',(vicpovid),' trigger = {');
write(factroy,' owned = { province = ',(vicpovid),'   }');
write(factroy,' random = 40 }');
write(factroy,' name = "Factory Convert" ');
write(factroy,' desc = "Heres a factroy from EU3" picture = default');
write(factroy,' date = { day = 4 month = january year = 1836 }');
write(factroy,' offset = 1');

write(factroy,' action_a = { Name = "Name"');
write(factroy,' command = { type = gain_building which = ');
write(factroy,(vicpovid),' value = lumber_mill } }'); #factroy being placed
write(factroy,' } ');
	facid := (facid +1);
        whac := (0); #only in 3rd convert for resetting counter
	writeln(factroy);
        end;
        whac := (whac +1); #incress the wharf converted counter by 1, is normally where the "whac := (0);" is
	end;

now what you should get from that to make more/change factroy

1: copy base coding
2: change "if whac = (1)" to number needed
3: change factroy activated
4:change factroy placed
(only for adding more)
5: delete "whac := (0);" in the 3rd wharf event
6: insert new code before the final "end;" but after the end under "writeln(factroy);"
 
Last edited:

unmerged(70561)

Corporal
Mar 2, 2007
37
0
Kalelovil,

I ran it in debug mode like you said, and I moved the .eug and conversion.txt to the /scenarios folder. However, there was no pops.csv, rather, there is a bunch of other files appeared, such as armynav.txt, army1.zyx, 1.sed, factory.zyx, and a bunch of province files. I'm assuming that these are in place of the pops.csv. What do I do with them all?
 

Kalelovil

<b>BL-logic</b><br>Event Team Leader
29 Badges
Apr 30, 2008
2.372
1
  • Darkest Hour
  • Victoria 2 A House Divided Beta
  • Victoria 2
  • Supreme Ruler: Cold War
  • Sword of the Stars II
  • Semper Fi
  • Rome Gold
  • March of the Eagles
  • Majesty 2 Collection
  • Magicka
  • King Arthur II
  • Heir to the Throne
  • Hearts of Iron III
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II
  • Deus Vult
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Pride of Nations
  • 500k Club
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
Kalelovil,

I ran it in debug mode like you said, and I moved the .eug and conversion.txt to the /scenarios folder. However, there was no pops.csv, rather, there is a bunch of other files appeared, such as armynav.txt, army1.zyx, 1.sed, factory.zyx, and a bunch of province files. I'm assuming that these are in place of the pops.csv. What do I do with them all?
You should have a pops.csv file, it is a problem that you don't. If you could zip the folder containing all these files and upload it on a website like mediafire it may help me to find the problem.
 

Nomble

Friman
126 Badges
May 15, 2003
291
0
  • Supreme Ruler 2020
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2 Collection
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sword of the Stars
  • Sword of the Stars II
  • Hearts of Iron III: Their Finest Hour
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 200k Club
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis: Rome Collectors Edition
  • Rise of Prussia
  • Stellaris: Necroids
  • Deus Vult
  • Arsenal of Democracy
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Hearts of Iron Anthology
  • Diplomacy
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
Seem to be having problem with this step.

5: run “eu3mmptorev.bat” but wait until a new window pops up asking for you to select “link list package” select the “EU3vanilli&NAx” and press load

6: press oven and file the file you want to convert select it then press convert


Opens up Eu3_to_Vic.jar in winrar instead. The CMD window opens like stated.

??

Edit: And yes, I have Java installed..
 
Last edited:

italofic

Corporal
60 Badges
Feb 1, 2005
47
0
  • War of the Roses
  • Magicka
  • March of the Eagles
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Sengoku
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • Lead and Gold
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Humble Paradox Bundle
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Europa Universalis 4: Emperor
  • Deus Vult
  • Hearts of Iron II: Armageddon
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Arsenal of Democracy
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Impire
3: open the Utilities folder and copy all the files there to the main converter folder (the one with the .bat file) and “windows\system32” folder overwriting any files that have an older date


Since you are converting from NA you need to make sue that you change the version (4th) line in the .bat to:
Code:
set Version=Vanilla

I don't konw which of theese two things made it work, however I've to thank you both for your really fast and useful help. Only some minor question now:
1) I notice that when I open the converted savegame with victoria for the first time no nation have armies, but after unpausing it they appear. I suppose also that this happens for all countries except the one I am playng at the beginning, isn't it?
2) I notice the armies of the country I played in EU3 (and previously in ck :p ) are all composed of 1000 soldiers, while the armies of the other nations are of 10000 soldiers. I wonder if it's something connected with tecolnogy (which shouldn't becouse I was by far the more advanced in EU3)
3) There are still 3 small region (Kaiserslautern, Mainz and Darmstdadt) with no population, I don't konw if it's a konwn problem (if not I'm going to check my savegame for mispelled cultures, maybe)
4) I notice that Great Britan appears as Protestant even if in my Eu3 game was Catholic.

And that's it, I think, for now :D. I want to thank you again... It's more then a year since I'm waitingo for this moment

No, there was a last thing: Albanian regions (Tiran and Skhode) aren't owned by anyone (same as inner africa) but albania appears as a nation that can be choosen (never done it, however I bet the game will crash) and the population inside appears to be right.
 
Last edited: