MicroSur
А таблица символов?
Допустим, я хочу нарисовать в зоне полукружий графические рисунки, несколько штук, и использовать их вместо надписей, определив буквами.
Или вообще свой алфавит сделать целиком и полностью.
MicroSur
А таблица символов?
Допустим, я хочу нарисовать в зоне полукружий графические рисунки, несколько штук, и использовать их вместо надписей, определив буквами.
Или вообще свой алфавит сделать целиком и полностью.
В знакогенераторе четко определены адреса букв. Полукружия тоже. Их можно использовать так, уменьшив размер, но только 1 символ вместо 1-го. Никак же не адресовать то, что ты еще в полукругах нарисуешь и захочешь использовать.
Кто то создавал список неиспользованных букв, может их хватит?
А еще немец хочет чтобы редактор мог автоматом создавать копию словаря в конец файла, переадресацию на него, чтобы писать слова любой длины. Я такое руками то делал, но автоматом...
MicroSur
Прямая адресация что ли?
Хм... Мне очень интересно, как они такое умудрились на C то наворотить?
Как то ведь должен быть связан символ с его позицией в структуре...
привет всем! хотелось бы поинтересоваться у кубоида разница правого индикатора батареи завышена на 0.06 можно ли как то подправить это в прошивки на 0.06 меньше?
Hi,
I'm the german with the question about a patch.
I just wrote a long text about what I have already done and what I am asking of you, but the forum has a problem with new users and pictures.
So i try to write some not too stupid messages to get my postcount high enough to be allowed to attach files.
только адрес поменялся, в 3.01 сейчас выдаваемое напряжение по адресу 0x200000C4 (в 3.00 был 0x200000С0).
Вообще не хочу ничего в стандартной раскладке трогать, хватило перерисовки сопротивления на 3 знака... И выглядит не ахти, и тянет за собой новые врезки. Воткнул его в свою любимую последнюю строку, надо - переключил там отображение на то, что надо (сопротивление в динамике или вольтаж в динамике) и уберег нервы (с) да, там уже 8 пунктов, но это не напрягает совершенно.
И да... там это... второй Vapor Giant уже начал портицца бананы трогать не буду, клятвенно обещаю
ЗЫ. готовая сборка и отдельный патч на многострадальную третью строку выложены в уголке.
Последний раз редактировалось maelstrom2001; 14.03.2016 в 22:28.
[NFE Team] - всё для батарейных блоков Joyetech, Wismec, Eleaf: NFirmwareEditor, NFE Toolbox, ArcticFox
Если тебе плюют в спину, значит ты впереди
"Die Patches wachsen in Rußland auf den Bäumen" (c) colonius
"Завышенные ожидания ведут к ментальной импотенции и являются катализатором мизантропии" (c) челс
[NFE Team | Twitter] представляет:
- [ArcticFox] фирменная прошивка для устройств Joyetech, Wismec, Eleaf.
- [NFE Tools] – конфигуратор ArcticFox, мониторинг устройства, средство снятия снимков экрана устройства, установщик прошивок.
Ok, I will try:
(try...try...try)
No, doesn't work.
Maybe, if I split the link from one line to another:
goo.gl/
7D2NDh
Ah, that works!
I also had a at-sign in my last posting to MicroSur, that made me get an error by the forum.
OK, back to topic.
I just tested MicroSur's patch and it works. So the "START" mode is now fixed (not yet written into the .patch file).
Now about the things I have done with the firmware eVic 3.01:
In the pictures in my dropbox-folder you can see the three different modes "POWER", "BYPASS" and "START".
To do this, I copied the "text"-block between 0xC660 and 0xC7A7 to the end of the file.
I tried to make a .patch file for the copied part, but that didn't work for some reason.
Then I had to change 4 hex values in the file to make the new text-positions work.
This finally makes the new firmware.# Automatically generated content #
# You can add your comments here #
# changed adresses and offsets #
# new offset from "TEMP" -> "POWER" #
66B0: FF
# new offset from "TEMP" to new entry for "BYPASS" #
6738: 27
# new offset from "TEMP" to new entry for "START" #
67A0: FF
# new start address of "TEMP" #
6830: E9
6831: F3
When I want to edit this file with NFirmwareEditor (btw, great tool ) I have to change the definitions.txt:
The firmware starts reading each string at a fixed address and reads to the next 0x00. NFirmwareEditor starts each text-block at 0x00 to the next 0x00 and i cannot access and change (add or remove) a 0x00.<StringTable1><OffsetFrom>0xC9D0</OffsetFrom></StringTable1>
<OffsetTo>0xCB40</OffsetTo>
ReikoKitsune; maybe you can change your program to start reading each text block at the last 0x00 before a non 0x00 value. That wouldn't change the behaviour from the files which are not patched and could handle "my" patched files. And if you could make it possible to choose a 0x00 at the point where I can change the letters of the strings I think it would be perfect (for me )
Maybe this point needs more brainstorming...
Thanks for reading and I hope you don't mind me writing in english.
And let me know what you think about my ideas: or
[NFE Team | Twitter] представляет:
- [ArcticFox] фирменная прошивка для устройств Joyetech, Wismec, Eleaf.
- [NFE Tools] – конфигуратор ArcticFox, мониторинг устройства, средство снятия снимков экрана устройства, установщик прошивок.
Take a look at my files Womo_Bogo.bin and Lili_Jill.bin in my dropbox-folder.
At address 0xCB18 the new strings start. I patched 16 "letters" in there, because the "i" as the smallest letter is 4 columns wide, 64/4=16.
If I want to put " Lili Jill " in there (in hex codes A6 A7 A7 A7 A7 91 74 77 74 A6 8F 74 77 77) and want to make it centered by starting with blanks, I need 14 letters.
If I put in "Womo Bogo" (9C 7A 78 7A A6 87 7A 72 7A) I only need 9 letters. I can fill the rest up to 14 with 0xA7 (1px space), but this writes over the left side of the display.
I cannot rewrite the same firmware file from "Womo Bogo" to "Lili Jill" (centered) or the other way round.
In your editor I can choose every hex value from 0x01 to 0xE3. If I could choose 0x00 after the last value after my personal text and also change the trailing 0x00 after my text (taking care of the maximum number of 16 letters) it could work.
Hmm, quite difficult to describe.
[NFE Team | Twitter] представляет:
- [ArcticFox] фирменная прошивка для устройств Joyetech, Wismec, Eleaf.
- [NFE Tools] – конфигуратор ArcticFox, мониторинг устройства, средство снятия снимков экрана устройства, установщик прошивок.
I think about filling all "not used" letters with 0x00. Your program could read backwards from the last address which is diferent from 0x00.
(I use "." for 0x00, "°" for 0xA6 (6px space) and "-" for 0xA7 (1px space) in this example)Код:0001 0203 0405 0607 0809 0A0B 0C0D 0E0F - 0123456789ABCDEF ---------------------------------------------------------------- 0x00: 9899 8697 9900 879E 9586 9898 0087 6C7F - START.BYPASS.Bat 0x10: 7F70 7D84 0099 8897 A698 707F 0095 7D7A - tery.TCRŠSet.Pro 0x20: 7F70 6E7F 747A 7900 9C7A 787A A687 7A72 - tection.Womo.Bog 0x30: 7A00 0000 0000 0000 A6A7 A7A7 A791 7477 - o.......°----Lil 0x40: 74A6 8F74 7777 0000 9370 8287 847B 6C7E - i°Jill..NewBypas 0x50: 7E00 - s.
You read the strings until a 0x00 comes. Then the next string starts.
But if there are more than one 0x00, you could go to the next address, which ins not 0x00 and take the 0x00 just one address before as the separator between the strings.
At the first place of a string there may be no 0x00, that would confuse the thing. And you have to check, that there is no value different from 0x00 after the 0x00 I entered.
I think, this would keep the file ok.
Не вижу особых проблем.
Отделенное нулем слово никому не помешает. Обратно всё возвращается, помня длину начального слова.
When I enter a 00 like you show in your screenshot, it splits up the string "Womo Bogo" into two Strings "Womo" and "Bogo". Only "Womo" is on the display then. That's ok.
But I cannot join them together again, i have to use a hex editor to do so.
Ps.: Maybe the translation failed and I don't understand what you mean.