minecraft-linux / mcpelauncher-client

The code for launching the client
56 stars 26 forks source link

Fails to install latest #17

Open coreybruce opened 3 years ago

coreybruce commented 3 years ago

When you try and install the latest version 1.16.201.01 it fails to extract the file

QQmlExpression: Expression qrc:/qml/LauncherSettingsGeneral.qml:26:23 depends on non-NOTIFYable properties:
    GoogleAccount::accountIdentifier
qml: Load news
qrc:/qml/LauncherMain.qml:15:40: Unable to assign null to QString
qrc:/qml/ThemedControls/PlayButton.qml:8:30: Unable to assign null to QString
qrc:/qml/ThemedControls/PlayButton.qml:8:30: Unable to assign null to QString
qrc:/qml/ThemedControls/PlayButton.qml:8:30: Unable to assign null to QString
http request: https://android.clients.google.com/fdfe/details?doc=com.mojang.minecraftpe, body = 
Version list loaded, entry count: 191
qml: Loaded 0 items
http response body: 
�=�="�:
com.mojang.minecraftpecom.mojang.minecraftpe *  Minecraft2Mojang:�
Explore infinite worlds and build everything from the simplest of homes to the grandest of castles. Play in creative mode with unlimited resources or mine deep into the world in survival mode, crafting weapons and armor to fend off dangerous mobs. Create, explore and survive alone or with friends on mobile devices or Windows 10.<br><br>EXPAND YOUR GAME:<br>Marketplace - Discover the latest community creations in the marketplace! Get unique maps, skins, and texture packs from your favorite creators. <br><br>Slash commands - Tweak how the game plays: you can give items away, summon mobs, change the time of day, and more. <br><br>Add-Ons - Customize your experience even further with free Add-Ons! If you&#39;re more tech-inclined, you can modify data-driven behaviors in the game to create new resource packs.<br><br>MULTIPLAYER<br>Realms - Play with up to 10 friends cross-platform, anytime, anywhere on Realms, your own private server that we host for you. Try a free 30-day trial in-app.<br><br>Multiplayer - Play with up to 4 friends with a free Xbox Live account online.<br>Servers - Join free massive multiplayer servers and play with thousands of others! Discover gigantic community-run worlds, compete in unique mini-games and socialize in lobbies full of new friends!<br><br>SUPPORT: https:///www.minecraft.net/help<br>LEARN MORE: https:///www.minecraft.net/��AUD�$10.99(@�BuyJ(R �*ihttps://play-lh.googleusercontent.com/yAtZnNL-9Eb5VYSsCaOC7KAsOVIJcY8mpKa0MoF-0HCL6b0OrFcBizURHywpuip-D6YHR� �*jhttps://play-lh.googleusercontent.com/VSwHQjcAttxsLE47RuS4PqpC4LT7lCoSjE7Hx5AW_yCxtDvcnsHH*0https://i.ytimg.com/vi/BLtLrFNRE-E/hqdefault.jpgH
api response body = payload {
  detailsResponse {
    docV2 {
      docid: "com.mojang.minecraftpe"
      backendDocid: "com.mojang.minecraftpe"
      docType: 1
      backendId: 3
      title: "Minecraft"
      creator: "Mojang"
      descriptionHtml: "Explore infinite worlds and build everything from the simplest of homes to the grandest of castles. Play in creative mode with unlimited resources or mine deep into the world in survival mode, crafting weapons and armor to fend off dangerous mobs. Create, explore and survive alone or with friends on mobile devices or Windows 10.<br><br>EXPAND YOUR GAME:<br>Marketplace - Discover the latest community creations in the marketplace! Get unique maps, skins, and texture packs from your favorite creators. <br><br>Slash commands - Tweak how the game plays: you can give items away, summon mobs, change the time of day, and more. <br><br>Add-Ons - Customize your experience even further with free Add-Ons! If you&#39;re more tech-inclined, you can modify data-driven behaviors in the game to create new resource packs.<br><br>MULTIPLAYER<br>Realms - Play with up to 10 friends cross-platform, anytime, anywhere on Realms, your own private server that we host for you. Try a free 30-day trial in-app.<br><br>Multiplayer - Play with up to 4 friends with a free Xbox Live account online.<br>Servers - Join free massive multiplayer servers and play with thousands of others! Discover gigantic community-run worlds, compete in unique mini-games and socialize in lobbies full of new friends!<br><br>SUPPORT: https:///www.minecraft.net/help<br>LEARN MORE: https:///www.minecraft.net/"
      offer {
        micros: 10990000
        currencyCode: "AUD"
        formattedAmount: "$10.99"
        checkoutFlowRequired: true
        offerType: 1
        buyButtonLabel: "Buy"
      }
      availability {
        restriction: 1
      }
      image {
        imageType: 2
        Dimension {
          width: 1024
          height: 500
        }
        imageUrl: "https://play-lh.googleusercontent.com/yAtZnNL-9Eb5VYSsCaOC7KAsOVIJcY8mpKa0MoF-0HCL6b0OrFcBizURHywpuip-D6Y"
        supportsFifeUrlOptions: true
      }
      image {
        imageType: 4
        Dimension {
          width: 512
          height: 512
        }
        imageUrl: "https://play-lh.googleusercontent.com/VSwHQjcAttxsLE47RuS4PqpC4LT7lCoSjE7Hx5AW_yCxtDvcnsHHvm5CTuL5BPN-uRTP"
        supportsFifeUrlOptions: true
        25: 1
      }
      image {
        imageType: 3
        imageUrl: "https://youtu.be/BLtLrFNRE-E"
      }
      image {
        imageType: 13
        imageUrl: "https://i.ytimg.com/vi/BLtLrFNRE-E/hqdefault.jpg"
        supportsFifeUrlOptions: false
      }
      image {
        imageType: 1
        Dimension {
          width: 3840
          height: 2160
        }
        imageUrl: "https://play-lh.googleusercontent.com/0-zBoTxVn5PJQtNNnovURx1JIbIytd7_H8fXbOVNyReZkKdgU30BkBzD-XmdoP6BtS0"
        supportsFifeUrlOptions: true
      }
      image {
        imageType: 1
        Dimension {
          width: 3840
          height: 2160
        }
        imageUrl: "https://play-lh.googleusercontent.com/Cq6Sju3wrs8IvE7y0w1pGwjO1FNZchjIbXEqpOTtdW5y7s7qkW-aYEPBFILA4RSKuF8"
        supportsFifeUrlOptions: true
      }
      image {
        imageType: 1
        Dimension {
          width: 3840
          height: 2160
        }
        imageUrl: "https://play-lh.googleusercontent.com/_T5Onj0iaqQjYTf-PNVMXBVENNm5LpQLeMA7tF9Pd-CUFVfZy9afv3C0P9PZ3hfurNI"
        supportsFifeUrlOptions: true
      }
      image {
        imageType: 1
        Dimension {
          width: 3840
          height: 2160
        }
        imageUrl: "https://play-lh.googleusercontent.com/0NS4VI__zHQ5ZG9sDNJF4C6uaccSgqUKV4T-2ND1AXA_kuf_FkQSLx6Rkj6Yyc4npB2x"
        supportsFifeUrlOptions: true
      }
      image {
        imageType: 1
        Dimension {
          width: 1920
          height: 1080
        }
        imageUrl: "https://play-lh.googleusercontent.com/eM2N3BdyvKYVI8V4eOZQxHFx9DFc9r1s0mkDFgAkuX_euAS635KZLNVExZ8JdamWTwk"
        supportsFifeUrlOptions: true
      }
      image {
        imageType: 1
        Dimension {
          width: 3840
          height: 2160
        }
        imageUrl: "https://play-lh.googleusercontent.com/GszvU00I5sSnujEL_zg4905MJuoBs4X57t5yb95ehtZ0ruU5-uJMS0Z22zccw_4WFFf3"
        supportsFifeUrlOptions: true
      }
      image {
        imageType: 1
        Dimension {
          width: 3840
          height: 2160
        }
        imageUrl: "https://play-lh.googleusercontent.com/34W0sPkaT9YL1mKYfJklQHS9N7FXVsFaW_vMDlnWSWcaONXmGvfgHUVcsWKWHbarLq-M"
        supportsFifeUrlOptions: true
      }
      image {
        imageType: 1
        Dimension {
          width: 3840
          height: 2160
        }
        imageUrl: "https://play-lh.googleusercontent.com/8O1-J7YFRB1vtq4J73zkRXU-Zf7KWAXHdor_MXHlIq4Xtw49S0fEtDmY0V8pmXSjE8I"
        supportsFifeUrlOptions: true
      }
      details {
        appDetails {
          developerName: "Mojang"
          versionCode: 961620101
          versionString: "1.16.201.01"
          installationSize: 138823700
          permission: "android.permission.ACCESS_NETWORK_STATE"
          permission: "android.permission.ACCESS_WIFI_STATE"
          permission: "android.permission.FOREGROUND_SERVICE"
          permission: "android.permission.GET_ACCOUNTS"
          permission: "android.permission.INTERNET"
          permission: "android.permission.READ_CONTACTS"
          permission: "android.permission.READ_EXTERNAL_STORAGE"
          permission: "android.permission.VIBRATE"
          permission: "android.permission.WAKE_LOCK"
          permission: "android.permission.WRITE_EXTERNAL_STORAGE"
          permission: "com.android.vending.BILLING"
          permission: "com.android.vending.CHECK_LICENSE"
          permission: "com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE"
          developerEmail: "help@minecraft.net"
          developerWebsite: "http://help.mojang.com"
          numDownloads: "10,000,000+ downloads"
          packageName: "com.mojang.minecraftpe"
          recentChangesHtml: "What&#39;s new in 1.16.201: Various bug fixes!"
          uploadDate: "Dec 10, 2020"
          file {
            fileType: 0
            versionCode: 961620101
            size: 87241809
            compressedSize: 84628490
          }
          file {
            fileType: 0
            versionCode: 961620101
            size: 12697
            splitId: "config.ldpi"
            compressedSize: 6546
          }
          file {
            fileType: 0
            versionCode: 961620101
            size: 51569194
            splitId: "config.x86"
            compressedSize: 50215729
          }
          appType: "GAME"
          variesByAccount: true
          certificateSet {
            certificateHash: ""
            2: ""
          }
          declaresIab: true
          installLocation: 3
          targetSdkVersion: 29
          installDetails {
            installLocation: 3
            size: 138823700
            targetSdkVersion: 29
            5: 8
            7: 1
            10: 3
            11: "config.ldpi"
            11: "config.x86"
          }
          35 {
            1: 0
            2: 0
            3: 0
            5: "mcbetasinfo@microsoft.com"
            6 {
              1: 1
              5: "https://play-lh.googleusercontent.com/DX5LZpc4SUuvYv2kLA31fi05liLQwizh4DbHYwQthmNP15rul46zG-aquf2Vaf3M9EeBIihWmCsyIWFSLQ"
              9: 1
            }
          }
          41 {
            1: "This sandbox crafting and building juggernaut provides the quintessential creative experience"
            1: "Get crafty with limitless building materials in \342\200\234Creative\342\200\235 mode, or dial up the tension in \342\200\234Survival\342\200\235 mode"
            1: "Play offline on your own, or team up online with four friends (or up to 10, if you subscribe to a \342\200\234realm\342\200\235)"
            2: ""
            3 {
              2 {
                5: "subnavHome?c=3&cat=GAME&sub=EDITORS_CHOICE_GAMES_SUBNAV"
              }
            }
            4: "Editors\' Choice"
            5: "Why we love this"
          }
          45: "Mojang<br/>Maria Skolgata 83<br/>118 53<br/>Stockholm<br/>Sweden"
          46 {
            2 {
              1: "details?doc=developer-4772240228547998649"
              7 {
                1: 4
                5 {
                  1: 4
                  3 {
                    2 {
                      1: "4772240228547998649"
                      2: 8
                      3: 3
                    }
                  }
                  5: 1
                }
              }
              8 {
                1: "4772240228547998649"
                2: 8
                3: 3
              }
            }
          }
          53: 10000000
          61: "10M+"
          64 {
            1: "Aug 15, 2011"
            2 {
              1: 1313475441
              2: 825000000
            }
          }
          66 {
            1 {
              1 {
                1: "Simulation"
                2 {
                  3 {
                    1: "homeV2?cat=GAME_SIMULATION&c=3"
                  }
                }
                3: "GAME_SIMULATION"
                4: "/g/120zjhcx"
                5 {
                  1 {
                    1: 7
                    8 {
                      1: 30
                    }
                  }
                }
              }
            }
            5 {
              1 {
                1: "Stylized"
                2 {
                  4 {
                    1: "search?q=Stylized+games&o=0&c=3&ksm=1&sb=5"
                    2: "Stylized games"
                    3: 5
                    4: 3
                  }
                }
                4: "/m/012yh1"
                5 {
                  1 {
                    1: 7
                    8 {
                      1: 40
                    }
                  }
                }
              }
              1 {
                1: "Pixelated"
                2 {
                  4 {
                    1: "search?q=Pixelated+games&o=0&c=3&ksm=1&sb=5"
                    2: "Pixelated games"
                    3: 5
                    4: 3
                  }
                }
                4: "/m/05x50"
                5 {
                  1 {
                    1: 7
                    8 {
                      1: 40
                    }
                  }
                }
              }
            }
          }
          67: "$0.99 - $74.99 per item"
          68 {
            1: "Mojang"
          }
          70: 34354410
          71 {
            1 {
              1 {
                1: 7
                8 {
                  1: 1
                }
              }
            }
          }
          73 {
            1 {
              1: 7
              8 {
                1: 3
              }
            }
          }
          74 {
            1 {
              1: 7
              8 {
                1: 14
              }
            }
          }
          75 {
            1 {
              1: 7
              8 {
                1: 17
              }
            }
          }
          76 {
            1 {
              1: 7
              8 {
                1: 19
              }
            }
          }
          77: "10M"
          78: "10 million"
        }
      }
      aggregateRating {
        type: 2
        starRating: 4.5265822
        ratingsCount: 3932096
        oneStarRatings: 263020
        twoStarRatings: 72724
        threeStarRatings: 140163
        fourStarRatings: 310938
        fiveStarRatings: 3145247
        commentCount: 2016098
        17: "4.5"
        18: "3M"
        19: "3 million"
      }
      annotations {
        badgeForDoc {
          title: "Editors\' Choice"
          image {
            imageType: 6
            imageUrl: "https://play-lh.googleusercontent.com/HotsP0KmK4tn0Q8p9szRXtwjD7fZRKu4mFcfJUFoddrGiZefxY7gz4dEGMuH6HsfCymJP6a8MvAwYWrU"
            supportsFifeUrlOptions: true
            28: "https://play-lh.googleusercontent.com/qfL-kJrM4BmAXFhcMQXk0Cy962-xgIg5jdWr6ncV_d9d8sG--LGa1mVphr6eyeUppcFIHpQOUx7NHjYB"
          }
          browseUrl: "browseAppsEditorsChoiceStream"
          description: "Editors\' Choice"
        }
        privacyPolicyUrl: "https://privacy.microsoft.com/en-us/privacystatement"
        badgeForContentRating {
          title: "Mature"
          image {
            imageType: 6
            Dimension {
              width: 512
              height: 455
            }
            imageUrl: "https://play-lh.googleusercontent.com/TM002QPh45bJn6yMHvFY3WzQHfYRWxIbV5Fa1gF8fHU_Epy_JRsXKAUz9yRVl4VjU6o1-E06JchK59Vv"
            supportsFifeUrlOptions: true
          }
          description: "Violence<br/>Users Interact<br/><a href=\"https://support.google.com/googleplay?p=appgame_ratings\">Learn more</a>"
          textInTitleSection: "Mature"
        }
        featureBadge {
          title: "Eligible for Family Library"
          image {
            imageType: 6
            imageUrl: "https://play-lh.googleusercontent.com/TfkHLF7BQaLpU52-793ZQ74LMW_jyVj0USXnlh6FmynUdOuNmFJvSoteSofcwtzwerJ-pP446GOshraFfg"
            supportsFifeUrlOptions: true
            28: "https://play-lh.googleusercontent.com/qnc3SgBlWcDoiAMb57uqKT5Ad9coPGqWQfpnjGQuGYKg7N7lj6imyxBthkXGQ12X3o4uZdhb2fyo7qOnYA"
          }
          description: "<a href=\"https://support.google.com/googleplay?p=family_library_eligibility\">Learn more</a>"
        }
        53 {
          1: "GAME"
        }
        65 {
          1: "top selling arcade"
          2 {
            2 {
              2: "browseTopCharts?c=3&cat=GAME_ARCADE&stcid=apps_topselling_paid"
            }
          }
          3: "#1"
          4 {
            1 {
              1: 7
              8 {
                1: 16
              }
            }
          }
        }
        80: "apps/detailsLiveOpsStream?doc=com.mojang.minecraftpe"
        85: "promotion/detailsPagePromotion?doc=com.mojang.minecraftpe"
      }
      detailsUrl: "details?doc=com.mojang.minecraftpe"
      shareUrl: "https://play.google.com/store/apps/details?id=com.mojang.minecraftpe"
      reviewsUrl: "rev?doc=com.mojang.minecraftpe&n=20"
      detailsReusable: true
      serverLogsCookie: ""
      productDetails {
        section {
          title: "In-app purchases"
          description {
            description: "$0.99 - $74.99 per item"
          }
        }
        section {
          title: "Offered by"
          description {
            description: "Mojang"
          }
        }
        section {
          title: "Developer e-mail"
          description {
            description: "help@minecraft.net"
          }
        }
        section {
          title: "Developer address"
          description {
            description: "Mojang<br/>Maria Skolgata 83<br/>118 53<br/>Stockholm<br/>Sweden"
          }
        }
        section {
          title: "Released on"
          description {
            description: "Aug 15, 2011"
          }
        }
      }
      mature: false
      promotionalDescription: "Millions of crafters have smashed billions of blocks! Now you can join the fun!"
      availableForPreregistration: false
      forceShareability: false
      34: "reviewQuestions?doc=com.mojang.minecraftpe"
      38 {
        1: 1
        2: "lpi"
        3: "1"
      }
      39: "reviewSummary?doc=com.mojang.minecraftpe"
      40 {
        2 {
          51: "allReviews?doc=com.mojang.minecraftpe&sfilter=ALL"
        }
      }
      43: 3
      45: 1
      47 {
        1: "<a href=\"https://support.google.com/googleplay?p=family_library_eligibility\">Learn more</a>"
      }
      50 {
        1: "Mature"
        2: "Violence<br/>Users Interact<br/><a href=\"https://support.google.com/googleplay?p=appgame_ratings\">Learn more</a>"
        3 {
          2: 2
          3 {
            1: 455
            2: 512
          }
          6 {
            1: "https://play-lh.googleusercontent.com/TM002QPh45bJn6yMHvFY3WzQHfYRWxIbV5Fa1gF8fHU_Epy_JRsXKAUz9yRVl4VjU6o1-E06JchK59Vv"
          }
        }
        5: "Violence"
        6: "Users Interact"
        8 {
          1 {
            1: 7
            8 {
              1: 15
            }
          }
        }
      }
      51 {
        1 {
          1: 7
          8 {
            1: 4
          }
        }
      }
    }
    footerHtml: "All prices include GST."
    serverLogsCookie: ""
    enableReviews: true
    13: ""
    17: ""
    21 {
      14: 111
      14: 117
      14: 115
    }
  }
}
serverMetadata {
  latencyMillis: 165
}
"

