+ Reply to Thread
Results 1 to 18 of 18

Thread: Victoria 2 Pop Maker Utility

  1. #1
    BL-logic
    Event Team Leader
    Kalelovil's Avatar
    Crusader Kings IIDarkest HourDeus VultEU3 CompleteDivine Wind
    Hearts of Iron IIIHeir to the ThroneKing Arthur IIMagickaMajesty II Collection
    March of the EaglesRome GoldSemper FiSword of the Stars IISupreme Ruler: Cold War
    The Showdown EffectVictoria 2Warlock: Master of the ArcaneV2 AHD BetaPride of Nations
    500k clubEuropa Universalis IV

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

    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 08:01.
    Game Developer East vs West - Event&Decision Team Leader
    Unless stated otherwise, the content of the above post is my personal opinion only.

    Utilities:
    Victoria 2 Pop Maker Utility: http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Order Of Battle Maker Utility:
    http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Savegame Analyser Utility: http://forum.paradoxplaza.com/forum/showthread.php?638277-Victoria-2-AHD-Savegame-Analyser

  2. #2
    General Hibernian's Avatar
    Crusader Kings IIEuropa Universalis 3Divine WindFor the MotherlandHearts of Iron III
    HOI3: Their Finest HourHeir to the ThroneEuropa Universalis III: In NomineEU3 Napoleon's AmbitionNaval War: Arctic Circle
    Rome GoldSemper FiVictoria 2Victoria II: A House DividedMount & Blade: Warband
    Crusader Kings II: Legacy of RomeCrusader Kings II: Sword of IslamCrusader Kings II: The RepublicCrusader Kings II: The Old GodsCrusader Kings II: Sons of Abraham
    Crusader Kings II: Rajas of IndiaCrusader Kings II: CharlemagneCrusader Kings II: Way of Life

    Join Date
    Feb 2008
    Location
    Dublin, Ireland
    Posts
    2,169
    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
    Cities in MotionCrusader Kings IIDeus VultEuropa Universalis: ChroniclesFor the Motherland
    Hearts of Iron IIISemper FiVictoria 2Victoria II: A House DividedCK2: Holy Knight
    500k club

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

  4. #4
    BL-logic
    Event Team Leader
    Kalelovil's Avatar
    Crusader Kings IIDarkest HourDeus VultEU3 CompleteDivine Wind
    Hearts of Iron IIIHeir to the ThroneKing Arthur IIMagickaMajesty II Collection
    March of the EaglesRome GoldSemper FiSword of the Stars IISupreme Ruler: Cold War
    The Showdown EffectVictoria 2Warlock: Master of the ArcaneV2 AHD BetaPride of Nations
    500k clubEuropa Universalis IV

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,372
    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.
    Game Developer East vs West - Event&Decision Team Leader
    Unless stated otherwise, the content of the above post is my personal opinion only.

    Utilities:
    Victoria 2 Pop Maker Utility: http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Order Of Battle Maker Utility:
    http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Savegame Analyser Utility: http://forum.paradoxplaza.com/forum/showthread.php?638277-Victoria-2-AHD-Savegame-Analyser

  5. #5
    BL-logic
    Event Team Leader
    Kalelovil's Avatar
    Crusader Kings IIDarkest HourDeus VultEU3 CompleteDivine Wind
    Hearts of Iron IIIHeir to the ThroneKing Arthur IIMagickaMajesty II Collection
    March of the EaglesRome GoldSemper FiSword of the Stars IISupreme Ruler: Cold War
    The Showdown EffectVictoria 2Warlock: Master of the ArcaneV2 AHD BetaPride of Nations
    500k clubEuropa Universalis IV

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,372
    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.
    Game Developer East vs West - Event&Decision Team Leader
    Unless stated otherwise, the content of the above post is my personal opinion only.

    Utilities:
    Victoria 2 Pop Maker Utility: http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Order Of Battle Maker Utility:
    http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Savegame Analyser Utility: http://forum.paradoxplaza.com/forum/showthread.php?638277-Victoria-2-AHD-Savegame-Analyser

  6. #6
    Benevolent Imperialist flame7926's Avatar
    Cities in MotionCrusader Kings IIDeus VultEuropa Universalis: ChroniclesFor the Motherland
    Hearts of Iron IIISemper FiVictoria 2Victoria II: A House DividedCK2: Holy Knight
    500k club

    Join Date
    Mar 2011
    Location
    Boulder, Colorado
    Posts
    2,218
    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
    BL-logic
    Event Team Leader
    Kalelovil's Avatar
    Crusader Kings IIDarkest HourDeus VultEU3 CompleteDivine Wind
    Hearts of Iron IIIHeir to the ThroneKing Arthur IIMagickaMajesty II Collection
    March of the EaglesRome GoldSemper FiSword of the Stars IISupreme Ruler: Cold War
    The Showdown EffectVictoria 2Warlock: Master of the ArcaneV2 AHD BetaPride of Nations
    500k clubEuropa Universalis IV

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,372
    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.
    Game Developer East vs West - Event&Decision Team Leader
    Unless stated otherwise, the content of the above post is my personal opinion only.

    Utilities:
    Victoria 2 Pop Maker Utility: http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Order Of Battle Maker Utility:
    http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Savegame Analyser Utility: http://forum.paradoxplaza.com/forum/showthread.php?638277-Victoria-2-AHD-Savegame-Analyser

  8. #8
    Absent Minded Orinsul's Avatar
    Crusader Kings IIDeus VultEuropa Universalis: ChroniclesDivine WindHearts of Iron III
    HOI3: Their Finest HourHeir to the ThroneSengokuVictoria 2Victoria II: A House Divided
    CK2: Holy Knight500k clubEuropa Universalis IV: Pre-orderCrusader Kings II: Legacy of RomeCrusader Kings II: Sword of Islam
    Crusader Kings II: Sunset InvasionCrusader Kings II: The RepublicCrusader Kings II: The Old GodsCrusader Kings II: Sons of AbrahamCrusader Kings II: Rajas of India
    Crusader Kings II: Charlemagne

    Join Date
    Feb 2008
    Location
    Otago, New Zealand
    Posts
    7,094
    This looks awesome, Thanks!
    Nationality: New Zealander One of what we all are, your companion and your friend.
    Religion: Roman Catholic I believe in you my brothers and sisters.
    Ideology: Distributist (I'm bored, so for the time being,) POPULIST.
    Issues: Moralism/Full Citizenship I have no convictions I stand for the People, I stand for You.
    How did some slip of a girlyboy from communist East Berlin become the internationally ignored song stylist barely standing before you?

    Don't Press the O

  9. #9
    Ελευθερία ή Θάνατος Grandmasta's Avatar
    Cities in MotionCrusader Kings IIDeus VultEuropa Universalis 3Divine Wind
    For the MotherlandHearts of Iron IIIHOI3: Their Finest HourHeir to the ThroneEuropa Universalis III: In Nomine
    MagickaMarch of the EaglesEU3 Napoleon's AmbitionNaval War: Arctic CircleVictoria: Revolutions
    Semper FiSengokuSword of the StarsSword of the Stars IIVictoria 2
    Victoria II: A House DividedVictoria II: Heart of DarknessMount & Blade: WarbandMount & Blade: With Fire and SwordCK2: Holy Knight
    500k clubEuropa Universalis IV: Pre-order

    Join Date
    May 2008
    Location
    HC SVNT DRACONES
    Posts
    355
    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

  10. #10
    Into the Future ZomgK3tchup's Avatar
    Arsenal of DemocracyCrusader Kings IICommander: Conquest of the AmericasDarkest HourDeus Vult
    EU3 CompleteDivine WindFor The GloryFor the MotherlandGettysburg
    Hearts of Iron IIIHOI3: Their Finest HourHeir to the ThroneThe Kings CrusadeMajesty II Collection
    March of the EaglesPirates of Black CoveVictoria: RevolutionsSemper FiSengoku
    Sword of the StarsSword of the Stars IISupreme Ruler: Cold WarVictoria 2Victoria II: A House Divided
    Victoria II: Heart of DarknessMount & Blade: WarbandCK2: Holy KnightKnights of Pen and Paper +1 Edition500k club
    Europa Universalis IV: Pre-orderTeleglitch: Die More EditionEUIV: Wealth of NationsEUIV: Conquest of ParadiseEUIV: Res Publica
    Crusader Kings II: Legacy of RomeCrusader Kings II: Sword of IslamCrusader Kings II: Sunset InvasionCrusader Kings II: The RepublicCrusader Kings II: The Old Gods
    Crusader Kings II: Sons of AbrahamCrusader Kings II: Rajas of India

    Join Date
    Dec 2009
    Location
    New Jersey
    Posts
    2,589
    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
    BL-logic
    Event Team Leader
    Kalelovil's Avatar
    Crusader Kings IIDarkest HourDeus VultEU3 CompleteDivine Wind
    Hearts of Iron IIIHeir to the ThroneKing Arthur IIMagickaMajesty II Collection
    March of the EaglesRome GoldSemper FiSword of the Stars IISupreme Ruler: Cold War
    The Showdown EffectVictoria 2Warlock: Master of the ArcaneV2 AHD BetaPride of Nations
    500k clubEuropa Universalis IV

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,372
    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?
    Game Developer East vs West - Event&Decision Team Leader
    Unless stated otherwise, the content of the above post is my personal opinion only.

    Utilities:
    Victoria 2 Pop Maker Utility: http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Order Of Battle Maker Utility:
    http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Savegame Analyser Utility: http://forum.paradoxplaza.com/forum/showthread.php?638277-Victoria-2-AHD-Savegame-Analyser

  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.
    Economic theory: P → Q, P ∴ Q, QED
    Economic practice: P → Q ∴ {!P} = ∅, QED
    Economic research: P → Q ☡ ∴ Q, QED

    https://www.youtube.com/watch?v=pWdd6_ZxX8c

  13. #13
    BL-logic
    Event Team Leader
    Kalelovil's Avatar
    Crusader Kings IIDarkest HourDeus VultEU3 CompleteDivine Wind
    Hearts of Iron IIIHeir to the ThroneKing Arthur IIMagickaMajesty II Collection
    March of the EaglesRome GoldSemper FiSword of the Stars IISupreme Ruler: Cold War
    The Showdown EffectVictoria 2Warlock: Master of the ArcaneV2 AHD BetaPride of Nations
    500k clubEuropa Universalis IV

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,372
    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.
    Game Developer East vs West - Event&Decision Team Leader
    Unless stated otherwise, the content of the above post is my personal opinion only.

    Utilities:
    Victoria 2 Pop Maker Utility: http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Order Of Battle Maker Utility:
    http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Savegame Analyser Utility: http://forum.paradoxplaza.com/forum/showthread.php?638277-Victoria-2-AHD-Savegame-Analyser

  14. #14
    Right, I forgot about that.
    Economic theory: P → Q, P ∴ Q, QED
    Economic practice: P → Q ∴ {!P} = ∅, QED
    Economic research: P → Q ☡ ∴ Q, QED

    https://www.youtube.com/watch?v=pWdd6_ZxX8c

  15. #15
    Ελευθερία ή Θάνατος Grandmasta's Avatar
    Cities in MotionCrusader Kings IIDeus VultEuropa Universalis 3Divine Wind
    For the MotherlandHearts of Iron IIIHOI3: Their Finest HourHeir to the ThroneEuropa Universalis III: In Nomine
    MagickaMarch of the EaglesEU3 Napoleon's AmbitionNaval War: Arctic CircleVictoria: Revolutions
    Semper FiSengokuSword of the StarsSword of the Stars IIVictoria 2
    Victoria II: A House DividedVictoria II: Heart of DarknessMount & Blade: WarbandMount & Blade: With Fire and SwordCK2: Holy Knight
    500k clubEuropa Universalis IV: Pre-order

    Join Date
    May 2008
    Location
    HC SVNT DRACONES
    Posts
    355
    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

  16. #16
    BL-logic
    Event Team Leader
    Kalelovil's Avatar
    Crusader Kings IIDarkest HourDeus VultEU3 CompleteDivine Wind
    Hearts of Iron IIIHeir to the ThroneKing Arthur IIMagickaMajesty II Collection
    March of the EaglesRome GoldSemper FiSword of the Stars IISupreme Ruler: Cold War
    The Showdown EffectVictoria 2Warlock: Master of the ArcaneV2 AHD BetaPride of Nations
    500k clubEuropa Universalis IV

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,372
    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?
    Game Developer East vs West - Event&Decision Team Leader
    Unless stated otherwise, the content of the above post is my personal opinion only.

    Utilities:
    Victoria 2 Pop Maker Utility: http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Order Of Battle Maker Utility:
    http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Savegame Analyser Utility: http://forum.paradoxplaza.com/forum/showthread.php?638277-Victoria-2-AHD-Savegame-Analyser

  17. #17
    Ελευθερία ή Θάνατος Grandmasta's Avatar
    Cities in MotionCrusader Kings IIDeus VultEuropa Universalis 3Divine Wind
    For the MotherlandHearts of Iron IIIHOI3: Their Finest HourHeir to the ThroneEuropa Universalis III: In Nomine
    MagickaMarch of the EaglesEU3 Napoleon's AmbitionNaval War: Arctic CircleVictoria: Revolutions
    Semper FiSengokuSword of the StarsSword of the Stars IIVictoria 2
    Victoria II: A House DividedVictoria II: Heart of DarknessMount & Blade: WarbandMount & Blade: With Fire and SwordCK2: Holy Knight
    500k clubEuropa Universalis IV: Pre-order

    Join Date
    May 2008
    Location
    HC SVNT DRACONES
    Posts
    355
    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

  18. #18
    BL-logic
    Event Team Leader
    Kalelovil's Avatar
    Crusader Kings IIDarkest HourDeus VultEU3 CompleteDivine Wind
    Hearts of Iron IIIHeir to the ThroneKing Arthur IIMagickaMajesty II Collection
    March of the EaglesRome GoldSemper FiSword of the Stars IISupreme Ruler: Cold War
    The Showdown EffectVictoria 2Warlock: Master of the ArcaneV2 AHD BetaPride of Nations
    500k clubEuropa Universalis IV

    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    2,372
    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.
    Game Developer East vs West - Event&Decision Team Leader
    Unless stated otherwise, the content of the above post is my personal opinion only.

    Utilities:
    Victoria 2 Pop Maker Utility: http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Order Of Battle Maker Utility:
    http://forum.paradoxplaza.com/forum/...-Maker-Utility
    Victoria 2 Savegame Analyser Utility: http://forum.paradoxplaza.com/forum/showthread.php?638277-Victoria-2-AHD-Savegame-Analyser

+ 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