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

Halibutt

Marshal of Poland
5 Badges
Sep 8, 2001
3.396
0
www.halibutt.pl
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Semper Fi
  • 500k Club
  • Hearts of Iron IV Sign-up
I know that someone has prepared a HoI2 Event Parser / Validator and I even found it available for download. However, I also found a bug in it and I wonder if anyone knows how to contact the author. There's no info about the author in the application itself (who is he?) nor I've been able to find any related thread here. Any ideas?
Cheers
 

Halibutt

Marshal of Poland
5 Badges
Sep 8, 2001
3.396
0
www.halibutt.pl
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Semper Fi
  • 500k Club
  • Hearts of Iron IV Sign-up
Alternatively, could someone explain to me why the tool freezes when checking .eug files? It loads minister ids, then it starts loading leader ids, posts the following error
[System.ArgumentException: An item with the same key has already been added.]
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(K key, V value, Boolean add)
at EventParser.Validator.LoadLeaders()
at EventParser.Validator.Init()
at EventParser.ValidatingParser.Start(String[] filelist)
at EventParser.main.StartScan()
and then freezes. The same error appears when I check all scenarios, both the normal campaigns and the battlescenarios, both the vanilla ones made by the Paradox, and my own.
Cheers
 

Exterous

Glaring at the HOI3 icon
22 Badges
Jan 11, 2003
3.151
81
Visit site
  • Stellaris - Path to Destruction bundle
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings II
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Europa Universalis IV: Pre-order
  • 500k Club
  • Semper Fi
  • Hearts of Iron III
  • Europa Universalis IV
hmmm, where might this event parser be? I will try it out and see if i can help
 

Exterous

Glaring at the HOI3 icon
22 Badges
Jan 11, 2003
3.151
81
Visit site
  • Stellaris - Path to Destruction bundle
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings II
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Europa Universalis IV: Pre-order
  • 500k Club
  • Semper Fi
  • Hearts of Iron III
  • Europa Universalis IV
Well, I just checked it out and I didn't have any problems with the scenario files. It found on average about 5-6 errors (paradox and fan created scenarios) but it never worked on any EUG files i tried. It froze while finding errors on all i tried.

So.......I dunno :) Sorry
 

Halibutt

Marshal of Poland
5 Badges
Sep 8, 2001
3.396
0
www.halibutt.pl
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Semper Fi
  • 500k Club
  • Hearts of Iron IV Sign-up
Here's what I got from Coder. It didn't solve all of my problems with his utility, but perhaps it might help the others:
Coder said:
Halibutt said:
Hi there!

Could you help me out with a problem I have with your HoI2 Event parser? All is described here.

Thanks in advance,
Cheers
i fixed this problem some time ago (26.02)
you can get the latest version from http://coder.specialforces.ee/hoi2/eventparser.zip
when you open the zip file the modification date should be 26.02.2005
 

Halibutt

Marshal of Poland
5 Badges
Sep 8, 2001
3.396
0
www.halibutt.pl
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Semper Fi
  • 500k Club
  • Hearts of Iron IV Sign-up
Just to let you guys know: Coder issued a brand-new version recently. It works with the mod-dir function now and all of my problems (well... most of them) are now solved. Great tool, it seems.
Cheers
 

Exterous

Glaring at the HOI3 icon
22 Badges
Jan 11, 2003
3.151
81
Visit site
  • Stellaris - Path to Destruction bundle
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings II
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Europa Universalis IV: Pre-order
  • 500k Club
  • Semper Fi
  • Hearts of Iron III
  • Europa Universalis IV
Lol, just when i had time to reply. Sorry, I was really busy and away from my HOI computer. This new version fixes all of those problems?
 

Halibutt

Marshal of Poland
5 Badges
Sep 8, 2001
3.396
0
www.halibutt.pl
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Semper Fi
  • 500k Club
  • Hearts of Iron IV Sign-up
Most of them. It still hangs or CTDs on some files, but I can't really tell why and when, since at times it checks those and at times it crashes.

Anyway, after the tool is finally corrected, it would be one of the best and most needed modding tools out there.

Kudos for Coder!
Cheers
 

Coder

First Lieutenant
53 Badges
Oct 5, 2002
232
5
Visit site
  • Victoria 3 Sign Up
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Hearts of Iron II: Beta
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Europa Universalis III Complete
  • 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
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For The Glory
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
Halibutt said:
Most of them. It still hangs or CTDs on some files, but I can't really tell why and when, since at times it checks those and at times it crashes.

Anyway, after the tool is finally corrected, it would be one of the best and most needed modding tools out there.

Kudos for Coder!
Cheers

The validator hangs and CTDs or HOI2? If it's the validator then maybe you could give me the problematic files/mod (i haven't tested the mod-dir functionality much because the program was originally designed to find bugs in the betas)
 

Halibutt