qml: Got app info 1.16.201.01 961620101
server build id: 224
http request: https://android.clients.google.com/fdfe/delivery?doc=com.mojang.minecraftpe&ot=1&vc=961620101&fdcf=1&fdcf=2, body = 
http response body: 
�(������)��https://play.googleapis.com/download/by-token/download?token=
api response body = payload {
  deliveryResponse {
    status: 1
    appDeliveryData {
      downloadSize: 87241809
      signature: "_7XN38djUby1r1u8lDhwjRpQPUM"
      downloadUrl: "https://play.googleapis.com/download/by-token/download?token="
      downloadAuthCookie {
        name: "a"
        value: "42"
      }
      forwardLocked: false
      serverInitiated: true
      gzippedDownloadUrl: "https://play.googleapis.com/download/by-token/download?token="
      gzippedDownloadSize: 84628490
      splitDeliveryData {
        id: "config.ldpi"
        downloadSize: 12697
        gzippedDownloadSize: 6546
        signature: "tmHBhLSz3d8a5-A-ty_EYshJH4Y"
        downloadUrl: "https://play.googleapis.com/download/by-token/download?token="
        gzippedDownloadUrl: "https://play.googleapis.com/download/by-token/download?token="
        8 {
          1: 2
          2: 6546
          3: "https://play.googleapis.com/download/by-token/download?token="
        }
      }
      splitDeliveryData {
        id: "config.x86"
        downloadSize: 51569194
        gzippedDownloadSize: 50215729
        signature: "4kFYFyRXd5c9v_WeHqNpuGKDHuw"
        downloadUrl: "https://play.googleapis.com/download/by-token/download?token="
        gzippedDownloadUrl: "https://play.googleapis.com/download/by-token/download?token="
        8 {
          1: 2
          2: 50215729
          3: "https://play.googleapis.com/download/by-token/download?token="
        }
      }
      installLocation: 3
      everExternallyHosted: false
      18 {
        1: 2
        2: 84628490
        3: "https://play.googleapis.com/download/by-token/download?token="
      }
      19: "mnfu8k87E7pghfcnZnH-N5v5Gvoyook5u5GAACSpfoQ"
      26: "mYkVb0uLTp6MqN9XP_q95g"
    }
  }
}
serverMetadata {
  latencyMillis: 70
}
serverLogsCookie: "\010\022\232\001\027\n\023\010\347\235\320\211\306\204\357\002\025\255\222K\005\035\305\204\016\270\020\004"

