dgVoodoo Splinter Cell Games

General information and assistance with dgVoodoo.

Re: dgVoodoo Splinter Cell Games

Postby daniel_u » 2018-5-11 @ 12:38

Dege wrote:
daniel_u wrote:
Dege wrote:Questions:
How much DgVooDoo wrapper emulate a real GF4? I'm thinking that the game might look at some other things. Example : Device Id , Device name, device properties & capabilities etc.
Another way is to debug the game in a real enviroment. Windows Xp+GF4 Ti +driver.

Out of curiosity what exactly do you debug? Is it a live debug or an (assembler) dump. Shaders or other stuff?

I might run it for you on my old machine. Who knows what might pop up.

Emulation of GF4 is of course not chip-level. dgVoodoo exposes device caps, texture formats, device ID, etc. specific to GF4 and also simulates some chip-specific behavior like sampling depth-textures.
As for debugging, it's live. I can visually debug Draw-calls step by step for frames and see the current corresponding internal state of D3D.
Unfortunately it cannot be done with native DX because visual debugging needs dgVoodoo itself.

Shiny floor is because the game sets up the pixel pipeline with a config producing shiny floor. Old GF4 (driver or chip?) misinterpreted the config so the bug didn't get revealed back then.


Thank you for the answer. That explains it.
In theory what a dev must/might do to fix this ? I'm asking this for future devs that might pick this up. :D
User avatar
daniel_u
Member
 
Posts: 206
Joined: 2015-1-11 @ 12:19

Re: dgVoodoo Splinter Cell Games

Postby Dege » 2018-5-15 @ 06:49

I think one should figure out how (in what bad way) the contemporary GF driver interpreted the pipeline set for shiny floor. And if it's done then modify the game code to the correct general one, if possible at all.
Dege
Oldbie
 
Posts: 1200
Joined: 2003-9-04 @ 11:06

Re: dgVoodoo Splinter Cell Games

Postby daniel_u » 2018-6-22 @ 21:36

Off topic.

Good news SC fans it seems xbox emulation has been revived once again.
https://www.patreon.com/LukeUsher/posts
https://github.com/Cxbx-Reloaded/Cxbx-Reloaded

Most of the Splinter cell games(as issues for now) here:
https://github.com/Cxbx-Reloaded/game-compatibility/issues/593
https://github.com/Cxbx-Reloaded/game-compatibility/issues/448
https://github.com/Cxbx-Reloaded/game-compatibility/issues/716

https://www.youtube.com/user/esppiral/videos
https://www.youtube.com/channel/UCPBmoQF6_fYo0FgMt6pZLMQ

Now if look on the github project repository it seems they use a D3D8to9. Hmm , yes you guessed it !!!. Do you think of what i think ? Maybe they should use something more modern. ;)

Due to poor driver support for Direct3D8 on modern cards, some users may see better results when using a wrapper, such as D3D8to9

Anyway maybe i will start a new thread (not in dgvoodoo category) in the apropriate section.

Fun times.

PS: Microsft just aquired github. It will be wise if they move the sources somewhere else. Who knows what M$ will do. :)
User avatar
daniel_u
Member
 
Posts: 206
Joined: 2015-1-11 @ 12:19

Previous

Return to dgVoodoo General

Who is online

Users browsing this forum: No registered users and 1 guest