• 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.

Eraclio

Major
1 Badges
Nov 26, 2006
615
2
  • For The Glory
I've some questions about FTG data files.

1. If there isn't a file in a mod, the mod runs as default vanilla one?

2. Why a mod can have a crash to desktop quite immeditly?

3a. The images in the game has the length and width of the .spr files or .bmp files?

3b. If the length and the width of each icons are as each .spr file, national provinces are smaller than bmp one?

4. Which files must have at least any map mods?

5. How much terrain bmp files influence the game speed performance?
 
I've some questions about FTG data files.

1. If there isn't a file in a mod, the mod runs as default vanilla one?

Yes, except for scenarios afaik.

2. Why a mod can have a crash to desktop quite immeditly?

Something must be wrong, run in debug mode and look into report file. Last file listed as loaded usually causes problems.

Also try with simple scenario first: 1 country, 1 CoT. At least 1 CoT is a must for the scenario to start.

4. Which files must have at least any map mods?
My guess is map files, provinces.txt and scenario. It can probably read all other files from vanilla, even if it doesn't fit on the map, but I'm not sure.
 
Yes, except for scenarios afaik.

Something must be wrong, run in debug mode and look into report file. Last file listed as loaded usually causes problems.

So, I should turn on moddebug in the settings.txt, right?

Also try with simple scenario first: 1 country, 1 CoT. At least 1 CoT is a must for the scenario to start.

I didn't know about at-least-one-CoT matter. Perfect.

My guess is map files, provinces.txt and scenario. It can probably read all other files from vanilla, even if it doesn't fit on the map, but I'm not sure.

But each not defined value (or name) in province.txt has a default value (or name), hasn't it? :confused:
 
But each not defined value (or name) in province.txt has a default value (or name), hasn't it? :confused:

Well, when you create new map, Magellan tool makes provinces.csv, or you make it with the tool, I don't know. Then just convert provinces.csv into provinces.txt and provinces_special.txt with converter. These are put into Db\Map. This converter also makes provinces.csv which is a text file with names, you put it into localization directory. This with map files and scenario should be minimum to run the mod.
 
(...)
Yes, but all existing provinces must be defined.

What do you mean precisely?

Well, when you create new map, Magellan tool makes provinces.csv, or you make it with the tool, I don't know.

Yes, it do it, precisely minject tool

Then just convert provinces.csv into provinces.txt and provinces_special.txt with converter. These are put into Db\Map.

Ok, I've already done it.

This converter also makes provinces.csv which is a text file with names, you put it into localization directory. This with map files and scenario should be minimum to run the mod.

Ok, I didn't know to do it
 
I've just taken quick look at it.
For starters:
- province.txt seems wrong, it's vanilla one cut to 84 provinces, the game can not display the map and won't run
- you didn't put province.csv (province names) to localization directory
- in country definition file (POR.inc) last bracket is missing
- afaik city population must be greater than 10 (probably more), while you set it to 3
- some provinces defined as owned don't have settlement in country file.


Did you convert provinces.csv you got from Magellan using converter from sticky thread?

Start with 2-3 province country, it's easier to avoid country setup related bugs.
 
I've just taken quick look at it.
For starters:
- province.txt seems wrong, it's vanilla one cut to 84 provinces, the game can not display the map and won't run
- you didn't put province.csv (province names) to localization directory
- in country definition file (POR.inc) last bracket is missing
- afaik city population must be greater than 10 (probably more), while you set it to 3
- some provinces defined as owned don't have settlement in country file.


Did you convert provinces.csv you got from Magellan using converter from sticky thread?

Start with 2-3 province country, it's easier to avoid country setup related bugs.

ok thanks, but now the map run in the game.

Now the problem is that when I click on a province, the game has a crash to desktop