Page 1 of 1
[?] Fake Fullscreen
Posted: 2012-07-29 08:56
by sirfstar
I'm looking for a way to delete window borders of PR in a windowed mode.
I've tried some winapi (SetWindowLong) but it causes pr to freeze.
I cant run a window with 1920x1080 - window borders makes the window a little bigger and it causes graphical glitches (like transparent ground and main menu bugs)
I cant use smaller resolution to compensate borders - its also causes glitches.
So what can i do except of running it in 1650x1050?
//Not sure if right forum
Re: [?] Fake Fullscreen
Posted: 2012-07-29 11:33
by Stemplus
Ctrl + Alt + Enter???
Re: [?] Fake Fullscreen
Posted: 2012-07-29 12:04
by AfterDune
I'm not sure I understand what you mean. You want to run PR in windowed mode, but without borders?
First: why run in windowed mode?
Second: why need to lose the borders?
Running in windowed mode shouldn't give you any problems, like the ones you describe. But perhaps I misunderstand?
Re: [?] Fake Fullscreen
Posted: 2012-07-29 13:06
by sweedensniiperr
[R-DEV]AfterDune wrote:Running in windowed mode shouldn't give you any problems, like the ones you describe. But perhaps I misunderstand?
When running windowed mode with a resolution the same as your desktop you will have little of the game outside the screen which messes up the game. Running in windowed makes for easier alt-tab and also it makes the game load while not having it selected.(You can watch a youtube video while your map loads which you can't otherwise.)
Re: [?] Fake Fullscreen
Posted: 2012-07-29 14:08
by AfterDune
In that case, I have no solution at all, sorry. Just run a slightly smaller resolution or play fullscreen.
Re: [?] Fake Fullscreen
Posted: 2012-07-29 15:58
by sirfstar
Well, there is only a choice between 1650x1050 and fullHD, also possible to set custom sizes through +szx and +szy params, but its not usable with pr interface. I'm thinking about hooking CreateWindowExA and force it to open without borders before the engine start, but im wonder if someone already had this issue and found a solution

Re: [?] Fake Fullscreen
Posted: 2012-07-29 18:22
by WeeD-KilleR
There was a huge-*** thread about exactly this topic earlier. Can't find it, tho.
Re: [?] Fake Fullscreen
Posted: 2012-07-29 18:29
by deathbyturtle
A simple google search let me find this and it does work.
https://www.youtube.com/watch?v=4oYQZFLBkAg
Re: [?] Fake Fullscreen
Posted: 2012-07-29 18:41
by LITOralis.nMd
I am also interested in finding a way to do this, I tried in the past on my own, without googling, and it didn't work, for same problems that sirfstar has, graphics glitches.
I do not have time to check out deathbyturtle's link, but it looks promising. Need to check for viruses and malware first.
Will post again later.
Re: [?] Fake Fullscreen
Posted: 2012-07-29 18:52
by deathbyturtle
[R-COM]LITOralis.nMd wrote:I am also interested in finding a way to do this, I tried in the past on my own, without googling, and it didn't work, for same problems that sirfstar has, graphics glitches.
I do not have time to check out deathbyturtle's link, but it looks promising. Need to check for viruses and malware first.
Will post again later.
I can't guarantee virus free but avira and malwarebytes didn't react to anything when running it. It works though and is actually awesome.
Re: [?] Fake Fullscreen
Posted: 2012-07-29 19:03
by Mats391
deathbyturtle wrote:I can't guarantee virus free but avira and malwarebytes didn't react to anything when running it. It works though and is actually awesome.
i tried this or a similar program some months ago, but i also ran into graphic glitches (no ground texture). what resolution are you using, same as in fullscreen or smaller and let the program stretch it?
Re: [?] Fake Fullscreen
Posted: 2012-07-29 19:17
by deathbyturtle
Mats391 wrote:i tried this or a similar program some months ago, but i also ran into graphic glitches (no ground texture). what resolution are you using, same as in fullscreen or smaller and let the program stretch it?
I'm using my desktop resolution which is 1920x1080. Once the program does its thing the game looks fullscreen but you can alt tab to other applications easily. I don't experience any graphical glitches with this. Anymore questions wil have to wait as I have to go to work, have fun guys!
Tip, read the readme and fool around with the program. I couldn't get it to work for a few times but I think I have it down.
Re: [?] Fake Fullscreen
Posted: 2012-07-30 15:22
by sirfstar
Working great, thx for the link. Its still causes the bugs in main menu like when you need to click above the actual button, but everything else is fine.
Re: [?] Fake Fullscreen
Posted: 2012-08-10 05:01
by Raic