bjaraujo / Bombermaaan

Bombermaaan is inspired on the classic Bomberman game.
GNU General Public License v3.0
109 stars 13 forks source link

[Bug] Game crush when switching to Windows mode-v1.9.5.2072 #29

Closed ghost closed 5 years ago

ghost commented 5 years ago

Firstly,thank you for your hard work!

I want to report a bug found in the latest release.

Release Version: 1.9.5.2072 Platform: Windows 8.1 x64

Description: 1.Everytime I press F4 in order to switch to the Windows mode, the program will always immediately crash. 2.No CrashReports found in %AppData%\..\Local\CrashRpt\UnsentCrashReports.

Note that No bug found in the previous version:1.9.4.2045.

I guess that this bug may be caused either by the the update of the visual studio ,or the new introduced ogg sound system.But I'm not sure.

bjaraujo commented 5 years ago

It seems to crash in SDL so I think it is an SDL mixer bug. I have marked the latest release as pre-release so feel free to use the previous release.

ghost commented 5 years ago

Thank you for reply, I know this bug may be difficult to fix.

ghost commented 5 years ago

A workaround for switching to windows mode is to modify config.xml.

change this line: <DisplayMode value="3" /> to: <DisplayMode value="4" />


The previous version(1.9.4.2045) doesn't have this bug,which has the same SDL version. I've compared each file between current version and the previous version(1.9.4.2045),and found that only these files has been changed:

Bombermaaan.exe
Bombermaaan.pdb
Bombermaaan32.dll
config.xml
CrashRpt1403.dll
CrashSender1403.exe
msvcp140.dll
vcruntime140.dll

So bug must lie in one of these files. A quite strange bug.@bjaraujo

bjaraujo commented 5 years ago

I think there was a bug loading the songs. Please test new version: v1.9.6.2074

ghost commented 5 years ago

Bug solved ,Thanks!