Replace 3DS keyboard without changing region?

Discussion in '3DS - Flashcards & Custom Firmwares' started by mistyhands, May 30, 2016.

May 30, 2016
  1. mistyhands
    OP

    Newcomer mistyhands Member

    Joined:
    May 30, 2016
    Messages:
    12
    Country:
    Korea, North
    Seeing as it allows for input of both kana and alphanumerics, I'd like to be able to replace the system keyboard on my eu n3DS with the JP equivalent.

    I found the title key of the JP keyboard, used PlaiCDN to download it, and used a hex editor to change the title ID so it'd replace the existing keyboard. However, whenever I enter System Settings, or do anything which requires keyboard use, the app crashes, and the "An error has occured" dialog appears, restarting the 3DS.

    Anyone have a solution?
     


  2. Alan Treecko

    Member Alan Treecko GBATemp's official fanfiction disposer

    Joined:
    Jan 1, 2016
    Messages:
    285
    Country:
    United States
    bump as i want to use a japanese keyboard too
     
  3. astronautlevel

    Member astronautlevel The Animaniac

    Joined:
    Jan 26, 2016
    Messages:
    3,575
    Location:
    That Nightly Site™
    Country:
    United States
    I've actually researched this myself and ran into the same problems you have. I'll probably do more research on it once I get my consoles back.
     
  4. mistyhands
    OP

    Newcomer mistyhands Member

    Joined:
    May 30, 2016
    Messages:
    12
    Country:
    Korea, North
    So far, I've tried to use a hex editor to replace the title ID of the Japanese swkbd. Didn't work.
    I've tried to extract it, edit the title ID in the ExHeader, and recompile it, but it does not work. It must be encrypted for it to work. Decrypt9 states that the rebuilt CIA is not encrypted.
     
  5. daxtsu

    Member daxtsu GBAtemp Guru

    Joined:
    Jun 9, 2007
    Messages:
    5,385
    Country:
    Antarctica
    Instead of using a hex editor, maybe you could simply swap the exheaders, using the US/EU one instead of the Japanese one? That way you'd keep the Japanese exefs and romfs intact, but have the proper and valid exheader for your region. Of course, that would require using a tool to break the CIA up into its individual parts, but since everything wouldn't be edited and valid, it shouldn't be too hard to put them back together.

    Note that I'm just thinking out loud here, not speaking from any experience with this idea.
     
  6. redunka

    Member redunka GBAtemp Regular

    Joined:
    Nov 26, 2014
    Messages:
    236
    Country:
    Russia
    Well, I did some tests on my EUR system some time ago and it's definitely not that simple.

    Replacing exheader gives nothing but freezing.
    EU and JP code.bin's are completely identical, so it seems to be similar problem to
    multi-lang games, when application tries to load certain files, depending on system's language.
    If you overwrite Euro files in romfs with their Jap counterparts, keyboard will boot, but:
    it will look like this
    So it's keyboard with Japanese GUI and European character set, it can't actually display Jap chars.

    I think it probably could be solved by Luma's region/language emulation, but unfortunately it doesn't apply it to system applets.
    Also, I can be wrong and maybe it's even harder than that, I don't have enough knowledge.
     
    Februarysn0w, cearp and daxtsu like this.
  7. Mc Nasty

    Newcomer Mc Nasty Member

    Joined:
    Jan 6, 2009
    Messages:
    24
    Location:
    México City
    Country:
    Mexico
    Ironically the Japanese / European / American text exists on all consoles and is based on unicode characters, and although not all the text there are many characters that can be written on a console ..
    Would not it be easier to replace the keyboard actions or parts of the for example replace the "simbols" by the Japanese paragraph text without replacing the entire system?
    In my case managed change the text by the cheat editor of the GW.. But several games support a lot of text that is not programmed on the keyboard console ..
     

    Attached Files:

  8. mistyhands
    OP

    Newcomer mistyhands Member

    Joined:
    May 30, 2016
    Messages:
    12
    Country:
    Korea, North
    -
     
    Last edited by mistyhands, Jun 3, 2016
  9. Sliter

    Member Sliter GBAtemp Addict

    Joined:
    Dec 7, 2013
    Messages:
    2,697
    Location:
    ㊙️
    Country:
    Brazil
    can't we add more keyboards?instead of replacing? Mayb if choosing te japanese was an opition ?
    But I don't know how it could be added and what have to be edited to add the opition
     
  10. mistyhands
    OP

    Newcomer mistyhands Member

    Joined:
    May 30, 2016
    Messages:
    12
    Country:
    Korea, North
    Could it be something related to this?

    [​IMG]

    Maybe we need the JP dict installed.
     
  11. redunka

    Member redunka GBAtemp Regular

    Joined:
    Nov 26, 2014
    Messages:
    236
    Country:
    Russia
    Well, it looks like it's actually possible to replace characters. :P
    Proof
    To be continued…
     
  12. mistyhands
    OP

    Newcomer mistyhands Member

    Joined:
    May 30, 2016
    Messages:
    12
    Country:
    Korea, North
    Just asking, what process are you using to compile and install valid CIAs?
     
  13. Ewin

    Member Ewin 3DS Theme Maker

    Joined:
    Apr 14, 2015
    Messages:
    162
    Location:
    3dsthem.es
    Country:
    France
    I've not understand what you want to do
     
  14. mistyhands
    OP

    Newcomer mistyhands Member

    Joined:
    May 30, 2016
    Messages:
    12
    Country:
    Korea, North
    Use this keyboard without changing region:

    [​IMG]
     
    Sliter likes this.
  15. Ewin

    Member Ewin 3DS Theme Maker

    Joined:
    Apr 14, 2015
    Messages:
    162
    Location:
    3dsthem.es
    Country:
    France
    You can edit the keyboard like me ? No ?

    [​IMG]
     
  16. mistyhands
    OP

    Newcomer mistyhands Member

    Joined:
    May 30, 2016
    Messages:
    12
    Country:
    Korea, North
    How'd you do that?
     
  17. redunka

    Member redunka GBAtemp Regular

    Joined:
    Nov 26, 2014
    Messages:
    236
    Country:
    Russia
    Sorry that I didn't reply sooner.
    I'm using ctrtool, 3dstool and makerom to unpack/repack cia.

    Here's what I did for european keyboard cia:

    ctrtool --content=system 000400300000D002.cia
    3dstool -xvtf cxi system.0000.0000000b --header ncch.header --exh exheader.bin --exefs exefs.bin --romfs romfs.bin --plain plain.bin
    3dstool -xvtf exefs exefs.bin --exefs-dir exefs --header exefs.header
    3dstool -xvtf romfs romfs.bin --romfs-dir romfs
    Edited swkbd_msbt_LZ.bin from romfs/message/EU_English folder and repacked it:
    3dstool -cvtf romfs romfs.bin --romfs-dir romfs
    3dstool -cvtf cxi system.0000.0000000b --header ncch.header --exh exheader.bin --exefs exefs.bin --romfs romfs.bin --plain plain.bin
    makerom -f cia -o 000400300000D002.CIA -content system.0000.0000000b:0:0x0b -major 4 -minor 0

    After repacking you MUST use CIA Encryptor in Decrypt9, otherwise it won't work.

    More progress, whole Mobile keyboard replaced with Jap chars (except for convert button):

    [​IMG]
     
    Februarysn0w, deadf1sh and Ryccardo like this.
  18. Ryccardo

    Member Ryccardo WiiUaboo

    Joined:
    Feb 13, 2015
    Messages:
    1,935
    Location:
    Imola
    Country:
    Italy
    Yay!


    Woops screwed up the key labels
     
    Last edited by Ryccardo, Jun 3, 2016
  19. Ryccardo

    Member Ryccardo WiiUaboo

    Joined:
    Feb 13, 2015
    Messages:
    1,935
    Location:
    Imola
    Country:
    Italy
    I've finally done it in a way that satisfies me for the Italian keyboard, here's the msbt and the important parts of the source so that you can easily port it to your favorite language with some changes:


    Hiragana (cell input alpha)

    Katakana (cell input alpha c)

    Keycaps


     

    Attached Files:

    Februarysn0w and deadf1sh like this.
  20. Ewin

    Member Ewin 3DS Theme Maker

    Joined:
    Apr 14, 2015
    Messages:
    162
    Location:
    3dsthem.es
    Country:
    France

Share This Page