game-compatibility icon indicating copy to clipboard operation
game-compatibility copied to clipboard

Half - Life 2 [Half-Life 2] [EA-145] [1.01]

Open hotzenplotz3000 opened this issue 7 years ago • 17 comments

Half-Life 2

Description

This game uses two XBEs. Default.xbe starts and displays some splash screens and videos, but the videos only show a black screen. Then it starts the hl2_xbox.xbe, which uses LTCG.

Dumps

default.txt hl2_xbox.txt KrnlDebug_default_xbe.txt hlecache_default_xbe.txt

Status

Previous behavior: interactive in #417

Current behavior: main xbe uses LTCG

Screenshots

2018-01-13 02_16_48-cxbx-reloaded 5ce5da70 jan 12 2018 _ emulating half - life 2 - fps_ 59 90 ms_

Additional Information

tested with build 5ce5da70

hotzenplotz3000 avatar Jan 13 '18 01:01 hotzenplotz3000

This one is formatted much better, thanks!

CakeLancelot avatar Jan 13 '18 06:01 CakeLancelot

KrnlDebug.txt Build: 46c079cf Gets to menu, however after it loads, console displays: [0x0070] MAIN: Received Breakpoint Exception (int 3)

EIP := 0x00596301(=unknown+0x0) EFL := 0x00000212 EAX := 0x0B84F601 EBX := 0x00000000 ECX := 0x0B84F62C EDX := 0x0B84F679 ESI := 0x00010000 EDI := 0x009AA91E ESP := 0x0B84F664 EBP := 0xFFFFFFFF CR2 := 0x00000000

then crashes image image

haradons avatar May 19 '18 19:05 haradons

I replaced 10 bytes at 0x00596301 with NOP to avoid _debugbreak calling and game started loading further(game reads cfg and resource files from zip0_xbox.xzp). But then a lot of EmuX86_Mem_Read Failed (0xFE820010, 4) messages appears in console. Also FPS counter updates but screen is black. image

JusicP avatar Nov 10 '19 18:11 JusicP

Half-Life 2 goes ingame with black screen and 1fps. KrnlDebug.txt image

JusicP avatar Nov 11 '19 08:11 JusicP

The game crashes after FatalError calling in this function. image

Here is the place where function is called: image

JusicP avatar Nov 14 '19 18:11 JusicP

Here are the results with LLE GPU enabled: image image

JusicP avatar Nov 15 '19 12:11 JusicP

image

T02my avatar Apr 11 '20 15:04 T02my

I don't know what looks worse. This, or the game on an actual original Xbox. At least it loads and plays with LLE GPU enabled. That's a plus.

CrazyCSIW6 avatar Apr 12 '20 08:04 CrazyCSIW6

The game runs with HLE. On actual original Xbox the game does not look that bad, it's not masterpiece like Doom 3 on Xbox, but still.

T02my avatar Apr 12 '20 10:04 T02my

Shall we discuss the weather was well here?..... The point is, none of these remarks add anything of value to the issue. Please, only comment with facts and perhaps some evidence to back that up(like screenshots), but refrain from personal preferences and opinions.

PatrickvL avatar Apr 12 '20 11:04 PatrickvL

The most recent build seems to have some regression. I only was given a black screen.

KrnlDebug.txt

bryce13950 avatar Jun 14 '20 20:06 bryce13950

The most recent build seems to have some regression. I only was given a black screen.

KrnlDebug.txt

Inside the debug file it says:

"[0x1418] WARN : INIT Invalid xbe signature. Homebrew, tampered or pirated xbe?"

Is that normal in this game? Or is your copy modified?

PipoCrazy avatar Jun 14 '20 21:06 PipoCrazy

@Margen67 Why do you approving regressions without confirmation from other users? Testers - when you noticing any regression - please test much more than once! Actual state - ingame, game may crash after some time of gameplay. With all cores hack game works much faster - up to 20 fps, but I have got hang when Gordon encountered Barney, without hack - you may not get until that moment at all. image

gandalfthewhite19890404 avatar Jun 16 '20 01:06 gandalfthewhite19890404

@Margen67 Why do you approving regressions without confirmation from other users? Testers - when you noticing any regression - please test much more than once! Actual state - ingame, game may crash after some time of gameplay. With all cores hack game works much faster - up to 20 fps, but I have got hang when Gordon encountered Barney, without hack - you may not get until that moment at all. image

Do you have any hacks enabled? My regression came after I freshly restored my default options, and tested with vanilla settings.

bryce13950 avatar Jun 16 '20 08:06 bryce13950

Do you have any hacks enabled? My regression came after I freshly restored my default options, and tested with vanilla settings.

No, hack is need just for speedup (on screenshot you may see fps without all cores hack), game boots without any special settings.

gandalfthewhite19890404 avatar Jun 16 '20 12:06 gandalfthewhite19890404

I do not know what the issue is with this one, but I continue to only receive a black screen even on a brand new computer that I received since the last time I tested. I do not have any abnormal issues on about 50 other titles I have been testing.

bryce13950 avatar Jul 04 '20 21:07 bryce13950

Using build df22c8b:

  • The opening cutscene displays an all-black screen, though the G-Man audio still plays
  • After the level loads, models and environment appear to be loading correctly, though with potentially odd shadows (see the right side of the train car) image
  • Character and object shadows are all blocks image
  • Audio starts to layer after a while, so most of the sounds and dialog compound and play at full volume
  • Once you are diverted from going to the train to Nova Prospekt, the game froze unexpectedly when following down the corridor

Notable messages:

[0x5B0C] INFO : VTXSH   Please report that Half Life 2 - Retail Build shows the following message:
LOG_TEST_CASE: FVF without position
In XboxVertexShaderFromFVF (D:\a\Cxbx-Reloaded\Cxbx-Reloaded\src\core\hle\D3D8\XbVertexShader.cpp line 130)
[0x5B0C] INFO : VTXSH   Please report that Half Life 2 - Retail Build shows the following message:
LOG_TEST_CASE: Unassigned Xbox vertex shader!
In GetXboxVertexShader (D:\a\Cxbx-Reloaded\Cxbx-Reloaded\src\core\hle\D3D8\XbVertexShader.cpp line 268)
[0x5B0C] INFO : VTXSH   Please report that Half Life 2 - Retail Build shows the following message:
LOG_TEST_CASE: Xbox should always have a VertexShader set (even for FVF's)
In GetXboxVertexAttributeFormat (D:\a\Cxbx-Reloaded\Cxbx-Reloaded\src\core\hle\D3D8\XbVertexShader.cpp line 356)
[0x5B0C] INFO : D3D8    Please report that Half Life 2 - Retail Build shows the following message:
LOG_TEST_CASE: Unknown texture stage!
In GetHostResourceKey (D:\a\Cxbx-Reloaded\Cxbx-Reloaded\src\core\hle\D3D8\Direct3D9\Direct3D9.cpp line 978)

Kernel Debug: KrnlDebug.txt

mnadareski avatar May 24 '21 18:05 mnadareski