Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

RE: TOAW XML Editor

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> Mods and Scenarios >> RE: TOAW XML Editor Page: <<   < prev  13 14 [15] 16 17   next >   >>
Login
Message << Older Topic   Newer Topic >>
RE: TOAW XML Editor - 5/31/2019 6:22:11 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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

(in reply to larryfulkerson)
Post #: 421
RE: TOAW XML Editor - 5/31/2019 6:25:20 PM   
larryfulkerson


Posts: 39932
Joined: 4/17/2005
From: Tucson, AZ
Status: offline
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.

_____________________________

If we're all created in the image of god then why aren't we all invisible?

(in reply to 76mm)
Post #: 422
RE: TOAW XML Editor - 5/31/2019 10:35:27 PM   
sPzAbt653


Posts: 9511
Joined: 5/3/2007
From: east coast, usa
Status: offline
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 ?

(in reply to Lobster)
Post #: 423
RE: TOAW XML Editor - 6/1/2019 2:40:51 AM   
Lobster


Posts: 5104
Joined: 8/8/2013
From: Third rock from the Sun.
Status: offline
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.

Edit: Unless something drastic happens.

< Message edited by Lobster -- 6/1/2019 3:02:46 AM >


_____________________________

http://www.operationbarbarossa.net/

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein

Q: What do you call a boomerang that doesn’t come back?
A: A stick.

(in reply to sPzAbt653)
Post #: 424
RE: TOAW XML Editor - 6/1/2019 3:21:29 AM   
sPzAbt653


Posts: 9511
Joined: 5/3/2007
From: east coast, usa
Status: offline
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.

(in reply to Lobster)
Post #: 425
RE: TOAW XML Editor - 6/3/2019 5:35:45 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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?

(in reply to sPzAbt653)
Post #: 426
RE: TOAW XML Editor - 6/3/2019 6:16:13 PM   
Lobster


Posts: 5104
Joined: 8/8/2013
From: Third rock from the Sun.
Status: offline
Maybe the best way is to post it and let people find stuff as they go along.

_____________________________

http://www.operationbarbarossa.net/

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein

Q: What do you call a boomerang that doesn’t come back?
A: A stick.

(in reply to 76mm)
Post #: 427
RE: TOAW XML Editor - 6/4/2019 5:28:59 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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.

(in reply to Lobster)
Post #: 428
RE: TOAW XML Editor - 6/4/2019 7:54:35 PM   
Zovs


Posts: 6668
Joined: 2/23/2009
From: United States
Status: offline
I can test next week, out till the 10th.

_____________________________


Beta Tester for:
Flashpoint Campaigns: Sudden Storm
War in the East 1 & 2
WarPlan & WarPlan Pacific
Valor & Victory
DG CWIE 2
SPWW2 & SPMBT scenario creator

(in reply to 76mm)
Post #: 429
RE: TOAW XML Editor - 6/5/2019 2:27:20 AM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
OK, thanks, let's see how things go, I might be finished by then anyway!

(in reply to Zovs)
Post #: 430
RE: TOAW XML Editor - 6/16/2019 1:17:26 AM   
larryfulkerson


Posts: 39932
Joined: 4/17/2005
From: Tucson, AZ
Status: offline
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.




Attachment (1)

_____________________________

If we're all created in the image of god then why aren't we all invisible?

(in reply to 76mm)
Post #: 431
RE: TOAW XML Editor - 6/16/2019 2:00:00 AM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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.





< Message edited by 76mm -- 6/16/2019 2:01:21 AM >

(in reply to larryfulkerson)
Post #: 432
RE: TOAW XML Editor - 6/20/2019 2:39:28 PM   
willyums_slith

 

Posts: 2
Joined: 7/21/2018
Status: offline
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...

(in reply to 76mm)
Post #: 433
RE: TOAW XML Editor - 6/20/2019 9:33:48 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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...

(in reply to willyums_slith)
Post #: 434
RE: TOAW XML Editor - 6/23/2019 8:48:20 PM   
r williams

 

Posts: 10
Joined: 4/16/2011
Status: offline
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]

< Message edited by r williams -- 6/23/2019 8:51:59 PM >

(in reply to 76mm)
Post #: 435
RE: TOAW XML Editor - 6/28/2019 3:48:16 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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:




Attachment (1)

(in reply to r williams)
Post #: 436
RE: TOAW XML Editor - 6/28/2019 3:51:14 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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.




Attachment (1)

< Message edited by 76mm -- 6/28/2019 3:58:10 PM >

(in reply to 76mm)
Post #: 437
RE: TOAW XML Editor - 6/28/2019 3:52:50 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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:





Attachment (1)

(in reply to 76mm)
Post #: 438
RE: TOAW XML Editor - 6/28/2019 3:54:11 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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:




Attachment (1)

(in reply to 76mm)
Post #: 439
RE: TOAW XML Editor - 6/28/2019 3:57:28 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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...

(in reply to 76mm)
Post #: 440
RE: TOAW XML Editor - 6/28/2019 4:05:48 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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:





Attachment (1)

(in reply to 76mm)
Post #: 441
RE: TOAW XML Editor - 6/28/2019 4:10:22 PM   
larryfulkerson


Posts: 39932
Joined: 4/17/2005
From: Tucson, AZ
Status: offline
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.


_____________________________

If we're all created in the image of god then why aren't we all invisible?

(in reply to 76mm)
Post #: 442
RE: TOAW XML Editor - 6/28/2019 4:46:36 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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.


(in reply to larryfulkerson)
Post #: 443
RE: TOAW XML Editor - 6/28/2019 7:21:38 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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.

(in reply to 76mm)
Post #: 444
RE: TOAW XML Editor - 6/28/2019 9:18:00 PM   
larryfulkerson


Posts: 39932
Joined: 4/17/2005
From: Tucson, AZ
Status: offline
I used Control Panel to uninstall the old version and THEN installed the new one without a problem.

_____________________________

If we're all created in the image of god then why aren't we all invisible?

(in reply to 76mm)
Post #: 445
RE: TOAW XML Editor - 6/28/2019 10:57:28 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
OK, great, let me know if you encounter any issues with the Event Editor, or have suggestions.

(in reply to larryfulkerson)
Post #: 446
RE: TOAW XML Editor - 6/30/2019 2:44:00 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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?

< Message edited by 76mm -- 6/30/2019 2:45:04 PM >

(in reply to 76mm)
Post #: 447
RE: TOAW XML Editor - 6/30/2019 3:31:35 PM   
Lobster


Posts: 5104
Joined: 8/8/2013
From: Third rock from the Sun.
Status: offline
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.

_____________________________

http://www.operationbarbarossa.net/

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein

Q: What do you call a boomerang that doesn’t come back?
A: A stick.

(in reply to 76mm)
Post #: 448
RE: TOAW XML Editor - 6/30/2019 3:44:42 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
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.

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?!


< Message edited by 76mm -- 6/30/2019 3:47:18 PM >

(in reply to Lobster)
Post #: 449
RE: TOAW XML Editor - 6/30/2019 4:24:01 PM   
Lobster


Posts: 5104
Joined: 8/8/2013
From: Third rock from the Sun.
Status: offline
If I recall someone mention pointers at one time. When in doubt always blame the pointers.

_____________________________

http://www.operationbarbarossa.net/

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein

Q: What do you call a boomerang that doesn’t come back?
A: A stick.

(in reply to 76mm)
Post #: 450
Page:   <<   < prev  13 14 [15] 16 17   next >   >>
All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> Mods and Scenarios >> RE: TOAW XML Editor Page: <<   < prev  13 14 [15] 16 17   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

2.391