http request: https://play.googleapis.com/download/by-token/download?token=, body = 
http response body: 
Apk info: versionCode= 961620101  versionName= "1.16.201.01"
qml: Extraction failed: The specified file is not compatible with the launcher
ChristopherHX commented 3 years ago

@coreybruce Please change your google password, to enshure you stay safe. Posting logs of google play api in debug mode publicy is very insecure, it contains sensive token's to google play services. I removed them from you log. The links in such a log can be abused to obtain the game apk.

You need a newer Launcher UI for 1.15.x+, I fixed it last spring https://github.com/minecraft-linux/mcpelauncher-ui-manifest/tree/ng. You still use an old discontinued version of the launcher. Links to my uptodate prebuild's found here https://github.com/ChristopherHX/mcpelauncher-manifest/releases/tag/stable (build scripts still uses private macOSXSdk's)

coreybruce commented 3 years ago

I edited it but did I remove the correct stuff?

And thanks, I'll let you know if I run into any problems.

ChristopherHX commented 3 years ago

did I remove the correct stuff?

I already removed it before your edit, see comment history (.Edited) above your comment) Then I also deleted the original revision, otherwise github keeps a public version of your commit.

coreybruce commented 3 years ago

Thank you!

coreybruce commented 3 years ago

Will the flatpak package be updated also? I tested the arm64 version on my pi 4 and it seems to be the old client because it has this issue.

