Wonder Boy: The Dragon's Trap

Wonder Boy: The Dragon's Trap

View Stats:
Fyrthir Jun 8, 2017 @ 8:40am
wb.exe stopped working (at launch)
Hi,

I cannot start the game... When I start it, I got a white screen with a window telling that "wb.exe stopped working"... I restarted Steam, my computer, uninstalled and installed again but no improvement...

Any clue ?
< >
Showing 1-15 of 31 comments
Omar  [developer] Jun 8, 2017 @ 8:47am 
Hello Fyrthir,

Sorry to hear that. Which OS are you using? It is a 32-bit of 64-bit OS?
Could you check if there is a WB.LOG file next to the executable? If there is one, could you paste the content here?

Omar
Fyrthir Jun 8, 2017 @ 8:59am 
I have windows 10 64bit. I have a dual chipset graphics system (Intel HD 3000 + Radeon 6600M) + i5 core.

Here is the WB.LOG :

WbGameApp Construct
WbGameApp Construct end
App init()
[app] WbGameApp init()
[app] Load Main Settings
[app] Wonder Boy: The Dragon's Trap
[app] Version: 1.02a / build Jun 8 2017, 17:40:51
[app] Exe: Win 64-bits Final DX11 Audio Steam Mouse Public Edit
[app] Windows 10.0 (15063)
[app] Steam BuildId 1877399 (Branch '')
[app] PersistentMgr create
[app] PlatformApplication init()
[app] WinApplication::init()
[app] DeviceMgr init
[app] PersistentMgr init
[app] initWindow()
[graphics] HWNDWindowMgr::init()
[graphics] EnumDisplayMonitors()
[graphics] Create window 0
[graphics] CreateGLWindow()
[graphics] InitDX11()
[dx11] Adapter 0: "Intel(R) HD Graphics 3000"
[dx11] VendorId = 8086, DeviceId = 116, SubSysId = 9080104D, Revision = 9
[dx11] DedicatedVideoMemory = 1040 MB, DedicatedSystemMemory = 0 MB, SharedSystemMemory = 4051 MB
[dx11] Output 0: "\\.\DISPLAY1", Coords (l:0,r:1920,t:0,b:1080), Attached 1, Rotation 1
[dx11] Mode 12: 800x600 @ 59.93, Format 28
[dx11] Mode 13: 800x600 @ 59.93, Format 28
[dx11] Mode 14: 1024x768 @ 59.93, Format 28
[dx11] Mode 15: 1024x768 @ 59.93, Format 28
[dx11] Mode 16: 1280x768 @ 59.93, Format 28
[dx11] Mode 17: 1280x768 @ 59.93, Format 28
[dx11] Mode 18: 1280x800 @ 59.93, Format 28
[dx11] Mode 19: 1280x800 @ 59.93, Format 28
[dx11] Mode 20: 1280x1024 @ 59.93, Format 28
[dx11] Mode 21: 1280x1024 @ 59.93, Format 28
[dx11] Mode 22: 1360x768 @ 59.93, Format 28
[dx11] Mode 23: 1360x768 @ 59.93, Format 28
[dx11] Mode 24: 1366x768 @ 59.93, Format 28
[dx11] Mode 25: 1366x768 @ 59.93, Format 28
[dx11] Mode 26: 1400x1050 @ 59.93, Format 28
[dx11] Mode 27: 1400x1050 @ 59.93, Format 28
[dx11] Mode 28: 1440x900 @ 59.93, Format 28
[dx11] Mode 29: 1440x900 @ 59.93, Format 28
[dx11] Mode 30: 1600x900 @ 59.93, Format 28
[dx11] Mode 31: 1680x1050 @ 59.93, Format 28
[dx11] Mode 32: 1680x1050 @ 59.93, Format 28
[dx11] Mode 33: 1920x1080 @ 59.93, Format 28
[dx11] Adapter 1: "Microsoft Basic Render Driver"
[dx11] VendorId = 1414, DeviceId = 8C, SubSysId = 0, Revision = 0
[dx11] DedicatedVideoMemory = 0 MB, DedicatedSystemMemory = 0 MB, SharedSystemMemory = 4051 MB
[dx11] SwapEffect = 4
[graphics] HWNDWindowMgr::init()
[app] Application::init
[app] TimeMgr init
[app] InputMgr init
[app] FileMgr init
[app] TextMgr init
[app] Managers load
[app] LeaderBoardMgr init
[app] AchievementsMgr init
[app] Rand init
[app] ImGuiH init
[app] HapticMgr init
Omar  [developer] Jun 8, 2017 @ 9:03am 
Thanks.

