-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patches for 4.29.18730 #94
Comments
Much more than usual, and some (especially the libadobe one) are concerning and may require an update to kobopatch itself. |
Resource extraction: ./qrc2zip --output "nickel.18730.qInitResources_resources.zip" --recursive --verbose "nickel" 1 $((0x12fc988 - 0x0010000)) $((0x00272d0 - 0x0010000)) $((0x12fc470 - 0x0010000)) || { echo "Error: qrc2zip failed." 1>&2; exit 1; }
./qrc2zip --output "nickel.18730.qInitResources_translations.zip" --recursive --verbose "nickel" 1 $((0x169e8f8 - 0x0010000)) $((0x12fcd88 - 0x0010000)) $((0x169e670 - 0x0010000)) || { echo "Error: qrc2zip failed." 1>&2; exit 1; }
./qrc2zip --output "nickel.18730.qInitResources_styles.zip" --recursive --verbose "nickel" 1 $((0x16be328 - 0x0010000)) $((0x169ea10 - 0x0010000)) $((0x16bb878 - 0x0010000)) || { echo "Error: qrc2zip failed." 1>&2; exit 1; }
./qrc2zip --output "nickel.18730.qInitResources_certificates.zip" --recursive --verbose "nickel" 1 $((0x16e58f8 - 0x0010000)) $((0x16bef28 - 0x0010000)) $((0x16e48a8 - 0x0010000)) || { echo "Error: qrc2zip failed." 1>&2; exit 1; } Output
$ git diff --no-index 17925 18220https://gist.github.com/pgaskin/157c2511469ecee34f661cc33b2dd2d7 https://krc.storage.pgaskin.net/nickel.18730.qInitResources_certificates.zip |
|
Notable changes: - "Change Browse Kobo home screen link target - Articles" is not possible anymore. - More updates than usual were required for this version.
Released: |
$ git diff --no-index src/versions/{4.28.18220,4.29.18730}diff --git a/src/versions/4.28.18220/libadobe.so.yaml/pgaskin.yaml b/src/versions/4.29.18730/libadobe.so.yaml/pgaskin.yaml
index 290a39b..93df323 100644
--- a/src/versions/4.28.18220/libadobe.so.yaml/pgaskin.yaml
+++ b/src/versions/4.29.18730/libadobe.so.yaml/pgaskin.yaml
@@ -4,5 +4,7 @@ Remove PDF map widget shown during panning:
- Enabled: no
- Description: Removes the PDF map widget shown during panning and zooming.
- BaseAddress: {Sym: "N3AdobeReader::showMapWidget()"}
- - ReplaceBytes: {Offset: 80, FindInstBW: {SymPLTTail: "N3AdobeReader::updatePanningMap()"}, ReplaceInstBW: {SymPLTTail: "N3AdobeReader::hideMapWidget()"}}
- - ReplaceBytes: {Offset: 192, FindInstBW: {SymPLTTail: "N3AdobeReader::updatePanningMap()"}, ReplaceInstBW: {SymPLTTail: "N3AdobeReader::hideMapWidget()"}}
+ # tail: N3AdobeReader::updatePanningMap() -> N3AdobeReader::hideMapWidget()
+ # TODO: figure out what broke the plt parsing in kobopatch for libadobe in 18730+
+ - ReplaceBytes: {Offset: 80, FindInstBW: 0x1BF94, ReplaceInstBW: 0x1B2F8}
+ - ReplaceBytes: {Offset: 192, FindInstBW: 0x1BF94, ReplaceInstBW: 0x1B2F8}
diff --git a/src/versions/4.28.18220/libnickel.so.1.0.0.yaml/geoffr.yaml b/src/versions/4.29.18730/libnickel.so.1.0.0.yaml/geoffr.yaml
index f06e363..3283f82 100644
--- a/src/versions/4.28.18220/libnickel.so.1.0.0.yaml/geoffr.yaml
+++ b/src/versions/4.29.18730/libnickel.so.1.0.0.yaml/geoffr.yaml
@@ -194,20 +194,20 @@ Custom font sizes:
#
- BaseAddress: "N3FontTypeUtil::fontSizes()"
# Initial font size:
- - ReplaceInt: {Offset: 362, Find: 8, Replace: 8} # Other devices
- - ReplaceInt: {Offset: 358, Find: 11, Replace: 11} # LibraH2O
- - ReplaceInt: {Offset: 36, Find: 10, Replace: 10} # ClaraHD/GloHD
- - ReplaceInt: {Offset: 390, Find: 14, Replace: 14} # Sage/Forma/AuraOne/Elipsa
+ - ReplaceInt: {Offset: 364, Find: 8, Replace: 8} # Other devices
+ - ReplaceInt: {Offset: 360, Find: 11, Replace: 11} # LibraH2O
+ - ReplaceInt: {Offset: 36, Find: 10, Replace: 10} # GloHD/ClaraHD
+ - ReplaceInt: {Offset: 392, Find: 14, Replace: 14} # Forma/AuraOne/Sage/Elipsa
# Increment:
- ReplaceInt: {Offset: 78, Find: 21, Replace: 43} # Add font sizes in increments of 1 until this size exceeded
- ReplaceInt: {Offset: 88, Find: 22, Replace: 44} # Continue from this font size
- ReplaceInt: {Offset: 218, Find: 49, Replace: 67} # Add font sizes in increments of 2 until this size exceeded
- ReplaceInt: {Offset: 224, Find: 50, Replace: 68} # Continue from this font size
# Now increment by +4 until final font size:
- - ReplaceInt: {Offset: 408, Find: 90, Replace: 80} # Other devices
- - ReplaceInt: {Offset: 412, Find: 122, Replace: 88} # Aura/Nia/Glo
- - ReplaceInt: {Offset: 50, Find: 150, Replace: 108} # GloHD/AuraH2O/LibraH2O/AuraHD/ClaraHD/Libra2
- - ReplaceInt: {Offset: 386, Find: 195, Replace: 132} # Sage/Forma/AuraOne/Elipsa
+ - ReplaceInt: {Offset: 410, Find: 90, Replace: 80} # Other devices
+ - ReplaceInt: {Offset: 414, Find: 122, Replace: 88} # Aura/Glo/Nia
+ - ReplaceInt: {Offset: 50, Find: 150, Replace: 108} # LibraH2O/AuraHD/ClaraHD/GloHD/AuraH2O/Libra2
+ - ReplaceInt: {Offset: 388, Find: 195, Replace: 132} # Forma/AuraOne/Sage/Elipsa
ePub fixed top/bottom margins:
- Enabled: no
diff --git a/src/versions/4.28.18220/libnickel.so.1.0.0.yaml/pgaskin.yaml b/src/versions/4.29.18730/libnickel.so.1.0.0.yaml/pgaskin.yaml
index 8e79df8..16d40f4 100644
--- a/src/versions/4.28.18220/libnickel.so.1.0.0.yaml/pgaskin.yaml
+++ b/src/versions/4.29.18730/libnickel.so.1.0.0.yaml/pgaskin.yaml
@@ -5,7 +5,7 @@ Both page turn buttons go next:
- Description: Make both page turn buttons on the Forma go next in the reader.
- ReplaceBytes:
Base: "ReadingView::keyPressEvent(QKeyEvent*)"
- Offset: 54
+ Offset: 82
FindInstBW: {SymPLTTail: "ReadingView::prevPageWithTimer()"}
ReplaceInstBW: {SymPLTTail: "ReadingView::nextPageWithTimer()"}
@@ -78,7 +78,7 @@ Hide browser from beta features:
- Description: Hides the built-in browser from beta features.
- ReplaceBytes:
Base: "N3SettingsExtrasView::N3SettingsExtrasView(QWidget*)"
- Offset: 1474
+ Offset: 1482
FindInstBLX: {SymPLT: "Device::isParentalControlEnabled() const"}
ReplaceH: 4F F0 01 00
- ReplaceBytes:
@@ -215,31 +215,6 @@ Change Browse Kobo home screen link target - Activity:
FindInstBLX: {SymPLT: "GenericHomeWidget::setMetaText(QString)"} # "OverDrive"
ReplaceInstNOP: true
-Change Browse Kobo home screen link target - Articles:
- - Enabled: no
- - PatchGroup: Browse Kobo link target
- - Description: See the comment above.
- - ReplaceBytes:
- Base: "BrowseKoboWidget::tapped()"
- Offset: 22
- FindInstBW: {SymPLTTail: "DiscoverNavMixin::storefront()"} # Store
- ReplaceInstBW: {SymPLTTail: "MoreController::articles()"} # Articles
- - ReplaceBytes:
- Base: "BrowseKoboWidget::tapped()"
- Offset: 32
- FindInstBW: {SymPLTTail: "StoreNavMixin::overDriveFeaturedLists()"} # OverDrive
- ReplaceInstBW: {SymPLTTail: "MoreController::articles()"} # Articles
- - ReplaceBytes:
- Base: "BrowseKoboWidget::BrowseKoboWidget(QWidget*)"
- Offset: 196
- FindInstBLX: {SymPLT: "N3DeviceCharm::shopName()"} # "Shop Kobo" or "Walmart"
- ReplaceInstBLX: {SymPLT: "N3DeviceCharm::articlesSearchName()"} # "My Articles"
- - ReplaceBytes:
- Base: "HomePageView::setOverDriveUser(OverDriveUser const&)"
- Offset: 114
- FindInstBLX: {SymPLT: "GenericHomeWidget::setMetaText(QString)"} # "OverDrive"
- ReplaceInstNOP: true
-
###
### Smartlink patches ###
@@ -271,6 +246,7 @@ Set visible SmartLink:
# 16 - ReadingStats - books finished > 0 && hours read rounded to .5 > 0 - READING STATS: You've finished %n books and read for %n hours - reading life -> stats
# 17 - SuperPoints - participating in super points && points > 2400 - KOBO SUPER POINTS: You have %0 Super Points to redeem - kobo store
# 18 - PocketUser - unread pocket articles > 0 - POCKET: Catch up on the %n article(s) you added recently - library -> pocket
+ # 19 - Audiobooks - supports audiobooks && audiobooks enabled - AUDIOBOOKS: Get started with Audiobooks on your eReader - kobo store -> audiobooks
#
- BaseAddress: {Sym: "SmartLinkWidget::showRotationMessage(Device const&)", Rel: 20}
- ReplaceBytes: {FindInstBLX: {SymPLT: "ActivityManager::smartLinkGeneralMessage(Device const&)"}, ReplaceH: 4F F0 04 00} # MOV.W r0, #4
@@ -308,14 +284,14 @@ Never show Kobo Plus, wishlist, and points SmartLinks:
- Description: Removes Kobo Plus, wishlist, and points SmartLinks from the rotation.
- BaseAddress: "ActivityManager::smartLinkGeneralMessage(Device const&)"
# NOP Kobo Plus (2):
- - ReplaceBytes: {Offset: 292, FindH: 02 23, CheckOnly: true} # MOVS r3, #2
- - ReplaceBytes: {Offset: 302, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
+ - ReplaceBytes: {Offset: 286, FindH: 02 23, CheckOnly: true} # MOVS r3, #2
+ - ReplaceBytes: {Offset: 296, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
# NOP wishlist (14):
- - ReplaceBytes: {Offset: 266, FindH: 0E 23, CheckOnly: true} # MOVS r3, #14
- - ReplaceBytes: {Offset: 276, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
+ - ReplaceBytes: {Offset: 260, FindH: 0E 23, CheckOnly: true} # MOVS r3, #14
+ - ReplaceBytes: {Offset: 270, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
# NOP super points (17):
- - ReplaceBytes: {Offset: 1540, FindH: 11 23, CheckOnly: true} # MOVS r3, #17
- - ReplaceBytes: {Offset: 1552, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
+ - ReplaceBytes: {Offset: 1570, FindH: 11 23, CheckOnly: true} # MOVS r3, #17
+ - ReplaceBytes: {Offset: 1582, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
###
@@ -432,7 +408,7 @@ Allow rotation on all devices:
- ReplaceBytes: {Base: "DevSettings::forceAllowLandscape()", Offset: 54, FindInstBLX: {SymPLT: "QVariant::toBool() const"}, ReplaceH: 4F F0 01 00}
# In ReadingMenuView::ReadingMenuView, replace the value of Device::hasOrientationSensor,
# which is passed to a function to hide/show the rotate icon:
- - ReplaceBytes: {Base: "ReadingMenuView::ReadingMenuView(QWidget*)", Offset: 486, FindInstBLX: {SymPLT: "Device::hasOrientationSensor() const"}, ReplaceH: 4F F0 01 00}
+ - ReplaceBytes: {Base: "ReadingMenuView::updateReadingMenu()", Offset: 236, FindInstBLX: {SymPLT: "Device::hasOrientationSensor() const"}, ReplaceH: 4F F0 01 00}
# Also fix sizing of popup by doing the same in RotatePopup::RotatePopup, but
# note that this will make the Automatic option show too (and do nothing):
- ReplaceBytes: {Base: "RotatePopup::RotatePopup(QWidget*)", Offset: 190, FindInstBLX: {SymPLT: "Device::hasOrientationSensor() const"}, ReplaceH: 4F F0 01 00}
@@ -504,7 +480,12 @@ Swap reading header/footer:
ReplaceH: C0 69 # LDR r0, [r0, #0x1C]
- ReplaceBytes:
Base: "ReadingView::updatePercentageFooter(QString const&)"
- Offset: 158
+ Offset: 172
+ FindH: C0 69 # LDR r0, [r0, #0x1C]
+ ReplaceH: 00 69 # LDR r0, [r0, #0x10]
+ - ReplaceBytes:
+ Base: "ReadingView::updatePercentageFooter(QString const&)"
+ Offset: 286
FindH: C0 69 # LDR r0, [r0, #0x1C]
ReplaceH: 00 69 # LDR r0, [r0, #0x10]
- ReplaceBytes:
@@ -563,7 +544,7 @@ Customize ComfortLight settings:
# In an unnamed subroutine two layers into FrontLightPopupController::loadView
# (find it by going back from QTime::addSecs), the times for the dropdown are
# generated into a QVector<QPair<QString, QTime>> with a simple loop.
- - BaseAddress: 0xBAF2C8 # find the base of the unnamed subroutine with the x-ref to _ZN5QTimeC1Eiiii
+ - BaseAddress: 0xBFFC68 # find the base of the unnamed subroutine with the x-ref to _ZN5QTimeC1Eiiii
#
# Change the initial hour / first bedtime dropdown item passed to the QTime
# constructor (mov r1, #21):
diff --git a/src/versions/4.28.18220/nickel.yaml/geoffr.yaml b/src/versions/4.29.18730/nickel.yaml/geoffr.yaml
index 598b0f1..528ff9f 100644
--- a/src/versions/4.28.18220/nickel.yaml/geoffr.yaml
+++ b/src/versions/4.29.18730/nickel.yaml/geoffr.yaml
@@ -48,9 +48,9 @@ Custom synopsis font size:
Replacements:
- {Find: "font-size: 19px;", Replace: "font-size: 20px;"} # Touch/Mini (Trilogy)
- {Find: "font-size: 23px;", Replace: "font-size: 25px;"} # Glo/Aura/Aura2E/Nia (Phoenix)
- - {Find: "font-size: 29px;", Replace: "font-size: 32px;"} # AuraHD/AuraH2O/AuraH202/Clara/Elipsa (Dragon)
+ - {Find: "font-size: 29px;", Replace: "font-size: 32px;"} # AuraHD/AuraH2O/Clara/Elipsa/Libra2 (Dragon)
- {Find: "font-size: 34px;", Replace: "font-size: 37px;"} # LibraH2O (Storm)
- - {Find: "font-size: 37px;", Replace: "font-size: 40px;"} # AuraONE/Forma (Daylight)
+ - {Find: "font-size: 37px;", Replace: "font-size: 40px;"} # AuraONE/Forma/Sage (Daylight)
Increase home screen cover size:
- Enabled: no
@@ -65,10 +65,10 @@ Increase home screen cover size:
# Glo/Aura/Aura2E/Nia (Phoenix)
- {Find: "qproperty-leftMargin: 40px;", Replace: "qproperty-leftMargin: 16px;"}
- {Find: "qproperty-rightMargin: 40px;", Replace: "qproperty-rightMargin: 16px;"}
- # AuraHD/AuraH2O/AuraH202/Clara/Elipsa (Dragon)
+ # AuraHD/AuraH2O/Clara/Elipsa/Libra2 (Dragon)
- {Find: "qproperty-leftMargin: 57px;", Replace: "qproperty-leftMargin: 22px;"}
- {Find: "qproperty-rightMargin: 57px;", Replace: "qproperty-rightMargin: 22px;"}
- # AuraOne/Forma (Daylight)
+ # AuraONE/Forma/Sage (Daylight)
- {Find: "qproperty-leftMargin: 74px;", Replace: "qproperty-leftMargin: 29px;"}
- {Find: "qproperty-rightMargin: 74px;", Replace: "qproperty-rightMargin: 29px;"}
# LibraH2O (Storm)
diff --git a/src/versions/4.28.18220/nickel.yaml/jackie_w.yaml b/src/versions/4.29.18730/nickel.yaml/jackie_w.yaml
index ea17443..3a35446 100644
--- a/src/versions/4.28.18220/nickel.yaml/jackie_w.yaml
+++ b/src/versions/4.29.18730/nickel.yaml/jackie_w.yaml
@@ -20,10 +20,10 @@ Dictionary pop-up - increase available text area:
# Glo/Aura/Aura2/Nia
- Find: "#dictionary[qApp_deviceIsPhoenix=true] {\n margin-top: 20px;\n margin-left: 20px;\n}"
Replace: "#dictionary[qApp_deviceIsPhoenix=true] {\n margin-top: 7px;\n margin-left: 0px;\n}"
- # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa
+ # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
- Find: "#dictionary[qApp_deviceIsDragon=true] {\n margin-top: 30px;\n margin-left: 30px;\n}"
Replace: "#dictionary[qApp_deviceIsDragon=true] {\n margin-top: 10px;\n margin-left: 0px;\n}"
- # AuraOne/Forma
+ # AuraOne/Forma/Sage
- Find: "#dictionary[qApp_deviceIsDaylight=true] {\n margin-top: 42px;\n margin-left: 42px;\n}"
Replace: "#dictionary[qApp_deviceIsDaylight=true] {\n margin-top: 14px;\n margin-left: 0px;\n}"
#
@@ -34,10 +34,10 @@ Dictionary pop-up - increase available text area:
# Glo/Aura/Aura2/Nia
- Find: "#header[qApp_deviceIsPhoenix=true] {\n max-height: 60px;\n min-height: 60px;\n}"
Replace: "#header[qApp_deviceIsPhoenix=true] {\n max-height: 50px;\n min-height: 50px;\n}"
- # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa
+ # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
- Find: "#header[qApp_deviceIsDragon=true] {\n max-height: 90px;\n min-height: 90px;\n}"
Replace: "#header[qApp_deviceIsDragon=true] {\n max-height: 70px;\n min-height: 70px;\n}"
- # AuraOne/Forma
+ # AuraOne/Forma/Sage
- Find: "#header[qApp_deviceIsDaylight=true] {\n max-height: 120px;\n min-height: 120px;\n}"
Replace: "#header[qApp_deviceIsDaylight=true] {\n max-height: 90px;\n min-height: 90px;\n}"
#
@@ -48,10 +48,10 @@ Dictionary pop-up - increase available text area:
# Glo/Aura/Aura2/Nia
- Find: "#mainContainer[qApp_deviceIsPhoenix=true] {\n qproperty-leftMargin: 16px;\n qproperty-rightMargin: 16px;\n}"
Replace: "#mainContainer[qApp_deviceIsPhoenix=true] {\n qproperty-leftMargin: 8px;\n qproperty-rightMargin: 8px;\n}"
- # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa
+ # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
- Find: "#mainContainer[qApp_deviceIsDragon=true] {\n qproperty-leftMargin: 22px;\n qproperty-rightMargin: 22px;\n}"
Replace: "#mainContainer[qApp_deviceIsDragon=true] {\n qproperty-leftMargin: 11px;\n qproperty-rightMargin: 11px;\n}"
- # AuraOne/Forma
+ # AuraOne/Forma/Sage
- Find: "#mainContainer[qApp_deviceIsDaylight=true] {\n qproperty-leftMargin: 28px;\n qproperty-rightMargin: 28px;\n}"
Replace: "#mainContainer[qApp_deviceIsDaylight=true] {\n qproperty-leftMargin: 14px;\n qproperty-rightMargin: 14px;\n}"
# LibraH2O
@@ -69,12 +69,12 @@ Dictionary pop-up - increase available text area:
Find: "DictionaryViewFooter[qApp_deviceIsPhoenix=true] {\n max-height: 60px;\n min-height: 60px;\n}"
Replace: "DictionaryViewFooter[qApp_deviceIsPhoenix=true] {\n max-height: 50px;\n min-height: 50px;\n}"
MustMatchLength: yes
- # AuraHD/AuraH2O/AuraH202/ClaraHD/LibraH20/Elipsa
+ # AuraHD/AuraH2O/AuraH202/ClaraHD/LibraH20/Elipsa/Libra2
- FindReplaceString:
Find: "DictionaryViewFooter[qApp_deviceIsDragon=true] {\n max-height: 90px;\n min-height: 90px;\n}"
Replace: "DictionaryViewFooter[qApp_deviceIsDragon=true] {\n max-height: 60px;\n min-height: 60px;\n}"
MustMatchLength: yes
- # AuraOne/Forma
+ # AuraOne/Forma/Sage
- FindReplaceString:
Find: "DictionaryViewFooter[qApp_deviceIsDaylight=true] {\n max-height: 120px;\n min-height: 120px;\n}"
Replace: "DictionaryViewFooter[qApp_deviceIsDaylight=true] {\n max-height: 80px;\n min-height: 80px;\n}"
@@ -94,15 +94,15 @@ Increase Book Details synopsis area:
# Portrait mode: #bookInfoWidget[isLandscape=false]:
- {Find: "height: 300px;", Replace: "height: 200px;"} #Touch/Mini
- {Find: "height: 390px;", Replace: "height: 230px;"} #Glo/Aura/Aura2/Nia
- - {Find: "height: 550px;", Replace: "height: 370px;"} #AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa
+ - {Find: "height: 550px;", Replace: "height: 370px;"} #AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
- {Find: "height: 642px;", Replace: "height: 425px;"} #LibraH2O (*untested)
- - {Find: "height: 715px;", Replace: "height: 500px;"} #AuraOne/Forma
+ - {Find: "height: 715px;", Replace: "height: 500px;"} #AuraOne/Forma/Sage
# Landscape mode: #bookInfoWidget[isLandscape=true]:
- {Find: "height: 210px;", Replace: "height: 200px;"} #Touch/Mini
- {Find: "height: 265px;", Replace: "height: 230px;"} #Glo/Aura/Aura2/Nia
- {Find: "height: 420px;", Replace: "height: 370px;"} #AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa
- {Find: "height: 490px;", Replace: "height: 425px;"} #LibraH2O (*untested)
- - {Find: "height: 540px;", Replace: "height: 500px;"} #AuraOne/Forma
+ - {Find: "height: 540px;", Replace: "height: 500px;"} #AuraOne/Forma/Sage
Increase library cover size:
- Enabled: no
@@ -121,10 +121,10 @@ Increase library cover size:
# Glo/Aura/Aura2/Nia (Phoenix)
- {Find: "width: 70px;", Replace: "width: 82px;"}
- {Find: "height: 110px;", Replace: "height: 130px;"}
- # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa (Dragon)
+ # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2 (Dragon)
- {Find: "width: 108px;", Replace: "width: 122px;"}
- {Find: "height: 168px;", Replace: "height: 190px;"}
- # AuraOne/Forma (Daylight)
+ # AuraOne/Forma/Sage (Daylight)
- {Find: "width: 140px;", Replace: "width: 164px;"}
- {Find: "height: 218px;", Replace: "height: 255px;"}
# LibraH2O (Storm)
@@ -155,11 +155,11 @@ Custom collection/author header title font:
- {Find: "font-size: 16px;", Replace: "font-size: 28px;"}
# Glo/Aura/Aura2/Nia (Phoenix)
- {Find: "font-size: 20px;", Replace: "font-size: 36px;"}
- # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa (Dragon)
+ # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2 (Dragon)
- {Find: "font-size: 28px;", Replace: "font-size: 42px;"}
# LibraH2O (Storm)
- {Find: "font-size: 32px;", Replace: "font-size: 46px;"}
- # AuraOne/Forma (Daylight)
+ # AuraOne/Forma/Sage (Daylight)
- {Find: "font-size: 36px;", Replace: "font-size: 50px;"}
Reduce new header/footer height:
@@ -181,10 +181,10 @@ Reduce new header/footer height:
# Glo/Aura/Aura2/Nia (Phoenix)
- Find: "ReadingFooter[qApp_deviceIsPhoenix=true] {\n min-height: 71px;\n max-height: 71px;\n}"
Replace: "ReadingFooter[qApp_deviceIsPhoenix=true] {\n min-height: 47px;\n max-height: 47px;\n}"
- # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa (Dragon)
+ # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2 (Dragon)
- Find: "ReadingFooter[qApp_deviceIsDragon=true] {\n min-height: 101px;\n max-height: 101px;\n}"
Replace: "ReadingFooter[qApp_deviceIsDragon=true] {\n min-height: 66px;\n max-height: 66px;\n}"
- # AuraOne/Forma (Daylight)
+ # AuraOne/Forma/Sage (Daylight)
- Find: "ReadingFooter[qApp_deviceIsDaylight=true] {\n min-height: 131px;\n max-height: 131px;\n}"
Replace: "ReadingFooter[qApp_deviceIsDaylight=true] {\n min-height: 86px;\n max-height: 86px;\n}"
# LibraH2O (Storm)
@@ -206,13 +206,15 @@ Custom header/footer captions:
#
N.B: This patch is not suitable for Japanese/Chinese locale users
fw 4.23.15505 No longer possible to customise font-size for GloHD/ClaraHD
- separately from AuraHD/H2O.
+ separately from AuraHD/H2O.
+ fw 4.29.18730 No longer possible to style header/footer separately,
+ Touch/Mini not separate anymore
- FindZlib: "ReadingFooter" # qss/ReadingFooter.qss
- ReplaceZlibGroup:
Replacements:
# Part 1. Customise font-family (built-in or sideloaded font)
- # #caption[newHeader=true] and #caption[newFooter=true]
+ # #caption
# If new font-family contains spaces wrap in 'single quotes', e.g. 'Kobo Nickel'
# Un-comment and customise ONLY ONE of the following to change header/footer font-family
@@ -225,53 +227,24 @@ Custom header/footer captions:
# should avoid the potential "dogear bookmark problem" outlined below in Part 3 of this patch.
- # Part 2.
- # 2a. Customise font-size for header/footer
- # 2b. (optional) Fine-tune footer text position to avoid cutting bottom progressbar
- # (optional) Fine-tune header text position to avoid possible shadow from top bezel
- # May be useful to those who have also enabled patch 'Reduce new header/footer height'
- # and have customised it to aggressively reduce header/footer height.
-
- # 2a. Change font-size for models other than Touch/Mini (header & footer simultaneously)
- # #caption[newHeader=true] & #caption[newFooter=true]
+ # Part 2. Change font-size
+ # #caption
+ # Touch/Mini/Touch2
+ - Find: "[qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
+ Replace: "[qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
# Glo/Aura/Aura2/Nia
- Find: "[qApp_deviceIsPhoenix=true] {\n font-size: 17px;\n}"
Replace: "[qApp_deviceIsPhoenix=true] {\n font-size: 17px;\n}"
- # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa
+ # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
- Find: "[qApp_deviceIsDragon=true] {\n font-size: 25px;\n}"
Replace: "[qApp_deviceIsDragon=true] {\n font-size: 25px;\n}"
# LibraH2O
- Find: "[qApp_deviceIsStorm=true] {\n font-size: 29px;\n}"
Replace: "[qApp_deviceIsStorm=true] {\n font-size: 29px;\n}"
- # AuraOne/Forma
+ # AuraOne/Forma/Sage
- Find: "[qApp_deviceIsDaylight=true] {\n font-size: 32px;\n}"
Replace: "[qApp_deviceIsDaylight=true] {\n font-size: 32px;\n}"
-
- # N.B: If you do not have a Touch/Mini and your header/footer
- # positions are exactly as you like them you do not need the
- # next 3 Find/Replace pairs.
- # Leave them as-is or comment them out entirely and forget about them.
-
- # Don't change the following pair. It exists to split the header/footer styles
- # which were merged in 4.19.14123.
- - Find: "#caption[newHeader=true][qApp_deviceIsTrilogy=true],\n#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
- Replace: "#caption[newHeader=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}\n#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
-
- # 2a. Touch/Mini users only: Adjust footer font-size as required.
- # 2b. All models (optional): Fine-tune footer position by adjusting margin-top value
- # A negative margin-top (e.g -10px) moves the footer text slightly upwards
- # further from the bottom bezel/progressbar, closer to the page content
- - Find: "#caption[newFooter=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
- Replace: "#caption[newFooter=true] {\n font-size: 14px; margin-top: 0px;}"
-
- # 2a. Touch/Mini users only: Adjust header font-size as required.
- # 2b. All models (optional): Fine-tune header position by adjusting margin-bottom value.
- # A negative margin-bottom (e.g -10px) moves the header text slightly downwards
- # further from the top bezel, closer to the page content
- - Find: "#caption[newHeader=true][qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
- Replace: "#caption[newHeader=true] {\n font-size: 14px; margin-bottom: 0px;}"
-
# Part 3. Increase the width of header/footer captions by reducing the width
# of the pageturn tap zones in the footer's left/right corners
# N.B:
@@ -287,25 +260,17 @@ Custom header/footer captions:
# the "dogear" problem.
#
# Customise one or more of the 3 Replace values below as required
- # Glo/Aura/Aura2E/Nia needs default value 64.
+ # Touch/Mini/Touch2/Glo/Aura/Aura2E/Nia needs default value 64.
# Touch/Mini could be reduced to 57 with no ill effects
- {Find: "footerMargin: 105;", Replace: "footerMargin:64;"}
# LibraH20 needs default value 116.
- # AuraHD/H2O/H2Ov2/GloHD/ClaraHD could be reduced to 102 with no ill effects
+ # AuraHD/H2O/H2Ov2/GloHD/ClaraHD/Libra2 could be reduced to 102 with no ill effects
- {Find: "footerMargin: 170;", Replace: "footerMargin:116;"}
- # AuraOne/Forma
+ # AuraOne/Forma/Sage
- {Find: "footerMargin: 221;", Replace: "footerMargin:133;"}
- # Don't change anything below. It exists to free up some space for
- # your changes above by removing Japanese/Chinese-specific CSS code blocks
- # so that kobopatch will run without giving some kind of 'too long' error message.
- - {Find: "#caption[newHeader=true][localeName=\"ja\"],\n#caption[newFooter=true][localeName=\"ja\"] {\n font-family: Sans-SerifJP, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
- - {Find: "#caption[newHeader=true][localeName=\"zh\"],\n#caption[newFooter=true][localeName=\"zh\"] {\n font-family: Sans-SerifZH-Simplified, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
- - {Find: "#caption[newHeader=true][localeName=\"zh-HK\"],\n#caption[newFooter=true][localeName=\"zh-HK\"] {\n font-family: Sans-SerifZH-Traditional, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
- - {Find: "#caption[newHeader=true][localeName=\"zh-TW\"],\n#caption[newFooter=true][localeName=\"zh-TW\"] {\n font-family: Sans-SerifZH-Traditional, sans-serif;\n font-style: normal;\n}\n", Replace: "\n"}
-
Custom page navigation scrubber:
- Enabled: no
- Description: |
@@ -327,7 +292,7 @@ Custom page navigation scrubber:
# Glo/Aura/Aura2/Nia (Phoenix)
- Find: "[qApp_deviceIsPhoenix=true] {\n font-size: 23px;"
Replace: "[qApp_deviceIsPhoenix=true] {\n font-size: 23px;"
- # AuraHD/AuraH2O/AuraH202/Elipsa (Dragon)
+ # AuraHD/AuraH2O/AuraH202/Elipsa/Libra2 (Dragon)
- Find: "[qApp_deviceIsDragon=true] {\n font-size: 29px;"
Replace: "[qApp_deviceIsDragon=true] {\n font-size: 29px;"
# GloHD (Alyssum)
@@ -339,7 +304,7 @@ Custom page navigation scrubber:
# LibraH2O (Storm)
- Find: "[qApp_deviceIsStorm=true] {\n font-size: 34px;"
Replace: "[qApp_deviceIsStorm=true] {\n font-size: 34px;"
- # AuraOne/Forma (Daylight)
+ # AuraOne/Forma/Sage (Daylight)
- Find: "[qApp_deviceIsDaylight=true] {\n font-size: 37px;"
Replace: "[qApp_deviceIsDaylight=true] {\n font-size: 37px;"
@@ -366,7 +331,7 @@ Custom page navigation scrubber:
# Glo/Aura/Aura2/Nia (Phoenix)
- Find: "#page[qApp_deviceIsPhoenix=true] {\n font-size: 22px;"
Replace: "#page[qApp_deviceIsPhoenix=true] {\n font-size: 22px;"
- # AuraHD/AuraH2O/AuraH202/Elipsa (Dragon)
+ # AuraHD/AuraH2O/AuraH202/Elipsa/Libra2 (Dragon)
- Find: "#page[qApp_deviceIsDragon=true] {\n font-size: 26px;"
Replace: "#page[qApp_deviceIsDragon=true] {\n font-size: 26px;"
# GloHD (Alyssum)
@@ -378,7 +343,7 @@ Custom page navigation scrubber:
# LibraH2O (Storm)
- Find: "#page[qApp_deviceIsStorm=true] {\n font-size: 30px;"
Replace: "#page[qApp_deviceIsStorm=true] {\n font-size: 30px;"
- # AuraOne/Forma (Daylight)
+ # AuraOne/Forma/Sage (Daylight)
- Find: "#page[qApp_deviceIsDaylight=true] {\n font-size: 34px;"
Replace: "#page[qApp_deviceIsDaylight=true] {\n font-size: 34px;"
@@ -417,10 +382,10 @@ Series list increase cover thumbnails:
# Glo/Aura/Aura2/Nia
- {Find: "topMargin: 12px;", Replace: "topMargin: 4px;"}
- {Find: "bottomMargin: 12px;", Replace: "bottomMargin: 0px;"}
- # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa
+ # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
- {Find: "topMargin: 14px;", Replace: "topMargin: 5px;"}
- {Find: "bottomMargin: 14px;", Replace: "bottomMargin: 0px;"}
- # AuraOne/Forma
+ # AuraOne/Forma/Sage
- {Find: "topMargin: 21px;", Replace: "topMargin: 7px;"}
- {Find: "bottomMargin: 21px;", Replace: "bottomMargin: 0px;"}
# LibraH2O
@@ -434,10 +399,10 @@ Series list increase cover thumbnails:
# Glo/Aura/Aura2/Nia
- {Find: "width: 70px;", Replace: "width: 83px;"}
- {Find: "height: 115px;", Replace: "height: 137px;"}
- # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa
+ # AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
- {Find: "width: 108px;", Replace: "width: 120px;"}
- {Find: "height: 175px;", Replace: "height: 195px;"}
- # AuraOne/Forma
+ # AuraOne/Forma/Sage
- {Find: "width: 140px;", Replace: "width: 164px;"}
- {Find: "height: 222px;", Replace: "height: 260px;"}
# LibraH2O
diff --git a/src/versions/4.28.18220/nickel.yaml/oren64.yaml b/src/versions/4.29.18730/nickel.yaml/oren64.yaml
index 66dc005..628dca6 100644
--- a/src/versions/4.28.18220/nickel.yaml/oren64.yaml
+++ b/src/versions/4.29.18730/nickel.yaml/oren64.yaml
@@ -27,7 +27,7 @@ New home screen subtitle custom font:
- Description: |
Increase subtitle font size, font color black. Works best when used
with with patch `New home screen increasing cover size`
- - BaseAddress: 0x15C93CF # qss/GenericHomeWidget.qss
+ - BaseAddress: 0x16923FE # qss/GenericHomeWidget.qss
- ReplaceZlib: {Find: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}", Replace: "MetaDataLabel {\n color: #000000;\n qproperty-indent: 0;\n}"}
- ReplaceZlib:
Find: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}"
diff --git a/src/versions/4.28.18220/nickel.yaml/pgaskin.yaml b/src/versions/4.29.18730/nickel.yaml/pgaskin.yaml
index d405133..e787033 100644
--- a/src/versions/4.28.18220/nickel.yaml/pgaskin.yaml
+++ b/src/versions/4.29.18730/nickel.yaml/pgaskin.yaml
@@ -15,7 +15,7 @@ Remove forgot pin button from lock screen:
Removes the Forgot PIN -> Sign Out button from the lock screen.
If this is enabled and you forget your pin, you will need to
hard reset your Kobo.
- - BaseAddress: 0x15D5D6B # qss/PinCodeInputDialog.qss
+ - BaseAddress: 0x16A214E # qss/PinCodeInputDialog.qss
- ReplaceZlib:
Find: "#lblForgotPin[qApp_deviceIsDragon=true],\n#lblSignOut[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
Replace: "#lblForgotPin,#lblSignOut{qproperty-visible:false;}"
@@ -23,7 +23,7 @@ Remove forgot pin button from lock screen:
Increase size of kepub chapter progress chart:
- Enabled: no
- Description: Originally by oren64, rewritten for 4.16.13337 by pgaskin (geek1011).
- - FindZlib: "#chapterSizes" # qss/ReadingMenuStatsView.qss
+ - BaseAddress: 0x16A520E # qss/ReadingMenuStatsView.qss
- ReplaceZlibGroup:
Replacements:
# Top padding is already set to 15px, 25px, 33px, vertical aligned to middle. |
The text was updated successfully, but these errors were encountered: