- #Scarface the world is yours pc graphics problem windows 8 movie
- #Scarface the world is yours pc graphics problem windows 8 code
- #Scarface the world is yours pc graphics problem windows 8 download
So what if we assume the flag is added there wrongly and remove it?
#Scarface the world is yours pc graphics problem windows 8 code
If ( v2 ) v4 -> Lock ( v3, 0, 0, & v11, D3DLOCK_DISCARD ) else v4 -> Lock ( v3, 0, 0, & v11, 0 ) Īnalyzing the code further though, I was not fully convinced that after discarding game always fills the entire buffer. However, game always locks entire buffers: So I can imagine somebody not realizing that locking a part of the buffer with discard flag would throw it away It is possible to lock only a part of the buffer, I don’t know about you, but I see possible room for error here.
This option is only valid when the resource is created with dynamic usage. The application discards all memory within the locked region.įor vertex and index buffers, the entire buffer will be discarded. Looking at MSDN docs, it’s defined as (emphasis added by me): I spotted that some (not all) locks are done with aĭ3DLOCK_DISCARD flag. Let’s take another look at vertex buffer locks though. I set up verification, and… nothing ¯\_(ツ)_/¯ Theory debunked. If they are done from multiple threads, it could be a possible culprit. That all calls to IDirect3DVertexBuffer9::Lock and IDirect3DVertexBuffer9::Unlock are done from the same thread. That theory is trivial to confirm or debunk via a DX9 wrapper. That the issue is a classic race condition – which also would explain why it looks different every time.Ĭonceptually, it also makes sense – game could be loading models on multiple threads, setting up D3D resourcesĬoncurrently and I imagine that failing to do so in a thread safe manner could result in artifacts looking like that. To mention that people thought this issue shows up only on multicore CPU’s. I theoretized that this issue relates to vertex buffers not updating properly. I have seen variations where most of the environment was not corrupted, but people were T-posing.
dgVoodoo can be used with the game, and it seems to fix the issue.Of course, community came up with workarounds, but they sadly have their drawbacks: While results vary across different PC’s greatly, nearly every modern PC displays thisīroken mess, rendering the game unplayable. This doesn’t tell much about how bad is it, so what does it look like? Graphics are corrupted on modern versions of Windows Naturally, by now you likely know where it’s going – what is wrong this time?Īn answer – at the time of writing this post, you can see the issue listed as one of the key points:
#Scarface the world is yours pc graphics problem windows 8 movie
This tie-in game to a 1983 movie Scarface wasĭeveloped by Radical Entertainment and released in late 2006. Today’s subject is Scarface: The World is Yours.
#Scarface the world is yours pc graphics problem windows 8 download
Scroll down to Download section for a link and TL DR - if you are not interested in an in-depth overview of what was wrong with the game and how it was fixed, SilentPatch for Scarface: The World is Yours & launching a Patreon campaign