Can you confirm that the logs FINISH with
[app] HapticMgr init
And there's nothing below?
That's a very good hint for me to investigate.

Otherwhise, the log isn't not seeing the Radeon 6600M for some reason, and I don't think an Intel HD Graphics 3000 can run the game, which is also super strange.

-Omar
Fyrthir Jun 8, 2017 @ 9:15am 
I deleted the file and start again and got the same, lastline is HapticMgr... The error of dualchips card appears for other games but it seems that the good card is used... I can see WonderBoy in the Radeon Catalyst center...
Omar  [developer] Jun 8, 2017 @ 9:32am 
So, what happen such after the HapticMgr line is that I am running the code which create the graphics framebuffer for rendering and then enters Fullscreen mode.

1. I will investigate why this code is crashing in this situation, see if it is fixable and/or if I can return with a better error message.

2. However I suspect it is related to the code somehow only seeing the HD 3000 graphics and it's just failing to run on that, but crashing instead of gracefully telling you so.
I am running a very standard piece of DirectX11 code to list Graphics Adapter and the Radeon isn't showing, so I presume there must be a setting somewhere to activate it, unless it is somehow masquerading as a Intel cards (why would it want to do that?).

3. If you go in bin_pc/config/ and create a Settings.cfg with exactly this content:

Settings = { Fullscreen = false, }

It will not try to run the game in fullscreen and MIGHT make it better. But I suppose if it's trying to run on the Intel HD 3000 the framerate isn't going to be good.

X. I have sent you a friend request for direct chat if you aren't annoyed with the idea of helping me find the cause of your bug. I could push you a special test build spewing out more detailed logging information.

Last edited by Omar; Jun 8, 2017 @ 9:35am
Fyrthir Jun 8, 2017 @ 9:48am 
Totally working without the fullscreen option !!! No lag, no freeze, everything's perfect... (If i go to fullscreen by the option the game crashes directly)

Thanks a lot !
Angenie Jun 8, 2017 @ 10:07am 
Hi,

I have the same problem with this log.

With the Settings.cfg file, it work also.


WbGameApp Construct
WbGameApp Construct end
App init()
[app] WbGameApp init()
[app] Load Main Settings
[app] Wonder Boy: The Dragon's Trap
[app] Version: 1.02a / build Jun 8 2017, 17:40:51
[app] Exe: Win 64-bits Final DX11 Audio Steam Mouse Public Edit
[app] Windows 10.0 (15063)
[app] Steam BuildId 1877399 (Branch '')
[app] PersistentMgr create
[app] PlatformApplication init()
[app] WinApplication::init()
[app] DeviceMgr init
[app] PersistentMgr init
[app] initWindow()
[graphics] HWNDWindowMgr::init()
[graphics] EnumDisplayMonitors()
[graphics] Create window 0
[graphics] CreateGLWindow()
[graphics] InitDX11()
[dx11] Adapter 0: "NVIDIA GeForce GTX 960M "
[dx11] VendorId = 10DE, DeviceId = 139B, SubSysId = 18DD1043, Revision = 162
[dx11] DedicatedVideoMemory = 4037 MB, DedicatedSystemMemory = 0 MB, SharedSystemMemory = 8136 MB
[dx11] Output 0: "\\.\DISPLAY1", Coords (l:0,r:1920,t:0,b:1080), Attached 1, Rotation 1
[dx11] Mode 12: 800x600 @ 60.10, Format 28
[dx11] Mode 13: 800x600 @ 60.10, Format 28
[dx11] Mode 14: 1024x768 @ 60.10, Format 28
[dx11] Mode 15: 1024x768 @ 60.10, Format 28
[dx11] Mode 16: 1152x864 @ 60.10, Format 28
[dx11] Mode 17: 1152x864 @ 60.10, Format 28
[dx11] Mode 18: 1280x600 @ 60.10, Format 28
[dx11] Mode 19: 1280x600 @ 60.10, Format 28
[dx11] Mode 20: 1280x720 @ 60.10, Format 28
[dx11] Mode 21: 1280x720 @ 60.10, Format 28
[dx11] Mode 22: 1280x768 @ 60.10, Format 28
[dx11] Mode 23: 1280x768 @ 60.10, Format 28
[dx11] Mode 24: 1280x800 @ 60.10, Format 28
[dx11] Mode 25: 1280x800 @ 60.10, Format 28
[dx11] Mode 26: 1280x960 @ 60.10, Format 28
[dx11] Mode 27: 1280x960 @ 60.10, Format 28
[dx11] Mode 28: 1280x1024 @ 60.10, Format 28
[dx11] Mode 29: 1280x1024 @ 60.10, Format 28
[dx11] Mode 30: 1360x768 @ 60.10, Format 28
[dx11] Mode 31: 1360x768 @ 60.10, Format 28
[dx11] Mode 32: 1366x768 @ 60.10, Format 28
[dx11] Mode 33: 1366x768 @ 60.10, Format 28
[dx11] Mode 34: 1400x1050 @ 60.10, Format 28
[dx11] Mode 35: 1400x1050 @ 60.10, Format 28
[dx11] Mode 36: 1440x900 @ 60.10, Format 28
[dx11] Mode 37: 1440x900 @ 60.10, Format 28
[dx11] Mode 38: 1600x900 @ 60.10, Format 28
[dx11] Mode 39: 1600x900 @ 60.10, Format 28
[dx11] Mode 40: 1680x1050 @ 60.10, Format 28
[dx11] Mode 41: 1680x1050 @ 60.10, Format 28
[dx11] Mode 42: 1920x1080 @ 60.10, Format 28
[dx11] Adapter 1: "Intel(R) HD Graphics 4600"
[dx11] VendorId = 8086, DeviceId = 416, SubSysId = 18DD1043, Revision = 6
[dx11] DedicatedVideoMemory = 112 MB, DedicatedSystemMemory = 0 MB, SharedSystemMemory = 2048 MB
[dx11] Adapter 2: "Microsoft Basic Render Driver"
[dx11] VendorId = 1414, DeviceId = 8C, SubSysId = 0, Revision = 0
[dx11] DedicatedVideoMemory = 0 MB, DedicatedSystemMemory = 0 MB, SharedSystemMemory = 8136 MB
[dx11] SwapEffect = 4
[graphics] HWNDWindowMgr::init()
[app] Application::init
[app] TimeMgr init
[app] InputMgr init
[app] FileMgr init
[app] TextMgr init
[app] Managers load
[app] LeaderBoardMgr init
[app] AchievementsMgr init
[app] Rand init
[app] ImGuiH init
[app] HapticMgr init
[profiler] Init
[jobmgr] Init with 4 loading threads
[loadingthread] Init (Affinity: 0)
[savethread] Init
[audio] Init
[audio] Init SoLoud
[localize] Load strings data
[imgui] Load Fonts
[imgui] Load disk files
[imgui] Compute glyph ranges
[imgui] Add fonts
[imgui] Build atlas
[debugger] Loading ROM
[app] Init
[renderer] Init
[renderer] InitBasicShaders
[renderer] InitGameShaders
[renderer] Load shader 'NoTex'
[renderer] Load shader 'Basic'
[renderer] Load shader 'Basic+Mul'
[renderer] Load shader 'Basic+R'
[renderer] Load shader 'Basic+Mul+R'
[renderer] Load shader 'MaskWrite'
[renderer] Load shader 'Obj'
[renderer] Load shader 'Obj+R'
[renderer] Load shader 'Water'
[renderer] Load shader 'Heat'
[renderer] Load shader 'GaussianBlur'
[renderer] Load shader 'YUV'
[renderer] Load shader 'CRT'
[editor] Init
[game] Init
[anim] Load anims configurations
[load] TexLoad Stalled 'spine/Fx/Fx.png' for 41311300 ns (41 ms)
[load] TexLoad Stalled 'spine/Opening/opening_castle.png' for 11261600 ns (11 ms)
[texatlas] Load atlas indexes
[tex] Loaded sparse dictionaries for 814 textures.
[load] TexLoad Stalled 'atlas/Blocks.png' for 38604400 ns (38 ms)
[renderer] Backbuffer resolution scale 1.000 (fs) -> (1920.0,1080.0)
[load] TexLoad Stalled 'tex/Tech/DistortionMap.png' for 5507600 ns (5 ms)
[audio] Load music database
[audio] Load sfx database
[audio] Async loading start
[savegame] Queue load save data
[savegame] Queuing load: 'GameSlot00.sav'
[savegame] Queuing load: 'GameSlot01.sav'
[savegame] Queuing load: 'GameSlot02.sav'
[savegame] Error 1 loading: 'GameSlot00.sav'
[savegame] Error 1 loading: 'GameSlot01.sav'
[savegame] Error 1 loading: 'GameSlot02.sav'
[game] Load locations, mods
[debugger] Load symbols
[game] Reset
WbGameApp init() ok
App executeAll()
Last edited by Angenie; Jun 8, 2017 @ 10:15am
Omar  [developer] Jun 8, 2017 @ 10:31am 
Fyrthir, Angenie,

Which I have not fixed the bug yet, I made two changes in the latest build (Build no 1877644, may requires exiting and restarting Steam to see update immediately).

1. I made it that the game create the .cfg if missing as soon as possible, so in case of a crash
happening during initialization you will be able to see the .cfg file and maybe mess up with it.

2. I added some extra logging information to help me debug the issues.
Would you mind both opening a command-prompt and running the game with the command-line -megaverbose parameter?
Browse to your game exe32/ or exe64/ folder, type "cmd" in address bar this will open a command prompt, then type "wb -megaverbose". The emitted WB.LOG file should contains more detailed information (if the game actually runs, it may be a bit spammy).
If you want to post your logs here when they are long you can use pastebin.com.

3. I also fixed some issues where going in/out of fullscreen mode was hammering the DX11 driver a little more than necessary. I don't think it is related to your problem but it is probably healthier now :)

Thanks.
Angenie Jun 8, 2017 @ 10:53am 
Here the new log
https://pastebin.com/raw/zNttQK35

Thanks you for your fast answer and your work
Omar  [developer] Jun 8, 2017 @ 12:36pm 
Originally posted by Angenie:
Here the new log
https://pastebin.com/raw/zNttQK35
Thanks you for your fast answer and your work

Thanks! That's a little strange. Can you clarify, does the game crash with an error dialog box, or does it just stay freeze with nothing on screen?

Could you go to bin_pc/config/Settings.cfg and change RenderFramerateLimiter=true to RenderFramerateLimiter=false (it should be around line 32 of the file), and see if it makes a difference for you?
Angenie Jun 8, 2017 @ 12:58pm 
It crashs at the launch of wb.exe.
With the change of RenderFramerateLimiter=false, it also crashs.
It works only in window mode.
Omar  [developer] Jun 8, 2017 @ 1:08pm 
Thanks, I understand. Will investigate. I wonder if I should make the default Windowed mode in the meanwhile..
Fyrthir Jun 8, 2017 @ 1:53pm 
Here is my log file with megaverbose command :

