DBIPatcher for traslate v810 russian version

  • Thread starter Thread starter GoodmanBCN
  • Start date Start date
  • Views Views 18,724
  • Replies Replies 161
  • Likes Likes 14

GoodmanBCN

Well-Known Member
Member
Joined
Aug 4, 2025
Messages
131
Reaction score
110
Trophies
1
Age
52
XP
661
Country
Spain
Hello everyone,
I assume you've all seen the patch to translate DBI v810 into English that was released today.
Is it safe? Has anyone tried it? What's the GBAtemp community's opinion?

https://github.com/Morce3232/DBIPatcher
https://www.reddit.com/r/SwitchPirates/comments/1nddcbc/dbi_810_english_version_only/

Thank you in advance!

Edited: Transcription of conversation of duckbill:
"Will you mind if the translation is added as an nro patch?"

duckbill: If you want to add it as a patch – go ahead, but warn users that there may be surprises.
486 – the last one without checks
Nothing destructive will happen. It will just start forgetting to do what was asked, and the further it goes, the more often it will happen.
 
Last edited by GoodmanBCN,
Would anyone be kind enough to compile a German version of the DBI for me? I have made a German translation, but I cannot compile this code with my compiler. I always get error messages. Thanks in advance.
 

Attachments

  • Like
Reactions: Blythe93
Each line can totally take more bytes than original line. It is compressed by zstd in the binary, so it entirely depends on how well your translation compresses.

edit: also, there is one fork containing multiple languages, so try asking that guy, because as I said, I dont want to actively maintain the repository
:)
 
Does your translation meet size check requirements? Each line cannot take more bytes than original lines. Encoding is UTF-8, so any characters out of ASCII take more bytes.
Thanks for your feedback! I didn't notice that. Then I'll have to adjust the file accordingly.
Post automatically merged:

Each line can totally take more bytes than original line. It is compressed by zstd in the binary, so it entirely depends on how well your translation compresses.
Thank you for your feedback! So the file can stay as it is? I can't check that myself. Are “ä,” “ö,” and “ü” actually supported in the text?
 
Last edited by Muxi,
  • Like
Reactions: Blythe93
Seems to fit.

patched 13295 B/ 14863 B

Untested, just built it with your lang file.

edit: wont work, you have issues with following keys (so I have removed the nro)
Text placeholders ({}) and any values within, need to match between russian original and your translation

Also, you are missing the ESC for ANSI escape sequences (the \x1b in \x1b[22m and similar)

< MTP082;{}{}
---
> MTP082;{}
628,629c628
< INS035r;{}{{}}{{}}{}{}{}{}{}
< INS035rb;{}{{}}{{}}{}{}{}{}{}
---
> INS035r;{}{{}}{{}}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}

I guess you will be better getting it to build yourself, anyway. One of the forks has it building on windows, so use that.
However, the translation will fit, so you should be fine.As for what is supported in text, I dont know. Chinese seems to work, so your chances are high.
:)
 
Last edited by Morce3232,
Untested, just built it with your lang file.
Thank you for your efforts, but the app crashes when attempting to perform installations via the MTP responder as well as via a USB drive. Could this be because the language file contains the letters “ä,” “ö,” and “ü”?
 
Thank you for your efforts, but the app crashes when attempting to perform installations via the MTP responder as well as via a USB drive. Could this be because the language file contains the letters “ä,” “ö,” and “ü”?
No, it is because malformed string placeholders in message displayed during installation. By the way had the same happen after automatic translation with Perplexity. Escape sequences can be easily fixed with simple regex replace (match \[[0-9], replace with \x1b\1), the text placeholders should be fixed manualy. Also you are missing the INS035rb key.
 
  • Like
Reactions: Muxi and Blythe93
Would anyone be kind enough to compile a German version of the DBI for me? I have made a German translation, but I cannot compile this code with my compiler. I always get error messages. Thanks in advance.
Not tested yet.
 

Attachments

@Bánh Mì Thank you very much for your efforts. Unfortunately, this DE build does not work. It has the same problems as the one from @Morce3232 and crashes when attempting to install via MTP Responder or a USB drive. I have revised the language file again and incorporated code from the English language file into it.
 

Attachments

  • Like
Reactions: Blythe93
There is still issue with 1 key

< MTP082;{}{}
---
> MTP082;{}

Fixed it for you. However there are stil few unescaped ANSI strings.

edit: fixed them now and included fixed language file - use something which respects non printable characters to edit, like sublime text or something like that
 

Attachments

Last edited by Morce3232,
  • Love
  • Like
Reactions: Blythe93 and Muxi
There is still issue with 1 key

< MTP082;{}{}
---
> MTP082;{}

Fixed it for you. However there are stil few unescaped ANSI strings.

edit: fixed them now and included fixed language file - use something which respects non printable characters to edit, like sublime text or something like that
Hi!
Have you seen rashevskyv's comment on GitHub about this?
 
@Morce3232 WOW!!! This build now works perfectly! Thank you so much!!!! I edited the text using Windows Editor. Was that wrong? Would Notepad++ be better suited for this?
 
  • Like
Reactions: Blythe93
WOW!!! This build now works perfectly! Thank you so much!!!! I edited the text using Windows Editor. Was that wrong? Would Notepad++ be better suited for this?

Possibly. As I said, Sublime Text is fine.

Hi!
Have you seen rashevskyv's comment on GitHub about this?
Just checked. Whatever, I guess. Given the fact he now specified that possible malicious code - if present - is non destructive, I guess there is nothing to worry about.

If what he says is true (wonder why bothering with this when he could have directly used proper encryption), than I wonder how that progression check is implemented. Don't expect it to be kind of online only drm, because there are certainly people using dbi in completely offline environment.

Also, when switching between android and hos, rtc is all over the place, so storing timestamp is not viable either.

So its either online only drm, which gets triggered only when switch is connected to internet, or simple counter of launches/operations, which are stored somewhere.

Given he stated it to be (if present) non destructive, I'd suggest simply using the app and report any unusual behaviour. Once we get it triggered, we might have a look what can be done to eliminate it.

Because, lets be honest, that guy is a dick. :)

If anyone is interested, try to experiment with either repeated launching of app, clicking through menus, or installing/uninstalling backups (guess small dlcs could be used to speed it up a bit).

Also copying files over mtp and comparing their integrity could be worth a try.

I honestly dont have time for that, so will investigate when (if) it starts happening.

edit: Like, honestly? Why would someone implement some sort of elaborate bug-causing protection, which could be easily attributed to his code quality, instead of using proper string encryption? Like, everything is possible, of course, however Occam's razor is imho clear in that case.
 
Last edited by Morce3232,
  • Like
Reactions: Blythe93 and Muxi
For me FTP Server and the Search for title updates is not working in the english version.


Addendum: The problem was in my folder structure. I still had the old DBI version in the Switch directory. Solution: Create separate folders for the old and new versions and copy the files into them, and it works.
 
Last edited by sdfklnw,

Site & Scene News

Popular threads in this forum