оффтопик: Для RX еще нет патчера?:)
оффтопик: Для RX еще нет патчера?:)
triskach, все в уголке (см. подпись):
VTC Patch
maelstrom2001, the difference between encrypted and decrypted is not the problem.
I changed one byte in my firmware (decrypted) at address 0xCB1A from 0x88 to 0x89.
The patch of both the encrypted and decrypted comparison is:
My question is, what calculation is made to get the '13'?Цитата:
# Automatically generated content #
# You can add your comments here #
CB1A: 13
I have tried xor, but that doesn't work.
I changed 0xCB1A from 88 to 89 and save the file under a new name. Then I use VTCPatch to extract the difference. And the .patch file is:
Then I encrypt both files, change the VTC_Patch.exe.ini to "Decrypted=0", generate the .patch and the file is the same.Цитата:
# Automatically generated content #
# You can add your comments here #
CB1A: 13
I tried it with some selfmade files with 4 Bytes in decrypted mode:Цитата:
# Automatically generated content #
# You can add your comments here #
CB1A: 13
спойлер
:think:
edit: Wait a minute: maybe I understood the "Decrypted = 0" wrong. I will test right now.
I found the problem: I understood the parameter "Decrypted" as what sort of file the program expects, but it is, what the program has to do.
maelstrom2001, I think, the parameter should be named "Decrypt" as an order to the program what to do or "0" and "1" should be swapped, if the parameter says, in which state the firmware is.
Decrypted bytes in patch-text, not firmware.
---------- Сообщение отправлено в 21:07 ---------- Предыдущее сообщение отправлено в 21:05 ----------
Все объяснено по пунктам же
Цитата:
Порядок работы для применения существующих патчей:
1. Открыть исходный файл.
2. Открыть существующий патч.
3. В строке состояния появится сообщение об успехе или неудаче применения патча.
4. В случае успеха - сохранить модифицированный файл.
What do you think about an automatic detection is a firmware file is encrypted or decrypted?
I went through all the firmwares and found out, that there is one string in all the decoded files.
The codepage of this string is not the special one for the firmware (a=0x6C b=0x6D d=0x6E ...), but the "normal" one (a=0x61 b=0x62 C=0x63 ...)Код:4150 524F 4D20 5665 7273 696F 6E20 2E2E - APROM Version ..
2E2E 2E2E 2E2E 2E2E 2E2E 2E2E 2E2E 2E2E - ................
2E2E 2E2E 2E2E 2E20 5B25 642E 2564 2564 - ....... [%d.%d%d
5D0A 0000 0000 2020 4861 7264 7761 7265 - ]..... Hardware
2056 6572 7369 6F6E - Version
I did not find this string in the encrypted files so this is a proof that the file is decrypted.
List of addresses for all original firmware versions:
спойлер
Вместо бананов и гиганта :)
http://www.ecigtalk.ru/members/u1582...-pic191879.jpg
64x104, жаль занят гигант патчами...
Господа.
Мне тут попадался пост про редактирование сопротивления шунта.
Растолкуйте немного в чём смысл данной процедуры?