[NFE Team | Twitter] представляет:
- [ArcticFox] фирменная прошивка для устройств Joyetech, Wismec, Eleaf.
- [NFE Tools] – конфигуратор ArcticFox, мониторинг устройства, средство снятия снимков экрана устройства, установщик прошивок.
I can do that with my hex editor, but neither VTCFont nor NFirmwareEditor gives me access to the 0x00, because both of them see 0x00 as the separator between the strings.
What do you think about this; You declare each string from the address behind 00 to the next 00 followed by anything else but 00. When I have entered my text and want to end it, I enter 00 (maybe with a button). Your program fills up all other positions up to the next 0x00 with 00.
Let's say, the file looks like this: (v is the original separator 00 between strings)
While reading the file, the position of the separators is 0x00 and the next combination "00 **" (** is anything exept "00"). This is at 0x10.
Now I change letters to "Womo Bogo" and enter a 00 at address 0x0A. Then the program has to fill the rest up to position 0x0F (10 is already 0x00) with 0x00.Код:00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 v L i l i J i l l v N e w... 00 A6 A7 A7 A7 A7 91 74 77 74 A6 8F 74 77 77 00 00 93 70 82 ...
The next time, the program reads the file, it reads from one separator (00 at 0x00) to the next 00 (at 0x0A). If this one is followed by another 00 , it has to go on, until it finds something else but 00. This happens at position 0x11. So position 0x10 is the original separator and all addresses from the separator at 0x00 to 0x0F can be filled with any letters I want.Код:00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 v W o m o B o g o v N e w... 00 9C 7A 78 7A A6 87 7A 72 7A 00 00 00 00 00 00 00 93 70 82...
I hope you understand, what I mean. I am not really sure, if I understand it myself.Код:00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 v L a m a R a b i l i v N e w... 00 91 6C 78 6C A6 97 6C 6D 74 77 74 00 00 00 00 00 93 70 82...
Последний раз редактировалось Musik234; 15.03.2016 в 08:54.
Последний раз редактировалось MicroSur; 15.03.2016 в 10:09.
MicroSur, если я правильно понял, Musik234 хочет, чтобы ваши с ReikoKitsune редакторы воспринимали как разделитель слов не первый попавшийся 0x00, а только такой 0x00, за которым следует что-то отличное от 0x00. Плюс, чтобы редакторы заполняли нулями остаток укороченного в них слова.
Это понятно, вопрос чего он этим добиться хочет. Редакторы поступают так, как поступает программа эвика, даже больше.
MicroSur, хочет, чтобы можно было укоротить слово нулями не используя пробелы (т.к. надпись съезжает), с возможностью потом удлиннить обратно не пользуясь hex-редактором для определения допустимой длины слова. Вроде так
---------- Сообщение отправлено в 13:47 ---------- Предыдущее сообщение отправлено в 13:40 ----------
Видимо хочет сделать свой универсальный словарь, позволяющий свободно редактировать слова и их длину.
Последний раз редактировалось iNFiNUM; 15.03.2016 в 13:00.
Зарезервировать в хекс-редакторе под все дополнительные слова какое то максимальное место (например по 30 символов на каждое), потом в этих пределах резать-удлинять в VTCFont.
[NFE Team | Twitter] представляет:
- [ArcticFox] фирменная прошивка для устройств Joyetech, Wismec, Eleaf.
- [NFE Tools] – конфигуратор ArcticFox, мониторинг устройства, средство снятия снимков экрана устройства, установщик прошивок.
Ну я уверен, что именно так и есть. Поэтому вторая половина отрезанного нулём слова не адресуется и прошивке не мешает.
Если беспокоит, что это второе, отделенное, слово появляется в редакторе - ну извините, по нему можно судить о бывшей длине слова, использовать как черновик итд
Последний раз редактировалось MicroSur; 15.03.2016 в 14:55.
Musik234, can you check NFirmwareEditor v2.3? (just released)
I changed the strings reading algorithm and added the necessary behavior in the editor.
Последний раз редактировалось ReikoKitsune; 15.03.2016 в 16:30.
[NFE Team | Twitter] представляет:
- [ArcticFox] фирменная прошивка для устройств Joyetech, Wismec, Eleaf.
- [NFE Tools] – конфигуратор ArcticFox, мониторинг устройства, средство снятия снимков экрана устройства, установщик прошивок.
Ok, now I understand, what you mean.
At first, I downloaded the latest version of VTCFont, because mine was older.
Then I added a new character to override the 0x00 by pressing the Button "[ 01 ]", and it worked. There is an error message "Wrong size! Must be 4 space separated bytes" when I press "Save word", but it combines the words together again.
Тут в архиве программка FontConv, делать из TTF растр разных размеров и экспортировать в код, может кто порекомендовать подобную с более универсальными настройками? Надо, чтобы можно было жестко указать ширину символа на выходе...
https://www.dropbox.com/s/h6phb7ijyxv0v48/bin.rar?dl=1
MicroSur
LCD Image Converter | riuson.com
The Dot Factory The Dot Factory: An LCD Font and Image Generator
GLCD FontCreator
Наверное первое...
Кстати неплохо было бы предусмотреть загрузку/выгрузку из вот этих форматов, типа C-х...
Thats it!
Now it works exactly as I thought.
So the only thing I have to do when patching the firmware is to calculate the new numbers for the definitions.xml.
Thank you very much.
Now i have another stupid idea:
Selecting the characters could be more comfortable by entering the hex string directly. "My" comrades do have a table with the hex-codes and the size of all characters. Then they search in the table, calculate the number of columns, add "0xA6" in front of the text in order to center the text on the display. When this work is done, it would be fine to enter just that hex numbers instead of selecting each character one by one.
Just an idea, please don't think I am impudent.
I think you are already talking about exporting and importing the whole character table in order to have a fast way to change the complete character set of a firmware. That would be the (and now in german) "Sahnehäubchen".
Yes, I think about "advanced mode", in which will be possible to set the chars in the strings using hex input.
Everything is fine I am happy to receive feedback and suggestions.
Have you tried to use the bulk export / import in the my editor? Just select one or few images and then press right mouse button to show context menu.
Also you can just copy few images in the first editor instance and then paste them in the second editor instance.
Последний раз редактировалось ReikoKitsune; 16.03.2016 в 00:07.
[NFE Team | Twitter] представляет:
- [ArcticFox] фирменная прошивка для устройств Joyetech, Wismec, Eleaf.
- [NFE Tools] – конфигуратор ArcticFox, мониторинг устройства, средство снятия снимков экрана устройства, установщик прошивок.
всем доброго времени суток.ребята вопрос,реально ли как то прошить evic vt?и может кто нибудь знает как они прошивают их на заводе?