Np. Did you check https://www.reverse-engineering.net?
There's some great discussions on similar subjects. Including DirectX stuff :)
Advice on modifying old game's DirectX calls
If the game is 3D (I know nothing about the game), then it's almost certainly using Direct3D. The reason it links to DirectDraw is that with DX 7 and earlier, you had to create a DirectDraw object, and then query the IDirectDraw7 object for an IDirect3D7 object.
Quote:Original post by ozakOr just write a proxy d3d7.dll (Or whatever the DLL is called), which forwards all calls, and fudges parameters where needed (E.g. the CreateSurface() calls). It's been a while since I used DX7, and I can't remember the exact details of what you need, except that there's a lot more work required and you need to create the frontbuffer, backbuffer and Z-buffer yourself (Which CreateDevice() does in DX8+)
Another (cooler but diffult) way would be to create wrapper DLL's for the DirectX dlls used by the program and then implement these in DirectX 9/10/OpenGL or similar.
Yeah. That would be cool, but I think if it's just 16->24-bit then it might be an easy fix provided one could find the exact point in the executable to modify :)
Found something on https://www.reverse-engineering.net about changing fullscreen dx games to windowed via a simple change. Maybe similar methods could be used. I suggest posting there as it seems there's some hardcore RE guys there ;)
Found something on https://www.reverse-engineering.net about changing fullscreen dx games to windowed via a simple change. Maybe similar methods could be used. I suggest posting there as it seems there's some hardcore RE guys there ;)
Quote:Original post by Evil Steve
If the game is 3D (I know nothing about the game), then it's almost certainly using Direct3D.
I suspect it is using DirectDraw for the 2D menus (which consist mainly of 800x600 .BMP graphics for each screen) and then switches to Direct 3D when the actual 3D portion of the game begins. Of course I know almost nothing about DirectX so I could be wrong.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement