Home » PLAYER'S HQ 1.13 » v1.13 Solutions,Tips & Spoilers » "XMLEditor" is gone? (There was one in the old times...)
icon5.gif  "XMLEditor" is gone?[message #361093] Wed, 02 September 2020 23:21 Go to next message
Kurt is currently offline Kurt

 
Messages:420
Registered:March 2004
I just installed Build 8796, and my, it does change from the 10-year old Build 3356 I was using till now! Great work! thumbs up

I came here to ask what had happened to "XMLEditor".

Actually I found just after posting this that it had fallen into a black hole somewhere around the end of last year.
I would had deleted this post, but I can't find a "delete post" option.

*sigh*

[Updated on: Wed, 02 September 2020 23:33]

Report message to a moderator

Master Sergeant
Re: "XMLEditor" is gone?[message #361097 is a reply to message #361093] Thu, 03 September 2020 03:24 Go to previous messageGo to next message
SinMachina is currently offline SinMachina

 
Messages:48
Registered:August 2020
XML editor isn't gone so much as it doesn't work anymore. It never really was 100% functional as far as I can remember/ know, nor was the INI Editor. However, as MOST of the major XML files have been very well commented making 'basic' changes without breaking things is quiet easy now.

Report message to a moderator

Corporal
Re: "XMLEditor" is gone?[message #361106 is a reply to message #361097] Thu, 03 September 2020 18:57 Go to previous messageGo to next message
Kurt is currently offline Kurt

 
Messages:420
Registered:March 2004
SinMachina wrote on Thu, 03 September 2020 02:24
It never really was 100% functional as far as I can remember/ know, nor was the INI Editor.
In my old ancient Build 3356 both worked perfectly.
Well, I only really used the INI editor once (after that only to launch the game), but I used the XML Editor hundreds and hundreds of times: I edited about every existing item (mostly fixing inconsistencies) and created a truckload of new items (SciFi mod, needed some technology obviously not existing).
Only bug I experienced with the XML Editor is that once it did erase some values from two items. Just mildly annoying, especially since it did only happen once in 10 years...

My point is, they can work again, if they are brought up to speed. There is no inherent fatality in them not working anymore.


SinMachina wrote on Thu, 03 September 2020 02:24
However, as MOST of the major XML files have been very well commented making 'basic' changes without breaking things is quiet easy now.
Yes, I saw, I spend hours browsing them. But it's still easier when you have a nice little edition pop-up window, rather than to have to scroll through a never ending list with cryptic values ("What does "5" stand for again?").
Comparing items with the editor is as easy as opening two or more of those little windows, with a text editor you have to scroll simultaneously through several places in the file, and it so much easier to make some mistake.

I understand for devs this is their bread & butter and it comes naturally, but I'm not a dev, just a geek...

Report message to a moderator

Master Sergeant
Re: "XMLEditor" is gone?[message #361108 is a reply to message #361106] Thu, 03 September 2020 21:22 Go to previous messageGo to next message
Asdow is currently offline Asdow

 
Messages:143
Registered:August 2010
The ini editor should work just fine, assuming the property description definitions are up to date, which are in INIEditorAPBPConstants.xml and INIEDitorJA2Options.xml. I updated them not too long ago for 1.13 but I see there's one setting related to tactical AI settings that needs to be updated again. Anyone can update those if they want to, just open inieditor, select an .ini file and search for "Missing". Any results that comes back with "MISSING: PROPERTY DESCRIPTION" needs to be added to the relevant xml file. Which entails looking up the relevant line in the .ini files and then adding it with proper syntax and values into the .xml.
Since unfinished business has not had any love in a long time, its ini files are not in sync with the newest ones in data-1.13, so that requires a bit more work but there's nothing stopping anyone to update them and make ini editor fully compatible with the newest revision.

[Updated on: Thu, 03 September 2020 21:23]

Report message to a moderator

Sergeant
Re: "XMLEditor" is gone?[message #361117 is a reply to message #361108] Fri, 04 September 2020 18:30 Go to previous message
Kurt is currently offline Kurt

 
Messages:420
Registered:March 2004
I checked on Build 8796, it does indeed give a "Missing" description at a couple places (3-4 IIRC).


Suggestion: Instead of just saying "Missing: Property description", it would be better if the editor pointed to what you just said ("needs to be added to the relevant xml file"). This would make the INI Editor totally future-proof, since anybody can do a little copy & paste, if they know where to look for the missing information and where they need to put it.

I see a "Missing Explanation?" button, triggering a little popup window explaining where to find the missing information and where to put it.

Report message to a moderator

Master Sergeant
Previous Topic: Newbie Questions
Next Topic: Newest version to date (2020)?
Goto Forum:
  


Current Time: Mon Jan 20 05:20:17 GMT+2 2025

Total time taken to generate the page: 0.00831 seconds