RE: TOAW XML Editor (Full Version)

All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> Mods and Scenarios



Message


76mm -> RE: TOAW XML Editor (5/31/2019 6:22:11 PM)

Hey guys, I am hard at work on the Event Editor interface, and making steady progress.

Once that is finished I'll turn back to GUI improvements and maybe Lobster's favorite save/import unit feature [8D]




larryfulkerson -> RE: TOAW XML Editor (5/31/2019 6:25:20 PM)

quote:

ORIGINAL: 76mm

Hey guys, I am hard at work on the Event Editor interface, and making steady progress.

Once that is finished I'll turn back to GUI improvements and maybe Lobster's favorite save/import unit feature

I'm petty sure that I can speak for the entire community when I say that we really appreciate your labors and your product has made our lives a lot better so we thank you.




sPzAbt653 -> RE: TOAW XML Editor (5/31/2019 10:35:27 PM)

quote:

can always go back to 4.1.0.3

or TOAW III, but we shouldn't have to.

quote:

I'm wondering if there's going to be a TOAW V now.

If it's going to have the same result as IV, do you really want a V ?




Lobster -> RE: TOAW XML Editor (6/1/2019 2:40:51 AM)

If you look at the twists and turn in the road from 3.4 to 4.1 I'd say the chance of a TOAW V is Slim and none. And Slim left town. [:D]

Edit: Unless something drastic happens.




sPzAbt653 -> RE: TOAW XML Editor (6/1/2019 3:21:29 AM)

I think you are too pessimistic. If we follow history since 2006, then it seems like we will have V in about 5-7 years from now. It would also seem that unless there is some change in the course of development, V will cross the finish line much the same as IV, with fresh paint but late and on two flat tires and a misfiring engine. I don't think I'm being overly harsh or dramatic either.




76mm -> RE: TOAW XML Editor (6/3/2019 5:35:45 PM)

I expect to have a first draft of the Event Editor ready within a few days. I'm testing it of course, but given the sheer number of permutations I don't see how I'll be able to test it exhaustively. Any volunteers to help test it a bit before I post it to the forum?




Lobster -> RE: TOAW XML Editor (6/3/2019 6:16:13 PM)

Maybe the best way is to post it and let people find stuff as they go along.




76mm -> RE: TOAW XML Editor (6/4/2019 5:28:59 PM)

quote:

ORIGINAL: Lobster
Maybe the best way is to post it and let people find stuff as they go along.

Well, that's what I was hoping to spare people. Oh well, I'll just take longer to test it more thoroughly myself and release it when I think it is ready.




Zovs -> RE: TOAW XML Editor (6/4/2019 7:54:35 PM)

I can test next week, out till the 10th.




76mm -> RE: TOAW XML Editor (6/5/2019 2:27:20 AM)

OK, thanks, let's see how things go, I might be finished by then anyway!




larryfulkerson -> RE: TOAW XML Editor (6/16/2019 1:17:26 AM)

Here I am trying to mod my scenario and I've run into some values I'm not sure what to do with. Anybody know what "NEXT" and "STATUS" do for a specific unit? I'll look around some more, see if I can't figure something out.

[image]local://upfiles/16287/9A4A0C4A255047DFB3BE5D4A164A8887.jpg[/image]




76mm -> RE: TOAW XML Editor (6/16/2019 2:00:00 AM)

Hey Larry,

The "NEXT" attribute is the Unit ID of the next unit in the same hex as the relevant unit. I'm almost certain that you can ignore this value, because it will be auto-regenerated when the game is loaded (although you will get a message in TOAW to the effect of "'Next' parameter is incorrect, it will be fixed.")

I'm also in the dark about the "STATUS" attribute, although I'm pretty sure that it is auto-regenerated as well.

In other words, I would ignore both of those attributes.

I've asked Ralph about both of these values, but haven't heard back.







willyums_slith -> RE: TOAW XML Editor (6/20/2019 2:39:28 PM)

Thanks for creating this tool - it is exactly what has been needed! Thank you.

I am though having trouble exporting the .eqp file needed to use this tool with a couple of scenarios I've created where I've added additional equipment. Using the command in the game Editor drop down generates the standard .eqp file (with just the T64 as additional equipment). I can't work out what I'm doing wrong or whether I should be pointing the XML Editor to a different location.

Looking forward to a usable Events Editor - my labour of love is a very large scenario which I've been building for some months; the thought of trying to script the events in the standard editor makes me feel physically ill...




76mm -> RE: TOAW XML Editor (6/20/2019 9:33:48 PM)

quote:

ORIGINAL: willyums_slith
I am though having trouble exporting the .eqp file needed to use this tool with a couple of scenarios I've created where I've added additional equipment. Using the command in the game Editor drop down generates the standard .eqp file (with just the T64 as additional equipment). I can't work out what I'm doing wrong or whether I should be pointing the XML Editor to a different location.

