Comments (9)
It looks like the issue is that the D3DPRESENTFLAG_LOCKABLE_BACKBUFFER
flag is set which is not supported in Direct3D9 when using multisampling. See here
Once I remove this flag everything works fine. I also noticed that multisampling is not fully supported in d3d8to9 yet. I have a pull request almost ready that will fully fix this issue. I just want to test it on a few more games.
BTW: I should mention that the crash is a bug in the game. The game never checks the return value of the CreateDevice
function and just assumes it is successful. Then it starts to use the returned pointer which is not valid.
from d3d8to9.
Disabling FSAA fixed it, thanks!
from d3d8to9.
Note to self (and the others): game seems to be available on Steam.
http://store.steampowered.com/app/6000/STAR_WARS_Republic_Commando/
from d3d8to9.
I am using the GOG version. It is on sale this week for only $3.39. I have done a number of fixes (here and here) on Star Wars Republic Commando. It works great for me.
Can you tell me the following:
- What version of the game are you using?
- What operating system are you using?
- Is it 32bit or 64bit?
- What video card do you have?
- Also tell me at what point the game crashes. What do you do to cause the crash?
from d3d8to9.
Did you disable FSAA? It crashes the game on startup if it's enabled. To disable it in the ini, go to "Star Wars Republic Commando\GameData\Save", open system.ini in a text editor, under [WinDrv.WindowsClient] there will be a line called FSAA= with a value. If it's not 0, set it to 0.
from d3d8to9.
Interesting. I can reproduce the crash now. I wonder if this is the same thing that is talked about in #63.
from d3d8to9.
Yeah, I tried fixing it in the source, but it seems that if MultiSampleType isn't D3DMULTISAMPLE_NONE or D3DMULTISAMPLE_NONMASKABLE, it'll crash. I even was going to make an issue about this until this showed up.
from d3d8to9.
I'm going to open an new issue with the information I know.
from d3d8to9.
Attached is a fixed dll for this. This will allow you to use anti-aliasing: d3d8.zip
from d3d8to9.
Related Issues (20)
- Mafia The City Lost Heaven HOT 2
- [Crash] Pro Evolution Soccer 3 HOT 2
- Max Payne - WS Fix not working HOT 3
- .
- Consider collaborating with the d8vk project? HOT 1
- Consider recommending D3DX from NuGet instead of an old DirectX SDK HOT 3
- Ballistics (2001) - Junk polygons in menus
- C:\Microsoft\Cpp\Default\props not found HOT 1
- Rome Total War - Campaign Map Texture Issue HOT 6
- D3D8.1 Pixel and Vertex Shader Lifetimes Seem To Be Incorrect HOT 1
- Problems with character models. Pangya
- Latest update crashes Silent Hill 2 in SetVertexShader() HOT 4
- v1.11.1 - Max Payne - Loading Screen Errors / Missing Sounds
- Fellowship of the Ring black screen on startup/uncapped frame rate HOT 1
- uhh
- NVCP multi sampling anti-aliasing doesn't work. I tried everything. Metin2 is the game. HOT 1
- [Suggestion] The Bard's Tale (2005) - Solve the slowness of some parts... HOT 1
- Fixing 3dwinxp screensaver working experience
- Generals Zero Hour - Many Issues and 1 Bug HOT 1
- Failed to Load d3dx9_43.dll HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d3d8to9.