_From @jarupxx on April 1, 2017 8:33_
This title will bootup with 796b06ebd09c79a02e5fe627840554411e51171e or old commits. Next commit 8640ad77ce232d66131a57e2243055374c7987e7 is won't boot.
I found a missing function D3DTexture_LockRect_3925, so we need to add it to D3D 8.1.0.4432.inl.
However, it seems that it will not boot for another reason.
Logs
796b06eb.txt (successful bootup)
8640ad77.txt (won't boot)
cf4ff0cc.txt (latest commit)
Xbe.txt
_Copied from original issue: Cxbx-Reloaded/Cxbx-Reloaded#313_
Please describe what happened during successful bootup
_From @jarupxx on April 2, 2017 8:8_
@PatrickvL We look intro movie and loading screens.


Commit 8640ad7 did contain a few EEPROM-related bugs that were later fixed.
However, looking at the differences between 796b06eb.txt and cf4ff0cc.txt these OOVPA detections are missing:
HLE: 0x0016F830 -> XTL::EmuIDirect3DDevice8_SetTextureState_BumpEnv
HLE: 0x0016F280 -> XTL::EmuIDirect3DDevice8_SetRenderState_CullMode
HLE: 0x0016F2F0 -> XTL::EmuIDirect3DDevice8_SetRenderState_FrontFace
HLE: 0x0016FFB0 -> XTL::EmuIDirect3DDevice8_SetRenderState_StencilCullEnable
HLE: 0x00171820 -> D3D_SetFence_1_0_4134 (XRef)
HLE: 0x00181412 -> CDirectSound_CreateSoundStream_1_0_4361 (XRef)
HLE: 0x00185AC7 -> CMcpxStream_Pause_1_0_4361 (XRef)
HLE: 0x00180475 -> XTL::EmuCDirectSoundStream_Pause
HLE: 0x0018114C -> CMcpxBuffer_SetBufferData_1_0_4361 (XRef)
HLE: 0x001811D8 -> CDirectSoundBuffer_SetBufferData_1_0_4361 (XRef)
HLE: 0x001813F2 -> XTL::EmuIDirectSoundBuffer8_SetBufferData
HLE: 0x001851A2 -> CMcpxBuffer_GetStatus_1_0_4627 (XRef)
HLE: 0x001800CB -> CDirectSoundBuffer_GetStatus_1_0_4627 (XRef)
HLE: 0x001851EB -> CMcpxBuffer_GetCurrentPosition_1_0_4361 (XRef)
HLE: 0x0018011C -> CDirectSoundBuffer_GetCurrentPosition_1_0_4361 (XRef)
HLE: 0x00180648 -> XTL::EmuIDirectSoundBuffer8_GetCurrentPosition
HLE: 0x00185645 -> CMcpxBuffer_Play_1_0_4361 (XRef)
HLE: 0x0018002B -> CDirectSoundBuffer_Play_1_0_4361 (XRef)
HLE: 0x001805F0 -> XTL::EmuIDirectSoundBuffer8_Play
HLE: 0x00180EFB -> CDirectSound_SetDistanceFactorA_1_0_4531 (XRef)
HLE: 0x001808BF -> CDirectSoundVoice_SetMaxDistance_1_0_4432 (XRef)
HLE: 0x00180A8D -> CDirectSoundBuffer_SetMaxDistance_1_0_4432 (XRef)
HLE: 0x001808F2 -> CDirectSoundVoice_SetMinDistance_1_0_4432 (XRef)
HLE: 0x00180AE3 -> CDirectSoundBuffer_SetMinDistance_1_0_4432 (XRef)
HLE: 0x00180B39 -> CDirectSoundBuffer_SetPosition_1_0_4627 (XRef)
HLE: 0x00180C83 -> XTL::EmuIDirectSoundBuffer8_SetPosition
HLE: 0x00180977 -> CDirectSoundVoice_SetVelocity_1_0_4627 (XRef)
HLE: 0x00180BA0 -> CDirectSoundBuffer_SetVelocity_1_0_4627 (XRef)
HLE: 0x00180CB8 -> XTL::EmuIDirectSoundBuffer8_SetVelocity
HLE: 0x00184354 -> DirectSound_CMcpxVoiceClient_SetFilter_1_0_4627 (XRef)
HLE: 0x00180925 -> CDirectSoundVoice_SetPosition_1_0_4432 (XRef)
HLE: 0x0020113C -> XID_fCloseDevice_1_0_4361 (XRef)
HLE: 0x0016F2F0 -> XTL::EmuIDirect3DDevice8_SetRenderState_FrontFace
HLE: 0x0016FFB0 -> XTL::EmuIDirect3DDevice8_SetRenderState_StencilCullEnable
HLE: 0x0016F280 -> XTL::EmuIDirect3DDevice8_SetRenderState_CullMode
HLE: 0x00171820 -> D3D_SetFence_1_0_4134 (XRef)
HLE: 0x00181651 -> CDirectSound_CreateSoundBuffer_1_0_4627 (XRef)
HLE: 0x00180F5D -> CDirectSound_SetI3DL2Listener_1_0_4432 (XRef)
HLE: 0x00180E13 -> DirectSound_CDirectSound_SetAllParameters_1_0_4928 (XRef)
HLE: 0x0017FD22 -> CDirectSoundVoiceSettings_SetMixBins_1_0_4432 (XRef)
HLE: 0x0018089B -> CDirectSoundVoice_SetFrequency_1_0_4627 (XRef)
HLE: 0x00180A3F -> CDirectSoundBuffer_SetFrequency_1_0_4627 (XRef)
HLE: 0x0018482D -> CMcpxVoiceClient_SetVolume_1_0_4627 (XRef)
HLE: 0x00180B39 -> CDirectSoundBuffer_SetPosition_1_0_4627 (XRef)
HLE: 0x00180C83 -> XTL::EmuIDirectSoundBuffer8_SetPosition
HLE: 0x00180925 -> CDirectSoundVoice_SetPosition_1_0_4432 (XRef)
_From @furrya on May 4, 2017 6:23_
Cxbx-Reloaded Version 9173d4ab (May 3 2017) - the game boot'up again but crashes at loading screen
_From @jarupxx on May 4, 2017 8:3_
PR #434 boot'up again.
The game now crashes after get this logs.
[0x10DC] EmuD3D8: EmuIDirect3DResource8_Register
(
pThis : 0x829A22C0 (->Data : 0x00000100)
pBase : 0x829A2280
);
[0x10DC] EmuIDirect3DResource8_Register : Creating VertexBuffer...
[0x10DC] MemoryManager.cpp: QueryAllocationSize(
addr : 829A2380
);
[0x10DC] MemoryManager.cpp: QueryAllocationSize returns 47185920
[0x10DC] EmuMain: Received Exception (Code := 0xC0000005)
EIP := 0x6D624A50(=XID_fCloseDevice+0x6d423914)
EFL := 0x00010206
EAX := 0x00000000 EBX := 0x00000008 ECX := 0x00000000 EDX := 0x0002D447
ESI := 0x84000000 EDI := 0x0BE1ECC0 ESP := 0x088FFB10 EBP := 0x088FFDA0
CR2 := 0x00000000
0: 0x6D624A50
1: 0x00143C62
[0x10DC] EmuMain: Aborting Emulation
Results from my tests when looking for regressions:
Last working build (best results): https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/commit/8617b2a9a37b1fa26cb6fd4af07c1dee3f22efa0
Behavior: game boot, reproduce the intro videos, and stop at the loading screen before the menus (the image in the background is shown as intended)
Build Showing regressions: https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/commit/e4be8e8765a74c3b0866c24f2add1e1f7ee0e878
Behavior: game boot, reproduce the intro videos, and stop at the loading screen before the menus (the image in the background
seems very corrupted, as I've shown on https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/pull/696#issuecomment-327104133 )
The cause of the collapse of the background screen is caused by XGSetTextureHeader added in HLEDBv2.
We will get the correct background image if leave unpatched.
Feel free to disable the XGSetTextureHeader patch in master
Taz now gets in-game! Though, the game is quite sluggish, and there are some missing models, but other than that, looks great! (EDIT: there's also a couple of broken SFX, and the background music in-game doesn't play either)

There also seems to be some kind of HDD issue preventing saving the game, that I should report here as well:
Most helpful comment
Taz now gets in-game! Though, the game is quite sluggish, and there are some missing models, but other than that, looks great! (EDIT: there's also a couple of broken SFX, and the background music in-game doesn't play either)
There also seems to be some kind of HDD issue preventing saving the game, that I should report here as well:
