Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Keyi Zhang
    @Kuree
    just in case it will break the unparse function
    Snaitf
    @Snaitf
    kk
    Keyi Zhang
    @Kuree
    and I also clean up some redundant code
    Snaitf
    @Snaitf
    in fact, that is how you did it in the spandrel wrapper, too
    if (this.modlEntryList1 == null) this.modlEntryList1 = new ModlEntryList(OnResourceChanged, s);
    • this.modlEntryList1.UnParse(s);
    which is why i did it that way, too
    Keyi Zhang
    @Kuree
    uhh oops
    I'm sorry that was a mistake
    Snaitf
    @Snaitf
    heh, ok, least i know why mine was wrong, too
    Keyi Zhang
    @Kuree
    okay need to do homework now..
    Snaitf
    @Snaitf
    alright, thx for help
    Snaitf
    @Snaitf

    hmm, there is still a problem with the fence wrapper. I think it is in the lines:

    for (int i = 0; i < r.ReadUInt16(); i++) this.unknownList1.Add(r.ReadUInt32());

    Won't that try to read another uint16 every time through the loop?
    I tried changing it to:

    int count = r.ReadUInt16();
    for (int i = 0; i < count; i++) this.unknownList1.Add(r.ReadUInt32());

    that makes it parse ok, but when i hit grid/commit, the file gets corrupted, i'm not sure what else is wrong

    Snaitf
    @Snaitf
    what does simple list use for a count when unparsing? It needs to be a ushort.
    Keyi Zhang
    @Kuree
    I'll check it
    found the problem
    fixed it
    thank you for testing it
    Snaitf
    @Snaitf
    ah, ok, ty and yw
    A
    @andrewtavera
    Hey Kuree, are you here?
    Snaitf
    @Snaitf
    Found a bug in your bug fix, and fixed it. Pull request sent.
    Keyi Zhang
    @Kuree
    lol
    oops
    Snaitf
    @Snaitf
    heh, just a simple c&p error
    that's the last of the cat res wrappers
    Keyi Zhang
    @Kuree
    hmm didn't realize that vs as a built-in hex editor
    Snaitf
    @Snaitf
    Umm, did I miss something?
    Keyi Zhang
    @Kuree
    no
    Snaitf
    @Snaitf
    What did you mean about the hex editor?
    Keyi Zhang
    @Kuree
    I'm working on the shader
    and I just open the shader in vs's hex editor
    Snaitf
    @Snaitf
    ooh, as=has, gotcha
    Keyi Zhang
    @Kuree
    oops
    typo
    Snaitf
    @Snaitf
    i didn't know that either
    how do you get to it
    Keyi Zhang
    @Kuree
    just double click the binary file
    and vs just opened it
    maybe it's a pro version feature
    Snaitf
    @Snaitf
    i have pro, but i also have binary files mapped to hxd
    Snaitf
    @Snaitf
    Hmm, with all the cat res wrappers being done, and the fixes, and the rewrite of the auto updater, maybe you should make a release today?
    Keyi Zhang
    @Kuree
    I'll try
    got many things to do
    Snaitf
    @Snaitf
    Snaitf
    @Snaitf
    Found another CatRes, pull request sent.
    Snaitf
    @Snaitf
    I see you've started working on the Deformer Map, and since that was the same day this was posted, I'm assuming you have seen it, but JUST in case you haven't - http://forums.thesims.com/en_US/discussion/797774/simgurumodsquad-0xdb43e069-deformermap-resource
    Keyi Zhang
    @Kuree
    I decoded the raw version of it
    now need to refine it with RLE
    Keyi Zhang
    @Kuree
    what's that used for?