Question / Help Help needed with Diablo 2

So Diablo 2 is a Directx 8 game? OBS can't capture directx 8 with game capture. Try playing in windowed mode and use Window capture.
 
what you can do is create a shortcut to Diablo2.exe with "-w" argument

"J:\Diablo II\Diablo II.exe" -w

then use a AHK script to make the window Fullscreen

Code:
; Borderless Windowed - AutoHotkey Script
; A simple AutoHotkey script that will force this mode for me. The script removes the window border and title bar of any window :


;Toggle Title bar
^!f::
WinGetTitle, currentWindow, A
IfWinExist %currentWindow%
{
WinSet, Style, ^0xC00000 ; toggle title bar
}
return
; The hotkey is Control+Alt+f. It applies changes to whatever window has focus.


;Toggle Window border
^!g::	
WinGetTitle, currentWindow, A
IfWinExist %currentWindow%
{
WinSet, Style, ^0x800000 ; toggle thin-line border
WinSet, Style, ^0x400000 ; toggle dialog frame
WinSet, Style, ^0x40000 ; toggle thickframe/sizebox
WinSet, Style, -0xC00000 ; hide title bar
}
return
; To use script, the hotkey is Control+Alt+g.



;Go fullscreen
^!h::
WinGetTitle, currentWindow, A
IfWinExist %currentWindow%
{
WinMove, , , 0, 0, 1920, 1080 ;Set your screen resolution
}
return
; To use script, the hotkey is Control+Alt+h.


;Go windowed
^!j::
WinGetTitle, currentWindow, A
IfWinExist %currentWindow%
{
WinMove, , , 54, 28, 1814, 1052 ;Set the window size you want
}
return
; To use script, the hotkey is Control+Alt+j.

Make sure you set your screen resolution in script
When you are in the game, hit Ctrl+alt+G and CTRL+alt+H

and Use window capture in OBS
 
I really wish "run it in windows mode and attempt to use a script to make it fullscreen for you" would stop being the answer to virtually every problem I'm having with OBS. =(
 
MichaelMateria said:
I really wish "run it in windows mode and attempt to use a script to make it fullscreen for you" would stop being the answer to virtually every problem I'm having with OBS. =(

Modern games don't generally have these issues. It's only older games.
 
Back
Top