Marshal of Poland
5 Badges
Sep 8, 2001
3.396
0
www.halibutt.pl
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Semper Fi
  • 500k Club
  • Hearts of Iron IV Sign-up
Coder said:
The validator hangs and CTDs or HOI2? If it's the validator then maybe you could give me the problematic files/mod (i haven't tested the mod-dir functionality much because the program was originally designed to find bugs in the betas)
It's the validator. Download link to the files in question sent by PM.
Cheers
 

Halibutt

Marshal of Poland
5 Badges
Sep 8, 2001
3.396
0
www.halibutt.pl
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Semper Fi
  • 500k Club
  • Hearts of Iron IV Sign-up
Coder said:
found a few bugs in the mod-dir functionality... i uploaded the new version and hopefully it works now :)(...)
And could you post a direct link to the file? I tried to download the utility from the link posted on CORE site, but apparently it doesn't work...
Cheers
 

Halibutt

Marshal of Poland
5 Badges
Sep 8, 2001
3.396
0
www.halibutt.pl
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Semper Fi
  • 500k Club
  • Hearts of Iron IV Sign-up
Bah, it works now, but the new version still crashes on .inc files (at least when I try to parse more than 1 file at a time it choses a random file as the first to check and then freezes with an error message similar to the one in the first post). The same happens when I try to parse only one .inc file.

Finally, the new version apparently crashes on event files as well - no idea why. It seems to me that the last version was waay better - it crashed only from time to time, this version crashes all the time... :(

Finally, the only option that apparently works without crashing is the scenario check. However, it stops after it encounters the following error:
Validating mod-WERS\scenarios\WERS.eug
IO error: Could not find a part of the path 'C:\GRY\Hearts of Iron 2\scenarios/WERS/sov.INC'.
The funny thing is that apparently it is not a problem for the game itself, only for the HoI2 parser... As a sidenote - the previous version of your utility had no problems with that line either...
Cheers
 

Coder

First Lieutenant
53 Badges
Oct 5, 2002
232
5
Visit site
  • Victoria 3 Sign Up
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Hearts of Iron II: Beta
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Europa Universalis III Complete
  • 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
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For The Glory
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
Halibutt said:
Bah, it works now, but the new version still crashes on .inc files (at least when I try to parse more than 1 file at a time it choses a random file as the first to check and then freezes with an error message similar to the one in the first post). The same happens when I try to parse only one .inc file.

Finally, the new version apparently crashes on event files as well - no idea why. It seems to me that the last version was waay better - it crashed only from time to time, this version crashes all the time... :(

Finally, the only option that apparently works without crashing is the scenario check. However, it stops after it encounters the following error:
The funny thing is that apparently it is not a problem for the game itself, only for the HoI2 parser... As a sidenote - the previous version of your utility had no problems with that line either...
Cheers

you forgot to change the mod-dir in the options menu?
if you get an error message similar to the first one could you post it here?
 

Halibutt

Marshal of Poland
5 Badges
Sep 8, 2001
3.396
0
www.halibutt.pl
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Semper Fi
  • 500k Club
  • Hearts of Iron IV Sign-up
Coder said:
you forgot to change the mod-dir in the options menu?
if you get an error message similar to the first one could you post it here?
Hmmm... I didn't even know you added such an option :) What should I put there? Is "mod-WERS" enough? If so, then after parsing the .inc files I get the following:
[System.NullReferenceException: Object reference not set to an instance of an object.]
at EugParser.Tokenizer.IsWord(Int32 c)
at EugParser.Tokenizer.InternalRead()
at EugParser.Parser.Parse()
at EventParser.ValidatingParser.Parse(String filename)
at EventParser.ValidatingParser.ParseAndValidate(String filename)
at EventParser.ValidatingParser.Start(String[] filelist)
at EventParser.main.StartScan()
(and CTD, of course).

If the value to add there is the entire path to the mod directory (C:\GRY\Hearts of Iron 2\mod-WERS in my case), then the error is exactly the same. "mod-wers" doesn't help either. Same is the case of simple "WERS" or "wers". Parsing event files doesn't work either. Any suggestions?
Cheers
 

Coder

First Lieutenant
53 Badges
Oct 5, 2002
232
5
Visit site
  • Victoria 3 Sign Up
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Hearts of Iron II: Beta
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Europa Universalis III Complete
  • 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
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For The Glory
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
Halibutt said:
Hmmm... I didn't even know you added such an option :) What should I put there? Is "mod-WERS" enough? If so, then after parsing the .inc files I get the following:
(and CTD, of course).

If the value to add there is the entire path to the mod directory (C:\GRY\Hearts of Iron 2\mod-WERS in my case), then the error is exactly the same. "mod-wers" doesn't help either. Same is the case of simple "WERS" or "wers". Parsing event files doesn't work either. Any suggestions?
Cheers

fixed that ctd (and uploaded a new version to http://coder.specialforces.ee/hoi2/eventparser.zip)
the mod-dir value is the same as for hoi2.exe (mod-wers)