+ Reply to Thread
Results 1 to 18 of 18

Thread: Victoria 2 Pop Maker Utility

  1. #1
    General Kalelovil's Avatar
    Deus Vult!EU3 CompleteRome GoldHearts of Iron IIIHeir to the Throne
    Semper FiVictoria 2Divine WindMagickaDarkest Hour
    Majesty II CollectionCrusader Kings IIPride of NationsSupreme Ruler: Cold WarSword of the Stars II
    Victoria II: A House Divided BetaWarlock: Master of the Arcane

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,214

    Victoria 2 Pop Maker Utility

    Download Link: http://www.mediafire.com/?b8cx1kz4ppx8l4k

    Old Download Links: (1.0) http://www.mediafire.com/?8j8bcpjwtwufqoq

    Since there apparently isn't an existing pop maker utility (according to the thread I created asking if there was one: http://forum.paradoxplaza.com/forum/...-Maker-Utility), I decided to make one in Java.

    The utility is not complicated but it does what it needs to.
    Create a new directory, place the program in there along with the input files.
    Input files have the extension of .pmkr. Create one for each region (e.g. New York state).

    The input files should contain text in the following kind of format. An example file has been included. The resulting .txt files the program generates should then be pasted into your \history\pops\1836.1.1 (or whatever your mod uses) directory. Remember to delete any existing entries there which refer to the same provinces.

    The numerical values under Provinces, Occupations, Religions, and Cultures must currently add up to 100 (for the sake of ease of use, if there is demand I can change this to accept any total value). The can have decimal values (E.g. 12.5).
    Placing an asterisk (*) before an Occupation entry denotes that they are a state_capital_only POP type (I made this user definable because some mods change what POPs are state_capital_only).

    The
    Region:
    New York
    Population:
    151000
    Capital:
    583
    Provinces:
    583 - 65
    579 - 15
    580 - 5
    581 - 10
    606 - 5
    Occupations:
    *aristocrats - 5
    *bureaucrats - 5
    officers - 3
    clergymen - 4
    *capitalists - 2
    clerks - 4
    craftsmen - 17
    soldiers - 10
    artisans - 10
    farmers/labourers - 40
    slaves - 0
    Religions:
    catholic - 45
    protestant - 30
    orthodox - 25
    Cultures:
    irish - 15
    yankee - 70
    south_german - 10
    afro_american - 5


    This is my first java project, if you have any problems or feedback feel free to post in this thread.

    Old Download Links: (1.0) http://www.mediafire.com/?8j8bcpjwtwufqoq
    Last edited by Kalelovil; 31-01-2012 at 07:01.

  2. #2
    General Hibernian's Avatar
    EU3 OwnerNapoleonic MarshalEuropa Universalis III: In NomineRome GoldHearts of Iron III
    Heir to the ThroneMount & Blade: WarbandSemper FiVictoria 2Divine Wind
    Crusader Kings IIFor the MotherlandVictoria II: A House DividedNaval War: Arctic CircleHOI3: Their Finest Hour

    Join Date
    Feb 2008
    Location
    Dublin, Ireland
    Posts
    1,996
    I'd certainly welcome any program that could do this in the way you've described, but have you actually made this utility or is this just an idea?

    One question though, would this allow you to put different culture POPs in different individual provinces? i.e. Will I be able to set it to make Province A 80% German and 20% Polish and make Province B 80% Polish and 20% German (or whatever values needed), assuming they are both in the same region?

    Also, are you aware of the other thread on this same topic; POP generator tool?

  3. #3
    Benevolent Imperialist flame7926's Avatar
    Deus Vult!Hearts of Iron IIISemper FiVictoria 2Cities in Motion
    EU3: ChroniclesCrusader Kings IIFor the MotherlandVictoria II: A House DividedCrusader Kings II Holy Knight

    Join Date
    Mar 2011
    Location
    Colorado
    Posts
    2,216
    Which of the files do you run?

  4. #4
    General Kalelovil's Avatar
    Deus Vult!EU3 CompleteRome GoldHearts of Iron IIIHeir to the Throne
    Semper FiVictoria 2Divine WindMagickaDarkest Hour
    Majesty II CollectionCrusader Kings IIPride of NationsSupreme Ruler: Cold WarSword of the Stars II
    Victoria II: A House Divided BetaWarlock: Master of the Arcane

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,214
    Quote Originally Posted by flame7926 View Post
    Which of the files do you run?
    I've updated the link. Download it again and just run the .bat file.

  5. #5
    General Kalelovil's Avatar
    Deus Vult!EU3 CompleteRome GoldHearts of Iron IIIHeir to the Throne
    Semper FiVictoria 2Divine WindMagickaDarkest Hour
    Majesty II CollectionCrusader Kings IIPride of NationsSupreme Ruler: Cold WarSword of the Stars II
    Victoria II: A House Divided BetaWarlock: Master of the Arcane

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,214
    Quote Originally Posted by Hibernian View Post
    I'd certainly welcome any program that could do this in the way you've described, but have you actually made this utility or is this just an idea?
    Yep, download it and try it. It works.

    Quote Originally Posted by Hibernian View Post
    One question though, would this allow you to put different culture POPs in different individual provinces? i.e. Will I be able to set it to make Province A 80% German and 20% Polish and make Province B 80% Polish and 20% German (or whatever values needed), assuming they are both in the same region?
    Not by default. I haven't tried doing so, but you should be able to achieve what you are saying by specifying only one province at a time in the Province fields.


    Quote Originally Posted by Hibernian View Post
    Also, are you aware of the other thread on this same topic; POP generator tool?
    No, I was not. Good luck to them though.

  6. #6
    Benevolent Imperialist flame7926's Avatar
    Deus Vult!Hearts of Iron IIISemper FiVictoria 2Cities in Motion
    EU3: ChroniclesCrusader Kings IIFor the MotherlandVictoria II: A House DividedCrusader Kings II Holy Knight

    Join Date
    Mar 2011
    Location
    Colorado
    Posts
    2,216
    If you click on the link its the old files, but if you copy the url its the new download. And your PM box is full.

    Edit: With the default Ontario file it outputs Ontario.pmkr.txt with no spaces in the file. I know they arent necessary but it makes it hard to read.
    Come see my AAR: Scandinavia: 1890-1936 w/ Great Wars : Dead
    Try my user tweak for PDM mod Victoria 2. Winter, gaining cores, and more.
    Victoria 2 Pop Utility, works with any version
    White Man's Burden mod for Victoria 2. Greatly improves exploration and colonization, as well as rebellions and international affairs: Coming Soon
    Contact me by PM or at flame7926@gmail.com if you are interested in helping

  7. #7
    General Kalelovil's Avatar
    Deus Vult!EU3 CompleteRome GoldHearts of Iron IIIHeir to the Throne
    Semper FiVictoria 2Divine WindMagickaDarkest Hour
    Majesty II CollectionCrusader Kings IIPride of NationsSupreme Ruler: Cold WarSword of the Stars II
    Victoria II: A House Divided BetaWarlock: Master of the Arcane

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,214
    Quote Originally Posted by flame7926 View Post
    If you click on the link its the old files, but if you copy the url its the new download. And your PM box is full.
    Fixed and fixed.

  8. #8
    Field Marshal Orinsul's Avatar
    Deus Vult!Hearts of Iron IIIHeir to the ThroneVictoria 2Divine Wind
    EU3: ChroniclesCrusader Kings IISengokuVictoria II: A House DividedCrusader Kings II Holy Knight
    HOI3: Their Finest Hour

    Join Date
    Feb 2008
    Location
    Otago, New Zealand
    Posts
    5,419
    This looks awesome, Thanks!
    Nationality: New Zealander
    Religion: Roman Catholic
    Ideology: Distributist
    Issues: Moralism/Full Citizenship
    Phoenix Fire: A Post-Apocalyptic Mod set during the North American High Meridian Age http://forum.paradoxplaza.com/forum/...pocolyptic-Mod
    " Generation, regeneration, again, again, as in a ritual, with blood-stained vestments and nail-torn hands, children of Merlin, chasing a gleam. Children, too, of Eve, forever building Edens— and kicking them apart in berserk fury because somehow it isn’t the same." - Walter M. Miller, Jr
    Dont Press the O

  9. #9
    Ελευθερία ή Θάνατος Grandmasta's Avatar
    EU3 OwnerNapoleonic MarshalDeus Vult!Victoria: RevolutionsEuropa Universalis III: In Nomine
    Hearts of Iron IIIHeir to the ThroneMount & Blade: WarbandSemper FiVictoria 2
    Divine WindMagickaCities in MotionSword of the StarsCrusader Kings II
    Mount & Blade: With Fire and SwordFor the MotherlandSengokuSword of the Stars IIVictoria II: A House Divided
    Crusader Kings II Holy KnightNaval War: Arctic CircleHOI3: Their Finest HourMarch of the EaglesVictoria 2: Heart of Darkness

    Join Date
    May 2008
    Location
    HC SVNT DRACONES
    Posts
    352
    I get a "Could not find the main class: PopMakerApp. Program will now exit." error with both the .bat and the .jar itself. Java is up to date. Tried both the 32- and 64-bit versions of javaw.
    Success is the ability to go from one failure to another with no loss of enthusiasm.
    - Winston Churchill


    GTFO Minimod for Victoria 2
    Remove countries from your Sphere of Influence[/FONT]

  10. #10
    Modding Victoria 2 ZomgK3tchup's Avatar
    Deus Vult!Victoria: RevolutionsEU3 CompleteHearts of Iron IIIHeir to the Throne
    Semper FiVictoria 2Divine WindSword of the StarsDarkest Hour
    Crusader Kings IIFor the MotherlandVictoria II: A House DividedCrusader Kings II Holy Knight

    Join Date
    Dec 2009
    Location
    New Jersey, USA
    Posts
    2,273
    Blog Entries
    1
    Quote Originally Posted by Grandmasta View Post
    I get a "Could not find the main class: PopMakerApp. Program will now exit." error with both the .bat and the .jar itself. Java is up to date. Tried both the 32- and 64-bit versions of javaw.
    I get this error too.

  11. #11
    General Kalelovil's Avatar
    Deus Vult!EU3 CompleteRome GoldHearts of Iron IIIHeir to the Throne
    Semper FiVictoria 2Divine WindMagickaDarkest Hour
    Majesty II CollectionCrusader Kings IIPride of NationsSupreme Ruler: Cold WarSword of the Stars II
    Victoria II: A House Divided BetaWarlock: Master of the Arcane

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,214
    Quote Originally Posted by Grandmasta View Post
    I get a "Could not find the main class: PopMakerApp. Program will now exit." error with both the .bat and the .jar itself. Java is up to date. Tried both the 32- and 64-bit versions of javaw.
    Quote Originally Posted by ZomgK3tchup View Post
    I get this error too.
    Do other .jar packaged programs run for you?
    What operating system are you running?
    Is it giving you this error when running the program just using the included Ontario.pmkr as input?

  12. #12
    Very cool!

    Do you think that you might be a kind and generous god and give us a pop extractor as well that would generate pmkr files from the existing game files? I'm thinking here about using the current game files but changing soldiers to a capitol only pop.
    Every winter my Uncle Bilbert used to go out and buy clothes for his entire hobbit family. I remember the first year I came along with him shopping. His tongue was swollen up so he was unable to speak but my uncle Bilbert was not concerned. He simply took me and my cousins to town and proudly presented his young relatives to the shopkeeper. The wise old clothesmaker just smiled and started taking measurements. After so many years of business he didn't hesitate to in fur my uncle's hobbits.

  13. #13
    General Kalelovil's Avatar
    Deus Vult!EU3 CompleteRome GoldHearts of Iron IIIHeir to the Throne
    Semper FiVictoria 2Divine WindMagickaDarkest Hour
    Majesty II CollectionCrusader Kings IIPride of NationsSupreme Ruler: Cold WarSword of the Stars II
    Victoria II: A House Divided BetaWarlock: Master of the Arcane

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,214
    Quote Originally Posted by keynes2.0 View Post
    Do you think that you might be a kind and generous god and give us a pop extractor as well that would generate pmkr files from the existing game files? I'm thinking here about using the current game files but changing soldiers to a capitol only pop.
    Although a good idea, I already made this tool: http://forum.paradoxplaza.com/forum/...1#post13138832 to achieve the same end result specifically for soldier pops, but for some reason the game engine made half of them disappear.

  14. #14
    Right, I forgot about that.
    Every winter my Uncle Bilbert used to go out and buy clothes for his entire hobbit family. I remember the first year I came along with him shopping. His tongue was swollen up so he was unable to speak but my uncle Bilbert was not concerned. He simply took me and my cousins to town and proudly presented his young relatives to the shopkeeper. The wise old clothesmaker just smiled and started taking measurements. After so many years of business he didn't hesitate to in fur my uncle's hobbits.

  15. #15
    Ελευθερία ή Θάνατος Grandmasta's Avatar
    EU3 OwnerNapoleonic MarshalDeus Vult!Victoria: RevolutionsEuropa Universalis III: In Nomine
    Hearts of Iron IIIHeir to the ThroneMount & Blade: WarbandSemper FiVictoria 2
    Divine WindMagickaCities in MotionSword of the StarsCrusader Kings II
    Mount & Blade: With Fire and SwordFor the MotherlandSengokuSword of the Stars IIVictoria II: A House Divided
    Crusader Kings II Holy KnightNaval War: Arctic CircleHOI3: Their Finest HourMarch of the EaglesVictoria 2: Heart of Darkness

    Join Date
    May 2008
    Location
    HC SVNT DRACONES
    Posts
    352
    Quote Originally Posted by Kalelovil View Post
    Do other .jar packaged programs run for you?
    What operating system are you running?
    Is it giving you this error when running the program just using the included Ontario.pmkr as input?
    Yes, I can run other .jars fine. I'm running Windows 7 Ultimate x64. The only other file in the directory is the included Ontario.pmkr, which I haven't altered in any way.
    Success is the ability to go from one failure to another with no loss of enthusiasm.
    - Winston Churchill


    GTFO Minimod for Victoria 2
    Remove countries from your Sphere of Influence[/FONT]

  16. #16
    General Kalelovil's Avatar
    Deus Vult!EU3 CompleteRome GoldHearts of Iron IIIHeir to the Throne
    Semper FiVictoria 2Divine WindMagickaDarkest Hour
    Majesty II CollectionCrusader Kings IIPride of NationsSupreme Ruler: Cold WarSword of the Stars II
    Victoria II: A House Divided BetaWarlock: Master of the Arcane

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,214
    Quote Originally Posted by Grandmasta View Post
    Yes, I can run other .jars fine. I'm running Windows 7 Ultimate x64. The only other file in the directory is the included Ontario.pmkr, which I haven't altered in any way.
    1.Are you sure you have the newest version of JRE7?

    2. Right click MY COMPUTER, choose PROPERTIES, choose ADVANCED, ENVIRONMENT VARIABLES button.
    What is the CLASS PATH under SYSTEM VARIABLES?

  17. #17
    Ελευθερία ή Θάνατος Grandmasta's Avatar
    EU3 OwnerNapoleonic MarshalDeus Vult!Victoria: RevolutionsEuropa Universalis III: In Nomine
    Hearts of Iron IIIHeir to the ThroneMount & Blade: WarbandSemper FiVictoria 2
    Divine WindMagickaCities in MotionSword of the StarsCrusader Kings II
    Mount & Blade: With Fire and SwordFor the MotherlandSengokuSword of the Stars IIVictoria II: A House Divided
    Crusader Kings II Holy KnightNaval War: Arctic CircleHOI3: Their Finest HourMarch of the EaglesVictoria 2: Heart of Darkness

    Join Date
    May 2008
    Location
    HC SVNT DRACONES
    Posts
    352
    Quote Originally Posted by Kalelovil View Post
    1.Are you sure you have the newest version of JRE7?
    I'm pretty sure I don't, since the Java.com download page assures me I am up to date with the latest version 6, update 30.

    After a Google search and installing JRE7 from Oracle.com (?), it works fine!

    Thanks!
    Success is the ability to go from one failure to another with no loss of enthusiasm.
    - Winston Churchill


    GTFO Minimod for Victoria 2
    Remove countries from your Sphere of Influence[/FONT]

  18. #18
    General Kalelovil's Avatar
    Deus Vult!EU3 CompleteRome GoldHearts of Iron IIIHeir to the Throne
    Semper FiVictoria 2Divine WindMagickaDarkest Hour
    Majesty II CollectionCrusader Kings IIPride of NationsSupreme Ruler: Cold WarSword of the Stars II
    Victoria II: A House Divided BetaWarlock: Master of the Arcane

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,214
    Slightly updated version. Download link updated in first post.

    Changelog:
    -End values are now rounded to the nearest whole number rather than truncated.
    -Weights used in .pmkr files no longer have to add up to 100.
    -Compiled using Java6 rather than Java7.
    -Simplification of the programme's internal layout.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts