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
    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?
    Snaitf
    @Snaitf
    No idea, I'm just decoding types that don't appear in the Wiki or have wrappers
    I'm simply posting the links here so you can have a quick look, in case you see something of interest that I wouldn't pick up on
    Keyi Zhang
    @Kuree
    kk
    ty
    Keyi Zhang
    @Kuree
    okay merged the pull request
    Krystian
    @KrisGroove
    hell
    Arthur
    @KhArtNJava
    Hi, all

    @Kuree , Decimal values of the value (after "Set High Bit") needed for s attribute in XML files:

    <?xml version="1.0" encoding="UTF-8"?>
    <I c="CommandSuperInteraction" i="interaction" m="interactions.base.immediate_interaction" 
       n="MTS_Scumbumbo_Pregnancy_Scan" s="17608706005782878675">

    Now my steps are:
    1 - Resource - add - fill Type, group, Name
    2 - Button for FNV64
    3 - button "Set High Bit"
    4 - copy value from the Instance field
    5 - open app Hpmbcalc (http://www.hexprobe.com/hpmbcalc/)
    6 - paste copied value to the Hpmbcalc
    7 - convert from hex to dec
    8 - copy dec value
    9 - paste dec value to the xml's s attribute
    10 - import xml file to the S4PE
    It will be useful, if S4PE will have not only textBox with hex value of the Instance, but also have textBox with the dec value of the Instance. I will cut steps 5-8 and save time on adding new Resource item.