Hacking [Release] BFRES Texture Injector

mariosonicds

Well-Known Member
OP
Member
Joined
Oct 9, 2009
Messages
143
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

  • TextureInjector.zip
    3.1 KB · Views: 1,063
Last edited by mariosonicds,

mhayen

Active Member
Newcomer
Joined
Mar 10, 2016
Messages
28
Trophies
0
Age
43
XP
128
Country
Canada
do it work with wii and gc game? thinking about putting the already made hi rez texture pack for rogue squadron 2,3.
 

mariosonicds

Well-Known Member
OP
Member
Joined
Oct 9, 2009
Messages
143
Trophies
1
XP
466
Country
United States
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,

aracom

Well-Known Member
Member
Joined
Oct 1, 2015
Messages
476
Trophies
0
XP
363
Country
Gambia, The
Have you tested Splatoons BFRES format? NWPs Texhax had some problems with that, just getting crashes when going ingame. I'll try yours later.
 

aracom

Well-Known Member
Member
Joined
Oct 1, 2015
Messages
476
Trophies
0
XP
363
Country
Gambia, The
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,

mariosonicds

Well-Known Member
OP
Member
Joined
Oct 9, 2009
Messages
143
Trophies
1
XP
466
Country
United States
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
 

aracom

Well-Known Member
Member
Joined
Oct 1, 2015
Messages
476
Trophies
0
XP
363
Country
Gambia, The
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 :/
 

mariosonicds

Well-Known Member
OP
Member
Joined
Oct 9, 2009
Messages
143
Trophies
1
XP
466
Country
United States
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.
 

mariosonicds

Well-Known Member
OP
Member
Joined
Oct 9, 2009
Messages
143
Trophies
1
XP
466
Country
United States
3 that's right. It's a depth map or a reflection map. The big chunks are compression artifacts.

Edit: what are you editing?
 

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
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,

Don Jon

Well-Known Member
Member
Joined
Nov 20, 2015
Messages
1,057
Trophies
0
Age
38
XP
1,496
Country
United States
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

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: @OctoAori20, Cool. Same here.