Hacking Replace 3DS keyboard without changing region?

MasterLel

Cooonfusion of da highest orda
Member
Joined
Mar 14, 2015
Messages
1,244
Trophies
0
Location
France
Website
gbatemp.net
XP
587
Country
France
Still trying to swap the keyboards without any success... I want the real japanese keyboard, not romhacked keyboards. There must be something in the code that tells the console what folder to load according to your consoles region. :unsure:
 

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,696
Trophies
1
Age
28
Location
Imola
XP
6,926
Country
Italy
Still trying to swap the keyboards without any success... I want the real japanese keyboard, not romhacked keyboards. There must be something in the code that tells the console what folder to load according to your consoles region. :unsure:
Yep, and no cfw with language emulation supports doing that for system applets...
...plus the Japanese keyboard is a completely different app from the European one...
 
  • Like
Reactions: Halvorsen

Nazosan

Well-Known Member
Member
Joined
May 12, 2009
Messages
576
Trophies
1
XP
1,096
Country
United States
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.
So I'm following these steps trying to modify my US keyboard app to offer Japanese text and I haven't the slightest clue how one actually edits those files. I had no trouble up to this point (even using Decrypt9WIP which has a B9S version available Do I have to somehow decompile them or something? Or are people doing some sort of hex editing? (But I noticed that the post about modifying the Italian keyboard shows plain text "code" that I presume is copied and pasted in somewhere.) My swkbd_msbt_LZ.bin file is definitely some sort of binary file, not plaintext. I suppose rom hackers already know what to do, but I'm not really a rom hacker, just someone trying to get hiragana to show up as an option (mostly so I can test out a game that refuses to let one continue if they don't enter hiragana or katakana --and won't even let me enter numbers at all nor will it accept symbols.)

To make things worse, I was testing the process and it was unable even to rebuild the CIA at all, failing completely on the final part:
Code:
D:\3DS\KeyboardMod>makerom -f cia -o USKeyboard_modified.cia -content system.0000.0000000b:0:0x0b -major 4 -minor 0
[CIA WARNING] Common Key could not be loaded, CIA will not be encrypted
[CIA ERROR] Option "-major" cannot be applied for cxi.
[RESULT] Failed to build CIA
For now I'm using the ctrtool, 3dstool, and makerom from that HomeMenu mod thread linked to on the first page -- should I be using different versions? Should I just remove the "-major 4" parameter (and possibly "-minor 0" as well) from the command line? Up until this point it seems fine with no obvious errors on the other lines.


Alternately, I sure would be grateful if anyone was willing to provide a US version (preferably the better one where it actually shows Japanese characters on the tenkey page) pre-made. I can find a European version on "that site" but nowhere I look do I see a US version. I don't particularly want to do any special mods or anything different, just get this working for the US keyboard.
 
Last edited by Nazosan,

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
439
Trophies
0
Age
29
XP
2,591
Country
Russia
So I'm following these steps trying to modify my US keyboard app to offer Japanese text and I haven't the slightest clue how one actually edits those files. I had no trouble up to this point (even using Decrypt9WIP which has a B9S version available Do I have to somehow decompile them or something? Or are people doing some sort of hex editing? (But I noticed that the post about modifying the Italian keyboard shows plain text "code" that I presume is copied and pasted in somewhere.) My swkbd_msbt_LZ.bin file is definitely some sort of binary file, not plaintext. I suppose rom hackers already know what to do, but I'm not really a rom hacker, just someone trying to get hiragana to show up as an option (mostly so I can test out a game that refuses to let one continue if they don't enter hiragana or katakana --and won't even let me enter numbers at all nor will it accept symbols.)

To make things worse, I was testing the process and it was unable even to rebuild the CIA at all, failing completely on the final part:
Code:
D:\3DS\KeyboardMod>makerom -f cia -o USKeyboard_modified.cia -content system.0000.0000000b:0:0x0b -major 4 -minor 0
[CIA WARNING] Common Key could not be loaded, CIA will not be encrypted
[CIA ERROR] Option "-major" cannot be applied for cxi.
[RESULT] Failed to build CIA
For now I'm using the ctrtool, 3dstool, and makerom from that HomeMenu mod thread linked to on the first page -- should I be using different versions? Should I just remove the "-major 4" parameter (and possibly "-minor 0" as well) from the command line? Up until this point it seems fine with no obvious errors on the other lines.


Alternately, I sure would be grateful if anyone was willing to provide a US version (preferably the better one where it actually shows Japanese characters on the tenkey page) pre-made. I can find a European version on "that site" but nowhere I look do I see a US version. I don't particularly want to do any special mods or anything different, just get this working for the US keyboard.
If you mean this HomeMenu mod thread, the tools there are quite outdated.
While that "-major 4" part isn't really necessary, not setting title version properly may result in update nag.
Actually, keyboard editing isn't much diffferent from HomeMenu modding.

I've adapted pack of tools from that HomeMenu thread (credits to Asia81 for original pack).
Place decrypted "SoftwareKeyboard.cia" in same folder with tools and run Part1.bat.
Find file "ExtractedRomFS\message\<Region>_<Language>\swkbd_msbt_LZ.bin"
It's a regular MSBT with LZ11 compression, so you can just use MSBT Editor Reloaded, that is mentioned in HomeMenu thread, to decompress and edit it.
Edit the file as you wish, save and compress again (rename resulting file if needed).
Run Part2.bat to get "SoftwareKeyboard_Edited.cia", don't forget to encrypt it before installation.

By the way, no need to use Decrypt9WIP for cia decryption/encryption, you can use GodMode9 for that.
 
Last edited by redunka,

Nazosan

Well-Known Member
Member
Joined
May 12, 2009
Messages
576
Trophies
1
XP
1,096
Country
United States
EDIT: I figured out what I was doing wrong. Thanks. Your update tools appear to work. BTW, I have both GodMode9 and Decrypt9WIP -- well, they're really tiny anyway -- so it wasn't a big deal which one I used.

You wouldn't, by any chance, care to share the modifications you're using for input and keytops would you?
 
Last edited by Nazosan,

redunka

Well-Known Member
Member
Joined
Nov 26, 2014
Messages
439
Trophies
0
Age
29
XP
2,591
Country
Russia
You wouldn't, by any chance, care to share the modifications you're using for input and keytops would you?
Well, that "mod" from my previous posts was mostly just a proof of concept, I never actually finished it. ¯\(ツ)/¯
It looks like I don't even have those files anymore. That was a European keyboard anyway.
Actually, even though msbt files aren't interchangeable between regions, they do share some strings.
You can just load one of Euro examples in MSBT Editor and copy-paste some of modified data into corresponding strings of your USA msbt file.
P.S. I know I suck at explaining stuff, so let me know if you need more info.
 

David13

Well-Known Member
Member
Joined
May 23, 2017
Messages
129
Trophies
0
Age
33
XP
358
Country
France
It's good a friend has solved my problem :D
IMG_20190420_214543.jpg
 

Redshin

New Member
Newbie
Joined
Dec 2, 2019
Messages
2
Trophies
0
Age
19
XP
67
Country
United States
I wish for the Japanese keyboard on C99 that it had more smaller symbols, and the Japanese version of -
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    why
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, it's not funny
  • K3Nv2 @ K3Nv2:
    ok
  • BigOnYa @ BigOnYa:
    Wut?
  • K3Nv2 @ K3Nv2:
    That's not funny
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    So two cannibals where eating a clown and one says to the other. Hey does this taste funny to you?
    +2
  • K3Nv2 @ K3Nv2:
    What do you call a slow car? Retired
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Did you hear about the police car that someone stole the wheels off of? The police are working tirelessly to find the thieves.
    +2
  • K3Nv2 @ K3Nv2:
    A firefighter got arrested for assault his main claim was what I was told he was on fire
    +2
  • BigOnYa @ BigOnYa:
    What do you call a hooker with a runny nose? Full
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    What do you tell a woman with two black eyes? Nothing you already told her twice!
  • K3Nv2 @ K3Nv2:
    Diddy also works
  • K3Nv2 @ K3Nv2:
    A scientist heard the word batman so he put a naked lady in a cage with a bat
  • Psionic Roshambo @ Psionic Roshambo:
    Chuck Norris won a staring contest, with the sun.
  • K3Nv2 @ K3Nv2:
    A vampires favorite thing to do is moon you
  • BigOnYa @ BigOnYa:
    What's the difference between an airplane, and Ken's mom? Not everyone has been in an airplane.
  • K3Nv2 @ K3Nv2:
    What's the difference between @BigOnYa and his wife? Nothing both want to bone me
    +3
  • RedColoredStars @ RedColoredStars:
    How much wood could a wood chuck chuck if a wood chuck could chuck norris
    +1
  • BakerMan @ BakerMan:
    how do i know? you're a guy, and he wants to bone every guy on this site (maybe, idk)
    +1
  • K3Nv2 @ K3Nv2:
    He wants to bone anything with a dick
    +1
  • Xdqwerty @ Xdqwerty:
    Good night
    +1
  • BigOnYa @ BigOnYa:
    Nighty night, big day tomorrow. Congrats.
    K3Nv2 @ K3Nv2: https://www.instagram.com/reel/C7iLZ35NrQt/?igsh=MWd2Z3U0dmNlMmNxcw==