Quote:
Originally Posted by pipcat
I updated extract script to create also all the streams in bad-eyes format. I attach them. Tshering, is it ok ? If so, I will add the same in patch process, generating newpart with customized values.
|
There is happened something. In each patch at the very end of the source text (oldpart) a new line is missing. For instance
Spoiler:
Code:
<patch>
name=4A002B (found 3, zlib)
enabled=true
action=replace_zlib
position=autodetect
oldpart=N3ButtonLabel[qApp_deviceIsAlyssum="true"] { font-size: 34px; }
...
oldpart=\n\nMetaDataElidedLabel[qApp_deviceIsAlyssum="true"],\nMetaDataLabel[qApp_deviceIsAlyssum="true"]\t\t{ font-size: 23px; }
...
should be
Code:
<patch>
name=4A002B (found 3, zlib)
enabled=true
action=replace_zlib
position=autodetect
oldpart=N3ButtonLabel[qApp_deviceIsAlyssum="true"] { font-size: 34px; }
...
oldpart=\n\nMetaDataElidedLabel[qApp_deviceIsAlyssum="true"],\nMetaDataLabel[qApp_deviceIsAlyssum="true"]\t\t{ font-size: 23px; }\n
...
or rather to your style
Code:
<patch>
name=4A002B (found 3, zlib)
enabled=true
action=replace_zlib
position=autodetect
oldpart=N3ButtonLabel[qApp_deviceIsAlyssum="true"] { font-size: 34px; }
...
oldpart=\n\nMetaDataElidedLabel[qApp_deviceIsAlyssum="true"],\nMetaDataLabel[qApp_deviceIsAlyssum="true"]\t\t{ font-size: 23px; }
oldpart=\n
...
Quote:
Originally Posted by pipcat
Two questions about your patchit.exe :
Is it ok if newpart is shorter than oldpart ? (if you change four byte size value when non-compressed values, it should be ok).
|
If newpart (= the concatenated string of all newparts) is shorter then oldpart (= the concatenated string of all newparts), the difference will be filled up with zero bytes.
Quote:
Originally Posted by pipcat
If there are 5 oldpart in a patch, is it ok if only 3 newpart ? (or we need 5 newpart lines, last two emptys ?)
|
This is ok.