Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed split categories to make file names from normalized Display N… #408

Merged

Conversation

klingbolt
Copy link
Contributor

Changing the split by category option to use the normalized display name to create the file names. This will standardize xml->proto and proto->proto outputs.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -1,6 +1,9 @@
 category {
+  name: "Parent1"
   children {
+    name: "Child1"
     children {
+      name: "Grandchild1"
       icon {
         map_id: 50
         position {
@@ -10,6 +13,7 @@
       id: "\260\213\347\210\317\202\277W"
     }
     children {
+      name: "Grandchild2"
       icon {
         map_id: 50
         position {
@@ -19,6 +23,7 @@
       id: "\263\213\347\210p\274\377\222"
     }
     children {
+      name: "Grandchild3"
       icon {
         map_id: 50
         position {
@@ -36,7 +41,9 @@
     id: "\261\327\231\242\256\205Y\364"
   }
   children {
+    name: "Child2"
     children {
+      name: "Grandchild1"
       icon {
         map_id: 50
         position {
@@ -46,6 +53,7 @@
       id: "\260\213\347\210\260W\001D"
     }
     children {
+      name: "Grandchild2"
       icon {
         map_id: 50
         position {
@@ -55,6 +63,7 @@
       id: "\263\213\347\210Q\221A\177"
     }
     children {
+      name: "Grandchild3"
       icon {
         map_id: 50
         position {
@@ -72,7 +81,9 @@
     id: "\261\327\231\242\217Z\233\340"
   }
   children {
+    name: "Child3"
     children {
+      name: "Grandchild1"
       icon {
         map_id: 50
         position {
@@ -82,6 +93,7 @@
       id: "\260\213\347\210\221,C0"
     }
     children {
+      name: "Grandchild2"
       icon {
         map_id: 50
         position {
@@ -91,6 +103,7 @@
       id: "\263\213\347\2102f\203k"
     }
     children {
+      name: "Grandchild3"
       icon {
         map_id: 50
         position {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -1,6 +1,9 @@
 category {
+  name: "Parent2"
   children {
+    name: "Child1"
     children {
+      name: "Grandchild1"
       icon {
         map_id: 50
         position {
@@ -10,6 +13,7 @@
       id: "\260\213\347\210\320\202\277W"
     }
     children {
+      name: "Grandchild2"
       icon {
         map_id: 50
         position {
@@ -19,6 +23,7 @@
       id: "\263\213\347\210q\274\377\222"
     }
     children {
+      name: "Grandchild3"
       icon {
         map_id: 50
         position {
@@ -36,7 +41,9 @@
     id: "\261\327\231\242\257\205Y\364"
   }
   children {
+    name: "Child2"
     children {
+      name: "Grandchild1"
       icon {
         map_id: 50
         position {
@@ -46,6 +53,7 @@
       id: "\260\213\347\210\261W\001D"
     }
     children {
+      name: "Grandchild2"
       icon {
         map_id: 50
         position {
@@ -55,6 +63,7 @@
       id: "\263\213\347\210R\221A\177"
     }
     children {
+      name: "Grandchild3"
       icon {
         map_id: 50
         position {
@@ -72,7 +81,9 @@
     id: "\261\327\231\242\220Z\233\340"
   }
   children {
+    name: "Child3"
     children {
+      name: "Grandchild1"
       icon {
         map_id: 50
         position {
@@ -82,6 +93,7 @@
       id: "\260\213\347\210\222,C0"
     }
     children {
+      name: "Grandchild2"
       icon {
         map_id: 50
         position {
@@ -91,6 +103,7 @@
       id: "\263\213\347\2103f\203k"
     }
     children {
+      name: "Grandchild3"
       icon {
         map_id: 50
         position {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -1,6 +1,9 @@
 category {
+  name: "Parent1"
   children {
+    name: "Child1"
     children {
+      name: "Grandchild1"
       icon {
         map_id: 50
         position {
@@ -10,6 +13,7 @@
       id: "\260\213\347\210\317\202\277W"
     }
     children {
+      name: "Grandchild2"
       icon {
         map_id: 50
         position {
@@ -19,6 +23,7 @@
       id: "\263\213\347\210p\274\377\222"
     }
     children {
+      name: "Grandchild3"
       icon {
         map_id: 50
         position {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -1,6 +1,9 @@
 category {
+  name: "Parent1"
   children {
+    name: "Child2"
     children {
+      name: "Grandchild1"
       icon {
         map_id: 50
         position {
@@ -10,6 +13,7 @@
       id: "\260\213\347\210\260W\001D"
     }
     children {
+      name: "Grandchild2"
       icon {
         map_id: 50
         position {
@@ -19,6 +23,7 @@
       id: "\263\213\347\210Q\221A\177"
     }
     children {
+      name: "Grandchild3"
       icon {
         map_id: 50
         position {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -1,6 +1,9 @@
 category {
+  name: "Parent1"
   children {
+    name: "Child3"
     children {
+      name: "Grandchild1"
       icon {
         map_id: 50
         position {
@@ -10,6 +13,7 @@
       id: "\260\213\347\210\221,C0"
     }
     children {
+      name: "Grandchild2"
       icon {
         map_id: 50
         position {
@@ -19,6 +23,7 @@
       id: "\263\213\347\2102f\203k"
     }
     children {
+      name: "Grandchild3"
       icon {
         map_id: 50
         position {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -1,6 +1,9 @@
 category {
+  name: "Parent2"
   children {
+    name: "Child1"
     children {
+      name: "Grandchild1"
       icon {
         map_id: 50
         position {
@@ -10,6 +13,7 @@
       id: "\260\213\347\210\320\202\277W"
     }
     children {
+      name: "Grandchild2"
       icon {
         map_id: 50
         position {
@@ -19,6 +23,7 @@
       id: "\263\213\347\210q\274\377\222"
     }
     children {
+      name: "Grandchild3"
       icon {
         map_id: 50
         position {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -1,6 +1,9 @@
 category {
+  name: "Parent2"
   children {
+    name: "Child2"
     children {
+      name: "Grandchild1"
       icon {
         map_id: 50
         position {
@@ -10,6 +13,7 @@
       id: "\260\213\347\210\261W\001D"
     }
     children {
+      name: "Grandchild2"
       icon {
         map_id: 50
         position {
@@ -19,6 +23,7 @@
       id: "\263\213\347\210R\221A\177"
     }
     children {
+      name: "Grandchild3"
       icon {
         map_id: 50
         position {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -1,6 +1,9 @@
 category {
+  name: "Parent2"
   children {
+    name: "Child3"
     children {
+      name: "Grandchild1"
       icon {
         map_id: 50
         position {
@@ -10,6 +13,7 @@
       id: "\260\213\347\210\222,C0"
     }
     children {
+      name: "Grandchild2"
       icon {
         map_id: 50
         position {
@@ -19,6 +23,7 @@
       id: "\263\213\347\2103f\203k"
     }
     children {
+      name: "Grandchild3"
       icon {
         map_id: 50
         position {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -0,0 +1,248 @@
+category {
+  name: "Parent1"
+  children {
+    name: "Child1"
+    children {
+      name: "Grandchild1"
+      icon {
+        map_id: 50
+        position {
+          x: 111
+        }
+      }
+      id: "\260\213\347\210\317\202\277W"
+    }
+    children {
+      name: "Grandchild2"
+      icon {
+        map_id: 50
+        position {
+          x: 112
+        }
+      }
+      id: "\263\213\347\210p\274\377\222"
+    }
+    children {
+      name: "Grandchild3"
+      icon {
+        map_id: 50
+        position {
+          x: 113
+        }
+      }
+      id: "\265\213\347\210\021\366?\316"
+    }
+    icon {
+      map_id: 50
+      position {
+        x: 110
+      }
+    }
+    id: "\261\327\231\242\256\205Y\364"
+  }
+  children {
+    name: "Child2"
+    children {
+      name: "Grandchild1"
+      icon {
+        map_id: 50
+        position {
+          x: 121
+        }
+      }
+      id: "\260\213\347\210\260W\001D"
+    }
+    children {
+      name: "Grandchild2"
+      icon {
+        map_id: 50
+        position {
+          x: 122
+        }
+      }
+      id: "\263\213\347\210Q\221A\177"
+    }
+    children {
+      name: "Grandchild3"
+      icon {
+        map_id: 50
+        position {
+          x: 123
+        }
+      }
+      id: "\265\213\347\210\362\312\201\272"
+    }
+    icon {
+      map_id: 50
+      position {
+        x: 120
+      }
+    }
+    id: "\261\327\231\242\217Z\233\340"
+  }
+  children {
+    name: "Child3"
+    children {
+      name: "Grandchild1"
+      icon {
+        map_id: 50
+        position {
+          x: 131
+        }
+      }
+      id: "\260\213\347\210\221,C0"
+    }
+    children {
+      name: "Grandchild2"
+      icon {
+        map_id: 50
+        position {
+          x: 132
+        }
+      }
+      id: "\263\213\347\2102f\203k"
+    }
+    children {
+      name: "Grandchild3"
+      icon {
+        map_id: 50
+        position {
+          x: 133
+        }
+      }
+      id: "\265\213\347\210\323\237\303\246"
+    }
+    icon {
+      map_id: 50
+      position {
+        x: 130
+      }
+    }
+    id: "\261\327\231\242p/\335\314"
+  }
+  id: "-D\252I\3315B\307"
+}
+category {
+  name: "Parent2"
+  children {
+    name: "Child1"
+    children {
+      name: "Grandchild1"
+      icon {
+        map_id: 50
+        position {
+          x: 211
+        }
+      }
+      id: "\260\213\347\210\320\202\277W"
+    }
+    children {
+      name: "Grandchild2"
+      icon {
+        map_id: 50
+        position {
+          x: 212
+        }
+      }
+      id: "\263\213\347\210q\274\377\222"
+    }
+    children {
+      name: "Grandchild3"
+      icon {
+        map_id: 50
+        position {
+          x: 213
+        }
+      }
+      id: "\265\213\347\210\022\366?\316"
+    }
+    icon {
+      map_id: 50
+      position {
+        x: 210
+      }
+    }
+    id: "\261\327\231\242\257\205Y\364"
+  }
+  children {
+    name: "Child2"
+    children {
+      name: "Grandchild1"
+      icon {
+        map_id: 50
+        position {
+          x: 221
+        }
+      }
+      id: "\260\213\347\210\261W\001D"
+    }
+    children {
+      name: "Grandchild2"
+      icon {
+        map_id: 50
+        position {
+          x: 222
+        }
+      }
+      id: "\263\213\347\210R\221A\177"
+    }
+    children {
+      name: "Grandchild3"
+      icon {
+        map_id: 50
+        position {
+          x: 223
+        }
+      }
+      id: "\265\213\347\210\363\312\201\272"
+    }
+    icon {
+      map_id: 50
+      position {
+        x: 220
+      }
+    }
+    id: "\261\327\231\242\220Z\233\340"
+  }
+  children {
+    name: "Child3"
+    children {
+      name: "Grandchild1"
+      icon {
+        map_id: 50
+        position {
+          x: 231
+        }
+      }
+      id: "\260\213\347\210\222,C0"
+    }
+    children {
+      name: "Grandchild2"
+      icon {
+        map_id: 50
+        position {
+          x: 232
+        }
+      }
+      id: "\263\213\347\2103f\203k"
+    }
+    children {
+      name: "Grandchild3"
+      icon {
+        map_id: 50
+        position {
+          x: 233
+        }
+      }
+      id: "\265\213\347\210\324\237\303\246"
+    }
+    icon {
+      map_id: 50
+      position {
+        x: 230
+      }
+    }
+    id: "\261\327\231\242q/\335\314"
+  }
+  id: "-D\252I\3325B\307"
+}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -0,0 +1,44 @@
+category {
+  name: "Parent1"
+  children {
+    name: "Child1"
+    children {
+      name: "Grandchild1"
+      icon {
+        map_id: 50
+        position {
+          x: 111
+        }
+      }
+      id: "\260\213\347\210\317\202\277W"
+    }
+    children {
+      name: "Grandchild2"
+      icon {
+        map_id: 50
+        position {
+          x: 112
+        }
+      }
+      id: "\263\213\347\210p\274\377\222"
+    }
+    children {
+      name: "Grandchild3"
+      icon {
+        map_id: 50
+        position {
+          x: 113
+        }
+      }
+      id: "\265\213\347\210\021\366?\316"
+    }
+    icon {
+      map_id: 50
+      position {
+        x: 110
+      }
+    }
+    id: "\261\327\231\242\256\205Y\364"
+  }
+  id: "-D\252I\3315B\307"
+}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -0,0 +1,44 @@
+category {
+  name: "Parent1"
+  children {
+    name: "Child2"
+    children {
+      name: "Grandchild1"
+      icon {
+        map_id: 50
+        position {
+          x: 121
+        }
+      }
+      id: "\260\213\347\210\260W\001D"
+    }
+    children {
+      name: "Grandchild2"
+      icon {
+        map_id: 50
+        position {
+          x: 122
+        }
+      }
+      id: "\263\213\347\210Q\221A\177"
+    }
+    children {
+      name: "Grandchild3"
+      icon {
+        map_id: 50
+        position {
+          x: 123
+        }
+      }
+      id: "\265\213\347\210\362\312\201\272"
+    }
+    icon {
+      map_id: 50
+      position {
+        x: 120
+      }
+    }
+    id: "\261\327\231\242\217Z\233\340"
+  }
+  id: "-D\252I\3315B\307"
+}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -0,0 +1,44 @@
+category {
+  name: "Parent1"
+  children {
+    name: "Child3"
+    children {
+      name: "Grandchild1"
+      icon {
+        map_id: 50
+        position {
+          x: 131
+        }
+      }
+      id: "\260\213\347\210\221,C0"
+    }
+    children {
+      name: "Grandchild2"
+      icon {
+        map_id: 50
+        position {
+          x: 132
+        }
+      }
+      id: "\263\213\347\2102f\203k"
+    }
+    children {
+      name: "Grandchild3"
+      icon {
+        map_id: 50
+        position {
+          x: 133
+        }
+      }
+      id: "\265\213\347\210\323\237\303\246"
+    }
+    icon {
+      map_id: 50
+      position {
+        x: 130
+      }
+    }
+    id: "\261\327\231\242p/\335\314"
+  }
+  id: "-D\252I\3315B\307"
+}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -0,0 +1,44 @@
+category {
+  name: "Parent2"
+  children {
+    name: "Child1"
+    children {
+      name: "Grandchild1"
+      icon {
+        map_id: 50
+        position {
+          x: 211
+        }
+      }
+      id: "\260\213\347\210\320\202\277W"
+    }
+    children {
+      name: "Grandchild2"
+      icon {
+        map_id: 50
+        position {
+          x: 212
+        }
+      }
+      id: "\263\213\347\210q\274\377\222"
+    }
+    children {
+      name: "Grandchild3"
+      icon {
+        map_id: 50
+        position {
+          x: 213
+        }
+      }
+      id: "\265\213\347\210\022\366?\316"
+    }
+    icon {
+      map_id: 50
+      position {
+        x: 210
+      }
+    }
+    id: "\261\327\231\242\257\205Y\364"
+  }
+  id: "-D\252I\3325B\307"
+}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -0,0 +1,44 @@
+category {
+  name: "Parent2"
+  children {
+    name: "Child2"
+    children {
+      name: "Grandchild1"
+      icon {
+        map_id: 50
+        position {
+          x: 221
+        }
+      }
+      id: "\260\213\347\210\261W\001D"
+    }
+    children {
+      name: "Grandchild2"
+      icon {
+        map_id: 50
+        position {
+          x: 222
+        }
+      }
+      id: "\263\213\347\210R\221A\177"
+    }
+    children {
+      name: "Grandchild3"
+      icon {
+        map_id: 50
+        position {
+          x: 223
+        }
+      }
+      id: "\265\213\347\210\363\312\201\272"
+    }
+    icon {
+      map_id: 50
+      position {
+        x: 220
+      }
+    }
+    id: "\261\327\231\242\220Z\233\340"
+  }
+  id: "-D\252I\3325B\307"
+}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full Diff
--- old
+++ new
@@ -0,0 +1,44 @@
+category {
+  name: "Parent2"
+  children {
+    name: "Child3"
+    children {
+      name: "Grandchild1"
+      icon {
+        map_id: 50
+        position {
+          x: 231
+        }
+      }
+      id: "\260\213\347\210\222,C0"
+    }
+    children {
+      name: "Grandchild2"
+      icon {
+        map_id: 50
+        position {
+          x: 232
+        }
+      }
+      id: "\263\213\347\2103f\203k"
+    }
+    children {
+      name: "Grandchild3"
+      icon {
+        map_id: 50
+        position {
+          x: 233
+        }
+      }
+      id: "\265\213\347\210\324\237\303\246"
+    }
+    icon {
+      map_id: 50
+      position {
+        x: 230
+      }
+    }
+    id: "\261\327\231\242q/\335\314"
+  }
+  id: "-D\252I\3325B\307"
+}

@AsherGlick AsherGlick merged commit b483bab into AsherGlick:xml_converter Feb 26, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants