ROM Hack How to insert/replace models in Pokemon Sun and Moon or in any Pokemon game?

ataricore

Well-Known Member
OP
Newcomer
Joined
Sep 21, 2017
Messages
53
Trophies
0
Age
31
XP
161
Country
United Kingdom
note: I am referring to models I have edited - not replacing models from Sun/Moon with models from other games.

I am trying to find out how to replace models in any Pokemon game but specifically Pokemon Sun

https://projectpokemon.org/home/forums/topic/33764-ohana3ds-bch-tool/

It looks like it was possible here but that version of Ohana3DS has been removed on github and the latest ReBirth version which I have now doesn't seem to have the option for replacing bch files etc (I think Pokemon Sun doesn't use bch files though? I would switch to modding x/y or alpha ruby/omega sapphire if I could find the older version of Ohana3DS and get this to work probably).

I understand that at least in Sun/Moon you can extract the bin files containing the models to a .147 file as shown in the pic provided. I looked into a program that could open .147 files but it cost money and I could see it easily not being relevant at all to what I'm trying to do. This is the program I found https://www.file-extensions.org/winfunktion-mathematik-plus-18-file-extensions.

Also, I saw you can export a model to a .mbe format, so I thought that if I found something that opens .mbe files I thought it might have the functionality to export it as a .147 file or something.

I found this program that seemed to be able to open .mbe format objects http://www.mbnresearch.com/software-0 so I tried to download a trial version but they haven't sent me a verification e-mail yet and I can't really be bothered to pursue that line any further as I might be barking up the wrong tree entirely.

Anyway, it has been done. There are videos on youtube of edited objects in sun/moon so there's a way, just pretty much no documentation on how to do it (at least from the many, many threads I have trailed through through numerous google results) so I was just wondering if anyone could help me as to uploading a copy of Ohana3DS XY (or any version with the fuctionality I mentioned in the first paragraph) or could help me in importing edited models back into Sun/Moon. Thanks. There's not much I can really do from here and can't seem to get any further so any help would be very much appreciated. :)
 

Attachments

  • pokebin.png
    pokebin.png
    5.3 KB · Views: 747
Last edited by ataricore,

Beerus

Gbatemp's God Of Destruction
Member
Joined
May 3, 2017
Messages
1,350
Trophies
0
Location
Universe 7
XP
2,322
Country
Japan
you have to extract your sun cia file with pack hack by asia81 then open ohana3ds and decompress the bin file there should be a paste bin somewhere in which it tells you what bin files contain what then after you extract the bin files you will se a decompressed folder and in there will be your texture files and with that use ohana 3ds rebirth

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

https://gbatemp.net/threads/wip-ohana3ds-tool.392576/
https://github.com/Asia81/HackingToolkit9DS/releases
 

ataricore

Well-Known Member
OP
Newcomer
Joined
Sep 21, 2017
Messages
53
Trophies
0
Age
31
XP
161
Country
United Kingdom
you have to extract your sun cia file with pack hack by asia81 then open ohana3ds and decompress the bin file there should be a paste bin somewhere in which it tells you what bin files contain what then after you extract the bin files you will se a decompressed folder and in there will be your texture files and with that use ohana 3ds rebirth

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

https://gbatemp.net/threads/wip-ohana3ds-tool.392576/
https://github.com/Asia81/HackingToolkit9DS/releases
I mean, isn't it pretty clear I've got this far if you read my post? I said I have the bin files etc (and provided a pic) which are easy to open in Ohana3DS. I can export the models etc. This thread is about importing. I don't think you bothered to read the op. Also, textures are very easily edited and reimported and I didn't mention anywhere I was talking about textures, I clearly am talking about the models.
 
Last edited by ataricore,
  • Like
Reactions: nanamihs

Beerus

Gbatemp's God Of Destruction
Member
Joined
May 3, 2017
Messages
1,350
Trophies
0
Location
Universe 7
XP
2,322
Country
Japan
I mean, isn't it pretty clear I've got this far if you read my post? I said I have the bin files etc which are easy to open in Ohana3DS. I can export the models etc. This thread is about importing. I don't think you bothered to read the op. Also, textures are very easily edited and reimported and I didn't mention anywhere I was talking about textures, I clearly am talking about the models.
if you are gonna import pokemon oras model just change the model name to the desired one in sun/moon and replace it it should work but wont work for battle models
 

ataricore

Well-Known Member
OP
Newcomer
Joined
Sep 21, 2017
Messages
53
Trophies
0
Age
31
XP
161
Country
United Kingdom
if you are gonna import pokemon oras model just change the model name to the desired one in sun/moon and replace it it should work but wont work for battle models
Ok, I've made it clearer in the op now that I was referring to models I have edited myself and not models from other Pokemon games. I did say that but it was in the last paragraph so I can understand the confusion.

Ah, OK. Out of curiosity, why wouldn't it work for the battle models?
 

Majickhat55

