To extend on this, I tried to set a custom resolution for SPTest.exe.
SPtest in 2560 x 1440
You cannot view this attachment.
Here's the script you can paste into a cheatengine table. (Cheattable is attached)
Changes are applied when entering or leaving a match. If you turn off the script before, the game window will reset to its original size.
I've added three presets: 768p, 1080p and 1440p. By default, 768p is activated.
You can add any combination you want under "newmem". It does not have to be listed in the "vidmode.ini" file.
SPTest with weird res
You cannot view this attachment.
It's recommended to set a toggle hotkey for the script because as you know the SPTest window is always on top. You can't use ALT+Tab etc. I haven't found a solution for this yet.
Of course, you can always just close the game.
SPtest in 2560 x 1440
You cannot view this attachment.
Here's the script you can paste into a cheatengine table. (Cheattable is attached)
Changes are applied when entering or leaving a match. If you turn off the script before, the game window will reset to its original size.
Code Select
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem:
// 1024 x 768 (set values in hex below)
mov ecx,300 // height
mov eax,400 // width
// 1920 x 1080 (set values in hex below)
//mov ecx,438 // height
//mov eax,780 // width
// 2560 x 1440 (set values in hex below)
//mov ecx,5A0 // height
//mov eax,A00 // width
originalcode:
//mov ecx,[esp+08] // height
//mov eax,[esp+04] // width
exit:
jmp returnhere
"SPTEST.exe"+16CB80:
jmp newmem
nop 3
returnhere:
[DISABLE]
dealloc(newmem)
"SPTEST.exe"+16CB80:
mov ecx,[esp+08]
mov eax,[esp+04]
//Alt: db 8B 4C 24 08 8B 44 24 04
I've added three presets: 768p, 1080p and 1440p. By default, 768p is activated.
You can add any combination you want under "newmem". It does not have to be listed in the "vidmode.ini" file.
SPTest with weird res
You cannot view this attachment.
It's recommended to set a toggle hotkey for the script because as you know the SPTest window is always on top. You can't use ALT+Tab etc. I haven't found a solution for this yet.
Of course, you can always just close the game.