Bug 40 - Shadows of the empire
Summary: Shadows of the empire
Status: RESOLVED FIXED
Alias: None
Product: DXGL
Classification: Unclassified
Component: ddraw (show other bugs)
Version: 0.5.6
Hardware: PC Windows 7 (64-bit)
: Normal major
Target Milestone: ---
Assignee: William Feely
URL: DXGL
Depends on:
Blocks:
 
Reported: 2014-12-05 10:31 EST by AndreLopes
Modified: 2015-01-20 17:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AndreLopes 2014-12-05 10:31:17 EST
Hi Mr William!
I posted this same bug on forum, but the video link there is probably broken!
Anyway, on Shadows of The Empire, im now able to open the game but during the game, only the hud and the ambeint light is rendered, it seems 3D OBJ's arent rendered at all!

https://www.youtube.com/watch?v=huG2kp0qeh0&feature=youtu.be
Comment 1 William Feely 2014-12-06 07:58:25 EST
Game won't start for me due to a crash in the EnumDisplayModes API.
Comment 2 William Feely 2014-12-06 08:09:59 EST
I just got it to start by temporarily patching out 15-bit color modes which were crashing the game on startup (until I get the new config tool working).  I'm getting worse results!
Comment 3 AndreLopes 2014-12-06 08:58:15 EST
If need me to test anything, just message me!

Also, try to open Shadows.exe directly from SDATA folder.
Comment 4 AndreLopes 2014-12-06 13:06:05 EST
(In reply to William Feely from comment #2)
> I just got it to start by temporarily patching out 15-bit color modes which
> were crashing the game on startup (until I get the new config tool working).
> I'm getting worse results!


Any luck? Need anything that i could do?
Comment 5 William Feely 2014-12-06 19:39:35 EST
I think I have narrowed the problem down to DirectX 2/3 execute buffers, which is what this game uses for rendering.  All vertices passed to the rendering backend have already been transformed into XYZRHW format which I don't quite emulate correctly.
Comment 6 AndreLopes 2014-12-07 07:41:00 EST
DX 2/3 Wow. I didnt know it was that deprecated.

Do you think its possible to figure it out? My video is going viral.
Comment 7 William Feely 2015-01-17 11:44:50 EST
Fixed in r585.
Comment 8 William Feely 2015-01-17 14:46:20 EST
I have reopened this bug report.  Here is what I would like you to do:
Follow the instructions at https://www.youtube.com/watch?v=h2dEz4dCPKE
Before building, change the Debug build to "Debug Trace."  Copy the resulting file from the Debug Trace output folder to the Sdata folder of Shadows of the Empire, then run the game until it fails.  This will write a file called "dxgl.log"  Put that file in a .zip file (it may be large so this will make it smaller) then click "Add an attachment" on this Bugzilla page.
Comment 9 William Feely 2015-01-20 17:44:32 EST
Oops.  Forgot to close the bug again.