Hacking Replace 3DS keyboard without changing region?

mistyhands

Member
OP
Newcomer
Joined
May 30, 2016
Messages
19
Trophies
0
Age
102
XP
154
Country
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?
 

mistyhands

Member
OP
Newcomer
Joined
May 30, 2016
Messages
19
Trophies
0
Age
102
XP
154
Country
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.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,156
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.
 

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
413
Trophies
0
Age
29
XP
2,325
Country
Russia
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.
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:
nLovVzE.png

Kcv478I.png

oVzQ3w8.png
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.
 

Mc Nasty

Member
Newcomer
Joined
Jan 6, 2009
Messages
24
Trophies
0
Age
45
Location
México City
Website
Visit site
XP
244
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 ..
 

Attachments

  • inf_0000.bmp
    225.1 KB · Views: 900
  • inf_0001.bmp
    225.1 KB · Views: 1,009
  • inf_0002.bmp
    225.1 KB · Views: 811

Sliter

Well-Known Member
Member
Joined
Dec 7, 2013
Messages
3,264
Trophies
0
Location
ᕕ( ᐛ )ᕗ
XP
1,760
Country
Brazil
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:
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
 

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
413
Trophies
0
Age
29
XP
2,325
Country
Russia
Just asking, what process are you using to compile and install valid CIAs?
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):

bF8f2rk.png
 

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,574
Trophies
1
Age
28
Location
Imola
XP
6,688
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:


Code:
あいうえお
かきくけこがぎぐげご
さしすせそざじずぜぞ
たちつてとだぢづでど
なにぬねのん
はひふへほばびぶべぼ 
まみむめもぱぴぷぺぽ
やゆよ 
らりるれろわを 

 ・ゃゅょ、。

Code:
アイウエオァィュェォ
カキクケコガギグゲゴ
サシスセソザジズゼゾ
タチツテトダヂヅデド
ンナニヌネノ
ハヒフヘホバビブベボ
マミムメモパピプペポ
ヤユヨ
ラリルレロワヲ

 ・ャュョ、。

Code:
Vocali
k/g
s/z
t/d
n
h/b
m/p
y
r/w

Mod.


 

Attachments

  • EU_Italian.zip
    3.9 KB · Views: 523

Popular threads in this forum

General chit-chat
Help Users
  • Vetusomaru @ Vetusomaru:
    take your grandma's dress and wear it, put a cheap wig and you're ready
  • Bunjolio @ Bunjolio:
    @Vetusomaru i would join the American army but i'm neither a fat transgender or a lesbian woman <<<<<< what does this mean im confused
  • Bunjolio @ Bunjolio:
    i mean thats what u said so idk what it means
  • DinohScene @ DinohScene:
    you'll have to be an adult to get it
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    The military is trying to find real transformers... lol
  • DinohScene @ DinohScene:
    kekw
  • Bunjolio @ Bunjolio:
    is it supposed to be joke or smth-?
  • linuxares @ linuxares:
    Flashgitz are always scating the line. If you can't see the humor in this.. I feel sad for you
    +1
  • Bunjolio @ Bunjolio:
    im sorry i just dont understand it,
  • Bunjolio @ Bunjolio:
    im sorry
  • redfire12 @ redfire12:
    humour is subjective.. if you dont see the humour, we have to at least recognise the attempted pretext of it within the social commentary its giving...
  • redfire12 @ redfire12:
    wow, that sounded less pretentious in my head hahaha
  • Bunjolio @ Bunjolio:
    i mean its something about the army and the lgbtq idrk
  • Vetusomaru @ Vetusomaru:
    That Transgender Transformers parody later became canon
  • NinStar @ NinStar:
    lgbtqiapnhdr++
  • trepp0 @ trepp0:
    Bunjolio be no living on this website fr
    +1
  • Bunjolio @ Bunjolio:
    nuh uh
  • trepp0 @ trepp0:
    dawg, every time i have logged on, you have been active.
  • Bunjolio @ Bunjolio:
    yeah cuz im bored
  • K3N1 @ K3N1:
    Alot of us do tbh we just stop giving a shit about what others that don't know us think
  • redfire12 @ redfire12:
    nothing wrong with living "on site" lol, most folk do it on faceyB and insta
  • Absolute_Vile @ Absolute_Vile:
    Back 20 years ago, it was common and normal to spent a lot of time in forums, there was nothing more
  • K3N1 @ K3N1:
    Depends what you get out of it, if it's actual socializing, learning about people, trying to get along it can change your life indefinitely
    K3N1 @ K3N1: Depends what you get out of it, if it's actual socializing, learning about people, trying to get...