Directx 9 Download Windows 7 32 Bit

0 views
Skip to first unread message
Message has been deleted

Sofie Kovalcheck

unread,
Jul 14, 2024, 5:40:22 PM7/14/24
to enuzderning

I was inspired by @STREGAsGate's interest in building a game on Windows with DirectX and Swift. DirectX is a large framework and provides multiple sub-frameworks including Direct 3D and Direct 2D for accelerated graphics as well as things such as Direct Input and Direct Audio for audio and input handling.

directx 9 download windows 7 32 bit


تنزيل ملف مضغوط https://mciun.com/2z0aws



In order to demonstrate that using this functionality is both possible and how far Swift on Windows has actually come, I decided to write one of the time honoured traditional demos for 3D graphics with Swift (and HLSL) to show how to use Direct 3D on Windows with Swift - an orthographic projection of a cube.

Note that this proof of concept implementation does not always follow best practices (e.g. does not use v-sync) but it does show the viability of implementing 3D graphics on Windows with Swift. The code patterns are not entirely idiomatic Swift, but would be very familiar to someone who is experienced with DirectX.

Hmm, I would then guess that there could be a mismatch between the SDK version in use and where the module map is currently present. This can happen if you have more than one SDK installed or if you have a mismatch between the UCRT and WinSDK. Perhaps a recent update to Visual Studio put things out of sync?

Yes, the implementation of the demo leaves much to be desired. I tried to call that out in the README, but if its not clear, please send a PR. I think that there could be value in providing a better implementation to make it easier for people to get started with DirectX, but that was beyond the scope of that particular attempt - but I definitely see the value in a separate attempt to provide something which can serve as a starting point for others.

I think this example is fantastic as is. It just needs some adjusting specifically when someone wants to use a VM for development as the VM and host become unresponsive, however on a native machine it runs great. I've already used this example to help me make a basic window, which was really difficult for me to understand. As a mac/Linux programmer the way windows does it's references and com is a challenge for me and this example really helped me begin to grasp that stuff.

I'm still working on my Direct3D12 abstraction layer but because of SR-8671 I need to reevaluate how I'm doing that before I can continue. I think I'll follow your lead and make a more swifty version of this demo for it when it's usable.

Hello, this is kind of a pain to have to post this, but recently i had to reinstall windows, about 2 weeks ago since i got a new NvME SSD, and a Samsung 1TB SSD, so i installed my boot drive and installed Windows 11 from my old SSD, fast foward to getting everything installed, i wanted to play Hell Let Loose and Kenshi, but DirectX will not work for either, for Kenshi, it plays but has 0 audio. and for Hell Let Loose, it just wont play at all. But every other game seems to work just fine, which is super confusing. before reintalling Windows to my new SSD, i never had an issue with it. Now it seems i cannot get it to work whats so ever. Ive tried every fix from YouTube, everything on the first pages on Google, all of that. Ive factory reset my PC twice, and still nothing works. Heres the logs if anyone can help: DXError.logDirectX.log

nothing ive googled, seen, watched, done seems to work. When Hell Let Loose launches i get 3 or 4 different errors (all DirectX errors), a new game has started to act up too, Operation Harsh Doorstep, which i just downloaded off Steam, stops its launching process while its installing Microsoft DirectX

GDI is a software rendering API; all the work it does to accomplish the drawing of lines, shapes, fonts, and images is done in software. This is because GDI needs to provide a very high level abstraction over target hardware, which is useful for the context in which GDI is intended to be used (drawing application graphics on the huge variety of hardware Windows supports).

On modern machines, the renderings produced by GDI are ultimately handed off to the GPU for final output to the screen. You can envision this conceptually as handing D3D a series of textured quads, where each texture is some GDI image (in practice, it's more involved). The key point is that GDI is still doing all its work CPU-side.

This isn't strictly correct; OpenGL and D3D are not built in to the graphics card. OpenGL and D3D are primarily implemented by drivers for the card. The drivers are software, not hardware, although each hardware vendor writes their own according to the internal, often-proprietary specifications of the cards themselves.

if you would have graphics card with 'hardware windows acceleration' then you can try to compare it by performance.I'd see once one had mentioned in 90's.Despite not cost-effective maybe it may accupy some share.But gdi has no even basic 2d stuff like alfa channel or swap buffers(despite its 'doublebuffer' in window class).

Some time ago I wanted create ISO with drivers and other support software for Virtual Win 95/98/Me. Also, I wanted include Mesa3D and WineD3D to run OpenGL and DirectX application and games (maybe slowly but they'll run). It wasn't as simple as I thought, I hit a wall a few times, but result is a bit complex package contain VGA driver, OpenGL driver (software or hardware), WineD3D wrapper (translating DX to OpenGL) and OpenGlide wrapper (translating Glide to OpenGL).

Software rendering is accelerated by LLVMpipe driver in Mesa3D and hardware rendering is possible in VirtualBox 7.0 and 6.1 though VMSvga/VboxSVGA video adapter (in theory it can work in VMWare and Qemu, but maybe need some work).
To use hardware rendering in VirtualBox you must set Video adapter to VMSvga (switch VM type to Linux because VirtualBox GUI forbids it). Set video memory to 128 MB and check Enable 3D Acceleration. Last step is turn off GPU10 feature, by this command:

If I find some time in those busy times, I'll test this with my Core i3-12100F on both VirtualBox (was always the worst option for 9x, maybe this will change things) and VMware.
EDIT: And maybe I'll throw in my Core 2 Duo E8600 with GeForce 7900 GTX for some native testing...wished the Core i3 worked natively ?

Amazing progress! glchecker.exe says I have hardware acceleration here in VirtualBox 6.0, wonder if using 6.0 could cause additional compatibility issues. Like, many OpenGL and Direct3D apps work, but dxdiag from DirectX 9.0c doesn't show much 3D graphics through its Direct3D tests in Windows 98SE.

I was also reminded why I don't like using virtualization software for games. I tried playing Baldur's Gate II because I would actually prefer to play it in a VM if it could provide a decent experience, but high audio and input latency just makes it a pretty bad experience.

Maybe VMWare is better (or maybe AC97 works better than SB), but last I tried that had audio issues too. At least with Magpie you can use custom scaling algorithms and shaders, which used to be one of the disadvantages of gaming with virtualization software.

SoftGPU is pack of relatively independent components - you can combine VBEMP 9x driver and use my Mesa9x ( ) for OpenGL rendering and my Wine9x ( ) to DirectX -> OpenGL transport. OpenGL rendering will be software only, but on native HW it will be faster than in VM, VBEMP 9x also not having ICD feature, so you must replace opengl32.dll in system. Unfortunately, it will be still slower than your 7900 GTX.

I got a bit confused about the VirtualBox versions - version 6.0 has choose of VGA adapter, so HW acceleration can work (version 5.1 hasn't it). Please try latest version of SoftGPU, you may have encountered the R5G6B5 bug, newer version may work well.

Version 1.7.x was last which were WineD3D was compatible with 2000/XP, and it is closer to 9x, than try to port something newer. Newer versions using accelerated GDI access and can use Vulcan rendering, but it is useless on 9x. Next problem is OpenGL version, newer Wine are faster but needs more advanced OpenGL, but my actual driver has only 2.1 when is HW acceleration is on.

Tested Need for Speed: Hot Pursuit 2 (DX8, 2002). Without -nomovie command line argument it soon freezes, with -nomovie it draws 3D graphics and freezes later when I try to proceed to a race. Same results with Mesa9x. This game can be launched in a window by editing the rendercaps.ini file in My Documents\EA Games. The game doesn't freeze with wine9x dll's put into the exe's folder on Windows XP with VirtualBox Guest Additions installed.

I have successfully installed SoftGpu on Windows 98 VM in Virtual Box 7 (full 3d acceleration) but some actions are very slow, i.e: maximizing and minimizing windows, opening the start menu and other small things like every time a tool tip appears on the close, minimize or maximize window buttons.

03c5feb9e7
Reply all
Reply to author
Forward
0 new messages