How to get Magellan to read the FtG files?

  • Hearts of Iron IV Survey

    Help us make HoI IV better by sharing your experiences in this 5 minute survey


  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

Nein

Lt. General
2 Badges
Feb 19, 2013
1.249
562
  • Darkest Hour
  • For The Glory
I'm interested in editing the map (if only slightly), but I've already run into trouble during the initialisation. I put the Magellan files in the Paradox Interactive folder (the same one that contains For the Glory) as well as a copy of cmd.exe, and when I'm asked to input the "EU 2" folder I just write /D:"For the Glory", which causes an error.

So... is there a way to get around not actually having EU 2?

EDIT: I have version 2.2 ("Celebes"). For some reason I can't get the more recent ones out of the zip file (with WinRAR though, if that could make a difference).
 

ConjurerDragon

Generalissimus
63 Badges
Apr 19, 2005
5.236
466
  • Teleglitch: Die More Edition
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • The Kings Crusade
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars
  • Impire
  • Victoria 2
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Pride of Nations
  • Rise of Prussia
  • Shadowrun: Hong Kong
  • East India Company Collection
  • Hearts of Iron Anthology
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • 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 Glory
  • Hearts of Iron III
I'm interested in editing the map (if only slightly), but I've already run into trouble during the initialisation. I put the Magellan files in the Paradox Interactive folder (the same one that contains For the Glory) as well as a copy of cmd.exe, and when I'm asked to input the "EU 2" folder I just write /D:"For the Glory", which causes an error.

So... is there a way to get around not actually having EU 2?

EDIT: I have version 2.2 ("Celebes"). For some reason I can't get the more recent ones out of the zip file (with WinRAR though, if that could make a difference).

I have no idea how to edit the map myself but does perhaps one of those threads give a hint about your problem?
https://forum.paradoxplaza.com/forum/index.php?threads/magellan-noob.374083/
https://forum.paradoxplaza.com/forum/index.php?threads/map-editing.795844/
https://forum.paradoxplaza.com/forum/index.php?threads/magellan-1-0.245459/
 

Therion

Field Marshal
21 Badges
Sep 7, 2006
2.631
75
  • Heir to the Throne
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • 500k Club
  • War of the Roses
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II
Magellan looks for the map folder and the province.csv file in the db folder (iirc) so you need to have those. FTG has the same map files but has province.txt instead of .csv so you just need to grab the csv from Eu2.

Edit: I believe you could even use a dummy province.csv. It won't export any of the province data to the eu2map format but you probably don't need that anyway.
 
Last edited:

Nein

Lt. General
2 Badges
Feb 19, 2013
1.249
562
  • Darkest Hour
  • For The Glory
I found that I actually had 2.4 somewhere in my HDD, so that's one less problem.
As for the csv file, I tried to change the format of the FtG txt (and put it in the DB folder rather than within Map), but what I got in Magellan was an error message mostly dealing with a "CSVReader", which probably means I need the proper file.
 

ConjurerDragon

Generalissimus
63 Badges
Apr 19, 2005
5.236
466
  • Teleglitch: Die More Edition
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • The Kings Crusade
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars
  • Impire
  • Victoria 2
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Pride of Nations
  • Rise of Prussia
  • Shadowrun: Hong Kong
  • East India Company Collection
  • Hearts of Iron Anthology
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • 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 Glory
  • Hearts of Iron III
I found that I actually had 2.4 somewhere in my HDD, so that's one less problem.
As for the csv file, I tried to change the format of the FtG txt (and put it in the DB folder rather than within Map), but what I got in Magellan was an error message mostly dealing with a "CSVReader", which probably means I need the proper file.

I vaguely remember that Magellan should create the province.csv itself...
http://forum.paradoxplaza.com/forum...inces-from-eu-ii-to-ftg.829905/#post-18714402

Shouldn´t that whole discussion be in the modifications subforum?
 

Therion

Field Marshal
21 Badges
Sep 7, 2006
2.631
75
  • Heir to the Throne
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • 500k Club
  • War of the Roses
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II
I found that I actually had 2.4 somewhere in my HDD, so that's one less problem.
As for the csv file, I tried to change the format of the FtG txt (and put it in the DB folder rather than within Map), but what I got in Magellan was an error message mostly dealing with a "CSVReader", which probably means I need the proper file.
If you're extracting a map, I think you need to proper file yes. Which map are you trying to extract?
 

Therion

Field Marshal
21 Badges
Sep 7, 2006
2.631
75
  • Heir to the Throne
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • 500k Club
  • War of the Roses
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II
I have the extracted eu2map files for vanilla and most of the mods, if you want me to send them to you. They're about 7-9MB each.
 

Therion

Field Marshal
21 Badges
Sep 7, 2006
2.631
75
  • Heir to the Throne
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • 500k Club
  • War of the Roses
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II
Yes these were extracted from eu2 with all the db data so they come with all the province data (which you can see in mview). If you PM your email address I'll send them to you.
 

Nein

Lt. General
2 Badges
Feb 19, 2013
1.249
562
  • Darkest Hour
  • For The Glory
