Joshua-Ashton / dxup

A d3d9 and d3d10 to d3d11 translation layer.
zlib License
259 stars 26 forks source link

[d3d9-dev] SWTOR logs. #49

Open leonmaxx opened 5 years ago

leonmaxx commented 5 years ago

Hello Joshua,

I tried to run Star Wars: The Old Republic using latest build of DXUP, result is black screen with some of 2D GUI elements, text, and some of them was misplaced.

Logs of DXVK and DXUP: swtor_d3d11.log swtor_dxgi.log swtor_d3d9.log

Possibly they'll help getting DXUP working.

Joshua-Ashton commented 5 years ago

Can you provide an apitrace? I don't own this game.

leonmaxx commented 5 years ago

I'll try to get apitrace of it. SWTOR uses launcher with login, so I can't run client directly.

rphsoftware commented 5 years ago

Putting the d3d9.dll from apitrace next to the game file should do it, it will drop <Exefile name>.trace to your desktop

leonmaxx commented 5 years ago

Thanks, I'll try.

leonmaxx commented 5 years ago

Apitraces: https://drive.google.com/file/d/1qZc_eqG_k-l-oS0gApovg3Z6O1g-F8n6/view?usp=sharing https://drive.google.com/file/d/16TC9Ke8q8C4-HfcijUom7Aywry6QYnwC/view?usp=sharing https://drive.google.com/file/d/1QuycyMwWwv_mEFaXOAy5n9Nq0_BbTZPY/view?usp=sharing

They are quite big and that just the character selection screen.

leonmaxx commented 5 years ago

Game have multiple processes swtor.exe running, probably that is why it generates multiple trace files.

leonmaxx commented 5 years ago

One of processes is used for running Chromium Embedded Framework. Second process owns a window and possibly draws 2D GUI. Third process draws 3D models.

Joshua-Ashton commented 5 years ago

This sounds like hell to debug.

leonmaxx commented 5 years ago

I'd start from logs:

[FAIL] Unimplemented operation texkill encountered.
[FAIL] Unimplemented operation dp2add encountered.
[FAIL] Unimplemented operation texldl encountered.

If I understand correctly this is a unsupported shader instructions?

Joshua-Ashton commented 5 years ago

I haven't implemented these yet. It's on my todo list.