• 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.
Ok, shame on me. The check was alright, but the problem was, that the way I saved the files an empty line is added to the end automatically.

So I redid the check to remove all empty lines at the end, saving adds one, et voila you get what you want. (I really tested it)

http://www.kawo1.rwth-aachen.de/~gilgamesch/HoI/PopcsvLine.zip
(same address)

You should make sure, that the files in the directory are alright and not used by any other programme. Apart from that I don't see any problems.
 
Ilkhold said:
Ok, shame on me. The check was alright, but the problem was, that the way I saved the files an empty line is added to the end automatically.

So I redid the check to remove all empty lines at the end, saving adds one, et voila you get what you want. (I really tested it)

http://www.kawo1.rwth-aachen.de/~gilgamesch/HoI/PopcsvLine.zip
(same address)

You should make sure, that the files in the directory are alright and not used by any other programme. Apart from that I don't see any problems.

The same thing happened, the file should be in the same directory?

Edit: It was because this file was read only

BTW: GREAT Work, thanks. Johan if you are reading this, add this file into next patch also.
 
Last edited:
pimparel said:
The same thing happened, the file should be in the same directory?
It wouldn't hurt, but actually that wouldn't make a difference.

EDIT: I replaced the preset error message for this kind of error, so it displays an english text that gives a hint on the cause of the error.
 
Last edited:
Ilkhold said:
It wouldn't hurt, but actually that wouldn't make a difference.

EDIT: I replaced the preset error message for this kind of error, so it displays an english text that gives a hint on the cause of the error.

Nice. Ilkhold abusing of your free time, could you add a final relatory with the files which hadn't the empty line, possible making it a .txt, so we can alert the owners.

Thanks
 
pimparel said:
Nice. Ilkhold abusing of your free time, could you add a final relatory with the files which hadn't the empty line, possible making it a .txt, so we can alert the owners.

Thanks

Well, since my Editor finally handles Hyperlinks, I won't mind to do some other stuff.
I have Log component that should be good for that, and while I am at it, I could also do a Syntax check for csv files. That would use the same Output, so it's only slightly more work to programme.
Do you care for a syntax check? Just tell me, what format each line has to have and I'll teach the programme to check that.
 
Scythe said:
Yes, it does detect the directory correctly now..but there's still apparently a small mistype involving an "\". For example, the program asks for this file:
c:\...\strategy first\victoria\gfx\interface\eventsdefault.bmp

which it doesn't find, when it really should be:

c:\...\strategy first\victoria\gfx\interface\events\default.bmp

Hmm, when I tried it out at home I had two different installations and everything worked fine.
When I check the code I can see the '\' so there might be something local???
:confused:
Well I have a workaround for you. After you get the question is this the path blabla, you get a second question 'save path?' if you answer yes to that question a new text document is created _picpath_.txt, check the exact text in that document and if need be add your '\' ath the end. From then when you click the view button it will automatically take the path in the file...


->Ilkhold
How far have you come with your HOI editor?
 
Spoonist said:
->Ilkhold
How far have you come with your HOI editor?

I am about to finish the basic Event Editor. I only need to do some fixes to the reading of .ini data, then I'll be able to publish it.
Since it isn't really fixed for use with HoI I am currently removing references to that. It doesn't specially support Victoria, but I think it might still be helpful for event writing for Victoria.
Just to tease a bit ;)
Maybe there'll be a testing version tonight, if I'm lucky.
 
Spoonist said:
Well I have a workaround for you. After you get the question is this the path blabla, you get a second question 'save path?' if you answer yes to that question a new text document is created _picpath_.txt, check the exact text in that document and if need be add your '\' ath the end. From then when you click the view button it will automatically take the path in the file...

And that takes care of it quite easily then...thanks for the workaround. :D
 
Ilkhold said:
Well, since my Editor finally handles Hyperlinks, I won't mind to do some other stuff.
I have Log component that should be good for that, and while I am at it, I could also do a Syntax check for csv files. That would use the same Output, so it's only slightly more work to programme.
Do you care for a syntax check? Just tell me, what format each line has to have and I'll teach the programme to check that.

What more can I desire? I ask for one change, and he gives me two.

Great, I hope that this can make it before VIP 0.11 (I don't want to review the files again) :(
 
pimparel said:
Great, I hope that this can make it before VIP 0.11 (I don't want to review the files again) :(
It's not much work, but I still wait till you tell me what exactly I have to check in the pop.csv files. What characters are forbidden, how many ';' are to appear and what has to be in between them.
You have much more experience with them, than I do ;)
 
Ilkhold said:
It's not much work, but I still wait till you tell me what exactly I have to check in the pop.csv files. What characters are forbidden, how many ';' are to appear and what has to be in between them.
You have much more experience with them, than I do ;)

