Hacking BFRES Tool - a tool for injecting/extracting textures

AboodXD

I hack NSMB games, and other shiz.
OP
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
Released v3.0.

x86 version is in the works.

Changelog:
  • Show format on the "Replace" button.
  • Added the faster GTX Extractor. (won't be included in the x86 version)
 
  • Like
Reactions: FlappyFalco

Don Jon

Well-Known Member
Member
Joined
Nov 20, 2015
Messages
1,057
Trophies
0
Age
38
XP
1,496
Country
United States
thanks for the updates
gotta stop procastinating and do mario fludd over splatoon....
 

Don Jon

Well-Known Member
Member
Joined
Nov 20, 2015
Messages
1,057
Trophies
0
Age
38
XP
1,496
Country
United States
1i0wWxK.jpg


your program worked like a charm bro

I still need to fix a lot of shit on the model but it works cool
 
Last edited by Don Jon,

Louis Miles

Well-Known Member
Member
Joined
Jul 26, 2016
Messages
131
Trophies
0
Age
24
XP
759
Country
Germany
Hmm. Every texture i export, will look like this. So what i'm doing wrong? Do i need a specific python version or something?
 

Attachments

  • ALTER.png
    ALTER.png
    1 KB · Views: 455
Last edited by Louis Miles,

Ace212

Well-Known Member
Newcomer
Joined
Oct 23, 2016
Messages
68
Trophies
0
Age
54
XP
139
Country
United States
Hmm. Every texture i export, will look like this. So what i'm doing wrong? Do i need a specific python version or something?

You might be having a similar issue I was having with BOTW imports. I believe this is simply due to the replacement texture you are trying to import having a different texture format to the one you are wanting to replace. Are you sure you're saving your texture in the correct format?

EDIT: I just realized you meant EXPORT instead of IMPORT. My fault, ignore this.

--------------------- MERGED ---------------------------

If you send the BFRES file, that'd be more of a help.
btw, your tool does not properly open BOTW Tex1 BFRES files.
upload_2017-6-16_0-13-24.png
 
Last edited by Ace212,

Mizo

はじめまして私わみぞです、よろしく。
Member
Joined
May 27, 2016
Messages
283
Trophies
0
XP
441
Country
United States
A noob here, I always wanted to make/edit some textures but I have no idea how to do it :( so, I would like to make some textures for Fatal Frame V or BotW, what do I have to do? xD

Thanks for the tool!
 

Jhynjhiruu

Well-Known Member
Member
Joined
Dec 31, 2016
Messages
817
Trophies
0
Age
21
XP
1,708
Country
Can this be modded to work with Switch .sbfres files? (Assuming they are actually texture files :rolleyes:)
 

AboodXD

I hack NSMB games, and other shiz.
OP
Member
Joined
Oct 11, 2014
Messages
2,880
Trophies
1
Location
Not under a rock.
XP
2,921
Country
United Arab Emirates
Just released v4.0 which fixes the BOTW issue.
BFRES Tool doesn't use TexConv2 and GTX Extractor anymore in this release, which also fixes some issues a few users faced.
And finally, a 32bit build!

Download.

@Ace212 @Shrinefox
Regarding the BOTW issue, if the textures are from Tex1 BFRES files, you still need to open the extracted DDS files and change byte 0x1C to 01.
And when injecting, make sure you save the DDS without mipmaps or else you will face some issues.
And finally, you can ignore Tex2 BFRES files since they only contain mipmaps and no actual images/textures.
 
Last edited by AboodXD,
  • Like
Reactions: Don Jon

Yoshimaster96

Well-Known Member
Member
Joined
Jul 16, 2014
Messages
104
Trophies
0
XP
351
Country
United States
Currently compiling Wine from source (it takes forever), but in the meantime, is there a simple converter I can use instead? I really don't need the viewing feature, and am only interested in the model (preferably DAE, since OBJ doesn't allow rigs/animated models, but if there's only an OBJ converter I'll make do until I compile Wine, as long as it dumps all the textures too)
 
Last edited by Yoshimaster96,

Don Jon

Well-Known Member
Member
Joined
Nov 20, 2015
Messages
1,057
Trophies
0
Age
38
XP
1,496
Country
United States
Ooh nice is there a texture preview now? Also can we import different size textures now?
 

Halfhearthero

New Member
Newbie
Joined
Jun 1, 2019
Messages
1
Trophies
0
Age
27
XP
47
Country
United Kingdom
I've been trying to use this with NSMBU+NSLU for the past few days and I'm getting super weird results, some textures load in just fine, others completely crash cemu when the area they're in is meant to load and others don't change at all.
I'm sure it's an error on my end as I'm new to wii u editing, anyone have any clue what I might be doing wrong?
For reference, in the below image are some world map textures I managed to replace
Off the top of my head a few that crash are others like the forest world grass or world 1 bushes result in a crash.
Background
 

Attachments

  • Screenshot_4.png
    Screenshot_4.png
    2.3 MB · Views: 231

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    and i know what you may be thinking, "why become an adult at 21? doesn't that mean that banging an 18 year old would be illegal?"
    first of all, being in a relationship with someone who's 18 is technically ok, as long as it started when they were 18, but the age gap is still weird depending on how old you are. besides, the age of consent differs between different states
    +1
  • BakerMan @ BakerMan:
    also my reasoning for adult age being 21 is because the reason that's the drinking (and now smoking) age is because it "gives them more time to think rationally and not drive drunk"
    so you should have that extra time to mature and think rationally before going to serve in the military or vote
    +1
  • BakerMan @ BakerMan:
    tl;dr the "adult" age and the legal drinking age (and voting age) here in the US should be the same
    +4
  • Psionic Roshambo @ Psionic Roshambo:
    It's all good no one pays attention to the law anyway lol
  • BigOnYa @ BigOnYa:
    What about making kids wait till 18 or 21 to drive? And yea is messed up, you can join army and die for your country at age 18, but you can't drink alcohol or smoke a cig til 21, is ridiculous
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    If someone is in the military they should be allowed to smoke and drink at 18.... Would help drive recruitment lol
    +3
  • BigOnYa @ BigOnYa:
    We all know they do and will anyways. I think laws prevented them only pushes them to illegally do it. Even tho if was legal, most prob wouldn't even bother. Not a big deal or risque if its legal, no fun.
    +2
  • ZeroT21 @ ZeroT21:
    That's why some kids don't mind having a rap sheet or two just so they never get drafted
    +2
  • BakerMan @ BakerMan:
    also, i think the voting age should match the adult and drinking ages too, because by the logic of giving them time to mature and think rationally so they don't drive drunk, then they should also have that time to mature and think rationally so they can think for themselves
    +2
  • BakerMan @ BakerMan:
    fucking hell i'm becoming a mini leo with the way i yap aren't i?
    +1
  • impeeza @ impeeza:
    I was unable to create the VM for the debloat windows, but found the video where I learned it:

    https://www.youtube.com/watch?v=mZm6mY3I7J4
    +2
  • BigOnYa @ BigOnYa:
    No you def no leo, and I like your insight. You are a smart Baked cookie.
  • K3Nv2 @ K3Nv2:
    Chicken drumsticks and sweet potato for dinner tonight turned out good
    +1
  • BakerMan @ BakerMan:
    "i promise not to get all political and/or philosophical"
    3 drinks later:
    "so yeah think for yourself and i think the government sucks"
    +1
  • K3Nv2 @ K3Nv2:
    Is @BigOnYa drunk again
  • BakerMan @ BakerMan:
    no, i was poking fun at myself
  • BigOnYa @ BigOnYa:
    Again? I have a IV feeding me so I never come down.
    +2
  • BakerMan @ BakerMan:
    because self deprecating humor is important, as long as it doesn't turn into self hate. because you can't really make fun of anyone if you can't even make fun of yourself
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Booze enemas are real lol
  • The Real Jdbye @ The Real Jdbye:
    that explains a lot
  • K3Nv2 @ K3Nv2:
    @BigOnYa, invented the first ever pill that gets you instantly hammered, now filling the streets of Miami
  • BigOnYa @ BigOnYa:
    That was what called a qaaulude, instant drunk, luckily they not around anymore.
  • K3Nv2 @ K3Nv2:
    Tylenol midday
    K3Nv2 @ K3Nv2: Tylenol midday