Hacking [Mario Kart 8] Need Help with Custom Textures

WilliamtG

New Member
OP
Newbie
Joined
May 10, 2016
Messages
4
Trophies
0
Age
27
XP
58
Country
Canada
Hey, so I managed to edit several textures in MK8. I would only change the alb.dds files through Paint.NET and then would insert the file back into the bfres/.szs and try loading the textures when launching MK8. They technically work, but whenever I am far away from them the game loads the old texture. Is there something I am doing wrong? I can provide a video showing my issue later on tonight.

Any help is appreciated,

Thanks!

-William
 

PabloMK7

Red Yoshi! ^ω^
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,038
Country
Spain
That is because the mipmaps, lower resolution textures that load when you are away from camera. If the app you are using to convert bfres ( which is btw?) doen't support mipmaps, the only alternative is hex editing, as I did.
 

WilliamtG

New Member
OP
Newbie
Joined
May 10, 2016
Messages
4
Trophies
0
Age
27
XP
58
Country
Canada
Oh I see, how do you hex edit? Also I am using yaz0dec.exe/yaz0enc.exe to decode/encode and use TexHaxU to do the file converting and stuff

Thanks!
 
Last edited by WilliamtG,

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
Mipmaps in my thing are auto generated with Texconv2 so you just need the base texture, just when you're importing you gotta match the two values it spits out so it has the correct number of mipmaps, I've only ever seen it need 1x1 mipmap (1 as the value for lowest mipmap size)
Also, mine is incredibly hacky, you should try with @mariosonicds version too
 
Last edited by NWPlayer123,

PeeJay Bonobo

Well-Known Member
Member
Joined
May 10, 2014
Messages
118
Trophies
0
Age
37
Location
Jamaica, New York
Website
steamcommunity.com
XP
2,051
Country
United States
Mipmaps in my thing are auto generated with Texconv2 so you just need the base texture, just when you're importing you gotta match the two values it spits out so it has the correct number of mipmaps, I've only ever seen it need 1x1 mipmap (1 as the value for lowest mipmap size)
Also, mine is incredibly hacky, you should try with @mariosonicds version too

So, basically, make sure your DDS files already have mipmaps at the ready, right?

qf5dzjyf.tlx.png

I edited (anyone looking into a Lakitu texture hack will have to find these files themselves):
1. JugemEye_Alb.0 (1)
2. JugemEye_Alb.1 (2)
3. JugemEye_Alb.10 (3)
4. JugemEye_Alb.2 (4)
5. JugemEye_Alb.3 (5)
6. JugemEye_Alb.4 (6)
7. JugemEye_Alb.5 (7)
8. JugemEye_Alb.6 (8)
9. JugemEye_Alb.7 (9)
10. JugemEye_Alb.8 (10)
11. JugemPupil_Alb (31)
12. Jugem_Alb (34)

In the original texture, JugemPupil_Alb goes over both JugemEye_Alb.10 and JugemEye_Alb.8 as it should, but when I modify the textures, it's the other way around. I think I'm doing something terribly wrong, or I'm screwing with the order someway, somehow, even though that was how it was listed in filelist.bat.
 
Last edited by PeeJay Bonobo,

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
So, basically, make sure your DDS files already have mipmaps at the ready, right?

qf5dzjyf.tlx.png

I edited (anyone looking into a Lakitu texture hack will have to find these files themselves):
1. JugemEye_Alb.0 (1)
2. JugemEye_Alb.1 (2)
3. JugemEye_Alb.10 (3)
4. JugemEye_Alb.2 (4)
5. JugemEye_Alb.3 (5)
6. JugemEye_Alb.4 (6)
7. JugemEye_Alb.5 (7)
8. JugemEye_Alb.6 (8)
9. JugemEye_Alb.7 (9)
10. JugemEye_Alb.8 (10)
11. JugemPupil_Alb (31)
12. Jugem_Alb (34)