The Red Woman
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,959
Country
United States
Ok, I've made it clearer in the op now that I was referring to models I have edited myself and not models from other Pokemon games. I did say that but it was in the last paragraph so I can understand the confusion.

Ah, OK. Out of curiosity, why wouldn't it work for the battle models?
It should work just fine. We've been editing/importing models into XY/ORAS for a a few years now. Pokemon SuMo works more or less the same way when it comes to the pokemon models. Like stated above, once you open the .bin that contains the model, rename your model (in correct format) to the same name and repack the .bin before repacking the entire garc. Though I have only seen people replacing models, by name swapping not injection in SuMo. In Gen 6 we could import .OBJ models properly with Ohana after editing them in blender or something, with Gen 7 you can import them but you can't save them over the original model so the only solution for now is to create, rename, replace, repack.
 

ataricore

Well-Known Member
OP
Newcomer
Joined
Sep 21, 2017
Messages
53
Trophies
0
Age
31
XP
161
Country
United Kingdom
It should work just fine. We've been editing/importing models into XY/ORAS for a a few years now. Pokemon SuMo works more or less the same way when it comes to the pokemon models. Like stated above, once you open the .bin that contains the model, rename your model (in correct format) to the same name and repack the .bin before repacking the entire garc. Though I have only seen people replacing models, by name swapping not injection in SuMo. In Gen 6 we could import .OBJ models properly with Ohana after editing them in blender or something, with Gen 7 you can import them but you can't save them over the original model so the only solution for now is to create, rename, replace, repack.
When you say create, do you mean create an obj file or? I am aware of the last 3 steps and know how to do them (rename, replace, repack) but it's actually editing the model that I'm going to do that to is what I'm talking about.
 
Last edited by ataricore,

Majickhat55

The Red Woman
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,959
Country
United States
When you say create, do you mean create an obj file or?
Yes. Though it's not down to a science the people that wrote Ohana never really figured out how the bone rigging works, so all the models exported/imported with Ohana don't keep them. They do have to have the same amount of verts/faces (or less) than the original model you're replacing though. Like I said though, I've never seen anyone actually import edited models in SuMo (you know like we could make custom Mega evos in XY/ORAS) only swap them around, but it should be possible. The only thing I'm not sure of is if Ohana actually converted the imported .OBJ files to .BCH in the saving process, or if it just replaced the .BCH with the .OBJ and the game accepted it; obviously if it's the former you'd need to find a way to convert the model to .BCH first, but we never had to do that in Gen 6 so I'm unsure on how Ohana handled saving the imported .OBJ files.

Honestly, I just wish we could get an updated version of Ohana for model editing in Gen 7 like we had the "edit" tab for them previously.
 

ataricore

Well-Known Member
OP
Newcomer
Joined
Sep 21, 2017
Messages
53
Trophies
0
Age
31
XP
161
Country
United Kingdom
Yes. Though it's not down to a science the people that wrote Ohana never really figured out how the bone rigging works, so all the models exported/imported with Ohana don't keep them. They do have to have the same amount of verts/faces (or less) than the original model you're replacing though. Like I said though, I've never seen anyone actually import edited models in SuMo (you know like we could make custom Mega evos in XY/ORAS) only swap them around, but it should be possible. The only thing I'm not sure of is if Ohana actually converted the imported .OBJ files to .BCH in the saving process, or if it just replaced the .BCH with the .OBJ and the game accepted it; obviously if it's the former you'd need to find a way to convert the model to .BCH first, but we never had to do that in Gen 6 so I'm unsure on how Ohana handled saving the imported .OBJ files.

Honestly, I just wish we could get an updated version of Ohana for model editing in Gen 7 like we had the "edit" tab for them previously.
I am seemingly unable to import a .obj file into Ohana3DS, when I do so I get this error (ignore charmander)
pokcha.png


and it says the only format I can import is .BCH so yeah I'd need to find a way to do that first. Any idea how?

Then I'd rename my file to say 00046 (or whatever the .147 file is called related to that model) and pack it with the GARC tool and then repack it?
 
Last edited by ataricore,

Majickhat55

The Red Woman
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,959
Country
United States
I am seemingly unable to import a .obj file into Ohana3DS, when I do so I get this error (ignore charmander)
View attachment 100176

and it says the only format I can import is .BCH so yeah I'd need to find a way to do that first. Any idea how?

Then I'd rename my file to say 00046 (or whatever the .147 file is called related to that model) and pack it with the GARC tool and then repack it?
Yeah if you can find a way to convert it to .BCH. Honestly, I don't know if you'll be able to do it "free" per se. That's probably the main reason we haven't seen any model edits in Gen 7 yet. I don't even think the people that made the original Ohana are even around anymore. we can only hope someone with the skillset forks it, or makes something else we can use. I (as well as many others) have been wanting to do model edits in SuMo for a good while. I'll let you know if I find anything else in my travels. :D
 

ataricore

Well-Known Member
OP
Newcomer
Joined
Sep 21, 2017
Messages
53
Trophies
0
Age
31
XP
161
Country
United Kingdom
Yeah if you can find a way to convert it to .BCH. Honestly, I don't know if you'll be able to do it "free" per se. That's probably the main reason we haven't seen any model edits in Gen 7 yet. I don't even think the people that made the original Ohana are even around anymore. we can only hope someone with the skillset forks it, or makes something else we can use. I (as well as many others) have been wanting to do model edits in SuMo for a good while. I'll let you know if I find anything else in my travels. :D
Yeah if you can find a way to convert it to .BCH. Honestly, I don't know if you'll be able to do it "free" per se. That's probably the main reason we haven't seen any model edits in Gen 7 yet. I don't even think the people that made the original Ohana are even around anymore. we can only hope someone with the skillset forks it, or makes something else we can use. I (as well as many others) have been wanting to do model edits in SuMo for a good while. I'll let you know if I find anything else in my travels. :D
I've only seen a missigno edit and a few other edits on youtube. Have you seen those? That's what made me think "this must be possible" lol so have you ever tried doing it on SuMo the way you described it btw? I remember reading something about SuMo not using BCH files, though, or something? It's all a bit of a blur to me as I'm fairly new to the 3DS hacking/modding scene so I've had to try and process and understand a lot of information in the last few days :wtf: lol
 

nanamihs

Member
Newcomer
Joined
Feb 11, 2019
Messages
16
Trophies
0
Age
29
XP
114
Country
Brazil
Discovered how to do?

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

I mean, isn't it pretty clear I've got this far if you read my post? I said I have the bin files etc (and provided a pic) which are easy to open in Ohana3DS. I can export the models etc. This thread is about importing. I don't think you bothered to read the op. Also, textures are very easily edited and reimported and I didn't mention anywhere I was talking about textures, I clearly am talking about the models.




Discovered how to do???
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    the difference is i like wario and samus and he likes muscle mommies and feet
    +1
  • BakerMan @ BakerMan:
    wait, i forgot wizards too
  • BigOnYa @ BigOnYa:
    I have a buddy that has a moonshine still and he makes his own shine. He brought me a jar of some peach shine/brandy, shit is damn good. Gonna have to see if can get more.
    +1
  • BakerMan @ BakerMan:
    careful that shit don't make you go blind
  • BigOnYa @ BigOnYa:
    Nuh that's only if you drink what first comes out when distilling, you must throw out the first part of it when it starts running. (Its called the "head(s)" of the run) Or use it for fuel or a general purpose cleaner
    +1
  • K3Nv2 @ K3Nv2:
    If alcohol would've made @BigOnYa blind by now it would have
    +2
  • BigOnYa @ BigOnYa:
    So True.
    +1
  • K3Nv2 @ K3Nv2:
    I should make a poll for bigonya to change his username to DrunkOnYa
    +1
  • BigOnYa @ BigOnYa:
    That's my alt
    +1
  • K3Nv2 @ K3Nv2:
    I don't wanna go to the store someone go for me
  • BigOnYa @ BigOnYa:
    Call my wifey, tell her pick up stuff on her way over.
  • K3Nv2 @ K3Nv2:
    Pick up my door dash meat me in the allyway
    +1
  • BigOnYa @ BigOnYa:
    Wifey is busy, so ill send my buddy @AncientBoi , in his gimp outfit. "who ordered the 6" sausage?""
  • K3Nv2 @ K3Nv2:
    Like subway it's false advertising
    +1
  • BigOnYa @ BigOnYa:
    Ok "who ordered the Vienna sausage?"
  • K3Nv2 @ K3Nv2:
    Uremum
    +1
  • BigOnYa @ BigOnYa:
    My buddy convince me to download and play poker game with him yesterday, called Four Kings Casino, its pretty fun actually, you create a avatar and walk around in a virtual casino, and play any table, or slots with others online.There's even a dance club and bowling alley.
  • SylverReZ @ SylverReZ:
    They should bring advertisements like this back LOL.
  • BakerMan @ BakerMan:
    or that german ninja turtle commercial
    +1
  • K3Nv2 @ K3Nv2:
    Forgot to buy BBQ sauce at the store so made my own ffs
  • RedColoredStars @ RedColoredStars:
    Blues Hog BBQ sauces are pretty good.
  • K3Nv2 @ K3Nv2:
    My insurance has a thing where if I do a virtual visit they'll just send me a $100 gift card to Walmart I'm about to sell a company my medical history for $100 lol
  • BigOnYa @ BigOnYa:
    My insurance has a thing called, " Nope, we aren't paying for that." that they like to use on us all the time. Then we play the "Ok we will go to some other insurance company." then they miraculously say ok we will pay for that.
  • The_Dizzy_Vizzy @ The_Dizzy_Vizzy:
    Well look at what the cat dragged in!!!
    The_Dizzy_Vizzy @ The_Dizzy_Vizzy: Well look at what the cat dragged in!!!