Code Monkey home page Code Monkey logo

prc-rs's People

Contributors

benhall-7 avatar blu-dev avatar jam1garner avatar raytwo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

alo81 blu-dev raytwo

prc-rs's Issues

Feature: check bad hash names

Allow user to specify whether, when reading the XML file, it should check whether the hash exists in the global dictionary. If the hash does not exist, issue a warning

Conversion failure on vanilla prcs

Anytime I try to convert an xml to prc it gives me the error

Trace: list (size="9") (hash="swingbones")
Trace: struct (index="0")
Trace: hash40 (hash="name")
The provided string is not valid hexadecimal and has no matching label (Label = 'pantsl')
at paracobNET.Hash40Util.LabelToHash40(String hash40, IDictionary2 labels) in C:\projects\paracobnet\paracobNET\Hash\Hash40Util.cs:line 38 at paracobNET.ParamValue.SetValue(String value, IDictionary2 labels) in C:\projects\paracobnet\paracobNET\ParamValue.cs:line 58
at ParamXML.Program.Node2ParamValue(XmlNode node, ParamType type) in C:\projects\paracobnet\ParamXML\Program.cs:line 229
at ParamXML.Program.Node2Param(XmlNode node) in C:\projects\paracobnet\ParamXML\Program.cs:line 182

Any xml to prc has this error except replacing the info from the beginning of the prc with whichever one I'm converting.

Handle comments in XML files by ignoring them

When storing params as XML values over long term it can be nice to comment the fields, right now that's not possible. The only way to do so would be to have something like

<struct>
    <list hash="fighter_param_table">
        <struct index="0">
            <float hash="walk_speed_max" data-comment="marios max walk speed">1.125</float>
        </struct>
    </list>
</struct>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.