sm64-port-android-base
sm64-port-android-base copied to clipboard
game crashes when waking up pirranah plant then backing off
do what i did on render96; i'm using a galaxy s10. I think the plant "falling back asleep" is the trigger for the crash...
Having the same issue on galaxy s10+, if I wake the plant and walk away the game crashes everytime.
I freshly built my apk on the Note 20 and it's doing the same thing
compile it on a computer! Had the same issue on my s10 too.
I'd pass my working apk but yeah id be in trouble if I did
I don't have an s10 but same issue for me. I haven't been able to get it to compile on Linux yet, but the piranha plants crash the game on a termux build.
Running crdroid 6 (android 10) if that helps anyone.
Hmm... I wonder if you could complete the level if you don't wake any of them up... Edit: for anyone wondering, what is he answer is yes XD. It's like an extra layer of game play:don't wake up the piranha plants or your game crashes 😂😂😂
I wondered if this happens on a build for another platform (Windows, Linux, etc) but compiling sm64-port's version on Linux and getting to the sleeping piranha, waking it up, then letting it sleep again, does not crash the game.
Note: The issue occurs for me too on my OnePlus 8 Pro - Android 10
I can confirm that when I compile on Linux, I no longer get this issue. I can wake the piranha up and let it sleep again without crashes. Interestingly, when comparing the APKs from my Android compile and my Linux compile, the Android version is 8.65MB, while the Linux compiled APK is much larger at 29.2MB
I can confirm that when I compile on Linux, I no longer get this issue. I can wake the piranha up and let it sleep again without crashes. Interestingly, when comparing the APKs from my Android compile and my Linux compile, the Android version is 8.65MB, while the Linux compiled APK is much larger at 29.2MB
Did you have to do something to get it to extract all the resources? or did it just work? It is missing a bunch of files for me.
I can confirm that when I compile on Linux, I no longer get this issue. I can wake the piranha up and let it sleep again without crashes. Interestingly, when comparing the APKs from my Android compile and my Linux compile, the Android version is 8.65MB, while the Linux compiled APK is much larger at 29.2MB
Did you have to do something to get it to extract all the resources? or did it just work? It is missing a bunch of files for me.
The only thing that I had to do was use a tool to convert the python scripts to unix format from dos, but I believe this is because I cloned the project with GitHub for Windows, then used Ubuntu in WSL2 to compile. So if you are running a Linux distribution natively I don't think you would have this issue. After that everything worked as expected for me, no missing resources.
I can confirm that when I compile on Linux, I no longer get this issue. I can wake the piranha up and let it sleep again without crashes. Interestingly, when comparing the APKs from my Android compile and my Linux compile, the Android version is 8.65MB, while the Linux compiled APK is much larger at 29.2MB
Did you have to do something to get it to extract all the resources? or did it just work? It is missing a bunch of files for me.
The only thing that I had to do was use a tool to convert the python scripts to unix format from dos, but I believe this is because I cloned the project with GitHub for Windows, then used Ubuntu in WSL2 to compile. So if you are running a Linux distribution natively I don't think you would have this issue. After that everything worked as expected for me, no missing resources.
It now compiles, but the app crashes on start... Sorry, I've gone a little bit off topic, haven't I 😅. Edit: I removed the commit mentioned in a closed issue, now it loads, but there is no sound, and I don't really have a 32 bit machine to compile on, besides my mobile device, which the termux build is broken on. bam! full circle! 😂
I can confirm. When the Piranha Plant goes to sleep it crashes out of the App completely. 100% repro. I've worked on Android before, but I'm not sure how to debug this or track down the error. Very illusive. Very reproducible.
I can confirm that when I compile on Linux, I no longer get this issue. I can wake the piranha up and let it sleep again without crashes. Interestingly, when comparing the APKs from my Android compile and my Linux compile, the Android version is 8.65MB, while the Linux compiled APK is much larger at 29.2MB
Oh, interesting. So this is a specific problem with building from Termux? Now that has me curious. It'd be interesting to get build logs from both repos to see if something is different in the build process.
Able to reproduce on Galaxy S9+ after building using termux.
In the level called whomp's fortress (1star door to the right of the main stairs), if you walk past one of the chomping flowers and the flower wakes up and then you walk away, the entire app crashes.
This is also mentioned in issue #21 Provided logcat
Not sure if it's possible to set hardware acceleration to true https://developer.android.com/guide/topics/graphics/hardware-accel