PhoenixLuzhin
Smash Rookie
- Joined
- Nov 9, 2016
- Messages
- 3
Wow, it's been so long that I've forgotten my login information or which email I used to to make my account.
So, I figured I'd update everyone on the issues that I've been having with this code (and how i've fixed them so far).
Brawl allocates roughly 3.9 MB of memory for sc_selcharacter.pac, which houses all of the portraits. To address this problem, I created codes that expand MenuResource memory and add memory to the resource pool without affecting wifi data (to my knowledge). I was able to increase the uncompressed size of sc_selcharacter.pac to about 8.9 MB, but this method ONLY works on Dolphin (or theoretically, dev hardware, but most people don't have access to that).
The only other solution, then, would be to load the portraits externally. PhantomWings did this a while ago in his BrawlEX Roster Expansion, but his external loading method clogged the game's loading buffer, thus causing an absurd amount of lag.
My method does the following:
So, I figured I'd update everyone on the issues that I've been having with this code (and how i've fixed them so far).
Brawl allocates roughly 3.9 MB of memory for sc_selcharacter.pac, which houses all of the portraits. To address this problem, I created codes that expand MenuResource memory and add memory to the resource pool without affecting wifi data (to my knowledge). I was able to increase the uncompressed size of sc_selcharacter.pac to about 8.9 MB, but this method ONLY works on Dolphin (or theoretically, dev hardware, but most people don't have access to that).
The only other solution, then, would be to load the portraits externally. PhantomWings did this a while ago in his BrawlEX Roster Expansion, but his external loading method clogged the game's loading buffer, thus causing an absurd amount of lag.
My method does the following:
- Fixes a bug that causes the game to load the portrait file every single time a costume is changed.
- Changes the loading routine entirely so that the buffer thread doesn't get clogged up, thus fixing the lag
- Should allow for 20 portraits per character (in CMPR format for now)
- Allows for portraits for any number of BEX clones