dosbox-pure icon indicating copy to clipboard operation
dosbox-pure copied to clipboard

Loading games through a dosbox.conf file crashes the game on Android

Open triggerthehorizon opened this issue 2 years ago • 4 comments

I have started to add a dosbox.conf file to my dosz archives to be able to provide advanced configuration parameters for more complex games like Wing Commander III and IV. These games work perfectly in Windows but crash after a few seconds on android.

I have tested 10 games and the results are the same. I suspect the android version of Dosbox Pure does not like launching games with a dosbox.conf file

triggerthehorizon avatar Apr 27 '22 16:04 triggerthehorizon

Can you paste your dosbox.conf here for Wing Commander 3 that ends up crashing after a few seconds on Android?

schellingb avatar Apr 27 '22 17:04 schellingb

Here you go

[dosbox] machine=svga_s3 memsize=64 [cpu] core=auto cputype=auto cycles=30000 [pci] [mixer] rate=49716 [sblaster] oplmode=opl3 oplemu=nuked oplrate=49716 [autoexec] imgmount D "\cd1.iso" -t cdrom imgmount E "\cd2.iso" -t cdrom imgmount F "\cd3.iso" -t cdrom imgmount G "\cd4.iso" -t cdrom D: WC3

triggerthehorizon avatar Apr 27 '22 17:04 triggerthehorizon

Using this config, I can launch the game, move around, talk to some people and fly the first mission fine on my ARM64 Android phone. Can you think of anything that is special in your case? Also what exactly does "after a few seconds" mean? The games work perfectly fine until suddenly RetroArch closes? It's not during the startup (when the dosbox.conf file is being loaded) where the crashes happen for you, right?

schellingb avatar Apr 27 '22 18:04 schellingb

Wow this is weird.

If I launch the game directly from Retroarch, it loads, I see the joystick configuration screen for a second then it crashes. If I launch the game from my front end (Arc Browser) it is then playable. All the frontend does is send the .dosz file to retroarch and instruct it to launch it using the dosbox pure core.

triggerthehorizon avatar Apr 27 '22 20:04 triggerthehorizon