Results 1 to 12 of 12

Thread: Updated data files for PFM

  1. #1

    Default Updated data files for PFM

    I have done some work to convert table information from the taw converter format into the pfm format. As a result, I have made new DBFileTypes files for pfm which (a) fix 9 tables for which pfm had wrong data, (b) improve 15 tables where pfm field types were unknown, and (c) add support for 128 tables which were missing from pfm.

    To use these new files, please follow these steps.

    1. In your PFM installation directory, rename the directory DBFileTypes to orig-db-files or similar, to make a backup of the original files.

    2. Unzip the attached zipfile into your PFM installation directory. Check to make sure that you have a new DBFileTypes directory containing files like DBFileTypes_0.txt.

    3. Run PFM and load one or two of the files in the detail lists below to make sure you see the new capability. For example, the dilemmas file was not previously supported by pfm; now it is.

    4. (Optional) Come back to this post and add to my reputation by clicking the little green "+" button under my name at the left. This will help my standing in the forum.

    The data here is entirely produced by taw and his converter. I have just correlated against pfm and converted into pfm format. For more detail on this correlation project see this thread.

    (UPDATE 6 Oct 2012: sorry for leaving the following paragraph; it is no longer true. As of PFM 1.6.7 and patch9, unit_stats_land is working correctly.

    Please note that the key file unit_stats_land is not currently working in either taw's converter or pfm. For a temporary workaround in pfm, see this thread. For the current status of this problem, see this post; if there is any new news, I will update here.

    END UPDATE)

    If you compare my directory DBFileTypes against the previous directory, you will notice several things.

    1. The files DBFileTypes.txt and DBFileTypes_1-2.txt are missing from my directory on purpose. They were never read by PFM anyway, and they just make things confusing.

    2. I have added DBFileTypes_16.txt. PFM does not read this yet. But, if we are successful in recompiling PFM from its outdated source files, then this file is needed to support the new unit_stats_land file.

    3. In the case of (a,b) where I have replaced existing PFM data, I have deleted the section of data from its previous location. For all the 9 + 15 + 128 tables, I have put them in alphabetical order at the bottom of the file. These two decisions are intended to reduce the amount of "diffs" which may occur if we add these files into the current PFM source control "svn" area. I would prefer to completely regenerate the data, including the old unchanged data. This would make the files look cleaner and more organized, but it would make the number of "diffs" so huge that nobody would be able to compare versions. Presently we cannot access the svn anyway; but if we can, we will discuss which of these two approaches is best for updating svn.

    Here is the list of the 9 fixed tables (a) and the 15 improved tables (b).
    Spoiler Alert, click show to read: 

    FAIL_IN_PFM
    battle_script_strings
    battle_terrain_farms
    battle_type_faction_presets
    battle_type_setup_limits
    battle_types
    battlefield_buildings
    battles
    BETTER_IN_TAW
    advice_levels
    ancillaries
    battlefield_snow_props
    building_chains
    building_culture_gov_type_variants
    building_units_allowed
    campaign_ground_types
    names
    pdlc
    projectile_shot_type_enum
    quotes
    unit_info_card_abilities_strings
    unit_special_abilities
    unit_stats_naval_crew
    units

    Here is a list of the 128 files (c) which are added to pfm.
    Spoiler Alert, click show to read: 

    avatar_aesthetics
    avatar_aesthetics_localised_source_lookups
    avatar_ancillaries_descriptions
    avatar_ancillaries_localised_source_lookups
    avatar_ancillaries_to_effects_junctions
    avatar_army_makeup_traits
    avatar_clan_specialisms
    avatar_dojo_chains
    avatar_dojos
    avatar_drop_probabilities
    avatar_effects
    avatar_faction_flags
    avatar_flags
    avatar_ranks
    avatar_skill_chain_lookups
    avatar_skill_effects_juncs
    avatar_skill_prerequisites
    avatar_skill_tree_traits
    avatar_skills
    avatar_skills_descriptions
    avatar_skills_to_units_juncs
    avatar_special_abilities
    avatar_startpos_units
    avatar_traits
    avatar_unit_group_ids
    avatar_unit_groups
    avatar_unit_info_card_abilites_strings
    avatar_unit_levels
    avatar_unit_ui_categories
    avatar_units
    avatar_xp_rewards
    battle_cameras
    battle_script_advice_strings
    building_level_armed_citizenry_junctions
    campaign_ai_character_skill_tree_junctions
    campaign_character_art_sets
    campaign_character_arts
    cdir_events_dilemma_incidents
    cdir_events_dilemma_option_junctions
    cdir_events_dilemma_payloads
    cdir_events_incident_option_junctions
    cdir_events_incident_payloads
    cdir_events_mission_issuer_junctions
    cdir_events_mission_option_junctions
    cdir_events_mission_payloads
    cdir_events_payloads
    cdir_unit_balances
    character_experience_skill_tiers
    character_skill_level_to_effects_junctions
    character_skill_node_links
    character_skill_node_sets
    character_skill_nodes
    character_skills
    dilemmas
    effect_bonus_value_unit_caste_junctions
    effect_bonus_value_unit_record_junctions
    effect_bundles
    effect_bundles_to_effects_junctions
    empires_regions_junct
    encyclopedia_blocks
    encyclopedia_page_linkages
    encyclopedia_page_related_links
    encyclopedia_pages
    encyclopedia_template_strings
    event_log_descriptions
    experience_triggers
    faction_resource_consumptions
    family_relationship_types
    frontend_faction_leaders
    general_command_star_level_effects
    honour_effects
    honour_factors
    incident_heading_texts
    incidents
    loyalty_effects
    loyalty_factors
    ministerial_positions_switching_loyalty_effects
    ministerial_positions_to_character_effects
    mission_issuers
    models_artillery
    mp_budgets
    mp_force_gen_army_sizes_by_budgets
    mp_force_gen_template_junctions
    mp_force_gen_upgrade_probabilities
    multiplayer_faction_descriptions
    multiplayer_mininum_length_funds
    naval_uniforms
    pre_battle_speeches
    region_groups
    regions_to_region_groups_junctions
    sea_surfaces
    seasons
    slots_art
    slots_gdp_values
    slots_templates_models
    sound_events
    stances
    start_pos_faction_effect_bundles
    start_pos_family_relationships
    stats
    stats_clans
    subtitles
    taxes_classes
    taxes_effects_jct
    taxes_keys
    taxes_levels
    technology_categories
    technology_node_links
    technology_node_sets
    technology_nodes
    terrain_tilesets
    town_wealth_growth_factors
    trade_details
    trade_node_groups
    trade_nodes
    ui_unit_stat_to_classes
    ui_unit_stats
    unit_castes
    unit_experience_threshold_modifiers
    unit_voice_categories
    unit_voice_events_junctions
    videos
    videos_subtitles_junctions
    voice_events
    voice_types
    warscape_rigid_lod_range
    warscape_trees
    warscape_underlay_textures
    Last edited by davidlallen; October 07, 2011 at 02:08 PM.

  2. #2

    Default Re: Updated data files for PFM

    reserved

  3. #3
    DaVinci's Avatar TW Modder 2005-2016
    Patrician Artifex

    Join Date
    Apr 2005
    Location
    The plastic poisoned and d(r)ying surface of planet Earth in before Armageddon
    Posts
    15,359

    Default Re: Updated data files for PFM



    Dl'ed.

    Edit: Have already a customised DBfileTypes, which opens the for me important db's, but your update might be useful in future. Great work anyways.
    Last edited by DaVinci; August 06, 2011 at 03:24 PM.
    #Anthropocene #not just Global Warming but Global Disaster, NASA #Deforestation #Plastic Emission #The Blob #Uninhabitable Earth #Savest Place On Earth #AMOC #ICAN #MIT study "Falsehoods Win" #Engineers of Chaos
    #"there can be no doubt about it: the enemy stands on the Right!" 1922, by Joseph Wirth.
    Rightwingers, like in the past the epitome of incompetence, except for evilness where they own the mastership.
    Iirc., already 2013 i spoke of "Renaissance of Fascism", it was accurate.
    #"Humanity is in ‘final exam’ as to whether or not it qualifies for continuance in universe." Buckminster Fuller
    Any chance for this exam? Very low, the established Anthropocentrism destroys the basis of existence.
    #My Modding #The Witcher 3: Lore Friendly Tweaks (LFT)
    #End, A diary of the Third World War (A.-A. Guha, 1983) - now, it started on 24th February 2022.

  4. #4
    Radious's Avatar I came, I saw, I modded
    Join Date
    Mar 2009
    Location
    Czech Republic
    Posts
    11,083

    Default Re: Updated data files for PFM

    Excelent, this is very nice and perfectly working update. I needed to use for many tables Shogun 2 Converter which was more complicated and mainly time consuming. This will surely help. Thanks again good Sir.

    Winner of the 2011, 2012. 2014, 2015, 2016 and 2017 Modding Awards in Total War Shogun 2, Rome 2, Attila, Warhammer 1 and Warhammer 2.
    Follow us here - Team Radious




  5. #5

    Default Re: Updated data files for PFM

    Quote Originally Posted by DaVinci View Post
    Have already a customised DBfileTypes, which opens the for me important db's.
    Do you recall if your files have any field name improvements compared to the 1.6.6 released version? If so I would like to integrate your files into mine, to collect together all the best information. Then could you zip/attach your files? I have enough scripts around now that I can probably merge any improved field titles you may have without too much trouble.

  6. #6
    DaVinci's Avatar TW Modder 2005-2016
    Patrician Artifex

    Join Date
    Apr 2005
    Location
    The plastic poisoned and d(r)ying surface of planet Earth in before Armageddon
    Posts
    15,359

    Default Re: Updated data files for PFM

    Quote Originally Posted by davidlallen View Post
    Do you recall if your files have any field name improvements compared to the 1.6.6 released version? If so I would like to integrate your files into mine, to collect together all the best information. Then could you zip/attach your files? I have enough scripts around now that I can probably merge any improved field titles you may have without too much trouble.

    Not necessary, you have them in your list.
    #Anthropocene #not just Global Warming but Global Disaster, NASA #Deforestation #Plastic Emission #The Blob #Uninhabitable Earth #Savest Place On Earth #AMOC #ICAN #MIT study "Falsehoods Win" #Engineers of Chaos
    #"there can be no doubt about it: the enemy stands on the Right!" 1922, by Joseph Wirth.
    Rightwingers, like in the past the epitome of incompetence, except for evilness where they own the mastership.
    Iirc., already 2013 i spoke of "Renaissance of Fascism", it was accurate.
    #"Humanity is in ‘final exam’ as to whether or not it qualifies for continuance in universe." Buckminster Fuller
    Any chance for this exam? Very low, the established Anthropocentrism destroys the basis of existence.
    #My Modding #The Witcher 3: Lore Friendly Tweaks (LFT)
    #End, A diary of the Third World War (A.-A. Guha, 1983) - now, it started on 24th February 2022.

  7. #7
    Radious's Avatar I came, I saw, I modded
    Join Date
    Mar 2009
    Location
    Czech Republic
    Posts
    11,083

    Default Re: Updated data files for PFM

    Really nice update, i have access now to many tables i didnt had before and had to use other and more complicated ways. You helped me a lot Sir and you have my full support for Artifex election.

    Winner of the 2011, 2012. 2014, 2015, 2016 and 2017 Modding Awards in Total War Shogun 2, Rome 2, Attila, Warhammer 1 and Warhammer 2.
    Follow us here - Team Radious




  8. #8
    Akaie's Avatar Sangi Ukon'e no Chūjō
    Join Date
    Jun 2011
    Location
    Australia
    Posts
    3,291

    Default Re: Updated data files for PFM

    Thanks for the work you put into this!

  9. #9
    THANGDACLAC's Avatar Civis
    Join Date
    Oct 2008
    Location
    IN THIS GREAT MAYA
    Posts
    162

    Default Re: Updated data files for PFM

    @davidlallen! Thank so much!!! and +Rep.


  10. #10
    Bad213Boy's Avatar Semisalis
    Join Date
    Nov 2011
    Location
    Chicago
    Posts
    411

    Default Re: Updated data files for PFM

    Nevermind, figure out what this was.
    Last edited by Bad213Boy; January 02, 2012 at 03:40 PM.


  11. #11

    Default Re: Updated data files for PFM

    Can't get technology_node_sets to work

  12. #12

    Default Re: Updated data files for PFM

    Redundant thread, closed. All of this is already included in the latest version of PFM, please continue the discussion here instead.

Posting Permissions

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