dgVoodoo 2 D3DRM.dll battle crash in Star Wars: Rebellion

General information and assistance with dgVoodoo.

dgVoodoo 2 D3DRM.dll battle crash in Star Wars: Rebellion

Postby enderdrag64 » 2018-1-25 @ 03:50

I've been attempting to get Star Wars: Rebellion to run on my Windows 10 laptop. I've made significant headway, copying the files directly off the disc to install it, and making the registry changes. I soon discovered a problem where nearly all sprites in the game were inverted, and the colors were completely off. Downloading and configuring dgVoodoo 2 helped to resolve this issue, allowing the game to play almost like normal. However, attempting to enter a space battle will immediately crash the game. I have tested with two separate versions of D3DRM.DLL, version 4.5.0.155 from the game disc, as well as version 5.1.2600.0 pulled from the system files of a Windows XP machine. Both versions crashed. Playing the game with dgVoodoo 2 disabled solves the crashes, but causes the color issues and the inverted sprites. Is there a way for the two to mesh? Any and all help will be appreciated. Thanks
Attachments
dgVoodoo2.png
Screenshot of proper rendering via dgVoodoo 2
incorrect.png
Screenshot of color issues and inverted sprites
enderdrag64
Newbie
 
Posts: 4
Joined: 2018-1-25 @ 03:34

Re: dgVoodoo 2 D3DRM.dll battle crash in Star Wars: Rebellion

Postby Bakhtosh » 2018-1-27 @ 16:46

I've tried the game with the dgVoodoo WIP 41 Debug Version.

When I enter a space battle I get two error messages:
First "The pixel format was invalid as specified." followed by
"Access to this surface is being refused because the surface memory is gone. The DirectDrawSurface object representing this surface should have Restore called on it."

When I click the messages away I can continue to play though (see attached screenshot).

I've also attached the Debug output (SW_Reb_Log.txt).
I hope this helps to pin down the problem.
Attachments
SW_Reb_01.png
SW_Reb_Log.txt
(33.37 KiB) Downloaded 12 times
Bakhtosh
Newbie
 
Posts: 10
Joined: 2016-5-17 @ 18:56

Re: dgVoodoo 2 D3DRM.dll battle crash in Star Wars: Rebellion

Postby Dege » 2018-2-05 @ 12:39

Uhmm, it's a shame for me, but... how to enter a space battle?
Could you attach a savegame plz?
Dege
Oldbie
 
Posts: 1073
Joined: 2003-9-04 @ 11:06

Re: dgVoodoo 2 D3DRM.dll battle crash in Star Wars: Rebellion

Postby enderdrag64 » 2018-2-05 @ 21:32

The fastest way to get into a space battle is to send your nearest fleet to Coruscant and set the game speed to fast. I've attached a save game immediately preceding one.
Attachments
SAVEGAME.zip
(40.07 KiB) Downloaded 2 times
enderdrag64
Newbie
 
Posts: 4
Joined: 2018-1-25 @ 03:34

Re: dgVoodoo 2 D3DRM.dll battle crash in Star Wars: Rebellion

Postby Dege » 2018-2-06 @ 09:49

Thanks! Now I can enter the battle. But, I got the same as Bakhtosh: two error messages about invalid pixelformat and lost surface, but after OK'ing them I can enter the battle without a crash. (Using version 5.1.2600.0 of D3DRM.DLL)

I suspect the crash is related to the 'invalid pixel format' message somehow (it's still subject to finding out its reason).

Could you plz attach the debug log of dgVoodoo as Bakhtosh did, to see what point dgVoodoo gets up to, when entering the battle?
Dege
Oldbie
 
Posts: 1073
Joined: 2003-9-04 @ 11:06

Re: dgVoodoo 2 D3DRM.dll battle crash in Star Wars: Rebellion

Postby enderdrag64 » 2018-2-06 @ 12:05

It seems I can't enable tracing in the debug layer version of dgVoodoo. I have it set to level 2 in the config file but it doesn't properly output to DebugView. Only messages will output to DebugView. I've attached what little output I get currently.
Attachments
SW-REB.LOG
(875 Bytes) Downloaded 2 times
enderdrag64
Newbie
 
Posts: 4
Joined: 2018-1-25 @ 03:34

Re: dgVoodoo 2 D3DRM.dll battle crash in Star Wars: Rebellion

Postby Dege » 2018-2-06 @ 12:19

I guess tracing works but it's filtered out by DebugView. Tracing messages doesn't have the '[dgVoodoo]' prefix (on purpose).
Anyway, the log shows a problem:

Code: Select all
00000008   0.02530257   [17072] [dgVoodoo] ERROR: DirectDraw (02A76110) Initialization failed: Cannot init device DDI.   
00000009   0.02808108   [17072] [dgVoodoo] ERROR: DirectDrawCreate/DirectDrawCreateEx: creating DirectDraw object has failed.   

dgVoodoo DDraw cannot initialize for some reason.
What dgVoodoo config are u using?

(I guess your GPU supports DX10.0 at least.)
Dege
Oldbie
 
Posts: 1073
Joined: 2003-9-04 @ 11:06

Re: dgVoodoo 2 D3DRM.dll battle crash in Star Wars: Rebellion

Postby enderdrag64 » 2018-2-06 @ 14:06

My GPU supports up to DirectX 11.1. Config is attached.
Attachments
dgVoodoo.conf
(8.72 KiB) Downloaded 2 times
enderdrag64
Newbie
 
Posts: 4
Joined: 2018-1-25 @ 03:34

Re: dgVoodoo 2 D3DRM.dll battle crash in Star Wars: Rebellion

Postby Dege » 2018-2-09 @ 21:38

OK, I'm going to add extended information into the debug layer in the next WIP to find out the reason. I hope that will help us.
Dege
Oldbie
 
Posts: 1073
Joined: 2003-9-04 @ 11:06


Return to dgVoodoo General

Who is online

Users browsing this forum: No registered users and 3 guests