ChristopherHX commented 3 years ago

To be honest the flatpak contained never the old client, are you shure it is exactly the same issue? If you get a corruption / unsupported message for 1.16.210, it is because it unsupported even after fixing that we observed

coreybruce commented 3 years ago

Oh I see and yeah it's a unsupported message on the latest version with the flatpak version

coreybruce commented 3 years ago

I downloaded the launcher appimage for x64 and it wasn't the latest so it updated to the latest version and I am still getting the error

alt text

ChristopherHX commented 3 years ago

Minecraft 1.16.201 is latest for the latest Launcher, but mrarm pushed this commithttps://github.com/minecraft-linux/mcpelauncher-versiondb/commit/da1b0d339838a30e7bb63bb10a94b15eb15fd272, as result the launcher assumes it would work and fails to hide it.- press Pencil icon (next to "Default")- press 1.16.210- change to 1.16.201

coreybruce commented 3 years ago

Yeah pretty much what I did for now, thanks for the support. Do you know when the latest version will be supported?

ChristopherHX commented 3 years ago

...Now it's 1.17.0 and it works. Crafting doesn't really work on intel / amd since 1.16.210.

Mojang seems to have finished their breaking changes, current 1.17.10 beta works fine too. Also I improved the latest version protection, to not rely on master and requires manual approval to be marked as supported inside the launcher. More information about breaking changes in 1.16.210-230 https://github.com/ChristopherHX/mcpelauncher-manifest/issues/48

v0.2.x downloads the version list from https://github.com/minecraft-linux/mcpelauncher-versiondb/tree/v0.2.0, and refuses to run versions not listed there, unless you enable dev-mode and disable all crash protection.