Replace 3DS keyboard without changing region?

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

  1. mistyhands
    OP

    mistyhands Member

    Newcomer
    12
    3
    May 30, 2016
    Saint Kitts and Nevis
    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

    Alan Treecko GBATemp's official fanfiction disposer

    Member
    290
    109
    Jan 1, 2016
    United States
    bump as i want to use a japanese keyboard too
     
  3. astronautlevel

    astronautlevel Saber of Red

    Member
    3,725
    3,901
    Jan 26, 2016
    United States
    That Nightly Site™
    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

    mistyhands Member

    Newcomer
    12
    3
    May 30, 2016
    Saint Kitts and Nevis
    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

    daxtsu GBAtemp Guru

    Member
    5,467
    3,836
    Jun 9, 2007
    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

    redunka GBAtemp Regular

    Member
    281
    127
    Nov 26, 2014
    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

    Mc Nasty Member

    Newcomer
    24
    1
    Jan 6, 2009
    Mexico
    México City
    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

    mistyhands Member

    Newcomer
    12
    3
    May 30, 2016
    Saint Kitts and Nevis
    -
     
    Last edited by mistyhands, Jun 3, 2016
  9. Sliter

    Sliter GBAtemp Addict

    Member
    2,951
    763
    Dec 7, 2013
    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

    mistyhands Member

    Newcomer
    12
    3
    May 30, 2016
    Saint Kitts and Nevis
    Could it be something related to this?

    [​IMG]

    Maybe we need the JP dict installed.
     
  11. redunka

    redunka GBAtemp Regular

    Member
    281
    127
    Nov 26, 2014
    Russia
    Well, it looks like it's actually possible to replace characters. :P
    Proof
    To be continued…
     
  12. mistyhands
    OP

    mistyhands Member

    Newcomer
    12
    3
    May 30, 2016
    Saint Kitts and Nevis
    Just asking, what process are you using to compile and install valid CIAs?
     
  13. Ewin

    Ewin 3DS Theme Maker

    Member
    188
    60
    Apr 14, 2015
    France
    3dsthem.es
    I've not understand what you want to do
     
  14. mistyhands
    OP

    mistyhands Member

    Newcomer
    12
    3
    May 30, 2016
    Saint Kitts and Nevis
    Use this keyboard without changing region:

    [​IMG]
     
    Sliter likes this.
  15. Ewin

    Ewin 3DS Theme Maker

    Member
    188
    60
    Apr 14, 2015
    France
    3dsthem.es
    You can edit the keyboard like me ? No ?

    [​IMG]
     
  16. mistyhands
    OP

    mistyhands Member

    Newcomer
    12
    3
    May 30, 2016
    Saint Kitts and Nevis
    How'd you do that?
     
  17. redunka

    redunka GBAtemp Regular

    Member
    281
    127
    Nov 26, 2014
    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

    Ryccardo WiiUaboo

    Member
    2,673
    1,199
    Feb 13, 2015
    Italy
    Imola
    Yay!


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

    Ryccardo WiiUaboo

    Member
    2,673
    1,199
    Feb 13, 2015
    Italy
    Imola
    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

    Ewin 3DS Theme Maker

    Member
    188
    60
    Apr 14, 2015
    France
    3dsthem.es