Author Topic: MB Barracks Editor Package [v2.46 25.03.2015]  (Read 92149 times)

0 Members and 1 Guest are viewing this topic.

IconracI

  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
MB Barracks Editor Package [v2.46 25.03.2015]
« on: June 05, 2010, 11:44:20 PM »
"Mount and Blade Barracks Editor"                  version 2.46


Standalone editor and Microsoft Excel based applications which allows user to edit TXT files from MB1011, MB 'Warband', 'With Fire and Sword' and 'Napoleonic Wars' (mods or latest natives). It should work with "Viking Conquest" as well, but I do not have this DLC to actually check it.



Standalone version _____________________________________________________________

Microsoft Windows (with .NET Framework v4.0 installed) based application which allows user to import txt files from MB 'Warband', 'With Fire and Sword', 'Napoleonic Wars' (mod or native). It contains: Troops, Items, Faction, Parties and Party Templates Editors.

All editors allow to:
- edit: name, ID, flags ... ,
- create new / remove existing entry,
- copy / replace selected data,
- export data as a text (game file) or a comma-separated values (to open as table in e.g. Excel/Libre/Open Office),
- show all data in table format, which supports sorting by: name, ID ... ,
- save all edited data automatically,
- warn (if enabled) and correct user if incorrect data is entered,
- present all information important for user on the status bar (no confirmation windows to click),
- resize editor window (recommended minimum resolution is 1280x800, but window's dimensions can be reduced even further).

Extra in Troop Editor:
- compare two units side by side,
- search Troop Name, Troop ID, Upgrade Path and Item columns for specified word (e.g. find which units are equipped with Morningstar),
- filter data by troops' type (infantry, cavalry, foot / mounted archers), show only selected types,
- troops equipment:
     - show main stats (e.g. damage and length for polearms, HP and speed for horses),
     - present only selected items' type,
     - sort equipment by type or number,
     - add / remove multiple items at the same time,
     - support mouse drag & drop to rearrange items, RMB to add / remove them,
- selected only or all troops attributes, proficiencies and skills can be filled with random numbers within defined limits,
- delete / replace item in inventories of all troops.

Extra in Items Editor:
- search Item Name, Item ID and Mesh Name columns for specified word (e.g. find if mesh is already used),
- filter data by items' type, show only selected types.

(click to show/hide)

Application tested (files imported, exported and compared with original successfully) on Windows8 64bit ENG with mods presented on the first picture.

Some pictures (all shown game data comes from great mod Prophesy of Pendor):
(click to show/hide)
(click to show/hide)
(click to show/hide)
(click to show/hide)
(click to show/hide)
(click to show/hide)
(click to show/hide)



Microsoft Excel version _____________________________________________________________

Microsoft Excel based application which allows user to import ITEMS and TROOPS from MB1.011, MB 'Warband', 'With Fire and Sword', 'Napoleonic Wars' (mod or native), and:
- edit multiple troops/items in the same time,
- edit single troop/item,
- create troops tree using semi-automatic creator,
- see detailed informations about troops/items (attributes, skills, flags, meshes, capabilities, factions, triggers),
- compare two troops/items (damage, attributes, skills, flags, equipment, stats),
- switch view between excel worksheet (table format) and application GUI,
- compare two ITEM_KINDS1.TXT or TROOPS.TXT files to see changes (for example after new patch relase),
- remove item from ITEM_KINDS1.TXT and automatically from units equipment (TROOPS.TXT).

(click to show/hide)

Application tested (files imported, exported and compared with original successfully) on Windows8 64bit ENG, Microsoft Excel 2010 and:
(click to show/hide)

Some pictures (all shown game data comes from great mod Prophesy of Pendor):
(click to show/hide)
(click to show/hide)
(click to show/hide)
(click to show/hide)
(click to show/hide)
(click to show/hide)
(click to show/hide)
(click to show/hide)

(click to show/hide)
(click to show/hide)

Download from Mount&Blade Repository or NexusMods

(click to show/hide)
« Last Edit: August 26, 2015, 09:08:35 PM by [email protected] »



melgui

  • Recruit
  • *
    • View Profile
  • Faction: Rhodok
  • MP nick: Melgui
Re: Troops and Items stats.
« Reply #1 on: June 06, 2010, 12:23:44 AM »
Just what I have been looking for. Thank you great job!

saxondragon

  • Sergeant Knight
  • *
  • Prophesy of Pendor -
    • View Profile
  • Faction: Neutral
Re: Troops and Items stats.
« Reply #2 on: June 07, 2010, 05:43:56 PM »
+1 Rep.. nice work!

Best regards,

Saxondragon

IconracI

  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
Re: Troops and Items stats.
« Reply #3 on: June 07, 2010, 07:13:33 PM »
+1 Rep.. nice work!

Best regards,

Saxondragon

I think this program can help update Prophesy of Pendor WIKI (troops' trees, weapons' lists divided into types ...) .
« Last Edit: June 07, 2010, 07:16:12 PM by [email protected] »



RogueCruiser

  • Veteran
  • *
  • Well HAI there
    • View Profile
  • Faction: Swadian
  • MP nick: RogueCruiser
Re: Troops and Items stats.
« Reply #4 on: June 08, 2010, 02:19:53 AM »
Only a recruit and already this! Nice good work man
KSS is dead.  I killed it by pelting it to death with bunny rabbits.

bigtoebubby

  • Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWBWF&SVC
Re: Troops and Items stats.
« Reply #5 on: June 08, 2010, 02:32:33 AM »
ohhh man i love spreadsheets!!

SPD_Phoenix

  • Master Knight
  • *
    • View Profile
  • Faction: Neutral
Re: Troops and Items stats.
« Reply #6 on: June 08, 2010, 03:14:10 AM »
I need something like this to rebalance the troops for my mod. Very nice.

IconracI

  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
Re: Troops and Items stats.
« Reply #7 on: June 08, 2010, 11:30:15 AM »
ohhh man i love spreadsheets!!

Me too. :)

