• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

CSP is crashing wii. Have tried many options

pidgezero_one

((((((((((( ͡° ͜ʖ ͡°) gotta go fast!
Writing Team
Joined
Jul 13, 2011
Messages
4,459
Location
Toronto
NNID
pidgezero_one
3DS FC
3222-5601-4071
As the title says, I've made a new CSS that is crashing my wii.
  • All of my images (yes, all of them, I have triple checked this) are 128 x 160 px and were PNG files when I added them
  • I have tried loading with Riivolution 1.06 and Gecko 1.9.3.1 (with correct naming conventions), both give me this problem
  • I have tried loading the CSS as both sc_selcharacter_en.pac and common5_en.pac, does not make a difference either way
  • My common5_en compression is "none" and my sc_selcharacter_en compression is "LZ77"
  • I made this CSS in BrawlBox v0.67
  • Crash happens as soon as I try to get to the character select screen. Removing the css from my sd card prevents it from crashing.
my common5_en.pac file

Codes I am using:
Code:
ASF1nk's Custom CSS V2  [spunit262] [18 lines]
* 0668310C 00000030
* 387E006C 3B600000
* 3C808068 38840DE0
* 7CBB20AE 7CA50775
* 41800014 94A30004
* 3B7B0001 2C1B0032
* 4180FFE8 48000038
* 04690338 48000068
* 066900d8 00000008
* 2c170028 41820168
* 02680DE0 0022FFFF
* 06680DE0 0000002F
* 00010203 06070811
* 12091A0E 17161320
* 21260D05 14101F25
* 1B0B270C 15242218
* 0A231929 0F045D5E
* 5C4A4E40 464c5500

Custom Random V1 [spunit262] (10 Lines)
* 06685824 0000000C
* 3C608068 7C630214
* 88630E80 00000000
* 046857F0 3AE00028
* 06680E80 00000028
* 00090D0C 0515011A
* 0A071325 1002240E
* 0F140616 1F170304
* 0B190823 201B5D5E
* 5C112118 22122627

CSS Fix [Phantom Wings]
* 046A0C68 C2000000
* 0469DC18 40820030
* 0469DC40 2C030000
* 04689E88 60000000

CSS fixes for Samus/ZSS and Zelda/Shiek V2.1 [spunit262] (6 Lines)
* 04693D50 38800004
* 06693D6C 00000008
* 38000000 3880000F
* 046900E8 60000000
* 04697F58 60000000
* 04697EEC 60000000

Regular Zelda Icon (CSS) [spunit262]
* 046900E8 60000000

CSS fixes for Giga and Company V2 [spunit262] (10 Lines)
* C2684940 00000002
* 9BB400B8 57BD06BE
* 2C1D001B 00000000
* 040AF8D4 546025B6
* 040AF964 546025B6
* 040AF830 546025B6
* 040AF528 546025B6
* 040AF810 546025B6
* 040AF880 546025B6
* 040AF848 546025B6

Save Tags in Replays v3 [Y.S.]
* 0404B140 38A00000

Allow Replays Longer Than Three Minutes (brkirch)
* 040E5DE8 60000000
* 04953184 60000000
* 04953224 60000000

Unrestricted pause camera [Link, original Y.S.]
* 040A7D60 4E800020
* 04109D88 38800001

Unrestricted Replay Camera (6 lines)
* 0409E934 60000000
* 0409E93C 60000000
* 0409E9AC FC201890
* 0409E9B8 FC600090
* 0409E9BC FC000890
* 0409E9C8 FC001890

Default Settings Modifier [3stock/8min/TA on]
* 24494A98 80000000
* 20523300 00000000
* 04523300 DEADBEEF
* 42000000 90000000
* 0417F360 00000108
* 0417F364 03000A00
* 0417F368 08010101
* 0417F36C 01000000
* E0000000 80008000

Any help is appreciated.
 
Last edited:

tbtechwiz

Smash Apprentice
Joined
Jan 20, 2011
Messages
164
Location
the bravo chaahc
you need to hack the pellete too.

you cannot just import raw image files and it will work (RGB)
you need to load your CSP in photoshop, and convert its mode from RGB to INDEX 256 color, THEN import it to common5.

the game will freeze if the TEX0 has color information in it
and/or
the PLT0 for it is missing or not used
 

pidgezero_one

((((((((((( ͡° ͜ʖ ͡°) gotta go fast!
Writing Team
Joined
Jul 13, 2011
Messages
4,459
Location
Toronto
NNID
pidgezero_one
3DS FC
3222-5601-4071
you need to hack the pellete too.

you cannot just import raw image files and it will work (RGB)
you need to load your CSP in photoshop, and convert its mode from RGB to INDEX 256 color, THEN import it to common5.

the game will freeze if the TEX0 has color information in it
and/or
the PLT0 for it is missing or not used
Every one of my images is indexed to 256 colours or less, I have double checked this.

In fact, I did some more digging: My CSS works fine now after changing some of my 16-or-less colour pictures to encode with I4 instead of I8. Now, I've moved onto character icons.

The character icons were working fine, all are 80x56 PNGs from 2D sprite games so the filesizes are all tiny. All indexed in photoshop. That is, they were all working fine until I got up to Ivysaur, which crashed my wii. I tried again by keeping Ivysaur and removing Squirtle (Squirtle has never caused problems), and then the wii didn't crash.

Since my images are all so small, is it possible for it to crash due to the filesize being too small? Is it possible to crash after a certain number of images? Both of these sound preposterous, but there seems to be no consistency in what does and does not work.
 

tbtechwiz

Smash Apprentice
Joined
Jan 20, 2011
Messages
164
Location
the bravo chaahc
Every one of my images is indexed to 256 colours or less, I have double checked this.

In fact, I did some more digging: My CSS works fine now after changing some of my 16-or-less colour pictures to encode with I4 instead of I8. Now, I've moved onto character icons.

The character icons were working fine, all are 80x56 PNGs from 2D sprite games so the filesizes are all tiny. All indexed in photoshop. That is, they were all working fine until I got up to Ivysaur, which crashed my wii. I tried again by keeping Ivysaur and removing Squirtle (Squirtle has never caused problems), and then the wii didn't crash.

Since my images are all so small, is it possible for it to crash due to the filesize being too small? Is it possible to crash after a certain number of images? Both of these sound preposterous, but there seems to be no consistency in what does and does not work.
the images have to be a very specific dimention

like you cant use 16x16 sprites in the CSP

the resolution of the texture must be exact to the original

the format you use must also be one that uses a pallete (recomends the original image format when importing)
 

pidgezero_one

((((((((((( ͡° ͜ʖ ͡°) gotta go fast!
Writing Team
Joined
Jul 13, 2011
Messages
4,459
Location
Toronto
NNID
pidgezero_one
3DS FC
3222-5601-4071
the images have to be a very specific dimention

like you cant use 16x16 sprites in the CSP

the resolution of the texture must be exact to the original

the format you use must also be one that uses a pallete (recomends the original image format when importing)
My images are all 80 x 56 for the icons (the portraits are working fine), except for the random icon which is 88 x 64 like it is in the original common5.pac. All of them are encoded as CMPR like the originals. I'm not sure the images themselves are the root of the problem, because like I said earlier it's crashing after a certain number of imports, regardless of which pictures are there (it can accept ivysaur, or squirtle, but not both).
 
Last edited:

tbtechwiz

Smash Apprentice
Joined
Jan 20, 2011
Messages
164
Location
the bravo chaahc
CSPs should follow this exact characteristics
128x160
CL8 on import
has pallete=true (importing an indexed PNG file)

I have more than 10 CSPs and 2 over ivy and squirtle at the same time, and no freeze
what i did do because it pissed me off cuz it froze was made a 2 color rareware logo csp and tapped it over dededede and such so it wouls stop freezing lol
 

pidgezero_one

((((((((((( ͡° ͜ʖ ͡°) gotta go fast!
Writing Team
Joined
Jul 13, 2011
Messages
4,459
Location
Toronto
NNID
pidgezero_one
3DS FC
3222-5601-4071
CSPs should follow this exact characteristics
128x160
CL8 on import
has pallete=true (importing an indexed PNG file)

I have more than 10 CSPs and 2 over ivy and squirtle at the same time, and no freeze
what i did do because it pissed me off cuz it froze was made a 2 color rareware logo csp and tapped it over dededede and such so it wouls stop freezing lol
The CSPs are not what's making the wii crash, it's the icons (when I originally made this thread it was the CSPs, but I fixed that issue with compression, in retrospect I should have made another thread, but I believe my issue is still related to overall filesize). CSP icons are not 128 x 160, they're 80 x 56, and also since it's MiscData[70] there are no corresponding palette files.

This might be easier over IRC (I'm pidgezero_one)
 
Last edited:

pidgezero_one

((((((((((( ͡° ͜ʖ ͡°) gotta go fast!
Writing Team
Joined
Jul 13, 2011
Messages
4,459
Location
Toronto
NNID
pidgezero_one
3DS FC
3222-5601-4071
I think I'm onto something.

My custom icon for Squirtle is 3.26 KB. Replacing the original Squirtle icon with it (and leaving the original Ivysaur icon intact) does not crash the wii.

Replacing the original Squirtle icon with it (and also replacing the original Ivysaur with my own custom one) crashes the Wii. My common5.pac file is 3,116 kb with this.

Replacing my custom Squirtle with ASF1nk's blue Squirtle icon (5.37 kb), and keeping my custom Ivysaur icon, increases my common5.pac's filesize to 3,117 KB. My wii does not crash under this circumstance.

I'm starting to think that a file being too small might actually cause a problem.
 

tbtechwiz

Smash Apprentice
Joined
Jan 20, 2011
Messages
164
Location
the bravo chaahc
I think I'm onto something.

My custom icon for Squirtle is 3.26 KB. Replacing the original Squirtle icon with it (and leaving the original Ivysaur icon intact) does not crash the wii.

Replacing the original Squirtle icon with it (and also replacing the original Ivysaur with my own custom one) crashes the Wii. My common5.pac file is 3,116 kb with this.

Replacing my custom Squirtle with ASF1nk's blue Squirtle icon (5.37 kb), and keeping my custom Ivysaur icon, increases my common5.pac's filesize to 3,117 KB. My wii does not crash under this circumstance.

I'm starting to think that a file being too small might actually cause a problem.
if using gecko to replace files, commong 5 has to be an exact size in KB or it will freeze

too big by 1kb, BEEEEEEEEEE
too small by 1 KB BEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

riivo does not have this problem and its sad everyone likes to deal with it and people have went from modding everyting, to only using character textures back when textures were hard to do
 

pidgezero_one

((((((((((( ͡° ͜ʖ ͡°) gotta go fast!
Writing Team
Joined
Jul 13, 2011
Messages
4,459
Location
Toronto
NNID
pidgezero_one
3DS FC
3222-5601-4071
if using gecko to replace files, commong 5 has to be an exact size in KB or it will freeze

too big by 1kb, BEEEEEEEEEE
too small by 1 KB BEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

riivo does not have this problem and its sad everyone likes to deal with it and people have went from modding everyting, to only using character textures back when textures were hard to do
I'm using riivo
 
Top Bottom