It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
TL;DR - Please help test me this thing.

Hi so uh,,, my real job is junior programmer of automated tests and sometimes we use AutoIt at work.
But it can work with Windows. So I tried to put something together that "should" launch the KoDP in windowed mode (as you would with the -w) but then sorta tries to align the Windows and put them into your main monitor top left corner, you can move them later.

The idea for that came from user named jerfa who did something similar in python. The AutoIt script does not need python installed. AutoIt can do .exe version of the scripts, so I did two of them,

Now the problém is, would there be a volunteer to test it, it works for me.
The source code for the AutoIt, if you want to try is this:

;-----------------------------------------------------------------------------------------------------------
RunKingOfDragonPass()

Func RunKingOfDragonPass()
$aGame = "KoDP.exe -w"
Run($aGame)
Local $aMainWindow = WinWaitActive("mTropolis Windows Player - mPlayer")
Local $aMainControl = ControlGetHandle($aMainWindow,"","")
ControlMove($aMainControl,0,0,0,0)
WinMove($aMainWindow,"",0,0,650,550)
EndFunc
;-----------------------------------------------------------------------------------------------------------

and you run it from the same folder as the game is. You stil need to forbid it from runnin in 640x480 mode though

The script as .exe runnables are here:
https://www.dropbox.com/s/yw8v7uj187b5l96/KoDP-Windowed_32b.exe?dl=0
https://www.dropbox.com/s/dxl34xhi8cyw8qy/KoDP-Windowed_64b.exe?dl=0
Post edited March 18, 2016 by Noir_CZ
On Windows XP - 32bit ran fine, was a few pixels out on window size, but it is a drag to resize window so that's irrelevant.
works windows 7 - 64bit.
Windows 10 Single Language 64-bit; had to disable all compatibility options in the KoDP.exe as all users, then as regular user. Windows complained it was from an unknown publisher, but after selecting advanced options I was able to run it. It runs the game properly, but it cuts off the bottom of the screen, so that the tutorial option is invisible. Manually resizing the window fixed that.
Windows 7 64-bit. This has been the best launcher for my specific machine. For one reason or another other KoDP launchers haven't worked out quite right but this one has.

The game launches in a window within a window as I expected it probably would, but the window the actual game runs in can be moved without needing to be resized manually (just like any other window actually, by clicking on it's top bar), that cleared the "cut off" parts for me and it looks just like a normal window with enough fidgeting. I've also been able to run this while checking off the "disable visual themes" and "disable desktop composition" if that'll help anyone out any.
Post edited August 09, 2016 by Projectsonic
Apologies for the doublepost, but these links appear to be all dead. Would anyone happen to have at least the 64-bit version lying around for reuploading?
avatar
Projectsonic: Apologies for the doublepost, but these links appear to be all dead. Would anyone happen to have at least the 64-bit version lying around for reuploading?
It is? It seems to behave ok for me...

https://www.dropbox.com/s/dxl34xhi8cyw8qy/KoDP-Windowed_64b.exe?dl=0

dropbox says it is ok and no expiry date is set in there
avatar
Projectsonic: Apologies for the doublepost, but these links appear to be all dead. Would anyone happen to have at least the 64-bit version lying around for reuploading?
avatar
Noir_CZ: It is? It seems to behave ok for me...

https://www.dropbox.com/s/dxl34xhi8cyw8qy/KoDP-Windowed_64b.exe?dl=0

dropbox says it is ok and no expiry date is set in there
Huh. Guess it was on my end, the links work now. Thanks!
Well this is the best solution i have found to getting a managable windowed mode for KoDP (i tried the -w launcher option, using DXwnd and the other 'KoDP-Launcher-fillscreen-only' exe, but all either did not work or did not give a nice windowed view).

Win 7 using the original PC version (2.0.0.12) and it pops up a slightly too small window (you have to pull it down and across a few pixels to get the full screen included), but atleast it is not a 'centered' window surrounded by black!

Excellent work.

Now working out what recording software can record this window is my next challenge (Dxtory, MSiAfterburner and Fraps do not!). I'm having to relearn some OBS as i think that might do the job? I've heard Bandicam can, but i don't own that (and as i already pay for DXtory i don't want to add more cost for one game) and the free version has limited functionality.

Edit: OBS can record it :)
Post edited March 19, 2020 by ThorChild