Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 XML Customization » XML Editor Changelog
XML Editor Changelog[message #298978] Tue, 14 February 2012 21:33 Go to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
Since there is no changelog for the XML Editor nor for the JA2 1.13, I decided to start (and hopefully maintain) the changelog of the XML Editor, mostly because it is easier than the 1.13 svn changelog.
Below is the list from the "Official NCTH release" onwards, meaning end of April 2011. If there are any questions about what the changes mean or do, feel free to ask in this thread.
31/07/2014, Revision 164	Added backpack climbing support 
				Fixed bug with individual choices xmls
30/07/2014, Revision 163	Updated version number to 0.104
10/04/2014, Revision 162	Added support for enemy and militia gun and item choices
06/04/2014, Revision 161	Added spotter and flashlight tags to item details
17/12/2013, Revision 160	Fixed highexplosive tag for ammo
				Added merge type 13
27/11/2013, Revision 159	Changed RecoilX and RecoilY to decimal
				Moved Itemflags and DrugType to a flag based approach
				Increased version to 0.103.1.159
				Added about page
				Error log now properly reports XML Editor version
				Added a few more lookup Data
				VS2013 decided to mess with sizes (again)
14/10/2013, Revision 158	Added the 5 tags that were missing so far.
				Added support for up to 20 unknown tags in items.xml
				Editor should no longer strip tags and they should be editable.
10/03/2013, Revision 157	Fixed a relation for RandomItem.xml
28/02/2013, Revision 156	Moved the location of pockets.xml
03/02/2013, Revision 155	Fixed wrong location and initialization of foreign Items.xml (*.Items.xml) and AmmoStrings (*.AmmoStrings.xml)
				Updated Version Number: 0.102
03/02/2013, Revision 154	Moved the location of the xml files, still need to add the newer ones.
13/12/2012, Revision 153	Updated version to 0.101
				Added missing AmmoFlag #2 - Pepper spray
				Removed duplicate Jumping Grenade (262144) ItemFlag

older revisions

[Updated on: Thu, 31 July 2014 11:34] by Moderator

Report message to a moderator

First Sergeant
Re: XML Editor Changelog[message #304366] Sat, 05 May 2012 08:35 Go to previous messageGo to next message
Madd_Mugsy

 
Messages:634
Registered:July 2005
Location: Canada
Updates to revision 135:

Quote:

114
Raised maximum values for ubFragRange, ubFragDamage and usNumFragments in ItemDataForm

115
Added TripWire, TripWireActivation and AttachmentClass tags.
Renamed old AttachmentClass.xml to NasAttachmentClass.xml. New AttachmentClass.xml is a lookup table. References in the editor are now to: "Built-in Attachment Classes" (which uses a limited lookup grid) and "Custom Attachment Classes" (for NAS; these use an editable grid)
Fixed a bug where a table's name may not appear in the error message if the filename for it was an empty string.
XmlWorkingData directory will now always be created, even if not used.

116
Added some missing bitwise attachment class combos to the attachmentclass lookup table creation code

117
Made attachment classes sort by name in dropdowns

118
Added attachment classes: sling, remote detonator, "defuse" (defuser?)

119
Details now displayed about why a row copy has failed.
Default attachment APs changed from 5 to 20.

120
Suppress unimportant error messages when copying rows

121
AmmoType is now copied for Explosives.ubFragType field

122
Log file renamed to XmlEditorLog
Missing images warning displayed when images cannot be reconciled (and graphictype, graphicindex columns are reset to 0)
Default value for ammo type temperature modifier changed from 1 to 0

123
uiSlotIndex in Attachment Slots grid is now displayed in the grid by default. Otherwise it is possible to screw things up with a missing index.
Added Directional tag to Items.xml
Added ubHorizontalDegree and ubVerticalDegree tag to Explosives.xml
Slightly increased size of Item detail form
Did some minor rearranging of elements on item detail form

124
Reduced sizes of default attachment comboboxes to remove horizontal scrollbar

125
Added Remote Detonator + Defuser attachment class
Fixed ITE table so that it won't crash the app if explosive index values are repeated in items.xml ubClassIndex

126
Removed Detonator and RemoteDetonator tags from Items.xml

127
- ja2data.xsd moved to XmlWorkingData folder
- Added DrugType field, Drug table, DrugType table, Drug Item filter
- Added AttachmentPoint table and related fields: AttachmentPoint, AvailableAttachmentPoint, AttachToPointAPCost
- Updated ItemDataForm - moved all attachment related fields to attachment tabs
- Added support for Uint64 and Decimal primary keys to all tables
- Lookup tables can now have any type of id data type
- Added Bitmask maker form, early prototype, still hidden from users

129
- Reduced DefaultAttachment to 10 fields from 20
- Enabled AvailableAttachmentPoint to go up to 10 fields

130
Fixed a bug where a few of the item grid columns would cause an error to be displayed.
- Lookup_AddBlank was being set to true on columns when they already had a filter that included uiIndex = 0

131
Added Separability lookup table
Changed inseparable tag to integer
Fixed issue with ItemDataForm text losing data set name

132
Changed ItemClasses from a lookup grid to an editable grid, so ppl can add their own item combinations (ie: for pockets.xml)
In GridUtility, when creating a combobox column w/an extra blank entry, the decimal data type would screw up the grid. Changed it so that the data types of the rebuilt table columns are set to the same as the source columns.
Added "Ammo/Grenade" and "Grenade/Misc" to the ItemClass lookup table values (again for pockets.xml)

133
# of item images is now determined by looking at the Interface folder for mdpXitem.sti files
Added new options to grid context menus:
- Remove Filter - to remove any applied filters
- Filter by Selected Value - only works if grid is editable
- Apply Value to Selected Column - only works if grid is editable - Add, Multiply and Set operations included

134
Added grid context menu item to filter excluding selected value

135
Visibility check for FilterExcludingSelectedValueToolStripMenuItem added



Current version of the XML Editor is 0.93.

Report message to a moderator

First Sergeant

Re: XML Editor Changelog[message #304382] Sat, 05 May 2012 15:11 Go to previous messageGo to next message
WaBlackHat is currently offline WaBlackHat

 
Messages:43
Registered:April 2012
Where can the current version be acquired from?

Report message to a moderator

Corporal
Re: XML Editor Changelog[message #304388] Sat, 05 May 2012 16:09 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
Update to revision 135, apologies for not updating it for so long.
As for the latest version, the svn gamedir should have the necessary files.

Report message to a moderator

First Sergeant
Re: XML Editor Changelog[message #312937] Mon, 10 December 2012 21:11 Go to previous messageGo to next message
Sam Hotte

 
Messages:1966
Registered:March 2009
Location: Middle of Germany
A Noob question if you allow:
Is the XML-editor backward compatible? I mean, can i edit the XMLs from release (4870) with newest XML-editor without creating a mess (e.g. the editor adding newer tags to the XMLs that disturb the 4870-game)?
Or do i better stick with XML-editor v060 (that comes with release) if i want to edit 4870's files?

TIA.

Report message to a moderator

Sergeant Major
Re: XML Editor Changelog[message #312938] Mon, 10 December 2012 21:13 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3658
Registered:July 2009
Usually, the game ignores tags it can't understand. In this particular case the editor will mess up the old detonators though.

Report message to a moderator

Captain

Re: XML Editor Changelog[message #312940] Mon, 10 December 2012 21:22 Go to previous messageGo to next message
Sam Hotte

 
Messages:1966
Registered:March 2009
Location: Middle of Germany
DepressivesBrot
In this particular case the editor will mess up the old detonators though.

does this screwing of the detonators happen only if i touch them in editor? Or is this meant as "once you save changes done with new(er/est) to 4870's items.xml it will mess up detonators anyway"?

Report message to a moderator

Sergeant Major
Re: XML Editor Changelog[message #312941] Mon, 10 December 2012 21:28 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3658
Registered:July 2009
The latter.

Report message to a moderator

Captain

Re: XML Editor Changelog[message #312944] Mon, 10 December 2012 21:42 Go to previous messageGo to next message
Sam Hotte

 
Messages:1966
Registered:March 2009
Location: Middle of Germany
OK, thx. Smile

Report message to a moderator

Sergeant Major
Re: XML Editor Changelog[message #314934] Wed, 30 January 2013 14:15 Go to previous messageGo to next message
Parkan is currently offline Parkan

 
Messages:439
Registered:April 2010
Location: Russia,Sevastopol

Any news about updating XML editor for last unstable builds?(5825,for example)?

Report message to a moderator

Master Sergeant
Re: XML Editor Changelog[message #314981] Thu, 31 January 2013 09:58 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
Parkan
Any news about updating XML editor for last unstable builds?(5825,for example)?
I've added the updated paths, still need to add the new xml. Give me 5 minutes and I'll upload a new build to check, though not sure when I'll be able to finish it.

Edit: took a bit longer, here it is. If you encounter any bugs, either send me a PM, or talk to me on irc, though not sure when I'll reply.

[Updated on: Thu, 31 January 2013 10:35] by Moderator

Report message to a moderator

First Sergeant
Re: XML Editor Changelog[message #314982] Thu, 31 January 2013 11:25 Go to previous messageGo to next message
Parkan is currently offline Parkan

 
Messages:439
Registered:April 2010
Location: Russia,Sevastopol

Thank you.I am going to test. =)

Report message to a moderator

Master Sergeant
Re: XML Editor Changelog[message #315016] Thu, 31 January 2013 21:28 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
JMich
Parkan
Any news about updating XML editor for last unstable builds?(5825,for example)?
I've added the updated paths, still need to add the new xml. Give me 5 minutes and I'll upload a new build to check, though not sure when I'll be able to finish it.

Edit: took a bit longer, here it is. If you encounter any bugs, either send me a PM, or talk to me on irc, though not sure when I'll reply.


Thanks for updating the XML Editor. Please don't forget to commit to SVN Smile

Greets

Report message to a moderator

Sergeant Major

Re: XML Editor Changelog[message #315181] Tue, 05 February 2013 11:14 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
The XML Editor (0.102) has been updated and should now work with the latest development XML files and their new folder location.

You can get the latest version from the SVN GameDir:
https://ja2svn.dyndns.org/source/ja2_v1.13_data/GameDir

[Updated on: Tue, 05 February 2013 11:15] by Moderator

Report message to a moderator

Sergeant Major

Re: XML Editor Changelog[message #315197] Tue, 05 February 2013 19:27 Go to previous messageGo to next message
Clarkew is currently offline Clarkew

 
Messages:75
Registered:May 2011
Location: East Texas, USA
Hooray!

Report message to a moderator

Corporal
Re: XML Editor Changelog[message #326615] Mon, 14 October 2013 22:02 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
XML Editor updated. It should no longer strip unknown tags from items.xml (up to 20 of them), though it will probably crash if you have more unknown tags in it. You can grab it from here, please do report any bugs you encounter using it (Bug free commit? From me? :rofl:)

Report message to a moderator

First Sergeant
Re: XML Editor Changelog[message #326659] Wed, 16 October 2013 20:06 Go to previous messageGo to next message
Wil473

 
Messages:2815
Registered:September 2004
Location: Canada
JMich
XML Editor updated. It should no longer strip unknown tags from items.xml (up to 20 of them), though it will probably crash if you have more unknown tags in it. You can grab it from here, please do report any bugs you encounter using it (Bug free commit? From me? :rofl:)
Thanks, I am using it right now and can confirm that the flashlight tags are being left alone.

Does this update take into account this recent change to how the tags in AmmoTypes.XML is handled, courtesy of Flugente.

Report message to a moderator

Lieutenant

Re: XML Editor Changelog[message #326677] Thu, 17 October 2013 10:06 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
wil473
Does this update take into account this recent change to how the tags in AmmoTypes.XML is handled, courtesy of Flugente.

Not sure actually. The XML Editor always treated highExplosive as an integer, but it also links them to an ItemsToExplosives table that I'm not sure how it's generated. Will have to ask Flugente the specific changes of it, and if you do encounter errors with your explosives, do tell me.

Report message to a moderator

First Sergeant
Re: XML Editor Changelog[message #326751] Fri, 18 October 2013 13:40 Go to previous messageGo to next message
Elvis_A is currently offline Elvis_A

 
Messages:282
Registered:December 2012
Location: exUSSR
I did not see molle vests in lbe section of the editor. i used 1.58 xml editor version

Report message to a moderator

Master Sergeant
Re: XML Editor Changelog[message #326753] Fri, 18 October 2013 13:42 Go to previous messageGo to next message
Off_Topic is currently offline Off_Topic

 
Messages:999
Registered:January 2009
E1vS
I did not see molle vests in lbe section of the editor. i used 1.58 xml editor version


Which version of 1.13 are you using?

Report message to a moderator

First Sergeant

Re: XML Editor Changelog[message #326755] Fri, 18 October 2013 13:57 Go to previous messageGo to next message
Elvis_A is currently offline Elvis_A

 
Messages:282
Registered:December 2012
Location: exUSSR
last available svn 1832 version

Report message to a moderator

Master Sergeant
Re: XML Editor Changelog[message #327171] Sat, 26 October 2013 01:29 Go to previous messageGo to next message
Wil473

 
Messages:2815
Registered:September 2004
Location: Canada
JMich
wil473
Does this update take into account this recent change to how the tags in AmmoTypes.XML is handled, courtesy of Flugente.

Not sure actually. The XML Editor always treated highExplosive as an integer, but it also links them to an ItemsToExplosives table that I'm not sure how it's generated. Will have to ask Flugente the specific changes of it, and if you do encounter errors with your explosives, do tell me.


Flugente changed the tag to now use Items.XML index of the explosive item, instead of the Explosives.XML. I think this actually simplifies things for the XML Editor, where right now it dynamically creates a drop down menu for all explosive items for display in the editor but is actually setting the Explosives.XML Index. For the current implementation of explosive ammo, the list would just need to collect all the entries in Items.XML that have an that goes boom, display the item name and use the item index in the ammotype XML directly.

Report message to a moderator

Lieutenant

Re: XML Editor Changelog[message #328239] Sat, 16 November 2013 19:48 Go to previous messageGo to next message
silversurfer

 
Messages:2793
Registered:May 2009
I just changed the following tags to use FLOAT type instead of Integer in the game code:

Items.xml:



Weapons.xml:



This will cause problems when someone uses the XML Editor to alter these XMLs after someone put some comma values in there. JMich, could you please update the XML editor to use FLOATs instead of Integers for these 4 values?

[Updated on: Sat, 16 November 2013 19:49] by Moderator

Report message to a moderator

Lieutenant
Re: XML Editor Changelog[message #328299] Mon, 18 November 2013 15:56 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
silversurfer
JMich, could you please update the XML editor to use FLOATs instead of Integers for these 4 values?
Will do once my computer is up and running again. Should be in the next day or two.

Report message to a moderator

First Sergeant
Re: XML Editor Changelog[message #328441] Fri, 22 November 2013 14:06 Go to previous messageGo to next message
John_5696 is currently offline John_5696

 
Messages:38
Registered:November 2009
Location: Mainland China
Hello, JMich,

I have several requests for your xml_editor:

1. Could you please add language packages (or in sourcecode) for xml_editor interface?

2. After using your patch for IOV specific xml_editor, it is still not working (as of v0.102) for the latest 1.13 1.13 and IOV mod. (However the mod appears to run ok for the latest build.) It reads "Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints." Could you please add warning texts about which rows are violating which constraints? There appears just four identical rows of "ForeignKeyConstraint Constraint2 requires the child key values (0) to exist in the parent table." for the item.xml but I couldn't figure out which four elements have what kind of non-existing child key values since there are more than 3000 elements and 3-4 attributes with child values.

These are not urgent so please take your time (totally OK if you are not going to fix them).

Report message to a moderator

Private 1st Class
Re: XML Editor Changelog[message #328442] Fri, 22 November 2013 14:34 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
While I'd love to help, I'm not sure I can.

For the language packs, I've no idea how to do that, since I haven't done anything like that before. I will try to find someone who knows how to do that in VB.NET, and if I find a way, I will try to update it.

For the constraints error, there should be a second dialog which mentions the file and the conflicting value. For example, removing entry 12 from the mergetupes lookup file produces this image. Notice that it mentions both the offending file (Items\Merges.xml) and the offending value (12).

A quick suggestion would be to remove the lookup files to see if there's something missing from there, or post the error messages and I'll see if I can identify the error. If that doesn't help, I'll grab the IoV files and see if I can identify the error.

Currently working on the Editor, so I should have a new version up by Monday.

Report message to a moderator

First Sergeant
Re: XML Editor Changelog[message #328617] Wed, 27 November 2013 14:32 Go to previous messageGo to next message
Wil473

 
Messages:2815
Registered:September 2004
Location: Canada
I didn't see any mention of updating how explosive ammotypes are being handled in the first post for 159 - forgot to note or still something something that needs to be addressed in the XML Editor?

Brief description of what has changed in-game.

EDIT: by the way thank you for the new editor, I'll have a chance to put it through its paces tomorrow - need to get around to assigning buddy items (smoke and light) to in-game fire weapons.

[Updated on: Wed, 27 November 2013 14:41] by Moderator

Report message to a moderator

Lieutenant

Re: XML Editor Changelog[message #328633] Wed, 27 November 2013 18:50 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
wil473
I didn't see any mention of updating how explosive ammotypes are being handled in the first post for 159 - forgot to note or still something something that needs to be addressed in the XML Editor?
Problem is, I'm not sure what needs to be changed in the Editor for this one.

Ammotypes tag uses the ItemsToExplosive table (XML Editor internal one) which gets populated from the Items table. I haven't really dug into the ITE code, but I think I should. Let me make a few tests and I'll send you a testing editor tomorrow to tell me if it works as intended.

Report message to a moderator

First Sergeant
Re: XML Editor Changelog[message #331647] Sat, 05 April 2014 00:35 Go to previous messageGo to next message
SHarper is currently offline SHarper

 
Messages:11
Registered:February 2013
I've continued working on the XML Editor, becaue using it in the current Version can alter some Functions auf Flugente's Codes
(Spotter/FlashLight Item Tags were missing after saving with XML Editor)

For the modiefied XML (compiled EXE)
http://ushg.de/download/XML_editor_sharper.zip

Added usSpotting Value to Detailed View (under Abilities / Vision)
Added FlashLightRange Value to Detailed View (under Abilities / Vision)
The Source Code for the XML Editor with the modifications:
http://ushg.de/download/xml-editor_source.zip


If their are more Item Tags that the current XML editor doesn't support, please contact me i will add them as soon as possible.

Report message to a moderator

Private
Re: XML Editor Changelog[message #331680] Tue, 08 April 2014 21:44 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
S.Harper
I've continued working on the XML Editor, becaue using it in the current Version can alter some Functions auf Flugente's Codes
(Spotter/FlashLight Item Tags were missing after saving with XML Editor)

For the modiefied XML (compiled EXE)
http://ushg.de/download/XML_editor_sharper.zip

Added usSpotting Value to Detailed View (under Abilities / Vision)
Added FlashLightRange Value to Detailed View (under Abilities / Vision)
The Source Code for the XML Editor with the modifications:
http://ushg.de/download/xml-editor_source.zip


If their are more Item Tags that the current XML editor doesn't support, please contact me i will add them as soon as possible.


Thanks, committed.

Report message to a moderator

Sergeant Major

Re: XML Editor Changelog[message #331705] Thu, 10 April 2014 11:46 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
Updated to 162, added support for enemy and militia gun and item choices.

Edit: link

[Updated on: Thu, 10 April 2014 12:00] by Moderator

Report message to a moderator

First Sergeant
Re: XML Editor Changelog[message #332409] Sun, 11 May 2014 06:33 Go to previous message
No-Nothing is currently offline No-Nothing

 
Messages:81
Registered:March 2013
Can somebody share XML_Editor_161, please! 162 is uncompatible with my AIMNAS install. Or at least AttachmentClass.xml for 162, may be it helps?

edit:
oops!!! I terriblly mistook in understanding & replacing this file (AttachmentClass.xml) and cannot delete this post.
Sorry for bothering

[Updated on: Sun, 11 May 2014 11:22] by Moderator

Report message to a moderator

Corporal 1st Class
Previous Topic: AttachmentSlots.xml - about coordinates used in there
Next Topic: 1.13 Xml Editing
Goto Forum:
  


Current Time: Fri Mar 29 06:52:56 GMT+2 2024

Total time taken to generate the page: 0.02098 seconds