Closed weewoo-meow closed 1 year ago
All .dll from used are from this project or custom game libraries unless d3d8.dll which I sourced it from https://github.com/crosire/d3d8to9
You don't actually need that library as dxwrapper includes that already.
It uses D3D8 according to Ghidra.
Actually it appears that it is using D3D9, based on the logs. I suspect that is because you are using https://github.com/crosire/d3d8to9 to covert it to D3D9. Again, you can do that with dxwrapper instead.
Can someone point out if I misconfigured something?
Well, there are a lot of settings enabled that probably don't need to be. But unfortunately there is no option in dxwrapper to force D3D8 games into 16:9.
You don't actually need that library as dxwrapper includes that already.
Ok, I changed the file to d3d8.dll from your repo's release and put it in the game folder.
New log:
18388 23:53:14.109 Starting DxWrapper v1.0.6542.21
18388 23:53:14.109 Running from: C:\Program Files (x86)\Virtual Toys\Torrente On-Line\dxwrapper.dll
18388 23:53:14.109 Reading config file: C:\Program Files (x86)\Virtual Toys\Torrente On-Line\dxwrapper.ini
18388 23:53:14.109 MSI MS-7971 1.0 (Desktop)
18388 23:53:14.109 MSI Z170-A PRO (MS-7971) 1.0 (Desktop)
18388 23:53:14.109 NVIDIA GeForce GTX 1060 6GB
18388 23:53:14.109 Windows 10 Enterprise 64-bit (10.0.22000)
18388 23:53:14.109 "torrente.exe" (PID:6072)
18388 23:53:14.109 Environment variable __COMPAT_LAYER = "DWM8And16BitMitigation"
18388 23:53:14.109 Disabling High DPI Scaling...
18388 23:53:14.109 Loaded library: user32.dll
18388 23:53:14.109 Loaded library: shcore.dll
18388 23:53:14.109 Loading 'dsound.dll'...
18388 23:53:14.124 Hooking dsound.dll APIs...
18388 23:53:14.124 Enabling dinput8 wrapper
18388 23:53:14.124 Loading 'dinput8.dll'...
18388 23:53:14.124 Hooking dinput8.dll APIs...
18388 23:53:14.124 Enabling d3d8to9 wrapper
18388 23:53:14.124 Loading 'd3d8.dll'...
18388 23:53:14.124 Hooking d3d8.dll APIs...
18388 23:53:14.124 Enabling d3d9 wrapper
18388 23:53:14.124 Loading 'd3d9.dll'...
18388 23:53:14.124 Hooking d3d9.dll APIs...
18388 23:53:14.124 DxWrapper loaded!
7376 23:53:14.124 Starting fullscreen thread...
18388 23:53:14.150 d8_Direct3DCreate8
18388 23:53:14.150 Starting D3d8to9 v1.11.0.0
18388 23:53:14.150 Redirecting 'Direct3DCreate8' to --> 'Direct3DCreate9' (220)
18388 23:53:14.150 d9_Direct3DCreate9
18388 23:53:14.150 Redirecting 'Direct3DCreate9' ...
18388 23:53:14.184 Creating interface m_IDirect3D9Ex::m_IDirect3D9Ex (006A4BD8)
18388 23:53:14.184 Loading d3dx9_xx.dll
18388 23:53:14.190 Loaded library: d3dx9_43.dll
18388 23:53:14.560 Utils::SetWndProcFilter Setting new WndProc WND(00370752,Render...,{0,0,1024,768})
18388 23:53:15.087 Creating interface m_IDirect3DDevice9Ex::InitDirect3DDevice (00639970)
18388 23:53:15.087 Creating interface m_IDirect3DSurface9::m_IDirect3DSurface9 (039218B0)
18388 23:53:15.087 Creating interface m_IDirect3DSurface9::m_IDirect3DSurface9 (03921880)
18388 23:53:15.087 Creating interface m_IDirect3DTexture9::m_IDirect3DTexture9 (039324B0)
18388 23:53:15.095 Creating interface m_IDirect3DVertexBuffer9::m_IDirect3DVertexBuffer9 (03932558)
18388 23:53:15.095 Creating interface m_IDirect3DStateBlock9::m_IDirect3DStateBlock9 (03932468)
18388 23:53:15.095 Creating interface m_IDirect3DStateBlock9::m_IDirect3DStateBlock9 (03932438)
18388 23:53:15.096 Creating interface m_IDirect3DSurface9::m_IDirect3DSurface9 (03921B20)
18388 23:53:15.096 Creating interface m_IDirect3DTexture9::m_IDirect3DTexture9 (03932510)
18388 23:53:15.096 Creating interface m_IDirect3DTexture9::m_IDirect3DTexture9 (039325D0)
18388 23:53:15.102 Creating interface m_IDirect3DVertexBuffer9::m_IDirect3DVertexBuffer9 (00626108)
18388 23:53:15.103 Creating interface m_IDirect3DVertexBuffer9::m_IDirect3DVertexBuffer9 (09D868F8)
18388 23:53:15.103 di8_DirectInput8Create
18388 23:53:15.103 Redirecting 'DirectInput8Create' ...
18388 23:53:15.135 Creating interface m_IDirectInput8A::m_IDirectInput8A (09D86AD8)
18388 23:53:15.158 Creating interface m_IDirectInputDevice8A::m_IDirectInputDevice8A (09D86BB0)
18388 23:53:15.158 Creating interface m_IDirectInputDevice8A::m_IDirectInputDevice8A (09D86C40)
18388 23:53:15.182 ds_DirectSoundCreate8
18388 23:53:15.182 Redirecting 'DirectSoundCreate8' ...
18388 23:53:15.198 Creating interface m_IDirectSound8::m_IDirectSound8 (09D870D8)
18388 23:53:15.198 Creating interface m_IDirectSoundBuffer8::m_IDirectSoundBuffer8 (09DB8BB8)
3268 23:53:15.537 Redirecting 'Direct3DCreate9' ...
3268 23:53:15.550 Creating interface m_IDirect3D9Ex::m_IDirect3D9Ex (09DD64E8)
3268 23:53:15.551 m_IDirect3D9Ex::~m_IDirect3D9Ex (09DD64E8) deleting interface!
18388 23:53:15.619 ds_DirectSoundCreate
18388 23:53:15.619 Redirecting 'DirectSoundCreate' ...
18388 23:53:15.623 Creating interface m_IDirectSound8::m_IDirectSound8 (09DD4C40)
18388 23:53:15.623 Creating interface m_IDirectSoundBuffer8::m_IDirectSoundBuffer8 (0D38D5B8)
18388 23:53:15.623 m_IDirectSoundBuffer8::~m_IDirectSoundBuffer8 (0D38D5B8) deleting interface!
18388 23:53:15.627 Creating interface m_IDirectSoundBuffer8::m_IDirectSoundBuffer8 (0D38D018)
18388 23:53:15.628 m_IDirectSoundBuffer8::~m_IDirectSoundBuffer8 (0D38D018) deleting interface!
18388 23:53:15.628 ds_DllGetClassObject
18388 23:53:15.628 Creating interface m_IKsPropertySet::m_IKsPropertySet (09DD50A8)
18388 23:53:15.628 m_IKsPropertySet::~m_IKsPropertySet (09DD50A8) deleting interface!
18388 23:53:15.628 m_IDirectSound8::~m_IDirectSound8 (09DD4C40) deleting interface!
18388 23:53:15.741 Redirecting 'DirectSoundCreate' ...
18388 23:53:15.744 Creating interface m_IDirectSound8::m_IDirectSound8 (09DD5CD8)
18388 23:53:25.637 m_IDirectSoundBuffer8::~m_IDirectSoundBuffer8 (0D38D600) deleting interface!
18388 23:53:25.637 m_IDirectSound8::~m_IDirectSound8 (09DD5CD8) deleting interface!
18388 23:53:25.814 Creating interface m_IDirect3DIndexBuffer9::m_IDirect3DIndexBuffer9 (0D647CC0)
18388 23:53:27.146 m_IDirect3DDevice9Ex::~m_IDirect3DDevice9Ex (00639970) deleting interface!
18388 23:53:27.146 m_IDirect3DIndexBuffer9::~m_IDirect3DIndexBuffer9 (0D647CC0) deleting interface!
18388 23:53:27.146 m_IDirect3DStateBlock9::~m_IDirect3DStateBlock9 (03932468) deleting interface!
18388 23:53:27.146 m_IDirect3DStateBlock9::~m_IDirect3DStateBlock9 (03932438) deleting interface!
18388 23:53:27.146 m_IDirect3DSurface9::~m_IDirect3DSurface9 (09DD74A8) deleting interface!
18388 23:53:27.146 m_IDirect3DSurface9::~m_IDirect3DSurface9 (039218B0) deleting interface!
18388 23:53:27.146 m_IDirect3DSurface9::~m_IDirect3DSurface9 (09DD7748) deleting interface!
18388 23:53:27.146 m_IDirect3DTexture9::~m_IDirect3DTexture9 (03932918) deleting interface!
18388 23:53:27.146 m_IDirect3DTexture9::~m_IDirect3DTexture9 (03932720) deleting interface!
18388 23:53:27.146 m_IDirect3DTexture9::~m_IDirect3DTexture9 (0D648B90) deleting interface!
18388 23:53:27.146 m_IDirect3DVertexBuffer9::~m_IDirect3DVertexBuffer9 (03932558) deleting interface!
18388 23:53:27.146 m_IDirect3DVertexBuffer9::~m_IDirect3DVertexBuffer9 (09D868F8) deleting interface!
18388 23:53:27.146 m_IDirect3DVertexBuffer9::~m_IDirect3DVertexBuffer9 (00626108) deleting interface!
18388 23:53:27.148 m_IDirect3D9Ex::~m_IDirect3D9Ex (006A4BD8) deleting interface!
18388 23:53:27.148 m_IDirectInputDevice8A::~m_IDirectInputDevice8A (09D86BB0) deleting interface!
18388 23:53:27.148 m_IDirectInputDevice8A::~m_IDirectInputDevice8A (09D86C40) deleting interface!
18388 23:53:27.148 m_IDirectInput8A::~m_IDirectInput8A (09D86AD8) deleting interface!
18388 23:53:28.169 m_IDirectSound8::~m_IDirectSound8 (09D870D8) deleting interface!
18388 23:53:28.173 Quiting DxWrapper
18388 23:53:28.173 Unloading libraries...
18388 23:53:28.173 Reseting screen resolution
18388 23:53:28.506 Reseting font smoothing
18388 23:53:28.519 DxWrapper terminated!
Is it possible to stretch to 16:9 by using D3D8 to D3D9 properly?
Ok, I changed the file to d3d8.dll from your repo's release and put it in the game folder.
Ok, the logs look good.
Is it possible to stretch to 16:9 by using D3D8 to D3D9 properly?
No, not with dxwrapper. Dxwrapper can only stretch older DirectDraw games. However, you may be able to stretch the game using your monitor/TV controls to switch to 16:9. Depending on your monitor settings.
Another option, if you have Nvidia you may be able to do that through the Nvidia Control Panel. I can do this via Nvidia on my desktop.
If you have Nvidia, check out this page:
https://www.pcgamingwiki.com/wiki/Glossary:Scaling#GPU.2FDisplay_scaling When the game uses d3d9, you could also try to force things with specialk
I will take a look, thank you so much.
Hello
My game called Torrente On-Line (it is in Spanish, won't blame anyone for not knowing it) doesn't stretch even if configured. It uses D3D8 according to Ghidra.
My config:
My folder structure
All .dll from used are from this project or custom game libraries unless d3d8.dll which I sourced it from https://github.com/crosire/d3d8to9
And finally the log
Can someone point out if I misconfigured something?