TOAWxml Editor

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

RE: TOAW XML Editor

Post by 76mm »

ORIGINAL: 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
I forgot to say that you can install it anywhere; it should install wherever you put the file.

It is normal for it to ask for a *.gam file--it needs an xml scenario file to work with.

I will look again at the errors from those posts, I though I had fixed them. Which scenario did you try to open? I've only gotten the "invalid character" error in a scenario that had SS runes in the unit names, which are not valid characters in xml. Not sure yet how to fix that... If possible, please try with another scenario.

In general, if you encounter a problem with a scenario, please identify it, and if it is not a stock scenario that came with the game, send it to me if possible.
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: TOAW XML Editor

Post by 76mm »

I should also add that all of the testing I do is with finished scenarios--the ones provided with the game--because I don't have any unfinished scenarios. It is very possible that unfinished scenarios raise different problems, so if you are having problems with an unfinished scenario, send it to me if possible and I will try to fix it--if I can't replicate a problem then I can't fix it.
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

thanks a lot..but no way..i tried D21 scenario, but problem is before just after clicking on setup file, error appears... I will wait then, no problem, and great idea and work anyway.
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: TOAW XML Editor

Post by 76mm »

ORIGINAL: fulcrum28
..i tried D21 scenario, but problem is before just after clicking on setup file, error appears... I will wait then, no problem, and great idea and work anyway.
I will look at the D21 scenario today, see if I encounter problems.

But I don't understand what problem you are having with the setup file? It sounds like it installed if it is asking for a *.gam file?
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

this is what i get. just after clicking on setup error..if i ignore i advance to force window but it is cut below, unreadable.
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

.gam file should be in same folder you unzil your files?
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

'' this character is the problem...maybe..but why it complains just after clicking on setup.exe file? it seems before to upload the scenario

Just-In-Time (JIT) 。

System.Xml.XmlException: '' (16 進数値 0x03) は無効な文字です。 行 219233、位置 78。
場所 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)
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

i dont know how to attach screenshots here, but even i ignore previous errors and continue to upload scenario, the window is cut at the bottom, so the five selection fields and almost unreadable. do you know a way to enlarge the window?
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

it seems it keeps in memory the last uploaded scenario. now i click setup and previously uploaded fulda76 and it opens without errors.
However, the window is still cut at the bottom and button letters are cut by the middle or less.
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

in fulda76, formations IDs are grey so they cannot be changed. Then, how can i insert a Div inside an Army formation, so thee division is highlighted in the same hierarchy when selecting the army HQ?
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

it is cut in the lower part like #post 106
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

Transfer (Drag-and-Drop) Unit within Tree: Select unit in treeview, left click on unit and drag to formation to which it should be transferred, release mouse button. It will become the last unit in the selected formation.

im trying to drag, left click and move, but it is not trasnferred. :(
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

ok, i could drag "units" to formations, it works perfectly. The problem is that if I want to drag a division, which is defined as formation, inside an Army which is also a formation.
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

maybe changing unit name such as 276th Div -> 267th Div 8th Amy could work to give OOB flavour rather than actually redefining formation, what do yu think?
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

still some WWII German scenarios, including D21 do not open, because of runes maybe.
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: TOAW XML Editor

Post by 76mm »

ORIGINAL: fulcrum28
this is what i get. just after clicking on setup error..if i ignore i advance to force window but it is cut below, unreadable.
OK, hard to be completely sure without a screenshot, but I think I understand what you mean. I've already made a change which will hopefully fix this...
ORIGINAL: fulcrum28
.gam file should be in same folder you unzil your files?
No, you can select a *.gam file from anywhere.
ORIGINAL: fulcrum28
'' this character is the problem...maybe..but why it complains just after clicking on setup.exe file? it seems before to upload the scenario
I need to look at this, figure out what the mysterious character is...
ORIGINAL: fulcrum28
...the window is cut at the bottom, so the five selection fields and almost unreadable. do you know a way to enlarge the window?
As mentioned above, have already attempted some fixes, will be in the next version released.
ORIGINAL: fulcrum28
it seems it keeps in memory the last uploaded scenario. now i click setup and previously uploaded fulda76 and it opens without errors.
Yes, once you select a *.gam file, TOAWxml keeps using it until you select a new file or it can no longer find the original file (deleted, etc.).
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: TOAW XML Editor

Post by 76mm »

ORIGINAL: fulcrum28
in fulda76, formations IDs are grey so they cannot be changed. Then, how can i insert a Div inside an Army formation, so thee division is highlighted in the same hierarchy when selecting the army HQ?
Sorry, don't understand. You cannot change Unit IDs because they are used by the game to track unit info. If you change a unit ID it will almost certainly break the scenario.
ORIGINAL: fulcrum28
im trying to drag, left click and move, but it is not trasnferred. :(
I don't know what you are trying to drag to where...see next point.
ORIGINAL: fulcrum28
ok, i could drag "units" to formations, it works perfectly. The problem is that if I want to drag a division, which is defined as formation, inside an Army which is also a formation.
There are four hierarchical levels in TOAW: Force=>Formations=>Units=>Equipment. Those are all the levels that there are, and I can't add more. And each level has a different data structure.

So you can only transfer units so that they stay at the same level. In other words, if a scenario has the following levels: Army=>Corps=>Divisions=>Equipment, you can transfer divisions to a different corps, or equipment to a different division.

In a scenario with the indicated hierarchy, you cannot transfer a corps, because there is only one Army and so no where to transfer it to. You also cannot transfer equipment to a corps, or a division to the Army, because such transfers would not be at the same level.
ORIGINAL: fulcrum28
still some WWII German scenarios, including D21 do not open, because of runes maybe.
I will look at D21, but it would be helpful to have names of other scenarios that don't open, so that I can take a look.
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

thanks a lot for your feeback and replies. I will check other scenarios. [:)]
User avatar
fulcrum28
Posts: 763
Joined: Sun Feb 28, 2010 1:28 pm

RE: TOAW XML Editor

Post by fulcrum28 »

I think FITE and Kharvov1943 also suffer from the sample problem. Did you already posted in 1.9 the version that addresses the strange character problem (possibly the runes)?
Oberst_Klink
Posts: 4921
Joined: Sun Feb 10, 2008 7:37 pm
Location: Germany
Contact:

RE: TOAW XML Editor

Post by Oberst_Klink »

ORIGINAL: fulcrum28

I think FITE and Kharvov1943 also suffer from the sample problem. Did you already posted in 1.9 the version that addresses the strange character problem (possibly the runes)?
You know that I updated the latest Kharkov '43 scenario? If you want it, drop me a line. It's still in Beta; e.g. the German AI needs to be refined.

Klink, Oberst
My Blog & on Twitter.
Visit CS Legion on Twitter & Facebook for updates.
Post Reply

Return to “Mods and Scenarios”