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

Modifying PAT0 mapping in Project M 3.6b with BrawlStageManager corrupts the SSS

MFMAXY

Smash Apprentice
Joined
Sep 28, 2013
Messages
95
how do i modify the PAT0 manually? specifically trying to remap the menselmapmark and stuff on jungle japes stage
 

JDH

Smash Rookie
Joined
Jul 20, 2015
Messages
3
I'm normally just a lurker, but I made an account to reply to this.

I've been encountering the same issue as I'm trying to finish my custom build for 3.6b. I think I've narrowed down the cause of the problem but haven't found a convenient solution yet.

In BrawlBox, you can find the pat0 mappings in
sc_selmap.pac>MiscData[80]>AnmTexPat(NW4R)>MenSelmapPreview
Then, you can find the franchise icon / MenSelchrMark (ie the mushroom for the Mario franchise or pokeball for the Pokemon franchise) in the lambert113>Texture0 directory.
Same goes for franchise logos (MenSelmapMark) in pasted_stnamelogoM>Texture0

You can modify the pat0 mappings there by renaming the MenSelchrMark.xx files to another number (ie MenSelchrMark.01 to MenSelchrMark.05 to change icon from Mushroom to Yoshi Egg for that stage). The files in Texture0 are assigned to the Stages by the SSS order, so just open Brawl Stage Manager and set it to view by SSS order and you'll have an idea for which stage's icon you're editing (ie the third entry --MenSelchrMark.01 corresponds to Delfino's Secret, and the next entry to Luigi's Mansion and so on in order from that point). Some stages are missing but you'll be able to figure it out if you cross-reference with Stage Manager's listed pat0 mappings. I think you should be able to edit the textures of the missing stages directly since they seem to lack pat0 maps altogether (these show up with red boxes around the images in Stage Manager) but I haven't tested.

Now the problem is that for whatever reason, when you edit a file under MiscData[80]>AnmTexPat(NW4R)>MenSelmapPreview, it immediately resets all the other files to null that you haven't expanded into view (under MenSelmapPreview). You can circumvent this by expanding ALL drop boxes in MenSelmapPreview as far as I can tell, but either way this method is painfully slow. It should work, at least.

Brawl Stage Manager seems to have a similar but not quite as severe problem, where it only nullifies SOME entries which is why you get the garbled SSS ingame. Unfortunately it seems that exporting and replacing directories is broken in this particular area in BrawlBox and it will either just import null entries regardless of what you export or just crash altogether, so that avenue is a no-go as well. So far the only solution I've found is that extremely tedious one I mentioned earlier.

Anyways, sorry if this is a bit incomprehensible; I'm an on-again-off-again tinkerer who has barely used BrawlBox at all and hasn't read any tutorials or whatnot, so this is just what I've been able to piece together myself from messing around with it (and as such I'm not sure if my terminology is accurate here but hopefully you get the idea).

TL;DR - Just read the post. There's a (admittedly mediocre) solution in there somewhere and maybe by reading it you can help find a better solution.

EDIT: Clarity
 
Last edited:

squeakyboots13

Smash Journeyman
Joined
Oct 4, 2013
Messages
381
I think you should be able to edit the textures of the missing stages directly since they seem to lack pat0 maps altogether (these show up with red boxes around the images in Stage Manager) but I haven't tested.
The stages that show up with a red box in stage manager shares its icon with another stage and changing it in one stage changes it for both.

For reference, these stages are
Battlefield and Final Destination
Rumble Falls and 75m/N64 Kongo Jungle
Temple and Bridge of Eldin/Hyrule Castle
Norfair and Frigate Orpheon
Pokemon Stadium 2/Saffron City and Spear Pillar

Other stages that share series icons seem to be okay with being switched out though I have not tested all of them. Not sure why these stages specifically are having issues. Never had this problem back with 3.0 so I'm guessing it's something that was done in the newer version. I tried importing the mappings from a 3.0 custom build I had but that just created more weird graphical oddities in game.

I'm using libertyernie's stage expansion template if that makes any difference.
 
Top Bottom