• 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.
And I can't use mextract at all on my computer...

Windows says that "the program can't be initiated correctly (0xc0000135). Click OK to exit."

This happens when I run the program in explorer, and when I use the command prompt as well.
 
G-Klav said:
And I can't use mextract at all on my computer...

Windows says that "the program can't be initiated correctly (0xc0000135). Click OK to exit."

This happens when I run the program in explorer, and when I use the command prompt as well.
Do you have .NET Framework installed?

P.S.: One question to Inferis/others who might know: How are borders drawn and where are they defined? I can't figure it out. Thanks :)
 
Last edited:
G-Klav said:
And I can't use mextract at all on my computer...

Windows says that "the program can't be initiated correctly (0xc0000135). Click OK to exit."

This happens when I run the program in explorer, and when I use the command prompt as well.
Like Lord Ederon said: make sure you have the .Net framework (1.1) installed. See his post for the link.
 
Inferis said:
I'm not sure exactly WHAT you are talking about... Care to elaborate a bit?
I mean country borders.

borders.jpg
 
Lord Ederon said:
I mean country borders.

borders.jpg
When you extract them to a psd or 3 pngs there is a layer or file that is for borders

Edit: how do you get magellan to work with HOI?
 
Inferis said:
Like Lord Ederon said: make sure you have the .Net framework (1.1) installed. See his post for the link.

OK, thanks!! :)
 
Mezzo said:
Edit: how do you get magellan to work with HOI?
I'm not talking about editing maps, but displaying those defined by data in tlb files (and the other - let's say - scenario specific - files and data). I want to draw country borders on solid map (read map with country no borders). I know information about province boundaries, adjacent provinces, but I don't know where exactly to draw border line (marks, dots or whatever it is) between them.
 
Lord Ederon said:
I'm not talking about editing maps, but displaying those defined by data in tlb files (and the other - let's say - scenario specific - files and data). I want to draw country borders on solid map (read map with country no borders). I know information about province boundaries, adjacent provinces, but I don't know where exactly to draw border line (marks, dots or whatever it is) between them.
I'm still not sure I get what you want...

Where do you want to draw border lines?
What borderlines do you want to draw (since they vary according to what provinces a country owns)?
Is it just a "how do I draw these" you're after? (Like: "red, 3px thick, solid line")?
Or something else?

I'm a bit puzzled. :eek:o
 
Inferis said:
You don't.
There's another set of tools in development for HOI1 ("Enigma"), but far from being ready. I've posted a screenshot earlier in this thread. :)

Wow... Enigma? That's a damn fine name you got there! Only a true genius would come up with such a brilliant and very fitting name.

:p
 
Inferis,
I'm running off a copy of EUII, copied from a disc.
And before I get banned for pirating let me explain....
I have two younger siblings, one who wrecks computers and one who confuses shiny metallic objects with frisbees and coasters. Long story short, my disc got wrecked and whiped off my computer; but I had backed it up (I still have the original disc and container) and copied it back onto my computer.

This means mxextract cannot recognize the Eu2.exe because it is not "installed." This is what was giving me so much trouble. How do I get mxextract to recognize a non-installed copy?
 
Inferis said:
I'm still not sure I get what you want...

Where do you want to draw border lines?
What borderlines do you want to draw (since they vary according to what provinces a country owns)?
Is it just a "how do I draw these" you're after? (Like: "red, 3px thick, solid line")?
Or something else?

I'm a bit puzzled. :eek:o
Okay, let's start from the beginning. I'd like to know, whether you or somebody present here know anything about the way country border is described/drawn in Paradox games. I want to draw map myself, for purposes of "interactive online HoI2 map" (link to it is in my sig). But I still can't find the way to draw country borders. These currently shown there are not drawn dynamically (and I want them to).

I've successfully used knowlegde based on your TBL research to refine essential information from HoI2 map definitions. But not yet about borders.

Anyway, thanks for replies and don't be puzzled. ;)

BTW: Maybe I'm wrong, but making map editor for HoI1 is not like making one for EU2 in the means of target audience. Having HoI2 on the scene, HoI1 is dead IMHO.
 
Lord Ederon said:
Okay, let's start from the beginning. I'd like to know, whether you or somebody present here know anything about the way country border is described/drawn in Paradox games. I want to draw map myself, for purposes of "interactive online HoI2 map" (link to it is in my sig). But I still can't find the way to draw country borders. These currently shown there are not drawn dynamically (and I want them to).

I've successfully used knowlegde based on your TBL research to refine essential information from HoI2 map definitions. But not yet about borders.
Ah, that makes more sense.
The border information is encoded in the lightmaps. If you take a look at my EU2 pages, you'll see that the id table information for a block has 2 types of encoding: "simple" (ie just a province id) and "complex" (references to more than 1 province, ...). All pixels that refer to an id entry that uses complex encoding belongs to a "possible" border. In other words, if the game needs to draw borders (depending on province ownership) it can do so with the information in the complex data.

To be more exact (and to be more technical), a complex id entry contains original province id, a neighbouring province id and optional a river id. The original province is stored as a backreference to another entry in the same id table, and the neighbouring province and/or river province data is stored as an adjacency to the original province. Sounds complicated, but it really isn't once you get it (it took me a while AND a helping hand to figure it out).

Lord Ederon said:
BTW: Maybe I'm wrong, but making map editor for HoI1 is not like making one for EU2 in the means of target audience. Having HoI2 on the scene, HoI1 is dead IMHO.
True, but the HOI1 format is closely related to the EU2 format. Using an incremental approach allows me to write a more generalised library which will make it easier to develop the Vic, CK and HOI2 formats too.

Mind you, I haven't had any time to spend on this lately. As usual a lot of other projects have caught up on me, but I'll be spending more time on it in/after the summer, probably.
 
Mr. Capiatlist said:
This means mxextract cannot recognize the Eu2.exe because it is not "installed." This is what was giving me so much trouble. How do I get mxextract to recognize a non-installed copy?
Have you tried the /D option? It allows you to specify a dir where EU2 resides...

Code:
mextract /D:C:\Games\EU2 more-booze.eu2map
 
Inferis said:
Have you tried the /D option? It allows you to specify a dir where EU2 resides...

Code:
mextract /D:C:\Games\EU2 more-booze.eu2map
Ahhh.... I'll give it a try...
So I'd type in
"mextract /D:C:\Program Files\Europa Universalis 2\eu2 newmap.eu2map"?
 
I've problem at the last step to inject new map to the game. every region have less than 258 province but i got error info:
EU2.RegionSizeOverflowException: Region size overflow
at EU2.Map.IDGrid.BuildRegion(Int32 regionx, Int32 regiony, IDMap idmap)
at EU2.Map.IDGrid.Build(IDMap idmap)
at MapInject.Boot.Main(String[] args)
Did't know to do with that..... :confused: