Hacking SSBB Texture Swaps

The Teej

Also known as The Tjalian
Former Staff
Joined
Jun 27, 2004
Messages
4,210
Trophies
0
Age
37
Location
England
Website
zeldapower.com
XP
643
Country
Sounds awesome that you guys are learning how the file format for SSBB. Will you eventually learn even more about the file format and learn how to modify the actual model itself (i.e. the verts), or are you just stopping at textures?
 

Pharrox

Well-Known Member
Newcomer
Joined
Mar 4, 2007
Messages
47
Trophies
0
XP
180
Country
United States
Uhh. Keshire, sorry to be a pain, but another question. The last .brres batch file makes the folders as *(NW4R)\###. Could you change it so it makes them as ###\*(NW4R)? I'm currently working with a .pac that has over 160 .brres files in it.
 

Raganook

Raganook
OP
Member
Joined
Aug 15, 2006
Messages
717
Trophies
0
Website
Visit site
XP
339
Country
United States
Pharrox said:
Uhh. Keshire, sorry to be a pain, but another question. The last .brres batch file makes the folders as *(NW4R)\###. Could you change it so it makes them as ###\*(NW4R)? I'm currently working with a .pac that has over 160 .brres files in it.

Pharrox, I don't know if you read, but that wonderful file you had wasn't the right one ;(. Oh this is so frustrating >
 

Keshire

Well-Known Member
Member
Joined
Sep 8, 2007
Messages
145
Trophies
0
Age
44
Website
Visit site
XP
193
Country
United States
Pharrox said:
Uhh. Keshire, sorry to be a pain, but another question. The last .brres batch file makes the folders as *(NW4R)\###. Could you change it so it makes them as ###\*(NW4R)? I'm currently working with a .pac that has over 160 .brres files in it.

I don't remember if the move command can move entire folders or not. So I don't know off the top of my head. I'll play with it when I get to work.
 

Pharrox

Well-Known Member
Newcomer
Joined
Mar 4, 2007
Messages
47
Trophies
0
XP
180
Country
United States
Thanks.

Would you need to? Couldn't you just make the ### folders named after the files, then in each one put all the possible (NW4R) folders, then extract, copy to the files to the matching folder, then delete any empty ones?

Not that I mean to sound like I know what I'm talking about, but that's the impression I got as to how the last one worked, which was why I am asking.

I tried to edit what you wrote myself, just by switching the folders so the numbers came first. I got some weird results. For example the .brres files were in my folder:

Code:
E:\extracts\menu2\decrypted\mu_menumain_en15\

When I tried to run it it would put the extracted files in folders named:

Code:
E:\extracts\menu2\decrypted\mu_menumain_en15\###\*(NW4R)\extracts\menu2\decrypted\mu_menumain_en15\
So it would sort the files right, make the ### folders with the (NW4R) folders inside, but then for some reason in there it would put all the other folders in the path.
 

Raganook

Raganook
OP
Member
Joined
Aug 15, 2006
Messages
717
Trophies
0
Website
Visit site
XP
339
Country
United States
As if you couldn't have guessed...

...Minun joins his "twin". Welcome aboard!
tongue.gif


Awww, isn't the third picture super-cute!
tongue.gif


Well! This isn't "triplets" week, so I suppose a new hint is in order!

HINT:
*It's what's inside that counts.
 

g0dia

Member
Newcomer
Joined
Jan 29, 2008
Messages
17
Trophies
0
XP
57
Country
Gambia, The
Whoho awesome. Great work.
bow.gif
bow.gif

Is it in possibel that you can make a tutorial how everybody can make it himself in addition with the textures when your work is finished
 

Raganook

Raganook
OP
Member
Joined
Aug 15, 2006
Messages
717
Trophies
0
Website
Visit site
XP
339
Country
United States
g0dia said:
Whoho awesome. Great work.
bow.gif
bow.gif

Is it in possibel that you can make a tutorial how everybody can make it himself in addition with the textures when your work is finished

First post. Special thanks. "Pharrox"
 

Keshire

Well-Known Member
Member
Joined
Sep 8, 2007
Messages
145
Trophies
0
Age
44
Website
Visit site
XP
193
Country
United States
Pharrox said:
Thanks.

Would you need to? Couldn't you just make the ### folders named after the files, then in each one put all the possible (NW4R) folders, then extract, copy to the files to the matching folder, then delete any empty ones?

Not that I mean to sound like I know what I'm talking about, but that's the impression I got as to how the last one worked, which was why I am asking.

I tried to edit what you wrote myself, just by switching the folders so the numbers came first. I got some weird results. For example the .brres files were in my folder:

Code:
E:\extracts\menu2\decrypted\mu_menumain_en15\

When I tried to run it it would put the extracted files in folders named:

Code:
E:\extracts\menu2\decrypted\mu_menumain_en15\###\*(NW4R)\extracts\menu2\decrypted\mu_menumain_en15\
So it would sort the files right, make the ### folders with the (NW4R) folders inside, but then for some reason in there it would put all the other folders in the path.

It was a simple change. You can just move the entire folder instead of the files in it.
CODEfor /R %%I in (*.brres) do (
mkdir "%%~pI3DModels(NW4R)\%%~nI"
mkdir "%%~pIAnmChr(NW4R)\%%~nI"
mkdir "%%~pIAnmClr(NW4R)\%%~nI"
mkdir "%%~pIAnmTexPat(NW4R)\%%~nI"
mkdir "%%~pIAnmTexSrt(NW4R)\%%~nI"
mkdir "%%~pIAnmVis(NW4R)\%%~nI"
mkdir "%%~pIPalettes(NW4R)\%%~nI"
mkdir "%%~pITextures(NW4R)\%%~nI"
mkdir "%%~pI%%~nI"
SSBExtract "%%I"
move "%%~pI3DModels(NW4R)" "%%~pI%%~nI"
move "%%~pIAnmChr(NW4R)" "%%~pI%%~nI"
move "%%~pIAnmClr(NW4R)" "%%~pI%%~nI"
move "%%~pIAnmTexPat(NW4R)" "%%~pI%%~nI"
move "%%~pIAnmTexSrt(NW4R)" "%%~pI%%~nI"
move "%%~pIAnmVis(NW4R)" "%%~pI%%~nI"
move "%%~pIPalettes(NW4R)" "%%~pI%%~nI"
move "%%~pITextures(NW4R)" "%%~pI%%~nI"
) >> SSB_log.txt
for /R %%a in (*.tpl) do (
tplconv "%%a"
del "%%a"
) >> TPL_Log.txt
for /f "usebackq delims=" %%d in (`"dir /ad/b/s | sort /R"`) do rd "%%d"
pause

Also. There are character portraits in the info/portrite/ folder. Nothing but character portraits.
 

Pharrox

Well-Known Member
Newcomer
Joined
Mar 4, 2007
Messages
47
Trophies
0
XP
180
Country
United States
I really am stumpted with this whole selection screen thing. However, I did find something interesting that could be of help. I did a complete hex search of the full 8gb iso. At around 16% I found the phrase I was searching for, "MenSelchrFaceB.001". It is the name of the first .tpl file for the character portraits.

From there I searched up to the nearest .pac file, using the keyword "ARC". What I got was Stageedit_en.pac. When I checked this on the disk I found it was right before the "common" folder in the "menu" directory. I dismissed it because it comes right before a known false location for those textures.

I kept searching the iso and found another occurance at around 30%. Once again I checked the closest .pac and it once again came up as Stageedit_en.pac. This means that there are two stage edit_en.pacs, and one of them isn't discovered yet.

My first reaction was that the first occurance was pulled from the dummy data, so I checked that and it isn't coming from there. Also, because of how it appeared in my search, it isn't lz77 compressed at all.

EDIT: or not... It seems like the more I mess with this the more I begin to think it's just a problem with my iso.
 

Raganook

Raganook
OP
Member
Joined
Aug 15, 2006
Messages
717
Trophies
0
Website
Visit site
XP
339
Country
United States
Pharrox said:
I really am stumpted with this whole selection screen thing. However, I did find something interesting that could be of help. I did a complete hex search of the full 8gb iso. At around 16% I found the phrase I was searching for, "MenSelchrFaceB.001". It is the name of the first .tpl file for the character portraits.

From there I searched up to the nearest .pac file, using the keyword "ARC". What I got was Stageedit_en.pac. When I checked this on the disk I found it was right before the "common" folder in the "menu" directory. I dismissed it because it comes right before a known false location for those textures.

I kept searching the iso and found another occurance at around 30%. Once again I checked the closest .pac and it once again came up as Stageedit_en.pac. This means that there are two stage edit_en.pacs, and one of them isn't discovered yet.

My first reaction was that the first occurance was pulled from the dummy data, so I checked that and it isn't coming from there. Also, because of how it appeared in my search, it isn't lz77 compressed at all.

EDIT: or not... It seems like the more I mess with this the more I begin to think it's just a problem with my iso.

That IS strange. Thanks for doing all this work =/. The .bin I gave you is REALLY obvious once you put it into the game, it turns Olimar's one-to-the-left costume into a black box with neon colors, in case you tried to test it out.

Unfortunately, it sounds almost like I'm going to have to go file-by-file until I find the damn thing =/. I can't believe it is so difficult to find....
 

Jademalo

Well-Known Member
Member
Joined
May 23, 2007
Messages
330
Trophies
0
XP
345
Country
Just a quick thing ive realised,

if you guys are going to do a shadow texture for sonic, there is already one in the game =p
 

Raganook

Raganook
OP
Member
Joined
Aug 15, 2006
Messages
717
Trophies
0
Website
Visit site
XP
339
Country
United States
I'm shocked no one is trying to figure the hint for today! I made sure to make it harder than I normally do, since you all always figure it out INSTANTLY
tongue.gif


You guys are in for QUITE a few surprises. Keeeep watching
tongue.gif


Pharrox, I just unpacked and uncompressed all three known locations to just make 500% sure I didn't make a mistake, and I'm 100% sure that my custom texture is in there. You may not have even had any doubts, but I did, so I wanted to check
ohmy.gif
.
 

rashef

Well-Known Member
Member
Joined
Apr 7, 2006
Messages
257
Trophies
1
Age
37
Location
Raimon
Website
www.youtube.com
XP
374
Country
Poland
Hmmmmmm... let me try then.

QUOTE said:
It's what's inside that counts.
Hmm Hmm... My guess would be it's either Snake (by |"It's what's inside that counts." => box => inside of box => Solid Snake => Liquid Snake / Raiden / Big Boss / Whatever other costume you might have thought of| logic) or Zero Suit Samus ( by |"It's what's inside that counts." => Don't judge book by it's cover => samus => final smash => Samus loses power suit => A girl ? Oo => Zero Suit Samus => zEro Zero Suit Samus/Joanna Dark (perfect Dark series)/8-bit (retro) ZSS/anything else you could've though of| logic)
 

Oath

Well-Known Member
Member
Joined
Jul 23, 2007
Messages
289
Trophies
0
Age
32
Location
My room
Website
Visit site
XP
182
Country
United States
Raganook said:
I'm shocked no one is trying to figure the hint for today! I made sure to make it harder than I normally do, since you all always figure it out INSTANTLY
tongue.gif

Hmmm, Id have to say Samus/ZSS. Whats on the inside that counts, samus is inside her suit. Just seems logical.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub: