TOAWxml Editor

Post new mods and scenarios here
Post Reply
User avatar
76mm
Posts: 4766
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: TOAW XML Editor

Post by 76mm »

ORIGINAL: alexjack
Regarding my first post I seem to remember there was a 'Turn' option for the initial placing of the units not reinforcements but I may be wrong being very inexperienced with this game so might be best to ignore the question.
Any unit not on the board when the game starts (Turn 0) is considered a reinforcement, so if you are seeking to place a unit on any turn other than 0 it is by definition a reinforcement, as least under the terminology used by TOAWxml. If you have some other feature in mind, pls let me know.
alexjack
Posts: 15
Joined: Wed Dec 26, 2018 7:21 am

RE: TOAW XML Editor

Post by alexjack »

76mm. Thanks for that explanation.
Regards
Alex
User avatar
NikolaiEzhov
Posts: 745
Joined: Wed Jul 23, 2014 3:52 am

RE: TOAW XML Editor

Post by NikolaiEzhov »

Hello 76mm. I have installed your latest version and it seems that there are some UI issues.
My screen resolution is 1920x1080, with a Simplified Chinese Windows 10 x64 OS.

Image
Attachments
2542933719.jpg
2542933719.jpg (114.08 KiB) Viewed 262 times
Proletariat of the world, unite!
User avatar
76mm
Posts: 4766
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: TOAW XML Editor

Post by 76mm »

NikolaiEzhov, had you installed previous versions? Was the UI the same? With the exception of the "Simplified Chinese" bit, I have the same specs (1920x1080, Win10 64 bit), and don't have this problem. In any event, I will Google a bit to see if I find anything.
User avatar
NikolaiEzhov
Posts: 745
Joined: Wed Jul 23, 2014 3:52 am

RE: TOAW XML Editor

Post by NikolaiEzhov »

Nope. I just downloaded it this afternoon, and I think it is the latest version (Last Edit: 2019/01/09 9:14).
I will discuss with other Chinese TOAW players to find out if this is related to the OS language.
Proletariat of the world, unite!
User avatar
NikolaiEzhov
Posts: 745
Joined: Wed Jul 23, 2014 3:52 am

RE: TOAW XML Editor

Post by NikolaiEzhov »

A second Chinese player wzfcns (showProfile.asp?memid=56770) is reporting the same bug to me.

Image
Attachments
QQ22270..11200412.jpg
QQ22270..11200412.jpg (69.77 KiB) Viewed 262 times
Proletariat of the world, unite!
User avatar
76mm
Posts: 4766
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: TOAW XML Editor

Post by 76mm »

Thanks for the feedback Nikolai. I will try to Google about this later today; thus far I have no idea what the issue could be, how hard it might be to fix, or whether fixing it for Chinese OS might break it for non-Chinese OS... I have no experience at all with Chinese OS, have you encountered this kind of problem before with other programs?

Will post back here when I find out more.
User avatar
76mm
Posts: 4766
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: TOAW XML Editor

Post by 76mm »

OK, I think I might see what the issue is and how to fix it pretty easily--but I'm not sure and don't want to post another version here until it's been tested and it works...

Nikolai, if I send you a new version via PM, could you install it and report back to me? If it works on my machine and your machine, I will go ahead and post the revised version publicly.
User avatar
NikolaiEzhov
Posts: 745
Joined: Wed Jul 23, 2014 3:52 am

RE: TOAW XML Editor

Post by NikolaiEzhov »

Gladly. And thanks, 76mm.
Proletariat of the world, unite!
User avatar
76mm
Posts: 4766
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: TOAW XML Editor

Post by 76mm »

OK, I sent you a PM, please check it out...
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

great work!

if we change the labels/hierarchies of the units using this editor (e.g. 267th Inf Div -> 267th Inf Div. III Corps/6th Army), will it affect reinforcements/retrieve units scripts in each scenario?

my thing I always miss in TOAW is the lack of complete OOB, I mean the units are presented correctly, but in most scenarios, for example D21, and so on, by selecting a division we cannot know to which Corps HQ and/or Army it belongs. I know it is a minor thing, but it would help to keep the correct HQ corps and armies close to each other in each front sector.
User avatar
76mm
Posts: 4766
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: TOAW XML Editor

Post by 76mm »

Hi, I responded to your other message, did you get it?

I have not actually tested whether withdrawals or reinforcements would be affected by changing the hierarchy, but I don't think so because I AFAIK these are tied to unit IDs, which are independent of hierarchy.

Not as sure about changing the name; I'm pretty confident that withdrawals, etc. are tied to Unit ID# rather than unit name, but don't have time to check right now.
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

thank you for your kind reply, I understand,
(no, i didnt receive a reply for the PM, but it is ok:)
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

to install it, we just need to execute the setup.exe file? latest version being 1.9?
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

in any folder is ok? thanks! ;)
User avatar
76mm
Posts: 4766
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: TOAW XML Editor

Post by 76mm »

Yes, v1.9 is the latest, and just click the setup file to install. Please let me know if you encounter any problems, some people have had trouble installing it, but I don't know why.

I'm continuing to work on this almost every day, so more versions will be released as new features are added or bugs removed.
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

thanks. i clicked on setup, but i dont see where it is installing...after a while a window appears asking for loading .gam file.

(until here is normal?)

then, I upload a file and error pops up

System.Xml.XmlTextReaderImpl.Throw(Exception e)
場所 System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
場所 System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
場所 System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
場所 System.Xml.XmlTextReaderImpl.ParseAttributes()
場所 System.Xml.XmlTextReaderImpl.ParseElement()
場所 System.Xml.XmlTextReaderImpl.ParseElementContent()
場所 System.Xml.XmlTextReaderImpl.Read()
場所 System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
場所 System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
場所 System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
場所 System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
場所 TOAWXML.xmlform.xmlform_Load(Object sender, EventArgs e)
場所 System.Windows.Forms.Form.OnLoad(EventArgs e)
場所 System.Windows.Forms.Form.OnCreateControl()
場所 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
場所 System.Windows.Forms.Control.CreateControl()
場所 System.Windows.Forms.Control.WmShowWindow(Message& m)
場所 System.Windows.Forms.Control.WndProc(Message& m)
場所 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
場所 System.Windows.Forms.Form.WmShowWindow(Message& m)
場所 System.Windows.Forms.Form.WndProc(Message& m)
場所 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
場所 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


after then however the editor Force window appears..

User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

but not sure if it can be used or not after error pops up
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

hmm i tried but after selecting Force 1, another error appears :(
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

i get same error as poster #20 and #54
Post Reply

Return to “Mods and Scenarios”