Sorry, I don't really understand the issue...you should be able to load any functioning .eqp file into TOAWxml; I've tried it with several files and didn't have any issues. What exactly are you "exporting", from where, and how?

quote:

ORIGINAL: willyums_slith
Looking forward to a usable Events Editor - my labour of love is a very large scenario which I've been building for some months; the thought of trying to script the events in the standard editor makes me feel physically ill...

I hear you, I could not deal with the original event editor at all. I'm very close to finishing my version; I came across some issues during testing and haven't had time to work on it much in the last couple of weeks. Hopefully within a couple of weeks...




r williams -> RE: TOAW XML Editor (6/23/2019 8:48:20 PM)

Thanks for coming back. I think the issue was with naming the .eqp files the same as the scenario I was extracting them from - had another try and have got it working - didn't want to lose my various separate nationalities of Modern Infantry, AIFV-Milan and other carefully crafted equipment gems.

Will block the time out now for the arrival of the Events Editor!

[Edit: Posted under the wrong log-in - I'd posted the previous query above]




76mm -> RE: TOAW XML Editor (6/28/2019 3:48:16 PM)

OK, I've posted an updated version of TOAWxml which includes an Event Editor. Here are a few screen shots; it has changed little since the previous screen shots.

Here is a basic list of events:

[image]local://upfiles/11887/E55DD5DFE8C845E2BF7B40D7BCC36F9E.jpg[/image]




76mm -> RE: TOAW XML Editor (6/28/2019 3:51:14 PM)

Here is a view with the treeview in expanded mode. Note that the values shown under each event in the expanded tree are the raw XML values, which can be confusing for two reasons:
1) Sometimes you need to add one to the XML value to get the in-game value; and
2) The XML export often spits out XML data which is irrelevant for the specific event (artifacts left over from other events, etc).

These issues are addressed/corrected in the event data shown in the right panel.

[image]local://upfiles/11887/C64AB793A03C488A910567D7551D0D3C.jpg[/image]




76mm -> RE: TOAW XML Editor (6/28/2019 3:52:50 PM)

You can also filter the events by their trigger or event. If you filter by trigger, the results will also show each event's effect, and if you filter by effect, the results will show each event's trigger:


[image]local://upfiles/11887/5E6BE55499B94776A7D5CE9433252701.jpg[/image]




76mm -> RE: TOAW XML Editor (6/28/2019 3:54:11 PM)

Finally, when an event involves a unit or formation, you can select the unit/formation from the OOB tree rather than typing in its name:

[image]local://upfiles/11887/8C9DFBE7175348BA80B9EBC37B21BEE5.jpg[/image]




76mm -> RE: TOAW XML Editor (6/28/2019 3:57:28 PM)

Anyway, let me know what you think, if you have any suggestions. I did A LOT of testing for this version, hopefully got rid of most of the bugs but am sure that I didn't catch all of them.

As you're using the event editor, please let me know if you get any crashes, incorrect data being shown, data not being saved, etc. To be of any use, I will need ALL the information about the relevant event, and to know what you were doing when the problem occurred. If I can't reproduce a problem, I can't fix it...




76mm -> RE: TOAW XML Editor (6/28/2019 4:05:48 PM)

Ooops, almost forgot the tooltips. For many values, if you hover the mouse over the text, you can get a tool tip about the parameters at the bottom left of the screen:


[image]local://upfiles/11887/A93AC77AD54340F4AA5F538786708219.jpg[/image]




larryfulkerson -> RE: TOAW XML Editor (6/28/2019 4:10:22 PM)

I click on setup.exe to install the new version and I get this error message:


PLATFORM VERSION INFO
Windows : 10.0.17763.0 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.7.3190.0 built by: NET472REL1LAST_C
clr.dll : 4.7.3416.0 built by: NET472REL1LAST_B
dfdll.dll : 4.7.3190.0 built by: NET472REL1LAST_C
dfshim.dll : 10.0.17763.1 (WinBuild.160101.0800)

SOURCES
Deployment url : file:///C:/Users/Owner/Documents/My%20Games/The%20Operational%20Art%20of%20War%20IV/TOAWXML%20v1.2/TOAWXML.application

IDENTITIES
Deployment Identity : TOAWXML.application, Version=1.2.0.0, Culture=en, PublicKeyToken=bb51667b7c9905d2, processorArchitecture=msil

