OGG audio makes the game freeze (Android)

Started by SinGala, Tue 07/11/2023 12:33:25

Previous topic - Next topic

eri0o

I don't know if the engine can load a "naked" game28.dta file (it refused to load when I tried), but I wonder if a fully unpacked (using agsunpack.exe) game would make sense to then pack in the Android asset, because this would lower the memory offset indirections - unfortunately this is not possible for the spritefile, so not sure it's worth it. This is more to then use the compression from Android (in case it's desired). I still think for Android it's best we handle the compression/decompression ourselves though.

Crimson Wizard

#21
Quote from: eri0o on Thu 09/11/2023 00:14:12I don't know if the engine can load a "naked" game28.dta file (it refused to load when I tried)

I think it is supposed to, as there should not be any difference between loading this from disk or from package. Have you tried on Windows first?

eri0o

I haven't yet tried in Windows, that was Android.

@SinGala , if you have time, please try the AGS from here: https://cirrus-ci.com/task/6170912077119488

SinGala

Quote from: eri0o on Wed 08/11/2023 17:04:11I made a change that disables the additional compression Android does, only for .ags and .vox files. It should show up here eventually, please check it out: https://cirrus-ci.com/task/4912521337896960 (it may take a little while for the build to show up here)
Just made an .apk with this new build and it works perfectly, no freeze, no latency, nothing. Thank you!
It even fixed a lagging issue that happened while clicking on the buttons for the first time in my level scenes.

eri0o

Thanks for reporting, this should be in the next 3.6.1 release.

SMF spam blocked by CleanTalk