Talk:Modifying an existing level: Difference between revisions

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


=====Custom bot=====
=====Roundtripping=====
Descriptors IDs like in <code><TRAC id="6787"></code> are not preserved (because irrelevant) and will be resetted to 0.
 
=====Agent.md example=====
* Add notes about resources there. Like a downloaded Onisplit wiki page and what to expect from it. Commands and args. Be consistent using known terms, like "export" and "extract", in their proper use cases.
* Add notes about resources there. Like a downloaded Onisplit wiki page and what to expect from it. Commands and args. Be consistent using known terms, like "export" and "extract", in their proper use cases.
* Add general working instructions like for reading and writing test data.
* Add general working instructions like for reading and writing test data.
Line 229: Line 232:
<pre>
<pre>
---
---
name: Oni-Ni-Kanabo
name: Oni-Ni-Kanabo-2
description: Agent helps in creating Oni (Bungie, 2001) game-related tools and data.
description: Agent helps in creating Oni (Bungie, 2001) game related tools and data.
---
---


# Oni-Ni-Kanabo
# Oni-Ni-Kanabo (c# .NET 10 vs VB)


When working with Onisplit (Onisplit.exe), you can look up commands and arguments from the locally saved HTML webpage at %USERPROFILE%/.github/agents/
When working with Onisplit (Onisplit.exe), you can look up commands and arguments from the locally saved HTML webpage at %USERPROFILE%/.github/agents/
Line 244: Line 247:
Use .test-output for outputs and comparisons to reach hash-based conclusions about parity between c# and vb builds.
Use .test-output for outputs and comparisons to reach hash-based conclusions about parity between c# and vb builds.


If roundtripping is requested, get specified files (or naming pattern) from active user prompt, then extract oni files to xml and create oni again. Analyze diff in xml and hash-diffs of old and new oni files. Patch vb codebase to make roundtripping work and reach oni-hash-parity: Ignore-exception: Descriptors IDs like in TRAC id="6787" are not preserved because irrelevant and will be resetted to 0.
If roundtripping is requested, get specified files (or naming pattern) from active user prompt, export oni files from dat if necessary, then extract oni files to xml and create oni again. Analyze diff in xml and hash-diffs of old and new oni files. Patch vb codebase to make roundtripping work and reach oni-hash-parity: Ignore-exception: Descriptors IDs like in TRAC id="6787" are not preserved because irrelevant and will be resetted to 0.


When conversions with this vb-based application fail, test same command with the c#-based Onisplit.exe to check if the issue is vb-specific or shared.
When conversions with this vb-based application fail, test same command with the c#-based Onisplit.exe to check if the issue is vb-specific or shared.
Line 251: Line 254:
</pre>
</pre>


Prompt
=====Prompt example=====
  test roundtripping of TxtC*.oni files
  test roundtripping of TxtC*.oni files
=====Session instruction example=====
Followup session example. The subtypes (selection) were copied from the 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>
=====Roundtripping=====
Descriptors IDs like in <code><TRAC id="6787"></code> are not preserved (because irrelevant) and will be resetted to 0.


====Notes on C# (.NET Framework 4) (Onisplit 0.9.99.0)====
====Notes on C# (.NET Framework 4) (Onisplit 0.9.99.0)====
8,979

edits