APPLICATION SUMMARY
* Installable application.

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\Owner\Documents\My Games\The Operational Art of War IV\TOAWXML v1.2\TOAWXML.application resulted in exception. Following failure messages were detected:
+ You cannot start application TOAWXML from this location because it is already installed from a different location.
+ You cannot start application TOAWXML from location file:///C:/Users/Owner/Documents/My%20Games/The%20Operational%20Art%20of%20War%20IV/TOAWXML%20v1.2/TOAWXML.application it is already installed from location file:///C:/Users/Owner/Documents/My%20Games/The%20Operational%20Art%20of%20War%20IV/TOAWXML%20v1.16/TOAWXML.application. You can start it from location file:///C:/Users/Owner/Documents/My%20Games/The%20Operational%20Art%20of%20War%20IV/TOAWXML%20v1.16/TOAWXML.application or you can uninstall it and reinstall it from location file:///C:/Users/Owner/Documents/My%20Games/The%20Operational%20Art%20of%20War%20IV/TOAWXML%20v1.2/TOAWXML.application. If you reinstall the application, be aware that you might lose any customizations that you made to the application.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [6/28/2019 9:07:00 AM] : Activation of C:\Users\Owner\Documents\My Games\The Operational Art of War IV\TOAWXML v1.2\TOAWXML.application has started.
* [6/28/2019 9:07:01 AM] : Processing of deployment manifest has successfully completed.

ERROR DETAILS
Following errors were detected during this operation.
* [6/28/2019 9:07:01 AM] System.Deployment.Application.DeploymentException (DeploymentUriDifferent)
- You cannot start application TOAWXML from this location because it is already installed from a different location.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ApplicationActivator.CheckDeploymentProviderValidity(ActivationDescription actDesc, SubscriptionState subState)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl, Uri& deploymentUri)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.DeploymentException (DeploymentUriDifferent)
- You cannot start application TOAWXML from location file:///C:/Users/Owner/Documents/My%20Games/The%20Operational%20Art%20of%20War%20IV/TOAWXML%20v1.2/TOAWXML.application it is already installed from location file:///C:/Users/Owner/Documents/My%20Games/The%20Operational%20Art%20of%20War%20IV/TOAWXML%20v1.16/TOAWXML.application. You can start it from location file:///C:/Users/Owner/Documents/My%20Games/The%20Operational%20Art%20of%20War%20IV/TOAWXML%20v1.16/TOAWXML.application or you can uninstall it and reinstall it from location file:///C:/Users/Owner/Documents/My%20Games/The%20Operational%20Art%20of%20War%20IV/TOAWXML%20v1.2/TOAWXML.application. If you reinstall the application, be aware that you might lose any customizations that you made to the application.
- Source:
- Stack trace:


COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.




76mm -> RE: TOAW XML Editor (6/28/2019 4:46:36 PM)

That didn't take long! [;)]

First I would try uninstalling previous versions--it looks like it thinks that this version is already installed? I'm busy ATM but will take another look later today.





76mm -> RE: TOAW XML Editor (6/28/2019 7:21:38 PM)

i just installed it and it worked fine...

One issue is that I went "backwards" in the version numbering...this is version 1.2, but a previous version which should have been version 1.02 was also 1.2, so if you are installing on top of that you might get an error.

Larry, pls let me know if that works.




larryfulkerson -> RE: TOAW XML Editor (6/28/2019 9:18:00 PM)

I used Control Panel to uninstall the old version and THEN installed the new one without a problem.




76mm -> RE: TOAW XML Editor (6/28/2019 10:57:28 PM)

OK, great, let me know if you encounter any issues with the Event Editor, or have suggestions.




76mm -> RE: TOAW XML Editor (6/30/2019 2:44:00 PM)

So I'm trying to figure out which features to add next, some odds & ends. Here are some of the features you guys have brought up that I'm considering:
--some kind of indication when the changes are saved.
--info bar in addition/in place of tool tips
--unit view would it be possible to show the date after you input s turn number for reinforcement?
--Search function
--import/export OOB
--import/export units

I've already implemented the first two items in the event editor...if they work OK I might expand them elsewhere as well.

One of the features I'm looking at adding is Lobster's favorite, to import/export specific units. But when I tried to save a unit from the in-game editor, nothing happened...I got the file save dialog, pressed OK, but a .unt file is never created...I've tried this many times now, with the same result. Am I missing something? How do you actually create .unt files with the in-game editor?




Lobster -> RE: TOAW XML Editor (6/30/2019 3:31:35 PM)

It is broken in .21 and is fixed in .30 if that is ever released. But in .30 it will only work with newly saved units, not with any units saved pre .30. [:D]




76mm -> RE: TOAW XML Editor (6/30/2019 3:44:42 PM)

quote:

ORIGINAL: Lobster
It is broken in .21 and is fixed in .30 if that is ever released. But in .30 it will only work with newly saved units, not with any units saved pre .30. [:D]

OK, thanks for the info...I guess I will put that feature on hold for a while yet.

I will try to implement this feature in due course but can't say for sure until I see the file structure and understand how difficult it would be.

[EDIT] Although now I'm a little nervous why it won't work with .unt files created under previous versions...hopefully there aren't too many changes to the XML file structure?!
[&:]




Lobster -> RE: TOAW XML Editor (6/30/2019 4:24:01 PM)

If I recall someone mention pointers at one time. When in doubt always blame the pointers. [;)]




Page: <<   < prev  13 14 [15] 16 17   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.171875