VOGONS


First post, by Choum

User metadata
Rank Newbie
Rank
Newbie

Hello all,

I have a problem with the game Rogue Spear : Urban operations (2.52).
A specific mission (second mission in classic campaign) crash during briefing loading.
If I force software mode : everything is running normally.

In debug mode I see many error like this related to [7200] Surface = cl02_loadwall

[7200] Surface = cl02_loadwall
[7200] [dgVoodoo] INFO: Direct3DTexture (0D78C6A8) is released.
[7200] [dgVoodoo] INFO: DirectDrawSurface (0D65F7B8) Texture is released because this head elem is released.
[7200] [dgVoodoo] INFO: DirectDraw (0517DE20)::CreateSurface: Texture is created, head DirectDrawSurface (0D6609D8).
[7200] [dgVoodoo] INFO: DirectDrawSurface (0D6609D8)::QueryInterface: Aggregated Direct3DTexture (0D78CC90) object is created and initialized.
[7200] [dgVoodoo] ERROR: DirectDraw (0517DE20)::CreateSurface: Surface ptr (DDSD_LPSURFACE) or pitch/linear size (DDSD_PITCH / DDSD_LINEARSIZE) cannot be defined if the texture has multiple mipmap levels because these properties cannot be inherited in subsequent levels.
[7200] [dgVoodoo] ERROR: DirectDraw (0517DE20)::CreateSurface: creating surface has failed, DDERR_INVALIDPARAMS
[7200] Surface = cl02_loadwall
[7200] [dgVoodoo] INFO: Direct3DTexture (0D78CC90) is released.
[7200] [dgVoodoo] INFO: DirectDrawSurface (0D6609D8) Texture is released because this head elem is released.
[7200] [dgVoodoo] INFO: DirectDraw (0517DE20)::CreateSurface: Texture is created, head DirectDrawSurface (0D65F7B8).
[7200] [dgVoodoo] INFO: DirectDrawSurface (0D65F7B8)::QueryInterface: Aggregated Direct3DTexture (0D78C2B8) object is created and initialized.
[7200] [dgVoodoo] ERROR: DirectDraw (0517DE20)::CreateSurface: Surface ptr (DDSD_LPSURFACE) or pitch/linear size (DDSD_PITCH / DDSD_LINEARSIZE) cannot be defined if the texture has multiple mipmap levels because these properties cannot be inherited in subsequent levels.
[7200] [dgVoodoo] ERROR: DirectDraw (0517DE20)::CreateSurface: creating surface has failed, DDERR_INVALIDPARAMS

Any idea what is the problem ?

I have included both verbose log (D3d which crash and software mode which is working).

Attachments

  • Filename
    bug-d3d.txt
    File size
    152.97 KiB
    Downloads
    3 downloads
    File license
    Public domain
  • Filename
    ok-softwaremode.txt
    File size
    810.03 KiB
    Downloads
    4 downloads
    File license
    Public domain

Reply 1 of 5, by Dege

User metadata
Rank l33t
Rank
l33t

This is a way of driving DDraw from the app side that seems to be incompatible with dgVoodoo DDraw.

Which is the exact name of the level?
How can I get there as easily as possible?
If I start a new campaign and skip the first level by activating debugkeys, nothing happens for me at the second.

Reply 2 of 5, by Choum

User metadata
Rank Newbie
Rank
Newbie

Hi,

I have uploaded a save, you need to put the save folder inside
Rogue Spear\mods\CLASSIC MISSIONS

Then choose in campaign "Classic Mission" and select mission 2 (CL02).
The game will crash during briefing or during mission start.

I also tried this game with wine3d for windows (no crash for this mission).

Sincerely,

Attachments

  • Filename
    save.zip
    File size
    3.97 KiB
    Downloads
    3 downloads
    File license
    Fair use/fair dealing exception

Reply 3 of 5, by Dege

User metadata
Rank l33t
Rank
l33t

Thanks!
Indeed, MS DDraw accepts that method call. I modified that ERROR message to a WARNING and fixed the implementation.
Also, I changed other code for favor of a little performance optimization.

Now it works.