Open PatrickvL opened 7 years ago
This happened a lot in Dxbx too. We're still copying over fixes from there, perhaps one of these could fix this message, don't know for sure.
From @LukeUsher on December 21, 2016 7:47
This is especially weird because on the Xbox, the highest D3DFMT in the XDK is 0x41. Perhaps a look in the source code of OpenBORX is in order.
From @BiatuAutMiahn on December 21, 2016 17:19
It seems that the source does contain some common xbox headers and source, but when I skimmed all the headers, I see no headers that have formats that resolve to 0x50 (or any of the D3DFMTs), odd, and i cannot seem to find any other source for the project with google.
Update: Bingo!
m_d3dpp.BackBufferWidth = 640;
m_d3dpp.BackBufferHeight = 480;
m_d3dpp.BackBufferFormat = D3DFMT_LIN_R5G6B5 ;
m_d3dpp.Flags = 0;
m_d3dpp.BackBufferCount = 1;
m_d3dpp.EnableAutoDepthStencil = TRUE;
m_d3dpp.AutoDepthStencilFormat = D3DFMT_D16;
m_d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD;
m_d3dpp.FullScreen_PresentationInterval = D3DPRESENT_INTERVAL_DEFAULT;
m_d3dpp.MultiSampleType = D3DMULTISAMPLE_NONE;
AutoDepthStencilFormat: = 0x00000050 != 0x0000002C (D3DFMT_D16) in D3D8Types.h
In https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/commit/853eea7bdbe43d169c5ccdbb7fcf860fb107b7df the title doesn't crash, it just shows an infinite black screen with no audio/video whatsoever. KrnlDebug.txt Xbe.txt For @CakeLancelot: I also uploaded the dump for aerox2, you can check it out
From @BiatuAutMiahn on December 21, 2016 3:41
When emulating "OpenBORX - Beats of Rage for XBox v4" an Unknown format is encountered.
Copied from original issue: Cxbx-Reloaded/Cxbx-Reloaded#46