Home Gallery Resources The Team Rules chat Login Register
  Show Topics
Pages: [1]
1  Super Smash Bros. Brawl Hacking / Programming / Sinking Pirate Ship on: August 31, 2018, 05:48:29 PM
sinking pirate ship [wiiztec]
C0000000 0000000C
3D608059 3D809018
892C0F3B 2C090009
4082003C 3D808155
812C95BC 2C090000
4082002C C1CB82D4
812B82D4 5529653E
2C09042F 41820010
C1EB82D0 EDCE782A
D1CB82D4 D1CC958C
48000010 3D40C1A3
614A1581 914B82D4
4E800020 00000000
045882D0 3C23D70A
the speed of sinking is 3C23D70A(0.01 in float)
credit to spunit262 for the water level address

https://www.youtube.com/watch?v=PrAvDZxiUP4&t=7s
2  Help & Tutorials / Help / What determines what slot a 1 slot size mod is for? on: August 17, 2012, 12:22:13 AM
If it's a 1 slot size mod it has to specify what slot it's for right? None of the mods that use them ever say what slot it's for
3  Super Smash Bros. Brawl Hacking / General Hacking Discussion / New partial size modifier RESIZE EACH DIMENSION SEPARATELY 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


4  Super Smash Bros. Brawl Hacking / General Hacking Discussion / On the fly costume switcher v2.0 (switch between 12 textures now!) on: April 22, 2010, 03:13:59 PM
On the fly costume switchers v2.0 (GCC)
along with this code which is a modification of Phantom Wings's File Patch Code v3.5.1(it replaces the normal file patch code), these codes will allow you to (in a time match or in a stock match with 3 or more players) change between 12 different alternate costumes using button activators, you can also use this to switch between a character and it's PSA counterpart(note: you cannot change directly between corrosponding costumes of the 2 sets eg you can't change directly between the 1st costumes of the 1st and 2nt sets),the second set of textures (or any other custom files) goes in SD://private/apps/rsbe/mt you can also select the second set of custom files before the start of the match by holding L on the first player's controller untill the match starts
Code:
0401BFE0 40800020
025A7E00 00370000
040223E0 93DB0008
025A7FA0 00130000
0401CD0C 48008F4D
025A7F00 001B0000
043EE9D8 40820014
043EEBD4 40820014
043D8B9C 40820010
043E9B4C 7C031878
043E9D38 38600009
043D8C80 40820010
80000000 00000000
80000001 00000000
045A7C10 00000000
045A7C14 00000000
22002F48 DD39FAE2
80000001 00000000
005A7B10 000E0000
041C6CE0 482336D1
025A7A00 00130000
025A7900 003B0000
043E399C 80BC0020
025A78A0 00070000
043DBAEC 800302A4
025A78D0 000B0000
041CDF7C 818C0014
025A7800 004B0000
141CCF90 807F0000
025A7700 00230000
284F7881 00004200
04002F64 00000000
CC000000 00000000
04002F64 000000AF
225664EC 00000000
0401BFE0 4858BE20
065A7E00 00000070
38A00067 38810020
3CE0805A 60E37C18
4BE52531 38A0007F
3883FFE8 38610020
4BE52521 38A00068
60E47C18 38610020
9421FF80 BC410008
38610088 4BA74DB9
7C7C1B78 2C030000
4082000C 38210080
4800001C B8410008
38210080 4BE524E5
38610008 4BA742E1
7C7C1B78 4BA741E8
040223E0 48585BC0
065A7FA0 00000028
80010044 3C608001
6063581C 7C001800
4082000C 7FDDC850
3BDEFFE0 93DB0008
4BA7A424 00000000
0401CD0C 4858B1F4
065A7F00 00000038
2C030000 4182000C
4BA7DD51 4BA74E04
80780008 2C030000
41820014 8118000C
7C634214 7C7B1850
48000008 8078000C
4BA74DE0 00000000
043EE9D8 48000014
043EEBD4 48000014
043D8B9C 48000018
043E9B4C 38600000
043E9D38 38600000
043D8C80 60000000
80000000 80406920
80000001 805A7C00
8A001001 00000000
045A7C10 2F525342
045A7C14 452F7066
22002F48 DD39FAE2
80000001 805A7B00
8A001001 00000000
065A7B10 0000000F
2F525342 452F7066
2F736F75 6E642F00
041C6CE0 483E0D20
065A7A00 00000028
9421FF80 BC410008
3C60805A 60637B1F
4BE52931 B8410008
38210080 4BE52995
4BC1F2C4 00000000
065A7900 00000078
9421FF80 7C0802A6
9001000C BC810010
9421FF00 7C872378
54B2BA7E 7CD33378
38800000 9081000C
90810010 90610014
90810018 3880FFFF
9081001C 38610020
90610008 7CE43B78
38A00080 4BE529F5
38610008 4BA752A1
60000000 80210000
B8810010 8001000C
7C0803A6 80210000
4E800020 00000000
043E399C 481C3F04
065A78A0 00000010
80BC0020 7CA59214
3A400000 4BE3C0F4
043DBAEC 481CBDE4
065A78D0 00000018
800302A4 2C130000
41820008 7E609B78
3A600000 4BE3420C
041CDF7C 483D9884
065A7800 00000098
818C0014 9421FF80
BC410008 3D009034
61089D94 7C034000
4082003C 7C882378
3C60804D 60630000
3C80805A 60847B00
7CC53378 38C04200
80E40080 2C070000
40820014 60000000
480000B9 2C030000
41820010 B8410008
80210000 4BC26724
70A501FF 3868FFFF
3C80804C 6084FFFF
7C842A14 38A04001
38A5FFFF 8C040001
9C030001 2C050000
4082FFF0 B8410008
80210000 4BC2670C
141CCF90 483DA770
065A7700 00000048
9421FF80 BC410008
7FE3FB78 3C80805A
60847B00 38A00000
38C04000 480001E5
90640080 807F0008
907A0014 907A005C
907A0074 B8410008
80210000 807F0000
4BC25854 00000000
E0000000 80008000
20002F64 000000AF
4A000000 90000000
38180F3A FF000028
04002F44 0000FACE
04002F48 00000F23
38180F3B FF000000
04002F44 0000FACE
20002F45 0000FACE
04002F40 C467C79A
3A180F3B FF000028
3A180F3A FF000000
04002F44 0000BABE
E2000002 00000000
4A000000 80623320
36000000 00000032
58010000 00000004
DE000000 80008180
58010000 00000060
DE000000 80008180
58010000 0000007C
DE000000 80008180
3800003A 0000010E
04002F48 DD39FAE2
E2000005 00000000
22002F48 DD39FAE2
284DE4B0 FF3F00C0
04002F40 000FFA33
284DE4B9 FF3F00C0
04002F40 000FFA33
284DE4C1 FF3F00C0
04002F40 000FFA33
284DE4C9 FF3F00C0
04002F40 000FFA33
E0000000 80008000
20002F64 000000AF
20002F40 000FFA33
225664EC 00000000
0401BFE0 4858BE20
065A7E00 00000070
38A00067 38810020
3CE0805A 60E37C18
4BE52531 38A0007F
3883FFE8 38610020
4BE52521 38A00068
60E47C18 38610020
9421FF80 BC410008
38610088 4BA74DB9
7C7C1B78 2C030000
4082000C 38210080
4800001C B8410008
38210080 4BE524E5
38610008 4BA742E1
7C7C1B78 4BA741E8
040223E0 48585BC0
065A7FA0 00000028
80010044 3C608001
6063581C 7C001800
4082000C 7FDDC850
3BDEFFE0 93DB0008
4BA7A424 00000000
0401CD0C 4858B1F4
065A7F00 00000038
2C030000 4182000C
4BA7DD51 4BA74E04
80780008 2C030000
41820014 8118000C
7C634214 7C7B1850
48000008 8078000C
4BA74DE0 00000000
043EE9D8 48000014
043EEBD4 48000014
043D8B9C 48000018
043E9B4C 38600000
043E9D38 38600000
043D8C80 60000000
80000000 80406920
80000001 805A7C00
8A001001 00000000
045A7C10 2F525342
045A7C14 452F6D74
22002F48 DD39FAE2
80000001 805A7B00
8A001001 00000000
065A7B10 0000000F
2F525342 452F6D74
2F736F75 6E642F00
041C6CE0 483E0D20
065A7A00 00000028
9421FF80 BC410008
3C60805A 60637B1F
4BE52931 B8410008
38210080 4BE52995
4BC1F2C4 00000000
065A7900 00000078
9421FF80 7C0802A6
9001000C BC810010
9421FF00 7C872378
54B2BA7E 7CD33378
38800000 9081000C
90810010 90610014
90810018 3880FFFF
9081001C 38610020
90610008 7CE43B78
38A00080 4BE529F5
38610008 4BA752A1
60000000 80210000
B8810010 8001000C
7C0803A6 80210000
4E800020 00000000
043E399C 481C3F04
065A78A0 00000010
80BC0020 7CA59214
3A400000 4BE3C0F4
043DBAEC 481CBDE4
065A78D0 00000018
800302A4 2C130000
41820008 7E609B78
3A600000 4BE3420C
041CDF7C 483D9884
065A7800 00000098
818C0014 9421FF80
BC410008 3D009034
61089D94 7C034000
4082003C 7C882378
3C60804D 60630000
3C80805A 60847B00
7CC53378 38C04200
80E40080 2C070000
40820014 60000000
480000B9 2C030000
41820010 B8410008
80210000 4BC26724
70A501FF 3868FFFF
3C80804C 6084FFFF
7C842A14 38A04001
38A5FFFF 8C040001
9C030001 2C050000
4082FFF0 B8410008
80210000 4BC2670C
141CCF90 483DA770
065A7700 00000048
9421FF80 BC410008
7FE3FB78 3C80805A
60847B00 38A00000
38C04000 480001E5
90640080 807F0008
907A0014 907A005C
907A0074 B8410008
80210000 807F0000
4BC25854 00000000
E0000000 80008000

on the fly costume switcher v2.0 P1 (GCC)
Code:
4A000000 90000000
284DE4B0 000008A8
04002F40 000AA7C7
12180FBD 00000000
284DE4B1 000008B8
04002F40 000FFA33
12180FBD 00000000
284DE4B1 000008A4
04002F40 000AA7C7
10180FBD 00000001
284DE4B1 000008B4
04002F40 000FFA33
10180FBD 00000001
284DE4B1 00000981
3A180FB8 00000900
04002F40 000AA7C7
10180FBD 00000002
E2000002 00000000
284DE4B0 00000991
3A180FB8 00000900
04002F40 000FFA33
10180FBD 00000002
E2000002 00000000
284DE4B0 00000988
04002F40 000AA7C7
10180FBD 00000003
284DE4B1 00000998
04002F40 000FFA33
10180FBD 00000003
284DE4B1 00000982
04002F40 000AA7C7
10180FBD 00000004
284DE4B1 00000992
04002F40 000FFA33
10180FBD 00000004
284DE4B1 00000984
04002F40 000AA7C7
10180FBD 00000005
284DE4B1 00000994
04002F40 000FFA33
10180FBD 00000005
284DE4B1 000008A1
04002F40 000AA7C7
10180FBD 00000006
284DE4B1 000008B1
04002F40 000FFA33
10180FBD 00000006
E0000000 80008000

on the fly costume switcher v2.0 P2 (GCC)
Code:
4A000000 90000000
284DE4B8 000008A8
04002F40 000AA7C7
12181019 00000000
284DE4B9 000008B8
04002F40 000FFA33
12181019 00000000
284DE4B9 000008A4
04002F40 000AA7C7
10181019 00000001
284DE4B9 000008B4
04002F40 000FFA33
10181019 00000001
284DE4B9 00000981
3A181014 00000900
04002F40 000AA7C7
10181019 00000002
E2000002 00000000
284DE4B8 00000991
3A181014 00000900
04002F40 000FFA33
10181019 00000002
E2000002 00000000
284DE4B8 00000988
04002F40 000AA7C7
10181019 00000003
284DE4B9 00000998
04002F40 000FFA33
10181019 00000003
284DE4B9 00000982
04002F40 000AA7C7
10181019 00000004
284DE4B9 00000992
04002F40 000FFA33
10181019 00000004
284DE4B9 00000984
04002F40 000AA7C7
10181019 00000005
284DE4B9 00000994
04002F40 000FFA33
10181019 00000005
284DE4B9 000008A1
04002F40 000AA7C7
10181019 00000006
284DE4B9 000008B1
04002F40 000FFA33
10181019 00000006
E0000000 80008000

on the fly costume switcher v2.0 P3 (GCC)
Code:
4A000000 90000000
284DE4C0 000008A8
04002F40 000AA7C7
12181075 00000000
284DE4C1 000008B8
04002F40 000FFA33
12181075 00000000
284DE4C1 000008A4
04002F40 000AA7C7
10181075 00000001
284DE4C1 000008B4
04002F40 000FFA33
10181075 00000001
284DE4C1 00000981
3A181070 00000900
04002F40 000AA7C7
10181075 00000002
E2000002 00000000
284DE4C0 00000991
3A181070 00000900
04002F40 000FFA33
10181075 00000002
E2000002 00000000
284DE4C0 00000988
04002F40 000AA7C7
10181075 00000003
284DE4C1 00000998
04002F40 000FFA33
10181075 00000003
284DE4C1 00000982
04002F40 000AA7C7
10181075 00000004
284DE4C1 00000992
04002F40 000FFA33
10181075 00000004
284DE4C1 00000984
04002F40 000AA7C7
10181075 00000005
284DE4C1 00000994
04002F40 000FFA33
10181075 00000005
284DE4C1 000008A1
04002F40 000AA7C7
10181075 00000006
284DE4C1 000008B1
04002F40 000FFA33
10181075 00000006
E0000000 80008000

on the fly costume switcher v2.0 P4 (GCC)
Code:
4A000000 90000000
284DE4C8 000008A8
04002F40 000AA7C7
121810D1 00000000
284DE4C9 000008B8
04002F40 000FFA33
121810D1 00000000
284DE4C9 000008A4
04002F40 000AA7C7
101810D1 00000001
284DE4C9 000008B4
04002F40 000FFA33
101810D1 00000001
284DE4C9 00000981
3A1810CC 00000900
04002F40 000AA7C7
101810D1 00000002
E2000002 00000000
284DE4C8 00000991
3A1810CC 00000900
04002F40 000FFA33
101810D1 00000002
E2000002 00000000
284DE4C8 00000988
04002F40 000AA7C7
101810D1 00000003
284DE4C9 00000998
04002F40 000FFA33
101810D1 00000003
284DE4C9 00000982
04002F40 000AA7C7
101810D1 00000004
284DE4C9 00000992
04002F40 000FFA33
101810D1 00000004
284DE4C9 00000984
04002F40 000AA7C7
101810D1 00000005
284DE4C9 00000994
04002F40 000FFA33
101810D1 00000005
284DE4C9 000008A1
04002F40 000AA7C7
101810D1 00000006
284DE4C9 000008B1
04002F40 000FFA33
101810D1 00000006
E0000000 80008000

COSTUME SWAP LIST
--------------------------------
SET 1
--------------------------------
first costume (Fit*00) - R+Y+up
second costume (Fit*01) - R+Y+down
third costume (Fit*02) - A+Y+left
fourth costume (Fit*03) - A+Y+up
fifth costume (Fit*04) - A+Y+right
sixth costume (Fit*05) - A+Y+down
2nt/3rd costume (Fit*06) - R+Y+left <- some characters don't have a 00-05 and instead have a 06
--------------------------------
SET 2
--------------------------------
first costume (Fit*00) - R+Y+Z+up
second costume (Fit*01) - R+Y+Z+down
third costume (Fit*02) - A+Y+Z+left
fourth costume (Fit*03) - A+Y+Z+up
fifth costume (Fit*04) - A+Y+Z+right
sixth costume (Fit*05) - A+Y+Z+down
2nt/3rd costume (Fit*06) - R+Y+Z+left <- some characters don't have a 00-05 and instead have a 06
5  Super Smash Bros. Brawl Hacking / General Hacking Discussion / On the fly costume switcher on: December 22, 2009, 08:19:46 AM
A code any texture enthusiast would love http://wiird.l0nk.org/forum/index.php/topic,257.msg42127.html#msg42127

You need the pac file for it to work with custom textures though ya so include them from now on kthx
Pages: [1]