Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Snaitf
    @Snaitf
    Would there be an easy way to make DataBlobs editable within the grid, so that others can easily change the values (without using a hex-editor) to see what effect they have in-game?
    Keyi Zhang
    @Kuree
    hmm it depends how you want to implement it
    cmx is an expert on winform design
    but he's kinda busy now
    Snaitf
    @Snaitf
    ok, well, maybe an idea for later. It would make figuring out what unknown values do much easier.
    Keyi Zhang
    @Kuree
    the hex preview is kinda helpful
    Snaitf
    @Snaitf
    true, but what i mean is, if you have a chunk of 14 bytes, that are almost all 0's except one byte (say, 80) in the middle, you don't know if it's a uint of 0x00000008, or a uint of 0x80000000, or any other combination there-in. So I wouldn't know how to set up the wrapper, except by using a DataBlob. And figuring out what that 0x80 is would be much simpler if the DataBlob could be edited via the grid, instead of using a hex-editor. So, I was just curious if that would be something that could easily be done, or if it would be an intense change.
    Keyi Zhang
    @Kuree
    You need to tell the property grid using a custom editor
    then write your own hex editor for it
    Snaitf
    @Snaitf
    oic - I thought maybe there would be a way to allow all DataBlobs to be edited with a single chunk of code - either way, it's beyond me. Was just an idea, nvm then.
    Keyi Zhang
    @Kuree
    if the data chunk is small we can treat it as a byte array
    which is fine
    when it turns out to be more than 100 bytes it will be kinda slow
    and disorganized
    Snaitf
    @Snaitf
    hmm, ok, so how would a byte array be coded in a wrapper?
    Keyi Zhang
    @Kuree
    hmm you use an array
    I would not do that
    I'd rather let cmx to do it
    Snaitf
    @Snaitf
    oh, ok then
    i'll just use a datablob for now, then
    Snaitf
    @Snaitf
    just made another pull request, now :fork_and_knife:
    Keyi Zhang
    @Kuree
    kk
    will look at it after I finish the regex for update checking
    Keyi Zhang
    @Kuree
    the latest build can check updates now
    Snaitf
    @Snaitf
    Nice, will it only update from official releases, or will it update everything that has been committed to master?
    Keyi Zhang
    @Kuree
    only official releases
    Snaitf
    @Snaitf
    that's what I figured
    Keyi Zhang
    @Kuree
    it reads the github api
    Snaitf
    @Snaitf
    ah, ok, cool beans
    Keyi Zhang
    @Kuree
    well I can make it reads commits, but it looks unnecessary
    Snaitf
    @Snaitf
    Just made another pull request for Tool, Product Style, and Fence wrappers.
    You'll need to update the clone code on these.
    Also, there is a problem with the Fence wrapper. It parses and unparses fine, both in the preview and when using the grid, however, when trying to add a new resource of this type, there is an object not set to an instance error, and I can't seem to figure out what is wrong, maybe you could have a look?
    Keyi Zhang
    @Kuree
    I'll look at it
    Snaitf
    @Snaitf
    Thanks
    Keyi Zhang
    @Kuree
    and there're several redundant codes
    I will clean them up
    Snaitf
    @Snaitf
    ok then
    Keyi Zhang
    @Kuree
    I can't find your fence code
    oops
    forgot to pull
    now it has tons of conflicts now
    Snaitf
    @Snaitf
    conflicts?
    Keyi Zhang
    @Kuree
    merge conflicts
    I resolved now
    Snaitf
    @Snaitf
    oh, ok
    Keyi Zhang
    @Kuree
    *them
    Keyi Zhang
    @Kuree
    when initialize a new dependlist
    you can't pass stream to it
    Snaitf
    @Snaitf
    hmm, which line#?
    Keyi Zhang
    @Kuree
    like in the tool
    ln 63