ROM Hack Problems with replacing textures of overworld models (NPC) in Pokémon SM

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,661
Trophies
3
Age
29
XP
3,523
Country
France
Hi guys.
I'm having some troubles with replacing textures of some NPC overworld.

I want change the texture from yellow to green (just as a test) of him:
170409092934824001.png


To look something like that :
170409092933379525.png


But the fact is it doesn't work.

I tried to do a LayeredFS redirection to quickly see my edits, but it doesn't work, I always see him in yellow.
I guess the patch/game think the GARC is corrupted and load it from the game instead, I think that's why I always see it in yellow.
If I re-open my edited GARC, I see him in green, so the GARC is correctly saved.

And when I try with a RomFS redirection using Luma3DS, I have a black screen after the Continue screen :
170409092935978666.png


I even tried to switch some NPC overworld (kukui (005.bin) to become lusamine (007.bin), I switched them) but same, it doesn't work, same problem.

I researched this issue a bit, and I found someone else having the same problem.

@CrystalLink
Guys i'm having trouble with replacing overworld models. When I goto replace one model with another in a/1/9/6 the model doesn't change to the one that I replaced it with, is there more than one model of a specific person in the GARC, or am I just looking in the wrong GARC?

@MegaKyurem
As far as I know overworld models can't be replaced or swapped around yet. Models for battle and Refresh can though, and so can the mini icons for pokemon (that you see in your party/PC/PokePelago) Edit: There are probably others that you can edit that I'm missing, but it's definitely impossible to edit Overworld models right now.

I have the same kind of problems, I tried to edit the texture of kukui, but nothing is showing up.
I even tried to switch his model with lusamine one, but same, nothing happen :wtf:
I tried with OnionFS and LayeredFS redirections, but as I said, nothing happen.
If I try with a RomFS redirection using Luma3DS, I have a black screen + freeze when I press continue at the start screen, after load my save.

So what's preventing us from editing the textures of the NPC?
 
Last edited by Asia81,
  • Like
Reactions: VetenranJaimeYT

DarkSynopsis

Well-Known Member
Member
Joined
Oct 15, 2014
Messages
483
Trophies
0
Age
33
Location
New Zealand
Website
ninjasfate.com
XP
2,607
Country
New Zealand
I know nothing about editing the models within GARC files so I'm just going to throw this out there, have you tried the SaltySD method? might be more reliable than NTR.

When it freezes with the RomFS redirection are you trying to Continue where the switched NPC model is? does the game black screen if you are saved some where the model doesn't load? if so looks like LayeredFS falls back to what is found in the RomFS when it decides what on the SD is corrupt where as if the game decides the file in the RomFS is corrupt it just crashes.

Can't imagine why a texture replacement doesn't work though, I'm fairly certain there is like a Team Rocket shirt texture hack for a female top, is that much different to Kukui's top? I've not looked into Pokemon files to know.
 
  • Like
Reactions: VetenranJaimeYT

DarkSynopsis

Well-Known Member
Member
Joined
Oct 15, 2014
Messages
483
Trophies
0
Age
33
Location
New Zealand
Website
ninjasfate.com
XP
2,607
Country
New Zealand
There are various guides out there, I believe Pokémon Nova Sun & Umbra Moon has a SaltySD method could most likely use that and just use your files.

Taking a look at the readme for the Tank Top it mentions multiple models.

1. Locate the overworld outfit model you want to replace (in a/2/2/1.. i chose 018.bin)
2. Replace texture in model with the 221.bin blob in this archive (in 018.bin the image starts at 0x9A80) or use the png to generate your own image bin (its RGB565 format)
3. Save and repack GARC
4. Repeat 1-3 but with the HD model at a/1/9/5 (file 018.bin for me again), and replace image at 0x11280 with contents in 195.bin in this archive.

Maybe you need to find another version of Kukui?
 
  • Like
Reactions: VetenranJaimeYT

PabloMK7

Red Yoshi! ^ω^
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,037
Country
Spain
If it doesn't get redirected it probably means the path is invalid. You can use the debug version of OnionFS, go to the point when the model loads and quickly exit the game. Then search for the filename in the log file.
 
  • Like
Reactions: VetenranJaimeYT

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,661
Trophies
3
Age
29
XP
3,523
Country
France
If it doesn't get redirected it probably means the path is invalid. You can use the debug version of OnionFS, go to the point when the model loads and quickly exit the game. Then search for the filename in the log file.
Apparently, it find the GARC and redirect it :
File rom:/a/0/3/3 found in SD, redirected. (GameText)
File rom:/a/1/9/6 found in SD, redirected. (NPC Oveworld ?)
File rom:/a/1/7/0 found in SD, redirected. (Battle models)

But nothing is edited in the game, no custom overworld textures.
So the only thing I guess, it that a196 is not the overworld npc garc (so why there is kukui and -> him inside ?).

I managed to redirect the in-battle model and a quick edit at the main menu :
1491825546-01.jpg
1491825548-02.jpg

1491825550-03.jpg
1491825552-04.jpg
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
    K3Nv2 @ K3Nv2: Tell Kanye I need power