Home Gallery Resources The Team Rules chat Login Register
Pages: [1]
Author Topic: [SOLVED] Trouble getting Ganon's 11th/12th cBliss costumes working (P:M 3.0)  (Read 1682 times)
0 Members and 1 Guest are viewing this topic.
FreakyMutantMan
Newbie Kitten
*
Offline Offline

Posts: 3


View Profile Awards
« on: May 28, 2014, 05:33:44 PM »


EDIT: Problem has been solved! See the third reply (which should be by me and look fairly long) for details.

Recently, I have added cBliss to my build of Project M (using the cBliss Tool), and decided to give Ganondorf 12 costumes, seeing as there's just a ridiculous amount of stuff for him out there. I whipped up some very basic CSPs and BPs for the 11th and 12th costumes, and copied Ganondorf's default stock icon twice over for the stock icons. I am able to play through a match with both costumes in play and both CSPs and BPs seem to show up correctly; however, the game freezes once the match ends. This also happens if someone simply scrolled through Ganon's costumes on the CSS without actually picking him prior to the match.

I'm guessing that I placed the stock icons incorrectly; however, I'm not actually sure what would be the proper place to put them. I tried with them placed at 201 and 202, and afterwards at 202 and 203 (figuring that the empty icon at 201 might be skipped over); however, neither solved the issue. I have not been able to find any clarification on where to put the stock icons; would anyone here happen to know where they should go? Or if there may be some other reason for the results screen failing to load? Thanks in advance!
« Last Edit: June 01, 2014, 10:11:12 AM by FreakyMutantMan » Logged

Makarew
Extreme Kitten
*******
Offline Offline

Posts: 353


  • Awards Hot Topic RAGE!! Ceiling Cat

  • View Profile WWW Awards
    « Reply #1 on: May 28, 2014, 06:29:47 PM »


    You need to add the result portraits.
    Logged


    FreakyMutantMan
    Newbie Kitten
    *
    Offline Offline

    Posts: 3


    View Profile Awards
    « Reply #2 on: May 28, 2014, 06:43:40 PM »


    You need to add the result portraits.

    I did, actually. Guess I probably should have clarified that.
    « Last Edit: May 28, 2014, 06:59:33 PM by FreakyMutantMan » Logged

    FreakyMutantMan
    Newbie Kitten
    *
    Offline Offline

    Posts: 3


    View Profile Awards
    « Reply #3 on: June 01, 2014, 10:08:06 AM »


    The problem has been fixed after some advice from Mewtwo2000!

    What I had done wrong was actually something I had neglected to mention in my initial description of the problem; rather than manually add and replace the results portraits in MenSelchrFaceB190.brres, I had simply exported MiscData[19] as a .brres, renamed it, and replaced the former file with that.

    As it turns out, however, MenSelchrFaceB190.brres is actually a little different from MiscData[19] in one small, but incredibly crucial way; where MiscData[19] (along with the other characters' CSP files) is compressed in LZ77, MenSelchrFaceB190.brres (and, similarly, the other characters' Result Portrait files) has no compression. Not the compression of the individual portraits, mind (which, in my case, are all stored as CMPRs), but the compression of the .brres as a whole, which you can see in BrawlBox from the .brres's root.

    This, as it turns out, was causing the crashes, not any lack of stock icons, which aren't actually necessary for anything but the 1p modes. Brawl doesn't like being given compression it's not expecting, it seems. As an additional note, I was experiencing the crashes even when picking one of the default costumes without scrolling through any of the additional costumes; this may have helped to mention in the initial description, it turns out. It seems it slipped my mind initially.

    To fix it, I copied the original MenSelchrFaceB190.brres I started with (from a pre-made pack of PM 3.0 ready cBliss cosmetic files), manually added in the portraits I had created (as well as replacing the portraits of default costumes I had replaced), popped it in, and bam! Everything was working now; no more freezes of any kind going into the results screen!

    I hope this might prove helpful to anyone else having problems trying to get Ganon's extra costumes working 100%; given that I clearly missed wherever the critical difference in compression between MiscData[19] and MenSelchrFaceB190.brres might have been documented, I have to imagine someone else out there either has or will manage to miss it as well, especially considering it didn't even occur to me that something like that could have been the issue. As far as I was aware, there was literally no point I knew of where I could have screwed up such a simple process; but as it turned out, yeah, yeah I did. Hopefully, anybody else trying to figure this out in the future will only need to see this post to resolve it.

    TL;DR: Don't simply copy MiscData[19] over MenSelchrFaceB190.brres, because the former is LZ77 compressed and the latter has no compression, and the game will not be able to load either if the compression is wrong. Instead, add the raw CSPs manually to MenSelchrFaceB190.brres, make sure the compression is set to none for the .brres itself, NOT the individual CSPs (which should probably be encoded as CMPRs for file-size reasons).
    Logged

    Pages: [1]
    Print
    Jump to: