[?] Fake Fullscreen
-
sirfstar
- Posts: 255
- Joined: 2011-09-01 07:18
[?] Fake Fullscreen
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
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
Last edited by sirfstar on 2012-07-29 09:28, edited 1 time in total.
-
Stemplus
- Posts: 333
- Joined: 2011-06-25 17:31
-
AfterDune
- Retired PR Developer
- Posts: 17094
- Joined: 2007-02-08 07:19
Re: [?] Fake Fullscreen
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?
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?

-
sweedensniiperr
- Posts: 2784
- Joined: 2009-09-18 10:27
Re: [?] Fake Fullscreen
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.)[R-DEV]AfterDune wrote:Running in windowed mode shouldn't give you any problems, like the ones you describe. But perhaps I misunderstand?
-
AfterDune
- Retired PR Developer
- Posts: 17094
- Joined: 2007-02-08 07:19
Re: [?] Fake Fullscreen
In that case, I have no solution at all, sorry. Just run a slightly smaller resolution or play fullscreen.

-
sirfstar
- Posts: 255
- Joined: 2011-09-01 07:18
Re: [?] Fake Fullscreen
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 
-
WeeD-KilleR
- Posts: 792
- Joined: 2009-11-01 13:32
Re: [?] Fake Fullscreen
There was a huge-*** thread about exactly this topic earlier. Can't find it, tho.
-
deathbyturtle
- Posts: 10
- Joined: 2010-12-09 20:32
Re: [?] Fake Fullscreen
A simple google search let me find this and it does work.
https://www.youtube.com/watch?v=4oYQZFLBkAg
https://www.youtube.com/watch?v=4oYQZFLBkAg
-
LITOralis.nMd
- Retired PR Developer
- Posts: 5658
- Joined: 2010-04-10 16:15
Re: [?] Fake Fullscreen
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 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.
-
deathbyturtle
- Posts: 10
- Joined: 2010-12-09 20:32
Re: [?] Fake Fullscreen
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.[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.
- Mats391
- PR:BF2 Lead Developer
- Posts: 7643
- Joined: 2010-08-06 18:06
Re: [?] Fake Fullscreen
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?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.
-
deathbyturtle
- Posts: 10
- Joined: 2010-12-09 20:32
Re: [?] Fake Fullscreen
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!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?
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.
Last edited by deathbyturtle on 2012-08-03 02:14, edited 1 time in total.
-
sirfstar
- Posts: 255
- Joined: 2011-09-01 07:18
Re: [?] Fake Fullscreen
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.
-
Raic
- Posts: 776
- Joined: 2007-02-24 15:59
Re: [?] Fake Fullscreen
Here is a wiki with couple different methods. I personally use Shift window.
Borderless Fullscreen Windowed - PCGamingWiki PCGW - Bugs, fixes and workarounds
Borderless Fullscreen Windowed - PCGamingWiki PCGW - Bugs, fixes and workarounds


