View Single Post
Old 05-04-2016, 06:04 AM   #5
pipcat
Connoisseur
pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.
 
Posts: 65
Karma: 200153
Join Date: Apr 2016
Device: Kobo Glo Hd
Why delete post ? It's interesting... ;-)

With a little bit of luck, but I found a way to search in Extra dictionary!

I overwrote italian dictionary with a second catalan dictionary, and I wanted to change "Italiano" string in libnickel.so.1.0.0. Respecting the same number of characters I changed to "Català 2". After applying patch, when searching in "Italiano/Català 2" from main menu I couldn't search and "English - English" was show (like with Extra: ca, as I told in previous post).
So I changed "Català 2" to "Català_2" and everything goes well without the space character!

In the same way I tried to change "Extra: " to "Extra::" and now searches from main menu to Extra dictionary are ok ;-)

Spoiler:
<Patch>
patch_name = `Allow searches on Extra dictionary`
patch_enable = `yes`
#
# To allow searches on Extra dictionary change space character at end of "Extra: " to another char (ex: "Extra::")
# The space char causes a non-desired "English - English" when searching on Extra dictionary from main menu.
#
#replace_bytes = BA9478, 20, 3A
find_base_address = `\0E\0x\0t\0r\0a\0:\0\x20`
replace_string = 000d, `\x20`, `:`
</Patch>

Last edited by pipcat; 05-04-2016 at 11:19 AM. Reason: Move patch to Spoiler
pipcat is offline   Reply With Quote