Cxbx-Reloaded / game-compatibility

Cxbx-Reloaded game compatibilty list, using GitHub issues
GNU General Public License v2.0
114 stars 29 forks source link

Beats of RageX v1.0029 [OpenBORX - Beats of Rage for Xbox] [Homebrew] #195

Open PatrickvL opened 7 years ago

PatrickvL commented 7 years ago

From @BiatuAutMiahn on December 21, 2016 3:41

When emulating "OpenBORX - Beats of Rage for XBox v4" an Unknown format is encountered.

EmuD3D8 (0x2A90): EmuIDirect3D8_CreateDevice
(
   Adapter                   : 0x00000000
   DeviceType                : 0x00000001
   hFocusWindow              : 0x00000000
   BehaviorFlags             : 0x00000040
   pPresentationParameters   : 0x0FBEA304
   ppReturnedDeviceInterface : 0x0FBEA348
);
BackBufferWidth:        = 640
BackBufferHeight:       = 480
BackBufferFormat:       = 0x00000016
BackBufferCount:        = 0x00000001
SwapEffect:             = 0x00000001
EnableAutoDepthStencil: = 0x00000001
AutoDepthStencilFormat: = 0x00000050
Flags:                  = 0x00000001

EmuD3D8 (0x455C): CreateDevice proxy thread recieved request.
EmuD3D8 (0x455C): CreateDevice proxy thread releasing old Device.
EmuWarn (0x455C): X_D3DFMT_LIN_R8B8 -> D3DFMT_R5G6B5
EmuMain (0x455C): Recieved Fatal Message:

* EmuXB2PC_D3DFormat: Unknown Format (0x00000050)

Copied from original issue: Cxbx-Reloaded/Cxbx-Reloaded#46

PatrickvL commented 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.

PatrickvL commented 7 years ago

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.

PatrickvL commented 7 years ago

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

ghost commented 6 years ago

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

ObiKKa commented 6 years ago

Video (11 Feb 2018) from Literalmente{Game} for one of the supposedly Beats of Rage mods (Homebrew game) called 'Dragons of Rage' running on recent CXBX-R.

More information about the open source 2D customisable video game engine (Titled 'OpenBOR'):