dxwrapper icon indicating copy to clipboard operation
dxwrapper copied to clipboard

[UT99] Any benefits this can provide?

Open alextwothousand opened this issue 4 years ago • 3 comments

I was wondering if dxwrapper could provide any benefits for Unreal Tournament 99. I'm already using a D3D10 driver (there is a D3D11 one, but it adds RT and some fancy crap - not needed).

alextwothousand avatar Sep 26 '21 07:09 alextwothousand

I've just tested this with UT99, works great with the stub dinput.dll. I've enabled the Dinputto8 layer, and DxWnd, works fantastically. I can run the game in windowed mode. I've yet to test other fixes, and the ASI loader, but most are not necessary as rendering backends can be added to the game near-effortlessly.

alextwothousand avatar Sep 26 '21 09:09 alextwothousand

ASI loading works fine! Sample ASI source code:

//
// Created by alex on 26/09/2021.
//

#include <windows.h>

BOOL WINAPI DllMain(HMODULE hMod, DWORD fdwReason, LPVOID lpReserved) {
	switch (fdwReason) {
		case DLL_PROCESS_ATTACH: {
			MessageBox(nullptr, L"Hello", L"Hi", MB_OK);
			CreateThread
			break;
		}

		case DLL_PROCESS_DETACH: {

			break;
		}
	}

	return TRUE;
}

alextwothousand avatar Sep 26 '21 10:09 alextwothousand

I don't have Unreal Tournament 99. But I tested the latest non-released dxwrapper build using dd7to9 with Unreal Gold and it works. Using this it can convert the Direct3D to Direct3D9.

Here is the latest build: dxwrapper.zip

elishacloud avatar Aug 09 '23 21:08 elishacloud