[Question]How to import the trainers texture(.png) into ohana3DS for Pokemon Sun/Moon?

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Leony_s, Jan 14, 2017.

  1. Leony_s
    OP

    Leony_s Newbie

    Newcomer
    9
    1
    Jan 12, 2017
    Tokyo
    Hello members,
    Thank you for your helpful thread/reply every time.

    Today, I have a question about how to import trainers texture.

    /// What I want to do?
    Edit trainer texture in Pokemon Sun/Moon
    Such like: https://www.youtube.com/playlist?list=PLLUrsxYnVb42myVok68XNznQysUeHKIww

    /// Issue
    Cannot import back trainers texture into ohana3DS.

    /// Environment
    OS: Windows 10 Pro
    ROM: Pokemon Sun(JPN) romfs.bin (no-update)
    PNG: Texture file(256px/128px or 128px/256px) edited by Windows paint
    Tools:
    Ohana3DS (Ohana3dsGotTexture.zip)
    GARC (GARC.UnPacker.Sun.Moon)
    pk3DS (pk3DS-master)

    /// Description
    I can export some trainer texture files such as tr0037_00_Eye.tga.png or tr0037_00_Body.tga.png, which are included in 036.bin on a/1/9/6 file.(This example is legendary trainer "Red.")

    However, I cannot import back edited PNG files into ohana3DS.
    I tried to import them as file extention .tga, .png, .c(exported as GBA565 format) or .bin(just exported as binary).

    /// Additional request
    Can we add the trainer which is challenger of Alolan championship(like Ryuki)?
     
    Meliodas2255 likes this.
  2. Meliodas2255

    Meliodas2255 common sense guy

    Member
    222
    74
    Jan 4, 2017
    United States
    I'm having the same issue. Has anyone figured it out?
     
  3. Leony_s
    OP

    Leony_s Newbie

    Newcomer
    9
    1
    Jan 12, 2017
    Tokyo
    Please watch the tutorial video from MegaKyurem.
    https://gbatemp.net/threads/pokemon-sun-and-moon-garc-files.445401/page-19

    Step is below
    Step 1
    - Open appropreate Ohana3DS(Such as Ohana3DSGotTexture)
    Step 2
    - Select "Tools" > "BCH texture replacer..."
    Step 3
    - Select the BIN file which you want to replace the texture.(You should change the file extention to "All(*.*)".)
    Once select the BIN file, you can see the some textures in the bin file.
    Step 4
    - Select the texture and put "Replace" button. You can choose the .png file, which is texture you edited.
    Step 5
    - Select "File" > "Save"
    Step 6
    - Please check the bin file which is selected on Step 3.
    It is replaced the texture at all!