WbGameApp Construct
WbGameApp Construct end
App init()
[app] WbGameApp init()
[app] Load Main Settings
[app] Wonder Boy: The Dragon's Trap
[app] Version: 1.02a / build Jun 8 2017, 19:20:45
[app] Exe: Win 64-bits Final DX11 Audio Steam Mouse Public Edit
[app] Windows 10.0 (15063)
[app] Steam BuildId 1877644 (Branch '')
[app] PersistentMgr create
[app] PlatformApplication init()
[app] WinApplication::init()
[app] DeviceMgr init
[app] PersistentMgr init
[app] initWindow()
[graphics] HWNDWindowMgr::init()
[graphics] EnumDisplayMonitors()
[graphics] Create window 0
[graphics] CreateGLWindow()
[app] onResolutionChange()
[graphics] InitDX11()
[dx11] Adapter 0: "Intel(R) HD Graphics 3000"
[dx11] VendorId = 8086, DeviceId = 116, SubSysId = 9080104D, Revision = 9
[dx11] DedicatedVideoMemory = 1040 MB, DedicatedSystemMemory = 0 MB, SharedSystemMemory = 4051 MB
[dx11] Output 0: "\\.\DISPLAY1", Coords (l:0,r:1920,t:0,b:1080), Attached 1, Rotation 1
[dx11] Mode 12: 800x600 @ 59.93, Format 28
[dx11] Mode 13: 800x600 @ 59.93, Format 28
[dx11] Mode 14: 1024x768 @ 59.93, Format 28
[dx11] Mode 15: 1024x768 @ 59.93, Format 28
[dx11] Mode 16: 1280x768 @ 59.93, Format 28
[dx11] Mode 17: 1280x768 @ 59.93, Format 28
[dx11] Mode 18: 1280x800 @ 59.93, Format 28
[dx11] Mode 19: 1280x800 @ 59.93, Format 28
[dx11] Mode 20: 1280x1024 @ 59.93, Format 28
[dx11] Mode 21: 1280x1024 @ 59.93, Format 28
[dx11] Mode 22: 1360x768 @ 59.93, Format 28
[dx11] Mode 23: 1360x768 @ 59.93, Format 28
[dx11] Mode 24: 1366x768 @ 59.93, Format 28
[dx11] Mode 25: 1366x768 @ 59.93, Format 28
[dx11] Mode 26: 1400x1050 @ 59.93, Format 28
[dx11] Mode 27: 1400x1050 @ 59.93, Format 28
[dx11] Mode 28: 1440x900 @ 59.93, Format 28
[dx11] Mode 29: 1440x900 @ 59.93, Format 28
[dx11] Mode 30: 1600x900 @ 59.93, Format 28
[dx11] Mode 31: 1680x1050 @ 59.93, Format 28
[dx11] Mode 32: 1680x1050 @ 59.93, Format 28
[dx11] Mode 33: 1920x1080 @ 59.93, Format 28
[dx11] Adapter 1: "Microsoft Basic Render Driver"
[dx11] VendorId = 1414, DeviceId = 8C, SubSysId = 0, Revision = 0
[dx11] DedicatedVideoMemory = 0 MB, DedicatedSystemMemory = 0 MB, SharedSystemMemory = 4051 MB
[dx11] SwapEffect = 4
[dx11] createResources(1916, 1053)
[dx11] ResizeBuffers()
[dx11] CreateRenderTargetView()
[graphics] HWNDWindowMgr::init()
[app] Application::init
[app] TimeMgr init
[app] InputMgr init
[app] FileMgr init
[app] TextMgr init
[app] Managers load
[app] LeaderBoardMgr init
[app] AchievementsMgr init
[app] Rand init
[app] ImGui init
[app] ShowWindow
[hwnd] enterFullscreen
[hwnd] applyDisplayChanges(0, 1920, 1080)
[app] onResolutionChange()
[dx11] onResizeBuffers(1920, 1080)
[dx11] createResources(1920, 1080)
[dx11] ResizeBuffers()

Do you want the log in widowed mode ?

And thank you for your help
Omar  [developer] Jun 8, 2017 @ 2:03pm 
Originally posted by Fyrthir:
Here is my log file with megaverbose command :
Do you want the log in widowed mode ?
And thank you for your help

Thanks! I'm good. I have an idea of something to experiment with that may fix your issue, Fyrthir. I still don't understand Angenie's issue but it could be related. I'm not sure I can attempt a fix tonight but I'll give it a try.
Omar  [developer] Jun 8, 2017 @ 2:24pm 
Originally posted by Angenie:
It crashs at the launch of wb.exe.
With the change of RenderFramerateLimiter=false, it also crashs.
It works only in window mode.

Originally posted by Fyrthir:
Here is my log file with megaverbose command :
Do you want the log in widowed mode ?
And thank you for your help

OK, so I have now pushed an experimental change in the Beta branch, that _might_ be related to the issue you are having with fullscreen mode. Finger crossed...
To access the Beta branch, you may need to restart Steam (it doesn't always sees live update), right-click Properties on the game, click Betas, and subscribe to the Beta branch.


< >
Showing 1-15 of 31 comments
Per page: 1530 50