Hacking [Release] BFRES Texture Injector

  • Thread starter Thread starter mariosonicds
  • Start date Start date
  • Views Views 19,159
  • Replies Replies 48
  • Likes Likes 10

mariosonicds

Well-Known Member
Member
Joined
Oct 9, 2009
Messages
143
Reaction score
145
Trophies
1
XP
466
Country
United States
This is yet another tool for injecting textures into X game. This follow suit to my nut injector but formats are a bit more obscure... so i added a feature to inject similar formats. Best bet is to use AMDCompress to output a png and export to dds if supported.

******************************
*You need your own copy of TexConv2*
******************************

Usage

Extract
- python Bfres_check.py MYBFRES.bfres
-Prints out helpful info like
LuigiPupil_Alb ID:34 Has 8 Mips

Inject
EASY
-Edit EasyInject_BFRES to were you have your Bfres_inject.py
-Make folder with corsoding id's and the bfres to inject
-Copy your EasyInject_BFRES.bat into the folder
-Run
-Profit
Lenthy
-python Bfres_inject.py MYBFRES.bfres MYDDS.dds (Texture ID)

This a test in cemu with mk8
Orange Luigi
1254885191.jpg

9a6f23ec62.png

A Quick Tutorial


If you need some help, i might be able to... Kinda new to bfres business
 

Attachments

Last edited by mariosonicds,
do it work with wii and gc game? thinking about putting the already made hi rez texture pack for rogue squadron 2,3.
 
do it work with wii and gc game? thinking about putting the already made hi rez texture pack for rogue squadron 2,3.
No this is built around the Wii U in mind.... That's why there is "texconv2 is required"

Edit: Can't you just make a texture pack for dolphin.....
 
Last edited by mariosonicds,
Could you upload your luigi skin with the folders in tact as an example bro?
Thanks.
 
Have you tested Splatoons BFRES format? NWPs Texhax had some problems with that, just getting crashes when going ingame. I'll try yours later.
 
Yep, the first shirt is the bfres in content/Model/Clt_First_M.szs. We tried to edit them manually too, but with no success. Although I don't know if NWP tried any other methods.
 
Last edited by aracom,
Well, when I get home I'll give it a go. From the looks of it, there is a large portion in ati2n and ati1n. I had my way with these before, but I did not get a crash but a messed up texture. But T shirts should have bc1 or dtx1 for there color map.

Lov5nSH.png
 
Tried to extract textures from that file, seems broken, pdn and photoshop all either crash(photoshop...) or say that there was a unknown error. Windows Texture Viewer can display 0, 1, 2 and 4, but the normal map in 3 gets me another crash :/
 
Tried to extract textures from that file, seems broken, pdn and photoshop all either crash(photoshop...) or say that there was a unknown error. Windows Texture Viewer can display 0, 1, 2 and 4, but the normal map in 3 gets me another crash :/
Did you try amdcompress. Photoshop uses old dds standard. Kinda went over that in the quick tutorial.
 
3 that's right. It's a depth map or a reflection map. The big chunks are compression artifacts.

Edit: what are you editing?
 
Cafiine is better. Because you can change a whole game. But nice stuff tho. ^^
Not necessarily, Cafiine doesn't add any extra locks when sending files so if it doesn't wait and it tries to send it over the network like Sploon does with map models then it's gonna crash :\ Loadiine assures that files have been completed before moving on so you do need it for some things
Have you tested Splatoons BFRES format? NWPs Texhax had some problems with that, just getting crashes when going ingame. I'll try yours later.
I've only ever got it to work with clothes which is odd, no animated/complex models have ever worked.
 
Last edited by NWPlayer123,
Not necessarily, Cafiine doesn't add any extra locks when sending files so if it doesn't wait and it tries to send it over the network like Sploon does with map models then it's gonna crash :\ Loadiine assures that files have been completed before moving on so you do need it for some things

I've only ever got it to work with clothes which is odd, no animated/complex models have ever worked.
Looking foward for vertex editing for splatoon characters too
:/
 

Site & Scene News

Popular threads in this forum