An Example:
Code:
Province;Nationality;Religion;Workforce;Ideology;Consciousness;Militancy;Size
2462;brazilian;Catholic;aristocrats;;;;10
2462;brazilian;Catholic;officers;;;;10
2462;brazilian;Catholic;clergymen;;;;10
2462;brazilian;Catholic;capitalists;;;;10
2462;brazilian;Catholic;clerks;;;;10
2462;brazilian;Catholic;clerks;;;;10
2462;brazilian;Catholic;craftsmen;;;;10
2462;brazilian;Catholic;craftsmen;;;;10
2462;brazilian;Catholic;craftsmen;;;;10
2462;brazilian;Catholic;soldiers;;;;20
2462;brazilian;Catholic;farmers;;;;10
2462;brazilian;Catholic;farmers;;;;10
2462;brazilian;Catholic;farmers;;;;10
2462;brazilian;Catholic;farmers;;;;10
2462;brazilian;Catholic;farmers;;;;10
2463;brazilian;Catholic;farmers;;;;10
2463;brazilian;Catholic;farmers;;;;10
2465;brazilian;Catholic;farmers;;;;10
2465;brazilian;Catholic;farmers;;;;10
[b]<EOF>[/b]

1) number is the province ID, the same as spoonist provinceId_tag.txt
2) culture, the same as spoonist culture_tag.txt
3) religion, the same as spoonist religion_tag.txt
4) workforce, the same as spoonist workforce_tag.txt
5) ideology, leave it empty (it isn't working)
6) Consciousness, empty or a number
7) Militancy, empty or a number
8) Size, a number
 
I'm baaaack...like that annoying little habit you just can't seem to drop. Anyway, I need some people to test out my event creator. I'm pretty sure the reference errors are gone, so all that's left should be compatability testing. Please send any comments or suggestions to
Code:
genz44@earthlink.net

I've fixed the OS function exception and also streamlined some of the code.
 
Last edited:
Hey Spoonist,

Using parts of Pimparel’s “Even More Dumber’s Guide to Make Your Own Country” and other assorted advice from the message board, I managed to make Cuba selectable from the list of available countries at the start of the Grand Campaign scenario. But for some reason, your Event Builder Program will not allow me to load any of the Cuba events that I made directly into the Cuba.txt file that I created in the Victoria\db\events folder. Of course, even when I manage to manually load the events into file, they still will not run at all during game play. Could you please help? :confused:
 
Spoonist said:
Now I wish that all who use it would put in wishlists and bugs so that I can stop calling it a beta...
:D

- If you uncheck Date, and then recheck it, the associated date boxes don't come back.

That's the only bug so far. I might just be doing it wrong. :D

A couple little things I wish it would do...
- That it were possible for an event to have a "Date" alone, like some events do, without an offset or a deathdate, so they fire only on one single day. Not a big deal really, since I could just set a really short deathdate, but it would save a little bit of work.
- That the Event Description textbox was a multi-line box
- That it could be able to save the text in a separate file, like is done in the Paradox events (i.e., the event descriptions and actionnames aren't held in the event itself, but rather in the text config file with things like ACTIONNAME24555A and such) VIP has a style for this that goes like:

Code:
VIP_EVENT_251007_NAME;Aleksander Wielopolski;;;;;;;;;;X
VIP_EVENT_251007_DESC;After the fall of the November Uprising of 1830-1831, Poland retained some autonomy inside Russian Empire. However, the level of liberty was constantly suppressed. By the beginning of 1850s, the Tsars withdrew from all semi-liberal experiments in Poland. Poles did no longer hold any posts in Russian administration and Russian language replaced Polish in both institutions and schools. However, Russian defeat in the Crimean war brought a short detente in Polish-Russian relations. This however did not solve the problems of rising Polish militancy and national self-consciousness. The main protagonist of this period was Aleksander count Wielopolski, Polish aristocrat who managed to convince tsar Alexander II to re-open some Polish schools. However, the majority of polish liberals, socialists and democrats contested his loyalist and conservative politics. Should we accept his proposals?;;;;;;;;;;X
ACTIONNAME251007A;Let him try;;;;;;;;;;X
ACTIONNAME251007B;A liberal would be much better;;;;;;;;;;X
ACTIONNAME251007C;Leave things as they are;;;;;;;;;;X

Anyway, that's all. You're a freaking god for making this thing - it'll help out a helluva lot.

I'm sad I didn't find out about this before I hand-coded all my French events. :D
 
Any progress on this tool? Is it fine for 1.03b?
 
Umh, it's sort of dead. Since I didn't get enough responses I didn't think that modders where using it and if they wheren't using it then it wasn't worth the effort.

Also after the appearance of Crusader Kings I haven't played vic...
If anyone is really using it then you can PM me.
 
I was using it, but a couple of the holes in it got really annoying - like the way it always wants all the switches for an option, event if you don't want to put them all in.