In the original texture, JugemPupil_Alb goes over both JugemEye_Alb.10 and JugemEye_Alb.8 as it should, but when I modify the textures, it's the other way around. I think I'm doing something terribly wrong, or I'm screwing with the order someway, somehow, even though that was how it was listed in filelist.bat.
Nah I'm saying don't worry about mipmaps cause it takes care of it, and you only need to replace the texture you wanna edit, so just do it manually on command line instead of a batch file
 

PeeJay Bonobo

Well-Known Member
Member
Joined
May 10, 2014
Messages
118
Trophies
0
Age
37
Location
Jamaica, New York
Website
steamcommunity.com
XP
2,051
Country
United States
Nah I'm saying don't worry about mipmaps cause it takes care of it, and you only need to replace the texture you wanna edit, so just do it manually on command line instead of a batch file

Yeah, I used a batch file according to lonemoonhd's texture tutorial, but he/she did state that you have to do it one at a time to make sure everything is working correctly, which I did not bother doing because I had 12 textures to replace. MarioSonicDS's BFRES Texture Injector works as well, and prints out more information, like what the formats of the textures were (the three textures I have issues with used the BC3 compression while the rest use BC1), but the modified texture(s) has(ve) to match while with your TexHaxU, I can throw whatever .DDS compression/format I want in without caring.
 
  • Like
Reactions: NWPlayer123

Matzeus

Well-Known Member
Newcomer
Joined
Mar 19, 2016
Messages
80
Trophies
0
Age
34
XP
227
Country
Gambia, The
Can somebody explain why i´m having issues with mipmaps?
For some reasons my textures only come in action if i´m close to the object (in my case "mapobj/Tree64Yoshi")
I did these steps:
  1. extract the .bfres
  2. edit the .dds texture with Paint.NET
  3. put the .dds with the corresponding .gtx into the TexHaxU - folder
  4. run filelist.bat in order to get the positions
  5. put it in splicer.bat - ran it
  6. replace the "0" with the BFRES number - ran it again (2nd time)
  7. replace the BFRES number with the GTX number - ran it again (last time)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    Update: Turns out he's epileptic
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
    +1
  • ZeroT21 @ ZeroT21:
    they wouldn't be called french fries at that point
    +1
  • ZeroT21 @ ZeroT21:
    Probably just meth fries
    +1
  • K3Nv2 @ K3Nv2:
    White fries hold up
    +1
  • The Real Jdbye @ The Real Jdbye:
    @K3Nv2 sure you can
  • BakerMan @ BakerMan:
    why tf do people hate android users? is it the video quality? just because "AnDrOiD = pOoR" bc they don't cost an arm and a leg like iphones do?
    +1
  • BakerMan @ BakerMan:
    i won't be turned off by an iphone, but don't pick on me for having an android, that's just how this shit should work
  • ZeroT21 @ ZeroT21:
    Should say more what these kind of android users say bout nokia 3310 users
  • BigOnYa @ BigOnYa:
    I've owned both iPhone and Androids over the years. Both are just as good, other than Apples higher price. I'm currently on Android, Samsung S21 I think, and very happy with it.
  • K3Nv2 @ K3Nv2:
    Got my 60 minute steps in whew
    +2
  • BigOnYa @ BigOnYa:
    I get mine in everyday, going back n forth to the fridge for a beer.
    +1
  • K3Nv2 @ K3Nv2:
    6,000 steps in so far legs almost broke getting off
    +1
  • K3Nv2 @ K3Nv2:
    Your mind gets in a werid pattern of just finishing then when you're done you're like I need a soda
  • BigOnYa @ BigOnYa:
    You get a "walkers" high?
  • K3Nv2 @ K3Nv2:
    Not really I just use to love building up a sweat
  • BigOnYa @ BigOnYa:
    Funny, that's what uremum always says
  • K3Nv2 @ K3Nv2:
    Yeah and people that take viagra think they have a big dick
  • K3Nv2 @ K3Nv2:
    You cant fix one insult edit for another edit you pog
  • BigOnYa @ BigOnYa:
    Nuh I'm on my tablet n it always auto corrects me
  • K3Nv2 @ K3Nv2:
    Heorin and uremum do have close quarters
    K3Nv2 @ K3Nv2: Heorin and uremum do have close quarters