Announcing EU2 Event Generator!
Features:
-Loads events (comments and all!)
-Generates many of the same event with incremented IDs and, optionally, incremented dates
-Random or non-random events
-Country- or province-based events
-Previewing when loading or saving
-Probably some others that I can't think of right now
What it doesn't do:
-Have a list of event commands and triggers (I considered it, but couldn't see how to do it in a non-labor-intensive way).
-Read country names from text.csv (so it's semi-hardwired to vanilla country names)
-Read provinces from province.csv (so it's semi-hardwired to vanilla map)
Where to get it:
Not currently available, sorry. Post on this thread if you would like the program or the source code. If one person does, I'll add it to my GitHub.
The source code is at the same page. The source code is perhaps the most valuable part; it can be used for loading/saving/editing almost anything related to Paradox games.
Credits:
The original EUG file handling (found in lib/eugFile.jar) was based on Chaingun's code from the alpha version of Eu2Vic. I have completely reworked most of it (based on JFlex), but eug.parser.CWordFile still retains its name and some of the code.
The GenericObject/SpecificObject framework is taken from Kinniken's VictoriaEditor (a collaboration with two other students). I have made some improvements and also added SpecificObjects for EU2 (and some non-functional ones for CK, which I don't own).
The actual parsing code (eug.parser.EUGScanner and most of eug.parser.CWordFile) is my own, done with the help of JFlex http://www.jflex.de). (For a little demonstration of how hard tokenizing was without JFlex, see eug.parser.Tokenizer) I have also added support for retaining comments while loading.
Feedback would be appreciated; so far, I've only gotten the input of my brother and myself.![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
EDIT: Latest version is 1.2 (Feb 24 07). It is still at the same site.
EDIT: Site was on a domain that no longer exists.
Features:
-Loads events (comments and all!)
-Generates many of the same event with incremented IDs and, optionally, incremented dates
-Random or non-random events
-Country- or province-based events
-Previewing when loading or saving
-Probably some others that I can't think of right now
What it doesn't do:
-Have a list of event commands and triggers (I considered it, but couldn't see how to do it in a non-labor-intensive way).
-Read country names from text.csv (so it's semi-hardwired to vanilla country names)
-Read provinces from province.csv (so it's semi-hardwired to vanilla map)
Where to get it:
Not currently available, sorry. Post on this thread if you would like the program or the source code. If one person does, I'll add it to my GitHub.
The source code is at the same page. The source code is perhaps the most valuable part; it can be used for loading/saving/editing almost anything related to Paradox games.
Credits:
The original EUG file handling (found in lib/eugFile.jar) was based on Chaingun's code from the alpha version of Eu2Vic. I have completely reworked most of it (based on JFlex), but eug.parser.CWordFile still retains its name and some of the code.
The GenericObject/SpecificObject framework is taken from Kinniken's VictoriaEditor (a collaboration with two other students). I have made some improvements and also added SpecificObjects for EU2 (and some non-functional ones for CK, which I don't own).
The actual parsing code (eug.parser.EUGScanner and most of eug.parser.CWordFile) is my own, done with the help of JFlex http://www.jflex.de). (For a little demonstration of how hard tokenizing was without JFlex, see eug.parser.Tokenizer) I have also added support for retaining comments while loading.
Feedback would be appreciated; so far, I've only gotten the input of my brother and myself.
EDIT: Latest version is 1.2 (Feb 24 07). It is still at the same site.
EDIT: Site was on a domain that no longer exists.
Last edited: