Anything on the not working db tables which always crashing the game?
Anything on the not working db tables which always crashing the game?
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
</table>
<table table_name='special_ability_phases_tables'
table_version='28' >
<field name='duration' type='float' />
<field name='effect_type' type='string_ascii' />
<field name='id' type='string_ascii' pk='true' />
<field name='requested_stance' type='optstring_ascii' />
<field name='unbreakable' type='boolean' />
<field name='cant_move' type='boolean' />
<field name='kill_own_unit' type='boolean' />
<field name='fatigue_change_ratio' type='float' />
<field name='unknown8' type='boolean' />
<field name='unknown9' type='boolean' />
<field name='unknown10' type='boolean' />
<field name='unknown11' type='boolean' />
<field name='ability_recharge_change' type='float' />
<field name='hp_change_frequency' type='float' />
<field name='heal_amount' type='int' />
<field name='damage_chance' type='float' />
<field name='damage_amount' type='int' />
<field name='max_damaged_entites' type='int' />
<field name='unknown18' type='int' />
<field name='resurrect' type='boolean' />
<field name='mana_regen_mod' type='float' />
<field name='unknown21' type='float' />
<field name='unknown22' type='boolean' />
<field name='imbue_ignition' type='int' />
<field name='unknown24' type='optstring_ascii' />
<field name='unknown25' type='optstring_ascii' />
<field name='unknown26' type='optstring_ascii' />
</table>
</table>
<table table_name='unit_special_abilities_tables'
table_version='38' >
<field fkey='unit_abilities_tables.key' name='key' type='string_ascii' pk='true' />
<field name='active_time' type='float' />
<field name='recharge_time' type='float' />
<field name='num_uses' type='int' />
<field name='effect_range' type='float' />
<field name='affect_self' type='boolean' />
<field name='num_effected_friendly_units' type='int' />
<field name='num_effected_enemy_units' type='int' />
<field name='update_targets_every_frame' type='boolean' />
<field name='initial_recharge' type='float' />
<field fkey='projectiles_tables.key' name='activated_projectile' type='optstring_ascii' />
<field name='can_autotrigger' type='boolean' />
<field name='target_friends' type='boolean' />
<field name='target_enemies' type='boolean' />
<field name='target_intercept_range' type='float' />
<field name='unknown15' type='boolean' />
<field name='clear_current_order' type='boolean' />
<field name='wind_up_time' type='float' />
<field name='passive' type='boolean' />
<field name='unique_id' type='int' />
<field name='unknown20' type='int' />
<field name='bombardment' type='optstring_ascii' />
<field name='spawned_unit' type='optstring_ascii' />
<field name='wind_up_stance' type='optstring_ascii' />
<field name='mana_cost' type='float' />
<field name='min_range' type='float' />
<field name='targetting_aoe' type='optstring_ascii' />
<field name='passive_aoe' type='optstring_ascii' />
<field name='active_aoe' type='optstring_ascii' />
<field name='activation_effect' type='optstring_ascii' />
<field name='vortex' type='optstring_ascii' />
<field name='miscast_chance' type='float' />
<field name='miscast_explosion' type='optstring_ascii' />
<field name='ai_usage' type='optstring_ascii' />
<field name='audio' type='optstring_ascii' />
<field name='special_ability_display' type='optstring_ascii' />
<field name='voiceover_state' type='optstring_ascii' />
<field name='additional_melee_cp' type='float' />
<field name='additional_missile_cp' type='float' />
</table>
here you go Lazers.
sorry for triple post guys :/
</table>
<table table_name='main_units_tables'
table_version='28' >
<field name='additional_building_required' type='optstring_ascii' />
<field name='campaign_cap' type='int' />
<field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' />
<field name='create_time' type='int' />
<field name='is_naval' type='boolean' />
<field fkey='land_units_tables.key' name='land_unit' type='string_ascii' />
<field name='num_men' type='int' />
<field name='multiplayer_cap' type='int' />
<field name='multiplayer_cost' type='int' />
<field fkey='naval_units_tables.key' name='naval_unit' type='optstring_ascii' />
<field name='num_ships' type='int' />
<field name='min_men_per_ship' type='int' />
<field name='max_men_per_ship' type='int' />
<field name='prestige' type='int' />
<field name='recruitment_cost' type='int' />
<field name='unknown15' type='optstring_ascii' />
<field name='religion_required' type='optstring_ascii' />
<field name='unit' type='string_ascii' pk='true' />
<field name='upkeep_cost' type='int' />
<field fkey='unit_weights_tables.key' name='weight' type='optstring_ascii' />
<field name='campaign_total_cap' type='int' />
<field name='unknown21' type='boolean' />
<field name='unknown22' type='boolean' />
<field name='unknown23' type='boolean' />
<field name='unique_index' type='int' />
<field name='unknown25' type='boolean' />
<field name='unknown26' type='boolean' />
<field name='unknown27' type='boolean' />
<field name='unknown28' type='boolean' />
<field name='unknown29' type='boolean' />
<field name='unknown30' type='boolean' />
<field name='audio_voiceover_culture' type='string_ascii' />
<field name='ui_unit_group_land' type='string_ascii' />
<field name='ui_unit_group_naval' type='string_ascii' />
<field name='tier' type='int' />
<field name='is_high_threat' type='boolean' />
<field name='audio_voiceover_actor' type='string_ascii' />
<field name='porthole_camera' type='string_ascii' />
<field name='mount' type='optstring_ascii' />
<field name='unknown39' type='boolean' />
<field name='unknown40' type='boolean' />
<field name='unknown41' type='optstring_ascii' />
<field name='unknown42' type='float' />
<field name='unknown43' type='float' />
<field name='unknown44' type='boolean' />
<field name='unknown45' type='string_ascii' />
</table>
Tools: PFM 4.1 - EditSF 1.2.0
(Download PFM - Download EditSF)
Warscape Modding Guide
Join the PFM User Group on Steam to receive PackFileManager update notifications.
Respecto Patronum
Damn, sad to hear it its still not working for you. Damn silly issues.
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
If i changing table data's name manually with pfm (using 'rename'), Is this working for solution of mod CTD?
I just uploaded an update (version 4.1), including the new EsfLibrary.dll (corrected by RoninX2807) which should allow opening the new ESF types, and the MyMod installation fix.
Also, of course, all schema updates up to this post.
Tools: PFM 4.1 - EditSF 1.2.0
(Download PFM - Download EditSF)
Warscape Modding Guide
Join the PFM User Group on Steam to receive PackFileManager update notifications.
Respecto Patronum
When I load PFM 4.0 and click "Check for Update", it says no update performed. Bug?
Would it be possible to add as a feature, multi-file editing/viewing? Ie. click on the root node (eg. factions_tables) and have it load all the children of that node, in priority order (eg. mods overwrite patch, which overwrites release etc). This way, with CA Read Only checked, entries that exist solely in a CA table would remain greyed out, but could be viewed while editing. Possibly you could copy an entry directly to another table with a right click function (Right Click >> Copy To >> mod__data).
I probably would have needed to upload as "PFM 4.1.0" or something :/
Possible yes, but I doubt I'll ever get around to implementing that. I did add a feature request in the issues list.Would it be possible to add as a feature, multi-file editing/viewing? Ie. click on the root node (eg. factions_tables) and have it load all the children of that node, in priority order (eg. mods overwrite patch, which overwrites release etc). This way, with CA Read Only checked, entries that exist solely in a CA table would remain greyed out, but could be viewed while editing. Possibly you could copy an entry directly to another table with a right click function (Right Click >> Copy To >> mod__data).
I'd split this feature into three parts:
- view-only table containing all entries
- allow copying of entries into current mod table
- allow editing of entries in place
But again, I don't see how I'll have the time to actually write that.
Tools: PFM 4.1 - EditSF 1.2.0
(Download PFM - Download EditSF)
Warscape Modding Guide
Join the PFM User Group on Steam to receive PackFileManager update notifications.
Respecto Patronum
Fair enough Daniu, it's not really necessary, just a useful feature. Do you have a Git for PFM? Not that I'd have the time to implement anything either, but you never know.
Tools: PFM 4.1 - EditSF 1.2.0
(Download PFM - Download EditSF)
Warscape Modding Guide
Join the PFM User Group on Steam to receive PackFileManager update notifications.
Respecto Patronum
I choose a directory for TWH after that it shows these: "Failed to load DBE: the type initializer for 'PackFileManager.ModManager' threw an exception" & "Currently the edited game is R2TW, but does not seem to be installed. Make sure to select the proper game in the games menu."
Then an Error comes up saying this: "System.TypeInitializationException: The type initializer for 'PackFileManager.ModManager' threw an exception. ---> System.IO.FileNotFoundException: Game directory not found: data at Common.PackLoadSequence.GetPacksLoadedFrom(StringDirectory)
Along with some other crap that I can't copy and paste.
Please help. The image below is what happened. I uploaded it but it goes down to that size.
I also have a problem when I go to choose a program the PFM symbol doesn't show up as default to open the pack file. The icon for a default program always shows up next to file. Basically representing what program will open that file.
I go to "open with" and select the PFM application, which i have to browse to get to, and nothing happens.
How do I get 4.1 to recognize my file directory for TW Warhammer? under the "Game" tab, it only allows me to select "STW" and "R2TW" but not "TWH" so I cant edit any tw warhammer files. its driving meh nutts
Tools: PFM 4.1 - EditSF 1.2.0
(Download PFM - Download EditSF)
Warscape Modding Guide
Join the PFM User Group on Steam to receive PackFileManager update notifications.
Respecto Patronum
As of 4.1, if you alter a value in the column 'campaign_total_cap' in 'main_unit_tables'>'data__core' it causes a CTD on loading the save game (loads into the game fine).
Specifically, I altered the Dwarf Slayers (row 89) campaign_total_cap to 6. There are values in the Chaos section of main_unit_tables (data__ch_). I will try using one of those values in case it's actually referencing some random string value instead of an in-game one (i.e. 6 doesn't mean 6 units, but the value 6 from some other table).
Update: Loads the savegame fine using one of the values from the 'data__ch_' table (33554432). Doesn't seem to actually do anything, but does load.
---
It doesn't appear to have been explicitly stated here, so for anyone having trouble getting the game to start up without crashing when making their mods with PFM, remember to rename your 'data__core' to something else to prevent a conflict with the base game file.
Last edited by KindredBrujah; June 04, 2016 at 03:19 AM. Reason: Update
so maybe I am not using this tool correctly, but I have created my own pack, now how do I add a table to that pack? (This is a really noob question so if there is a tutorial for this, please point it to me )
Right click on the table you want to edit, and choose "add". You probably want to add from pack.
Daniu, just discovered the AMAZING "minimize pack" button in PFM. Now I don't have to worry about all the dumb extra fluff TWeak adds in! Can it be made to work with localizations too? Also, when refactoring a pack, is it possible to have it automatically add a suffix in place of a prefix? Seems like it would be a relatively small feature to implement. I know you don't have any time, and I haven't gotten around to setting up sourceforge yet to help... but you can put it on a to do list maybe?