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
Toolset app crashes on trying to open to select archive #7174
Comments
Hi, @oleg-derevenetz. I'll share anything else the user writes here. Do you have any suspicions to why this happens? |
Well Hello its me who reported it. But yeah everything Zense writted is fine but it also count for game app itself it also crashes on start on 1.0.3 everything goes smooth |
@zenseii If there is no error message at all, and the extraction works on (I suppose, a bit more modern) phone, but fails on the not-so-modern Android 7 tablet, then I suppose that it may be due to Android OOM (out-of-memory) killer. Does this archive contain |
@Shadic93nh if some resource file was extracted only partially (e.g. animation) and therefore is damaged, the game itself can fail naturally as well. Does it fail on the tablet only or on the phone as well? |
No Oleg on android 13 everything works as intended in both version but not on android 7 tablet which is a huawei mediapad m3 8inch lte on 1.0.3 tablet passes but after updated to 1.0.4 both are not wanting to work tablet has like 4 gb of memory. And no zip contains no homm2.gog as i had prepared all required files |
@Shadic93nh then the same questions - does your HoMM2 archive contain |
It doesnt like i sayed before. I didnt even tryed to add it as i extracted necessary files from it right to the game. Replying from said android 13 phone |
I do not understand anything. What do you mean by "it"? What exactly happens if you try to extract the ZIP archive with the contents of original HoMM2 directory both on phone and on tablet? Does this archive contain |
Would you be able to provide a screenshot or names of the contents of the heroes 2 archive you have on your phone? |
What these "901 MB / 1.36 GB" above mean? What is the size of this ZIP file? If it's the size of the ZIP file (packed size / full size), then it seems too big, because on my phone ZIP file from GOG (full content of GOG directory) takes just ~370 MB. |
Well it only contains files directory from pc version as i was unsure at first if i need it or not. But otherwise works fine and also i have a lot maps added just answering to not make you worried :B. But on tablet i deleted this files folder and it didnt make much difference on 1.0.4. to add without files i added cause i thought android had soundfonts too the whole zip is 379 mb 9mb of added maps |
OK @Shadic93nh, @zenseii, I was able to borrow the ancient Lenovo tablet with Android 6, and was able to reproduce the issue. On that device it looks like this:
So it's an issue with
there are reports that some part of this emulation may not work on Android 7 or lower devices:
so it looks like this very issue. This emulation is a relatively new feature (this blog post was written in February 2023), so maybe it will be fixed later in more recent versions of these desugaring libs. We can wait until next release and if it will not be fixed, then we can either bump the minimum supported Android version to Android 8 or rewrite the relevant parts without NIO (what I personally would not like to do, because NIO is really handy). |
@Shadic93nh if you have Android SDK installed, you can try the following:
|
On Android 8 (I have my own old Sony Xperia X Compact device with Android 8) everything works just fine, so it seems that these desugaring issues are really observed only on devices with Android 7 or earlier. |
I see. I might just wait or so for now. |
It turns out that this issue is observed only with latest version of desugaring libs, but not with the previous one. I downgraded them from 2.0.3 to 2.0.2, and now everything works just fine on my Android 6 tablet. @Shadic93nh could you please try to install the APK from here (it's in the |
Preliminary checks
Platform
Android
Describe the bug
A user on Discord is reporting that the toolset app crashes without a message upon clicking on the option "extract homm2 assets" on their Android 7 tablet.
Version 1.0.3 worked fine.
Save file
No file.
Additional info
No response
The text was updated successfully, but these errors were encountered: