Hacking Replace 3DS keyboard without changing region?

prayerie

Member
OP
Newcomer
Joined
May 30, 2016
Messages
19
Trophies
0
XP
167
Country
United Kingdom
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?
 

prayerie

Member
OP
Newcomer
Joined
May 30, 2016
Messages
19
Trophies
0
XP
167
Country
United Kingdom
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,194
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
439
Trophies
0
Age
29
XP
2,582
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: 934
  • inf_0001.bmp
    225.1 KB · Views: 1,043
  • inf_0002.bmp
    225.1 KB · Views: 838

Sliter

Well-Known Member
Member
Joined
Dec 7, 2013
Messages
3,264
Trophies
0
Location
ᕕ( ᐛ )ᕗ
XP
1,797
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
439
Trophies
0
Age
29
XP
2,582
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,696
Trophies
1
Age
28
Location
Imola
XP
6,923
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: 541

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    the legal drinking age here in the US is 21, as some of you may know, but i think either it should be 18 or the age you're an adult should be 21.
    +1
  • BakerMan @ BakerMan:
    and i know what you may be thinking, "why become an adult at 21? doesn't that mean that banging an 18 year old would be illegal?"
    first of all, being in a relationship with someone who's 18 is technically ok, as long as it started when they were 18, but the age gap is still weird depending on how old you are. besides, the age of consent differs between different states
    +1
  • BakerMan @ BakerMan:
    also my reasoning for adult age being 21 is because the reason that's the drinking (and now smoking) age is because it "gives them more time to think rationally and not drive drunk"
    so you should have that extra time to mature and think rationally before going to serve in the military or vote
    +1
  • BakerMan @ BakerMan:
    tl;dr the "adult" age and the legal drinking age (and voting age) here in the US should be the same
    +4
  • Psionic Roshambo @ Psionic Roshambo:
    It's all good no one pays attention to the law anyway lol
  • BigOnYa @ BigOnYa:
    What about making kids wait till 18 or 21 to drive? And yea is messed up, you can join army and die for your country at age 18, but you can't drink alcohol or smoke a cig til 21, is ridiculous
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    If someone is in the military they should be allowed to smoke and drink at 18.... Would help drive recruitment lol
    +3
  • BigOnYa @ BigOnYa:
    We all know they do and will anyways. I think laws prevented them only pushes them to illegally do it. Even tho if was legal, most prob wouldn't even bother. Not a big deal or risque if its legal, no fun.
    +2
  • ZeroT21 @ ZeroT21:
    That's why some kids don't mind having a rap sheet or two just so they never get drafted
    +2
  • BakerMan @ BakerMan:
    also, i think the voting age should match the adult and drinking ages too, because by the logic of giving them time to mature and think rationally so they don't drive drunk, then they should also have that time to mature and think rationally so they can think for themselves
    +2
  • BakerMan @ BakerMan:
    fucking hell i'm becoming a mini leo with the way i yap aren't i?
    +1
  • impeeza @ impeeza:
    I was unable to create the VM for the debloat windows, but found the video where I learned it:

    https://www.youtube.com/watch?v=mZm6mY3I7J4
    +2
  • BigOnYa @ BigOnYa:
    No you def no leo, and I like your insight. You are a smart Baked cookie.
  • K3Nv2 @ K3Nv2:
    Chicken drumsticks and sweet potato for dinner tonight turned out good
    +1
  • BakerMan @ BakerMan:
    "i promise not to get all political and/or philosophical"
    3 drinks later:
    "so yeah think for yourself and i think the government sucks"
    +1
  • K3Nv2 @ K3Nv2:
    Is @BigOnYa drunk again
  • BakerMan @ BakerMan:
    no, i was poking fun at myself
  • BigOnYa @ BigOnYa:
    Again? I have a IV feeding me so I never come down.
    +2
  • BakerMan @ BakerMan:
    because self deprecating humor is important, as long as it doesn't turn into self hate. because you can't really make fun of anyone if you can't even make fun of yourself
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Booze enemas are real lol
  • The Real Jdbye @ The Real Jdbye:
    that explains a lot
  • K3Nv2 @ K3Nv2:
    @BigOnYa, invented the first ever pill that gets you instantly hammered, now filling the streets of Miami
  • BigOnYa @ BigOnYa:
    That was what called a qaaulude, instant drunk, luckily they not around anymore.
    BigOnYa @ BigOnYa: That was what called a qaaulude, instant drunk, luckily they not around anymore.