• 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!

[Modset4.2] Open BrawlBox/Lib Development Thread [PW's SSS support(PAT0 editing)]

libertyernie

Smash Ace
Joined
Oct 5, 2009
Messages
929
Location
Eau Claire, WI
I don't think it really matters what you use for your icons (as long as the PAT0 entries have the same name), but 60 makes the most sense.
I'm working on a common5.pac with 16 extra icons for N64 and Melee stages. Then I'll try sc_selmap.
 

br3compactor

Smash Ace
Joined
Apr 6, 2010
Messages
792
Location
Brazil
Just make'em indexed images. -__-

Not only them but all images there.

EDIT: I'll do it. :srs:

Just converted one.
One image indexed reduced the size in 4 KB.
 

Eternal Yoshi

I've covered ban wars, you know
Joined
Mar 3, 2007
Messages
5,450
Location
Playing different games
NNID
EternalYoshi
3DS FC
3394-4459-7089
indexing the new images(MenSelmapPrevbase.XX) in photoshop and inserting them in BB didn't seem to do anything to the file size.
 

br3compactor

Smash Ace
Joined
Apr 6, 2010
Messages
792
Location
Brazil
I'm indexing all of them.

Indexing CSS images makes a huge difference in filesize.
I assume SSS images won't be different.

Also, sc_selmap.

EDIT: Just realized that me indexing the pics will do no good to you guys, since we make our stage roster. Well, at least I can tell you guys if it worked for me.

EDIT2: Filezise change I mentioned last post was of the png.
I've just indexed a png with more than 13 KB difference.

EDIT3: Replacing all the MenSelmapPrevbase with their indexed counterpart changed the filesize from 1,12 MB to 1,10 MB. There's still marks, icons and names.
 

Super_Smash_Kid

Smash Apprentice
Joined
Jan 9, 2010
Messages
145
Location
Miami, FL
So I just tried it out - added all the prevbase's, names, icons, etc. to MiscData[80] > Textures and then added the entries to MiscData[80] > AnmTexPat > MenSelmapIcon and MenSelmapPreview - and it froze entering the SSS.

I then deleted the sc_selmap_en inside my common5 and replaced it with the one libertyernie uploaded and no freeze, but no changes either.

And yes I did change the SSS code so stage 40's icon is 3C, and nothing happened.

What do?
 

br3compactor

Smash Ace
Joined
Apr 6, 2010
Messages
792
Location
Brazil
I'm going to sleep (almost 01:00 here). Libertyernie I'd really appreciate if you could clarify the adding process to me. Tomorrow I'll finish indexing the pics and can test it to you guys. I'm pretty sure there's no need for resizing: indexing will do.
 

Eternal Yoshi

I've covered ban wars, you know
Joined
Mar 3, 2007
Messages
5,450
Location
Playing different games
NNID
EternalYoshi
3DS FC
3394-4459-7089
After trying it again, indexing the .png did reduce the file size by about 20KB.
Pity common5.pac wasn't affected at all.

Why so intent on using sc_selmmap again? I thought file patch code ignores it.
 

br3compactor

Smash Ace
Joined
Apr 6, 2010
Messages
792
Location
Brazil
FPC does read it. It just needs to be sc_selmap not sc_selmap_en in the menu2 folder.

I rather have a specific file for the SSS because I don't care about the rest anyway.
All I need changed is within this file. Also, if there's a problem, it's easier to see where is it when we have a file for each.
 

libertyernie

Smash Ace
Joined
Oct 5, 2009
Messages
929
Location
Eau Claire, WI
Well, I got something working and I wanted to post it here.
I added 16 MenSelmapIcon, MenSelmapPrevbase, MenSelmapFrontStname, MenSelmapMark and MenSelchrMark images, and the corresponding PAT0 entries. To save enough space in the file, I made EVERY MenSelmapPrevbase 88x88 instead of 176x176. This makes the preview images quite blurry indeed - but equally blurry. It doesn't bother me much, because, well, it works!

The MiscData[80] is here: http://www.mediafire.com/?aziz3xji4kwq5lj
Import it into common5.pac, sc_selmap.pac or as MiscData[0] into mu_menumain.pac.

Here's a Custom CSS code to go with it:
Code:
Classic Expansion SSS
* 046B8F5C 7C802378
* 046B8F64 7C6300AE
* 040AF618 5460083C
* 040AF68C 38840002
* 040AF6AC 5463083C
* 040AF6C0 88030001
* 040AF6E8 3860FFFF
* 040AF59C 3860000C
* 060B91C8 00000018
* BFA10014 7CDF3378
* 7CBE2B78 7C7D1B78
* 2D05FFFF 418A0014
* 006B929C 0000001F
* 066B99D8 0000001F
* 00010203 04050709
* 080A0B0C 0D0E0F10
* 11141516 1A191217
* 0618131D 1E1B1C00
* 006B92A4 0000001A
* 066B9A58 0000001A
* 1F202122 25242326
* 27282A2B 2C2D2E2F
* 30313233 34353637
* 38390000 00000000
* 06407AAC 00000074
* 01010202 03030404
* 05050606 07070808
* 0909330A 0B0B0C0C
* 0D0D0E0E 130F1410
* 15111612 17131814
* 19151C16 1D171E18
* 1F19201A 211B221C
* 231D241E 251F2932
* 2A332B34 2C352D36
* 2F373038 3139323A
* 2E3BFFFF 403C413D
* 423E433F 44404541
* 46424743 48444945
* 4A464B47 4C484D49
* 4E4A4F4B 00000000
I'm putting together a pack with all the remakes of old N64/Melee stages I can find. One of the icons is WWR, but that's going to be replaced with Melee Final Destination once the P:M demo is out.
If you want to use this MiscData[80] or Custom SSS code as a base, you can do so without crediting me.

Before I release the pack I will try indexing the images instead of resizing. How many colors should I use?
 

br3compactor

Smash Ace
Joined
Apr 6, 2010
Messages
792
Location
Brazil
The standard that Photoshop offers you. 256 IIRC.

On EY's version of PW's SRE code, do we need how many of each (preview, icon, etc)? IDR.

Don't forget to index MenSelmapFrontBg and maybe even resize it. It's one of the biggest pics and one that CAN be blurry.
 

ds22

Smash Lord
Joined
Aug 30, 2009
Messages
1,662
Location
Rotterdam, The Netherlands
In theory (and I tested this out ingame) it should be possible to add up to 37 new and different entries (although when I tested this I used the same set of pictures for 18 of the 37 entries and it even got to display a picture when hovering over the random button and the Melee/Normal stages button).
 

RandomTBush

Smash Ace
Joined
Aug 10, 2009
Messages
889
Location
Donut Plains
In theory (and I tested this out ingame) it should be possible to add up to 37 new and different entries (although when I tested this I used the same set of pictures for 18 of the 37 entries and it even got to display a picture when hovering over the random button and the Melee/Normal stages button).
I'm gonna see if I can get it to show all 37 different icons for my stage select menu. I just have to get all of the icons ready/made first.
 

Tcll

Smash Lord
Joined
Jul 10, 2010
Messages
1,780
Location
The Gates of Darkness
NNID
Tcll5850
hmm...
so basically what you guys are saying is "adding icons to the CSS and SSS is impossible"
because of the filisize limitations :/

I did a little something that sorta worked :/
(ran into a few errors recently)

think about the entire thing as a 7.92GB flash drive (the disk and SD combined)
in order to keep things from freezing, increase the size limit by making some files smaller...

eg: the movies in tot take up 3GB in space, so...
if you were to shrink the movie files down to 1 byte each,
you would thus gain ~3GB of space to use...

of course though,
we all know the movie files would normally freeze if we did that...
but it's just an example ;)

I've replaced the dummy1.dat, dummy2.dat, and border.dat and gained ~1.3MB of space
note: those files contain only '00' bytes


but you guys seem to be saying you can do it through coding??
^am I right on that, or did I mis-understand something?? :/

EDIT:
figured out the error... XDD
my bro's music replacements are extremely large :p
 

Captain Kwark

Smash Apprentice
Joined
Jun 28, 2008
Messages
137
I can't save the changes made to MenSelchrMark.00 in lambert113.
It gives me a error message: the given key was not present in the dictionary.

EDIT: It seems it isn't just lambert113, but the entire file.
 

Tcll

Smash Lord
Joined
Jul 10, 2010
Messages
1,780
Location
The Gates of Darkness
NNID
Tcll5850
I have a slight prob as well...

due to my method of porting chars w/o affecting the others
my motion file becomes extremely large...

I havn't had any probs with it after working on Pachi,
but I have another char I'd like to add support to...

is it possible to increase the 7.92GB limit?? :/

btw, I don't think the files themselves have their own size limit as it's different for every user
eg: (Ike's motion file (I think)) had a 3.4MB limit for one user, but had a 5.8MB limit for another user...

IMO: DL'd hacks that take up less space allow you to make larger hacks that possibly won't work for other people...
(you've free'd some space)

I've been doing research in that area for quite some time now... :/
 

br3compactor

Smash Ace
Joined
Apr 6, 2010
Messages
792
Location
Brazil
Well, we could just not add the series logo and icon, but only a stage icon, preview and name.
The game'd load a previous one so we wouldn't get much of a filesize boost. It could even be the brawl ones (from Battlefield/FD).

Also, I need EY's code with the new icons values for every new stage.
I mean, with every custom stage having a new created icon.
 

Super_Smash_Kid

Smash Apprentice
Joined
Jan 9, 2010
Messages
145
Location
Miami, FL
Code:
EYoshi's Maxed Out SSS
* 046B8F5C 7C802378
* 046B8F64 7C6300AE
* 040AF618 5460083C
* 040AF68C 38840002
* 040AF6AC 5463083C
* 040AF6C0 88030001
* 040AF6E8 3860FFFF
* 040AF59C 3860000C
* 060B91C8 00000018
* BFA10014 7CDF3378
* 7CBE2B78 7C7D1B78
* 2D05FFFF 418A0014
* 006B929C 00000027
* 066B99D8 00000027
* 00010203 04050908
* 0A0B0C0D 0E0F1114
* 151A1917 06131D1B
* 1C1F2021 22252423
* 27280710 12161800
* 006B92A4 00000027
* 066B9A58 00000027
* 1E262A2B 2C2D2E2F
* 30313233 34353637
* 38393A3B 3C3D3E3F
* 40414243 44454647
* 48494A4B 4C4D4E00
* 06407AAC 000000A0
* 01010202 03030404
* 05050606 07070808
* 0909330A 0B0B0C0C
* 0D0D0E0E 130F1410
* 15111612 17131814
* 19151C16 1D171E18
* 1F19201A 211B221C
* 231D241E 251F2932
* 2A332B34 2C352D36
* 2F373038 3139323A
* 2E3BFFFF 403C413D
* 423E433F 44404541
* 46424743 48444945
* 4A464B47 4C484D49
* 4E4A4F4B 504C514D
* 524E534F 54505551
* 56525753 58545955
* 5A565B57 5C585D59
* 5E5A5F5B 605C615D
* 625E635F 64606501
 

Segtendo

Smash Hero
Joined
Dec 1, 2009
Messages
5,021
Location
Illinois
NNID
Segtend0
3DS FC
2552-4940-9357
^
Does it have it so that it can read the extra pictures in the sc_selmap.pac?
 

wildvine47

Smash Ace
Joined
Mar 19, 2009
Messages
964
Yeah, I'm having an issue here.

I got the stage icon/select picture/etc. working, but it also gave me another problem. Now whenever I hover over the Random button, it shows the triforce symbol and the "Legend of Zelda" mark used on Temple (and the stage I put in, Hyrule Castle).

Everything is named and numbered right, so what did I do wrong?
 

Super_Smash_Kid

Smash Apprentice
Joined
Jan 9, 2010
Messages
145
Location
Miami, FL
^
Does it have it so that it can read the extra pictures in the sc_selmap.pac?
Wait, what? O_o
Its a different custom CSS code??? If that's the case just take the bottom off (after FFFF) that has the custom stages + new icon IDs.

Mind sharing the new code? Or whatever it is I wasn't informed about -_-
 

Segtendo

Smash Hero
Joined
Dec 1, 2009
Messages
5,021
Location
Illinois
NNID
Segtend0
3DS FC
2552-4940-9357
I think you misread.
br3compactor was asking for EternalYoshi's maxed out CSS that can read the extra pictures in the sc_selmap.pac.
 

libertyernie

Smash Ace
Joined
Oct 5, 2009
Messages
929
Location
Eau Claire, WI
Well, we could just not add the series logo and icon, but only a stage icon, preview and name.
The game'd load a previous one so we wouldn't get much of a filesize boost. It could even be the brawl ones (from Battlefield/FD).
BrawlBox won't let me do that right now, because it won't let me give two PAT0 entries the same name. I think this is a bug, but maybe Bero knows something I don't.
Anyway, you could always just put in a 4x4 black image for the logo & icon.
 
Top Bottom