Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Star Wars - Starfighter SE - crashed on the first intro #282

Closed
jarupxx opened this issue Mar 26, 2017 · 2 comments
Closed

Star Wars - Starfighter SE - crashed on the first intro #282

jarupxx opened this issue Mar 26, 2017 · 2 comments
Labels
game-compatibility game specific issue

Comments

@jarupxx
Copy link
Contributor

jarupxx commented Mar 26, 2017

Star Wars - Starfighter SE - crashed on the first intro
EmuX86_Read32 is generated due to missing D3DDevice_GetPixelShader.
sw
Xbe.txt

LOG

[0x1F34] EmuKrnlRtl.cpp: RtlInitAnsiString(
 OUT DestinationString  : 0xBEFBF38
   SourceString         : (char *)0x04662448 = "D:\\streams\\video\\lecintro.bik"
);
[0x1F34] EmuKrnlNt.cpp: NtQueryFullAttributesFile(
   ObjectAttributes     : 0x0BEFBF2C -> POBJECT_ATTRIBUTES {
   .RootDirectory      : FFFFFFFD
   .ObjectName         : 0x0BEFBF38 -> PSTRING {
   .Length             : 29
   .MaximumLength      : 30
   .Buffer             : (char *)0x04662448 = "D:\\streams\\video\\lecintro.bik"}
   .Attributes         : 40}
 OUT Attributes         : 0xBEFBEF4
);
[0x1F34] EmuKrnl : NtQueryFullAttributesFile Corrected path...
[0x1F34]   Org:"D:\streams\video\lecintro.bik"
[0x1F34]   New:"$XbePath\streams\video\lecintro.bik"
[0x1F34] EmuKrnlNt.cpp: NtQueryFullAttributesFile returns 0
[0x1F34] EmuWarn: EmuX86_Read32(0x00000414) [Unknown address]
[0x1F34] EmuX86_Read32(0x00000414) = 0x0000[0x1F34] EmuWarn: EmuX86_Read32(0x00000BA0) [Unknown address]
[0x1F34] EmuX86_Read32(0x00000BA0) = 0x0000[0x1F34] EmuWarn: EmuX86_Read32(0x00000BA0) [Unknown address]
[0x1F34] EmuX86_Read32(0x00000BA0) = 0x0000[0x1F34] EmuWarn: EmuX86_Read32(0x00000BA4) [Unknown address]
[0x1F34] EmuX86_Read32(0x00000BA4) = 0x0000[0x1F34] EmuWarn: EmuX86_Read32(0x00000BA4) [Unknown address]
[0x1F34] EmuX86_Read32(0x00000BA4) = 0x0000[0x1F34] EmuWarn: EmuX86_Read32(0x00000BA8) [Unknown address]
[0x1F34] EmuX86_Read32(0x00000BA8) = 0x0000[0x1F34] EmuWarn: EmuX86_Read32(0x00000BA8) [Unknown address]
[0x1F34] EmuX86_Read32(0x00000BA8) = 0x0000[0x1F34] EmuWarn: EmuX86_Read32(0x00000BAC) [Unknown address]
[0x1F34] EmuX86_Read32(0x00000BAC) = 0x0000[0x1F34] EmuWarn: EmuX86_Read32(0x00000BAC) [Unknown address]
[0x1F34] EmuX86_Read32(0x00000BAC) = 0x0000
[0x1F34] EmuD3D8: EmuD3DDevice_SetPixelShader
(
   Handle              : 0x00000000
);
[0x1F34] EmuD3D8: EmuD3DDevice_SetRenderState_ZEnable
(
   Value               : 0x00000000
);
@jarupxx
Copy link
Contributor Author

jarupxx commented Mar 26, 2017

Apply #281
Improves EmuX86_Read32, but it causes a crash.

LOG

[0x24B4] EmuKrnlRtl.cpp: RtlInitAnsiString(
 OUT DestinationString  : 0xBEFBF38
   SourceString         : (char *)0x04662448 = "D:\\streams\\video\\lecintro.bik"
);
[0x24B4] EmuKrnlNt.cpp: NtQueryFullAttributesFile(
   ObjectAttributes     : 0x0BEFBF2C -> POBJECT_ATTRIBUTES {
   .RootDirectory      : FFFFFFFD
   .ObjectName         : 0x0BEFBF38 -> PSTRING {
   .Length             : 29
   .MaximumLength      : 30
   .Buffer             : (char *)0x04662448 = "D:\\streams\\video\\lecintro.bik"}
   .Attributes         : 40}
 OUT Attributes         : 0xBEFBEF4
);
[0x24B4] EmuKrnl : NtQueryFullAttributesFile Corrected path...
[0x24B4]   Org:"D:\streams\video\lecintro.bik"
[0x24B4]   New:"$XbePath\streams\video\lecintro.bik"
[0x24B4] EmuKrnlNt.cpp: NtQueryFullAttributesFile returns 0
[0x24B4] EmuD3D8: EmuD3DDevice_GetPixelShader
(
   Name               : 0x0C963DC8
   pHandle            : 0x0000000C
);
[0x24B4] EmuMain: Recieved Exception (Code := 0xC0000005)

 EIP := 0x04045D51 EFL := 0x00010246
 EAX := 0x00000000 EBX := 0x00000000 ECX := 0x0000000C EDX := 0x00000000
 ESI := 0x0BEFBF00 EDI := 0x0000000C ESP := 0x0BEFBF08 EBP := 0x0BEFBF0C
 CR2 := 0x00000000

  0:          0x04045D51
  1:          0x002AE1ED
  2:          0x002B034D

[0x24B4] EmuMain: Aborting Emulation

@PatrickvL
Copy link
Member

This issue was moved to Cxbx-Reloaded/game-compatibility#165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
game-compatibility game specific issue
Projects
None yet
Development

No branches or pull requests

2 participants