I paid for Puzzle Quest 2 on android like a decade+ ago. It is a local single-player game. It has a validation check when you open the app. That check fails because this game is ancient and the servers are offline.

I want to replay the game I paid for. I have the APK from an APK site. It’s even been pulled from steam to push their crappy p2w pq3. Anyone have tricks to crank an APK and bypass a server check? I’ve decompiled the APK but am in a bit over my head.

  • KptnAutismus@lemmy.world
    link
    fedilink
    English
    arrow-up
    75
    ·
    2 years ago

    with sonic runners, they had to reverse engineer the whole server infrastructure. i’d say the chances of you patching out server checks without decompiling the entire game are low.

    but i’m not any kind of programmer, so i’d love to be proven wrong.

    • bdonvr@thelemmy.club
      link
      fedilink
      English
      arrow-up
      13
      ·
      2 years ago

      It really depends on the app. Plenty of Android apps have very simple to do premium bypass.

    • Paradachshund@lemmy.today
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 years ago

      Server checks aren’t always just an arbitrary gate at the start so this makes sense. For example, if the game has unlockable things (paid or not) and those things sync across multiple devices, then server checks to make sure your progress get saved and merged together properly can be woven through the whole game.

    • kurwa@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 years ago

      I wonder if in this case you could just mimic the OG server and return a 200. Could just do that with a hosts file change. Although if it’s looking for anything else from that verification endpoint then decompiling would be the answer.

    • Daxtron2@startrek.website
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 years ago

      I mean decompiling it isn’t really an issue. Adding changes and recompiling without breaking things is more of a challenge but still doable.

  • CaptainBasculin@lemmy.ml
    link
    fedilink
    English
    arrow-up
    33
    ·
    2 years ago

    Try lucky patcher to remove licence verification. It’s a very hit&miss tool; but when it works it does well.

  • Murkhat@feddit.de
    link
    fedilink
    English
    arrow-up
    18
    ·
    2 years ago

    Search all files for “http” and check how the URL is utilized, maybe you can comment out those Funktion calls

  • 0xd34d@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    15
    ·
    2 years ago

    I have a copy that was part of a humble bundle. It doesn’t want to install on my phone, probably an issue with newer version of Android, but if you DM me I can share that with you if you want.

  • redditReallySucks@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    14
    ·
    2 years ago

    I’m currently also looking at decompiling android apps and understand a bit of smali. If you send me the apk I might look into it.

    If you want to do it yourself, I recommend apktool_m on android. It includes all tools required to decompile the app. It can even show a partially correct java code in apps that are not obfuscated.

  • Shady_Shiroe@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 years ago

    Reminds me of when I was a kid and played mono monsters 1 & 2, so sad they shut it down and due to tutorial requiring you go to the shop you get stuck and unable to proceed.