noble reason to study TFTC

This is the place for chit chat! Everything goes even Star Trek! Just make sure to buy the Moderator a drink!
Post Reply

noble reason to study TFTC

danrevella
Cadet 3rd Class
Posts: 36
Joined: Fri Nov 27, 2015 1:08 pm

Post by danrevella » Fri Apr 22, 2022 2:35 pm

for noble study reasons I have to use the game in 800 * 600 windowed (border?) mode, but I have take some experiments with the hook cfg files, but no way...
The initial menu is ok, but when I select the mission it come back to full screen, may I get more support please?
for the moment I have try fo fast fix with a simple ahk script, but for sure there must exist a clean solution.
For ONLY noble reason I have to use Cheat Engine on TFTC....... ehm...... :roll:
Thanks to ALL!!!
p.s. if interest here is my simple fix with ahk file

Code: Select all

; [^ = Ctrl] [+ = Shift] [! = Alt] [# = Win]
;WIN+shift+t hotkey
#+t::
WinGet, window, ID, A
    InputBox, width, Resize window, Enter width:, , 170, 130
    if (width != "")
    {
        InputBox, height, Resize Window, Enter height:, , 170, 130
    }
return

;WIN+t hotkey
#t::
    WinGet, window, ID, A
WinGetTitle, Title, A
WinGet, id, , %Title%
Result := DllCall("SetWindowPos", "uint", id, "uint", HWND_TOP, "Int", 0, "Int", 0, "Int", width, "Int", height, "UInt", 0x400)
return


Post Reply