Skip to content
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

Would be great if it's possible to manually select/specifiy the version of downloaded apk and run decompile separately #1

Closed
Acsimagoria opened this issue Jun 26, 2024 · 9 comments

Comments

@Acsimagoria
Copy link

I am requesting this because sometimes (i. e. today) the version info fetched from Yostar prod may not match up with available versions from APKPure, which would cause the program to request download of an unavailable version endlessly. If we can specify what version to be downloaded, or just specify the apk that would participate the later steps, it should be more convenient to work around the above loop.

@fiseleo
Copy link
Owner

fiseleo commented Jun 26, 2024

Thanks for the feedback. I thought no one looked at this project. This is not a problem with apkpure. Today, the official gave the wrong version. I will download the local APK in the future (only look at the APK version, you need to prepare your own APK) to decrypt the game. Data will be added in the future (using C#).

@Acsimagoria
Copy link
Author

Thanks for the feedback. I thought no one looked at this project. This is not a problem with apkpure. Today, the official gave the wrong version. I will download the local APK in the future (only look at the APK version, you need to prepare your own APK) to decrypt the game. Data will be added in the future (using C#).

Yeah, that’s exactly what I meant, the json file from Yostar prod referenced in the program (or whatever process that generates “onlineversion.txt”) seems to have an outdated wrong version name. I tried to force “download_asset.py” to download the correct version but it seems that as long as versions from those two txt files aren’t matching each other, the execution would just be trapped into an endless downloading loop. Just never really figured out which file sourced and generated the version from the online json file…

@fiseleo
Copy link
Owner

fiseleo commented Jun 26, 2024

I already know the problem is there, it's time for me to fix it

@Acsimagoria
Copy link
Author

Just wondering if the issue is resolved so far, since changing APKversion.txt to 1.46.285252 didn’t really work out, and the version detect is still recognizing 1.46.285252 as the latest version. Is it possible that Yostar actually changed the url that contains the latest version info, and left anything before 1.46.285252 onto the link referenced in url.py?

@fiseleo
Copy link
Owner

fiseleo commented Jul 7, 2024

There is no time to fix it recently. Yostar has not changed the url. url.py is the version number obtained by Yostar and added to the suffix of the Apkpure website. Apkpure does not have the 1.46.285252 version number (that is, it cannot be downloaded). 1.46.285252 is iOS. Blue Archive version code.

@fiseleo
Copy link
Owner

fiseleo commented Jul 7, 2024

image

@Acsimagoria
Copy link
Author

Suddenly makes so much sense…

@Acsimagoria
Copy link
Author

Well if the version tracking cannot be fixed now, are there any suggestions on how I can decrypt the apk if I manually download that already? Which part of the script should I edit to make this happen? (Or in short, a black box that I can input apk address and get decrypted files outputted in the same manner as normal outputs)

@fiseleo fiseleo closed this as completed Aug 5, 2024
@fiseleo
Copy link
Owner

fiseleo commented Aug 5, 2024

fixed

@fiseleo fiseleo reopened this Aug 5, 2024
@fiseleo fiseleo closed this as completed Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants