Home Gallery Resources The Team Rules chat Login Register
Pages: [1]
Author Topic: New partial size modifier RESIZE EACH DIMENSION SEPARATELY  (Read 2916 times)
0 Members and 1 Guest are viewing this topic.
wiiztec
Expert Kitten
****
Offline Offline

Posts: 75


  • Awards Former PMDT Famous Hacker >9000

  • View Profile WWW Awards
    « on: May 03, 2010, 08:58:42 PM »


    Partial size modifier: new skip write code
    081A86EC 60000000
    20020004 00000000
    C21A86E8 0000000B
    A89B0002 2C045953
    40820038 A89B0006
    2C045953 4082002C
    A89B000A 2C045953
    40820020 C21B0008
    C1FB0004 C1DB0000
    D21B0008 D1FB0004
    D1DB0000 48000014
    67A44000 D01B0008
    D01B0004 D01B0000
    60000000 00000000
    08046AFC 60000000
    20040004 00000000
    C2046AF8 0000000C
    A8970002 2C045953
    40820038 A8970006
    2C045953 4082002C
    A897000A 2C045953
    40820020 C2170008
    C1F70004 C1D70000
    D2170008 D1F70004
    D1D70000 48000014
    C00284C8 D0170008
    D0170004 D0170000
    7E248B78 7E038378
    60000000 00000000
    this allows you to resize all 3 dimensions separately whereas before you had to resize them all at once, credit to Phantom Wings for finding the values and for the foundation of the ASM

    The old offset list references the Z(forward & back)size the Y(up & down)size is 4 bytes ahead and the X(right & left)size is 4 bytes ahead of the Y size

    You only have to have 5953 on the latter half of 1 of the floating points and it doesn't matter which. the other 2 can take full advantage of their 32 bit values for a single rather than half precision floating points
    In order to iron out some glitches I had to make it so you must have 5953 at the end of all 3 dimensions if you don't want to modify a dimension just set it to 3F805953

    If you're using this to enhance a custom model/texture then you can have the code only effect 1 texture by adding these lines to the top of the code that writes the sizes, first 42000000 90000000 & the one of the following

    P1 28180FBC FF0000XX

    P2 28181018 FF0000XX

    P3 28181074 FF0000XX

    P4 281810D0 FF0000XX

    XX = Fit(character)XX.pac/pcs

    Here's an example

    Archer shield & big sword link P1 default costume only
    205A9370 48554431
    42000000 90000000
    28180FB8 00FF0200
    28180FBC FF000000
    48000000 805A9360
    DE000000 80009380
    14000150 3FB05953
    14000154 3F805953
    14000158 3FB05953
    1400015C 3FB05953
    14000160 40005953
    14000164 40005953
    14000348 40005953
    1400034C 40405953
    14000350 3FC05953
    14000384 40005953
    14000388 40405953
    1400038C 3FC05953
    E0000000 80008000
    205A9370 48554431
    42000000 90000000
    28180FB8 00FF0200
    2A180FBC FF000000
    48000000 805A9360
    DE000000 80009380
    14000150 3F800000
    1400015C 3F800000
    14000348 3F800000
    14000384 3F800000
    E0000000 80008000

    This new code is needed as a safety measure

    HUD flags
    2171D260 06000000
    045A9370 48554430
    2171D261 46000000
    045A9370 48554430
    2171D261 56000000
    045A9370 48554430
    2171D261 26000000
    045A9370 48554431
    2171D261 66000000
    045A9370 48554431
    2171D261 76000000
    045A9370 48554431
    216F56C1 0D010101
    045A9374 48554430
    216F56C1 4D010101
    045A9374 48554430
    216F56C1 5D010101
    045A9374 48554430
    216F56C1 2D010101
    045A9374 48554431
    216F56C1 6D010101
    045A9374 48554431
    216F56C1 7D010101
    045A9374 48554431
    216CDB21 03020202
    045A9378 48554430
    216CDB21 43020202
    045A9378 48554430
    216CDB21 53020202
    045A9378 48554430
    216CDB21 23020202
    045A9378 48554431
    216CDB21 63020202
    045A9378 48554431
    216CDB21 73020202
    045A9378 48554431
    216A5F81 02030303
    045A937C 48554430
    216A5F81 42030303
    045A937C 48554430
    216A5F81 52030303
    045A937C 48554430
    216A5F81 22030303
    045A937C 48554431
    216A5F81 62030303
    045A937C 48554431
    216A5F81 72030303
    045A937C 48554431
    E0000000 80008000

    Of course you also need this

    set pointers
    C283CAA4 00000006
    80A30064 80A50020
    80A5000C A8850002
    80B90010 80A500AC
    5484103E 38840040
    7CA2212E 3CA01000
    60000000 00000000


    « Last Edit: May 06, 2010, 11:12:14 AM by wiiztec » Logged

    flammable
    Black Cat
    Supreme Kitten
    ********
    Offline Offline

    Posts: 650


    Deliverin' some bad luck

  • Awards Featured Hot Topic Heart Container

  • View Profile WWW Awards
    « Reply #1 on: May 03, 2010, 09:02:27 PM »


    my god u do codes well, u would get gr8 downloads if u uploaded compound .gcts to brawlvault
    Logged



    Married Mai Self nvm

    dingo
    Angel Kitten
    ***
    Offline Offline

    Posts: 3145


    Il Matto

  • Awards >9000 Troubleshooter Heart Container Pin Collector

  • View Profile WWW Awards
    « Reply #2 on: May 03, 2010, 09:08:45 PM »


    my god u do codes well, u would get gr8 downloads if u uploaded compound .gcts to brawlvault

    picano still has to make that section functional. Complain about it in the brawlvault suggestion thread.
    Logged

    flammable
    Black Cat
    Supreme Kitten
    ********
    Offline Offline

    Posts: 650


    Deliverin' some bad luck

  • Awards Featured Hot Topic Heart Container

  • View Profile WWW Awards
    « Reply #3 on: May 03, 2010, 09:10:39 PM »


    my god u do codes well, u would get gr8 downloads if u uploaded compound .gcts to brawlvault

    picano still has to make that section functional. Complain about it in the brawlvault suggestion thread.
    k ill go complain now Cheesy
    Logged



    Married Mai Self nvm

    wiiztec
    Expert Kitten
    ****
    Offline Offline

    Posts: 75


  • Awards Former PMDT Famous Hacker >9000

  • View Profile WWW Awards
    « Reply #4 on: May 04, 2010, 08:43:42 AM »


    Fixed some glitches and made code shorter
    « Last Edit: May 05, 2010, 12:06:45 PM by wiiztec » Logged

    Pages: [1]
    Print
    Jump to: