Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Windowed Mode?

Author
Message
Sylerr
15
Years of Service
User Offline
Joined: 31st May 2010
Location:
Posted: 31st May 2010 17:49
How do i make the game go intro windowed mode? On the forums i saw some codes or something but i can't find out how to do it.

Thanks.
Metal Devil123
17
Years of Service
User Offline
Joined: 13th Jul 2008
Location: Suomi, Finland
Posted: 31st May 2010 19:31
I don't know what windowed even means...


Heimo Vesa ROCKS!!!!!
SikaSina Games
17
Years of Service
User Offline
Joined: 5th Dec 2007
Location: Reading, UK
Posted: 31st May 2010 19:33
Like when you collapse a window on your browser, instead of using the whole screen, it uses a fraction of it . I don't think FPSC uses it yet, and I dunno if they're programming it in for the new update. Would be a good addition though.

-SSG

--=. ,=--
"Death is a surprise party. Unless, of course...you're already dead on the inside." - John Kramer, SAW III
Zay
15
Years of Service
User Offline
Joined: 2nd Dec 2009
Location: sLOVEina
Posted: 31st May 2010 19:40
Well,when 1.17 comes,you could play FPSC in a web browser (like Unity)
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 31st May 2010 23:10
At the moment FPSC is full screen only.

knxrb
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 31st May 2010 23:27 Edited at: 20th Jun 2010 13:07
Quote: "At the moment FPSC is full screen only."

Actually, I got FPSC in windowed mode using no source mods:


Here's a video I've just made:
http://www.youtube.com/watch?v=GgEfXM8ZAFs
Or download it for higher quality:
http://www.fpscip.com/FPSC_Windowed_Mode_1stJune2010.zip

knxrb
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 1st Jun 2010 03:05
How on earth did you manage that!?

knxrb
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 1st Jun 2010 03:23 Edited at: 1st Jun 2010 03:26
I use the SetParent function in 'user32.dll', and then maximise the window to fill the whole of the new parent container window
Then I just run checks to see when the FPSC-Game has focus to allow for when the player minimises the window to the task tray.

And another neat thing is that the keys that are pressed while playing the game can be captured on the container window as well

It works perfectly except for a slight problem with the cursor on the 'Load Game' screen but that can be fixed pretty easily.

knxrb
Soviet176
15
Years of Service
User Offline
Joined: 19th Sep 2009
Location: Volgograd
Posted: 1st Jun 2010 04:36
lol nickydude. It's knxrb. We will never know how he does half of the stuff he does.

PW Productions
16
Years of Service
User Offline
Joined: 13th Mar 2009
Location: sitting in a chair.
Posted: 1st Jun 2010 18:56
Quote: "lol nickydude. It's knxrb. We will never know how he does half of the stuff he does."


Seriously! I'm still trying to figure out how he managed to pull off FPSCIP

Soviet176
15
Years of Service
User Offline
Joined: 19th Sep 2009
Location: Volgograd
Posted: 2nd Jun 2010 19:54
Quote: "Seriously! I'm still trying to figure out how he managed to pull off FPSCIP"


My guess is, since he is a programmer. The source lies within mountain dew. That how I get my programs to work.

That Guy John
15
Years of Service
User Offline
Joined: 30th Apr 2010
Location: United States
Posted: 3rd Jun 2010 07:07 Edited at: 3rd Jun 2010 07:55
KNXRB, so basicly you are just running the game's exe in a panel?
I always have problems with the whole resizing thing...

here is the vb code I use..


Could you clean that up to help with the resizing issue, or even making it to where the exe would maximize only to the size of the panel it is filling? Like if I have a left panel for my own controls and right panel to load an exe. The way I have it it always seems to over or underlap when the exe is maximized.

ThatGuyJohn.com (personal blog)
PCGameDrops.com Something for your PC to chew on!(Launched May 15th, 2010. Developers please have a look, will be updated aggressively)
knxrb
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 3rd Jun 2010 12:30 Edited at: 3rd Jun 2010 12:32
Quote: "KNXRB, so basicly you are just running the game's exe in a panel?"

Pretty much, although I don't use panels for it

Quote: "
"

Your code is good but you aren't giving the FPSC-Game exe time to startup before you try and embed it into the window and resize the resolution. Make your program wait a few seconds between starting the program and embedding the window.

I alos suggest changing the process working directory as well to make sure FPSC tries to access the correct folder.

You can use these commands for that:

Or

Change the #Duration to a a milliseconds number.

knxrb
That Guy John
15
Years of Service
User Offline
Joined: 30th Apr 2010
Location: United States
Posted: 3rd Jun 2010 14:50
Thanks KNXRB, I just started getting back into VB this past weekend. I'm a cheapo "Express" edition user though lol.

ThatGuyJohn.com (personal blog)
PCGameDrops.com Something for your PC to chew on!(Launched May 15th, 2010. Developers please have a look, will be updated aggressively)

Login to post a reply

Server time is: 2025-08-08 19:32:56
Your offset time is: 2025-08-08 19:32:56