Now I'm trying to figure out how damage system works and plan to add it to the next relase.



saxondragon

  • Sergeant Knight
  • *
  • Prophesy of Pendor -
    • View Profile
  • Faction: Neutral
Re: Troops and Items stats.
« Reply #8 on: June 10, 2010, 11:31:00 AM »
+1 Rep.. nice work!

Best regards,

Saxondragon

I think this program can help update Prophesy of Pendor WIKI (troops' trees, weapons' lists divided into types ...) .

Much more.. we are in the last stages of development for Pop 3.0 and there is so much data to balance that it is mind numbing.  New troops, new items.. etc.. that this tool will save me dozens of hours of work and reduce errors as well as provide a way to get this information out to the players through the website for Pop 3.0.

Again.. thanks mate.

Best,

Saxondragon

IconracI

  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
Re: Troops and Items stats.
« Reply #9 on: June 10, 2010, 12:14:56 PM »
+1 Rep.. nice work!

Best regards,

Saxondragon

I think this program can help update Prophesy of Pendor WIKI (troops' trees, weapons' lists divided into types ...) .

Much more.. we are in the last stages of development for Pop 3.0 and there is so much data to balance that it is mind numbing.  New troops, new items.. etc.. that this tool will save me dozens of hours of work and reduce errors as well as provide a way to get this information out to the players through the website for Pop 3.0.

Again.. thanks mate.

Best,

Saxondragon

About errors. When I import POP2.5 item_kinds1.txt two items have "?" type. That is happened because there is not single but double space between numbers in the file.

For example Noldor Ancient Plate:

itm_pl_467 Noldor_Rune_Armor Noldor_Rune_Armor 1**nobleman_outf_second 0  16777229 0 15279 704643236 22.000000 1 0 64 25 14 0 0 0 0 0 0 0
0

 itm_pl_187 Noldor_Ancient_Plate Noldor_Ancient_Plate 1***plate_chain_engraved 0  553648141 0 18005 123731968 14.000000 1 2 62 22 5 0 0 0 0 0 0 0
0

I'm not sure that is big error, but I've never seen this armor in game (I think...).



saxondragon

  • Sergeant Knight
  • *
  • Prophesy of Pendor -
    • View Profile
  • Faction: Neutral
Re: Troops and Items stats.
« Reply #10 on: June 14, 2010, 03:58:41 PM »
That is interesting.. thanks for the heads up.. I checked and found that there was an extra space in the mesh name.  It is not found in stores and only on certain troops in version 2.5.  I corrected it in 3.0.

   ["pl_187", "Noldor Ancient Plate", [("_plate_chain_engraved",0)], itp_type_body_armor|itp_covers_legs |itp_civilian,0,     23571 , weight(21)|abundance(1)|head_armor(2)|body_armor(62)|leg_armor(22)|difficulty(30) ,imodbits_armor],

Best,

Saxondragon

cmpxchg8b

  • Modder++
  • Count
  • *
  • Master of rglPool
    • View Profile
  • Faction: Vaegir
  • MP nick: cmp
  • M&BWBWF&SNW
Re: Troops and Items stats.
« Reply #11 on: June 14, 2010, 04:31:39 PM »
That is happened because there is not single but double space between numbers in the file.
You really shouldn't parse .txt files expecting constant amounts of spaces, even if it works most of the time due to everyone using the same module system.
The game doesn't care if there is 1 space or 2 spaces or 120 newlines, as long as there is some kind of whitespace between tokens.

IconracI

  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
Re: Troops and Items stats.
« Reply #12 on: June 15, 2010, 07:07:52 AM »
That is happened because there is not single but double space between numbers in the file.
You really shouldn't parse .txt files expecting constant amounts of spaces, even if it works most of the time due to everyone using the same module system.
The game doesn't care if there is 1 space or 2 spaces or 120 newlines, as long as there is some kind of whitespace between tokens.

I'm using SPLIT function to process each item. This function allows me to put all necessary information into array using single line of code, which is pretty efficient. But I need to specify what character divides whole string into pieces (single space in my case).
When I first time tested this program, used four different files and imported about 2800 items. I found only 8 (0.3%) marked as "?", so I decided treat "extra space" as error.



Robis

  • Squire
  • *
    • View Profile
  • Faction: Neutral
  • MP nick: AB_Robis_One_Kenobi
  • WB
Re: Troops and Items stats.
« Reply #13 on: June 15, 2010, 07:27:06 PM »
It doesnt open troops.txt file. I get black view and nothing more. I'm unable to see troops tree too.

IconracI

  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Neutral
  • M&BWB
Re: Troops and Items stats.
« Reply #14 on: June 15, 2010, 08:02:56 PM »
It doesnt open troops.txt file. I get black view and nothing more. I'm unable to see troops tree too.

Click "Import TXT" button.