One last question... Say I want to remove some provinces to free up IDs, can I just delete their entries in provinces.txt or do I have to do something more? (I don't care if I can still see them in the map)

EDIT: Sorry... Another one: One tutorial I found says I have to make my changes in a new layer which I then merge with the Shading layer, so I did that to add two new provinces, one that I split from a larger one and the other is an island that I want to make an independent province. To add them, to I just separate them with the pencil and run the actions (Update Province/Borders, Create New Shading Set, Text Lighten)?

This is what I got right now:

I4ROQMY.png
 
Last edited:

Therion

Field Marshal
21 Badges
Sep 7, 2006
2.631
75
  • Heir to the Throne
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • 500k Club
  • War of the Roses
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II
One last question... Say I want to remove some provinces to free up IDs, can I just delete their entries in provinces.txt or do I have to do something more? (I don't care if I can still see them in the map)
No, first you have to remove the province from the IDs layer. Each colour in the IDs layer corresponds to a particular province ID (this is given by the mcolor tool). Essentially the colour defines the province and its clickability.

To add them, to I just separate them with the pencil and run the actions (Update Province/Borders, Create New Shading Set, Text Lighten)?
No, the changes have to be performed in the IDs layer. The borders and shadings are done later. The Photoshop actions build the shading and border layers from the IDs layer.
 

Nein

Lt. General
2 Badges
Feb 19, 2013
1.249
562
  • Darkest Hour
  • For The Glory
Tried deleting a few provinces in Siberia (though I didn't touch the Shading) but when I used mimage.exe (command: mimage.exe /i siberiadone.psd watk4.eu2map) I got the following error:

*** Environment Info ***

Magellan Build Version: Marianas-rc1 2.4.0.*
EU2 Lib Version: 2.4.0.18225
Date: 2015/07/08 16:14:36
Tool: mimage, Version=2.4.0.18225, Culture=neutral, PublicKeyToken=null (v2.4.0.18225)
OSVersion: Win32NT - 6.1.7601.65536
CurrentDir: C:\Program Files (x86)\Paradox Interactive
SystemDir: C:\Windows\system32
CommandLine: mimage.exe /i siberiab2.psd watk4.eu2map
CLR: 2.0.50727.5456
EU2: (no install)

*** Error Info ***

PSD.InvalidAdjustmentKeyException: Invalid layer adjustment key 'shmd'.
en PSD.LayerAdjustment.Construct(BinaryReader reader)
en PSD.ProtoLayer.ReadDefinitionFrom(BinaryReader reader)
en PSD.Layers.ReadLayers(BinaryReader reader)
en PSD.Layers.ReadFrom(BinaryReader reader)
en PSD.File.ReadFrom(BinaryReader reader)
en PSD.File.ReadFrom(String path)
en MapImage.QueryImage.Run(String source)
en MapImage.ImportImage.Run(String source, String target, Int32 regen, Point relocate, Boolean nowrite, PngLevel pngLevel, Boolean tolerant, Boolean checkIdgrid)
en MapImage.Boot.Main(String[] args)

7JUdT6G.png


If it matters at all, I also tried merging the "Layer 1" and "IDs copy" with Ids, only to get the same error.
 

Therion

Field Marshal
21 Badges
Sep 7, 2006
2.631
75
  • Heir to the Throne
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • 500k Club
  • War of the Roses
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II
I don't think merging layers is a good idea. You want to work on the IDs layer. Say if you want to transform Nenets province to PTI all you have to do is colour fill the Nenets province to black (which means PTI) and delete the border around the province.

At any rate the layers have to remain the same (Borders, IDs and Shading) before using mimage and the borders should never be touching with PTI. The 'Update Borders 'action draws borders around every colour change so you have to manually delete borders falling on PTI/provinces, sea-zones/provinces and rivers (in case of rivers, borders have to be drawn manually). Have a look at the original map to see how it should be done.
 

Therion

Field Marshal
21 Badges
Sep 7, 2006
2.631
75
  • Heir to the Throne
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • 500k Club
  • War of the Roses
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II
You should leave a little gap between the borders and PTI (e.g. 5px).

Edit: If this problem persists, download GIMP (a free graphics editor), open the psd with it and save/overwrite. Don't ask me why - just something I learned by trial and error.
 
Last edited:

Therion

Field Marshal
21 Badges
Sep 7, 2006
2.631
75
  • Heir to the Throne
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • 500k Club
  • War of the Roses
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II
That means there's something wrong in the IDs layer. There's a colour (RGB 1E2454) corresponding to an invalid ID (2720) at the location (215,38).
 

Nein

Lt. General
2 Badges
Feb 19, 2013
1.249
562
  • Darkest Hour
  • For The Glory
I forgot to "check out" the Antialising of the fill tool... Now it finally works!

:D

EDIT:

Npq9VH5.png

The borders are off, though I suppose I can take care of that on my own.

My last question is about the Shading action, which I don't really understand how to use.

Anyways thank you VERY VERY much!!
 
Last edited: