Talk:Modifying an existing level: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 207: Line 207:
* Keep test data out of original AE directory. When debugging multiple codebases, you don't want to them to crash into one another.
* Keep test data out of original AE directory. When debugging multiple codebases, you don't want to them to crash into one another.


====Notes on C# (.NET Framework 4)====
=====Custom bot=====
* Add notes about resources there. Like a downloaded Onisplit wiki page.
* Add general working instructions like for reading and writing test data.
 
=====Session instruction example=====
Followup session example. The subtypes (selection) as copied from from terminal.
<pre>Test sequential (100) stop-at-first-mismatch roundtrips with following XML subtypes (file prefixes)
Prefix Count Status  Stage File                    Reason
------ ----- ------  ----- ----                    ------
SNDD    2392 MISMATCH ONI  SNDDac1lp1.aif.oni      create exit cs=1 vb=1
TRAC      32 MISMATCH ONI  TRAMTANCOMkick_low.oni  create exit cs=0 vb=1
TRAM    2618 MISMATCH ONI  TRAMCOMCOMcomb_k.oni    create exit cs=0 vb=1
TURR      24 MISMATCH ONI  TURRmbo_turret_ciel.oni create exit cs=1 vb=1
TXCA      7 MISMATCH ONI  TXMPCOVCRATE_3.oni      create exit cs=0 vb=1
TXMP    3309 MISMATCH ONI  TXMP%3Cnone%3E.oni      create exit cs=0 vb=1
TxtC      56 MISMATCH ONI  TxtClevel_11a.oni      create exit cs=1 vb=1
See if c#-based onisplit exe/project also fails. If c# fails, skip that type. If c# pass, then analyze codebase differences, patch vb until oni-hash-parrity is reached, coninue with next subtype.
</pre>
 
====Notes on C# (.NET Framework 4) (Onisplit 0.9.99.0)====
Looks like the current OniSplit srouce on svn (0.9.99.0) has a bug in XML/ParticleXmlImporter.cs
Looks like the current OniSplit srouce on svn (0.9.99.0) has a bug in XML/ParticleXmlImporter.cs
             // broken: string text = xml.ReadElementContentAsString();
             // broken: string text = xml.ReadElementContentAsString();
Line 220: Line 239:
   
   
====Notes on C# (.NET 10)====
====Notes on C# (.NET 10)====
XML was first exported with slightly less accuracy: Floats are rounded to 6 instead of 7 digits after the decimal separator. The desired behavior was reimplemented by adding methods that mimic this quasi-legacy float-parsing.
* XML was first exported with slightly less accuracy: Floats are rounded to 6 instead of 7 digits after the decimal separator. The desired behavior was reimplemented by adding methods that mimic this quasi-legacy float-parsing.
* TRAM needs double checking.


====Notes on VB (.NET 10)====
====Notes on VB (.NET 10)====
Line 237: Line 257:
* Explicitly tested XML roundtripping and fixed:
* Explicitly tested XML roundtripping and fixed:
** M3GM (not created from OBJ)
** M3GM (not created from OBJ)
** BINA


XML imports needs a better test setup because of all the subformats.
XML imports needs a better test setup because of all the subformats.
==(Other tool placeholder)==
8,969

edits