Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GTA SA] Windowed Mode/Secondary Monitor and Game "Focus" #8

Closed
ghost opened this issue Nov 17, 2014 · 23 comments
Closed

[GTA SA] Windowed Mode/Secondary Monitor and Game "Focus" #8

ghost opened this issue Nov 17, 2014 · 23 comments

Comments

@ghost
Copy link

ghost commented Nov 17, 2014

Is it possible to add a nice function to this "patch"?
When you ALT+TAB GTA:SA the window always get minimized, "SA Window" (http://www.gtagarage...how.php?id=4404) prevents the game from minimizing when it's run as "Windowed" but it doesn't prevents the game from pausing/freezing when the window is not on "focus".
Is there any flag in the RenderWare engine to set the game to be always active?
So for example... You can have the game running under another monitor and browsing the internet on another. (Useful for SA-MP)

@ThirteenAG
Copy link
Owner

Well it's useful feature indeed, that's how MVL windowed mode works in vice city. I'd like to add it, but at the moment not sure how to do it properly.

@ghost
Copy link
Author

ghost commented Nov 22, 2014

I just found out MTA:SA does have this function implemented, you get it by disabling "Full Screen Minimize" at Settings > Video.
If you don't know, MTA:SA is open source: https://code.google.com/p/mtasa-blue/

@ThirteenAG
Copy link
Owner

I'll check it out.

@ThirteenAG
Copy link
Owner

Try this version, works for me: https://www.sendspace.com/file/ax8apq

@ghost
Copy link
Author

ghost commented Nov 25, 2014

Mmh... Nothing changed here, tried with Vanilla GTA:SA with Silent's ASI Loader and a heavy modified one. No changes. Game still minimizes when the window loses focus (Clicking somewhere out of the game, ALT+TABing).

@ThirteenAG
Copy link
Owner

Do you have wshps.asi installed? What method do you use to make game windowed?

@ghost
Copy link
Author

ghost commented Nov 25, 2014

Oh, now I see...
The requeriment to make it work is wshps.asi.
I wasn't using any "Windowed" method at all, I tried with "SAWindow" and works perfect.

The following bugs are just for SA-MP (Singleplayer is fine), there are no mods other than:

  • Silent's ASI Loader
  • wshps
  • Your modified version of GTASA_widescreen_fix.asi
  • SAWindow

Apparently SA-MP has it own version of the "Windowed mode", pressing "ALT+ENTER" or changing to any resolution in-game (including "Windowed") will make the patch behaviour to be gone, so when you ALT+TAB the game will get paused and minimized..

The only way to make it work in SA-MP is to run the game in the initial prompt as "Windowed" and then manually resize the screen.
WARNING: Press TAB once to get the "black SA-MP cursor", if you don't and you drag any corner of the window to resize, it will get forced to be shrinked to the center of the game.

If you fit it to screen (drag window to top) this will happen:

http://puu.sh/d5dHm/cef75c860e.jpg

You will get a transparent image of the last screen in the top left corner before resizing the screen. It's simply fixed by pausing the game and getting back (Escape twice).

You can do stuff like this:

http://puu.sh/d5eaP/735dd27e97.jpg

Here running two SA-MP at the same time with Sandboxie.

http://puu.sh/d5euD/0cb2d5e659.jpg

Here using "Windowed Borderless Gaming" (http://westechsolutions.net/sites/WindowedBorderlessGaming/download) tool to achieve it's purpose:

http://puu.sh/d5fq1/57b81a49f8.jpg

The only "cons" about this in SA-MP would be the text getting really small and that your game won't pause when ALT+TABing!

Thank you a lot ThirteenAG, you have no idea how much I appreciate this.

Can I get permission to post this at LS-RP.com forums?

@ThirteenAG
Copy link
Owner

Yeah, sure, you're welcome.

@Lion4K
Copy link

Lion4K commented May 11, 2018

Hi Would it be possible for me to have these files to use?
Tried using the link from sendspace but it was expired.
Thanks in advance!

@ThirteenAG
Copy link
Owner

It's included as an option in widescreen fix, there's no need to download anything from sendspace.

@Lion4K
Copy link

Lion4K commented May 11, 2018

And to use it what should I do?

@Lion4K
Copy link

Lion4K commented May 11, 2018

no i mean, to install it. im kinda dumb for mods sorry

@ThirteenAG
Copy link
Owner

Follow the instructions on the page: https://thirteenag.github.io/wfp#gtasa

@Lion4K
Copy link

Lion4K commented May 11, 2018

i think it worked, because i've alt tabbed and I can still hear traffic noises on the back, thank you very much!

@Lion4K
Copy link

Lion4K commented May 11, 2018

but for some reason the initial movie does not play, the one with the song and the credits.

@Lion4K
Copy link

Lion4K commented May 11, 2018

not that i care much bc this installation is for SAMP only.

@Lion4K
Copy link

Lion4K commented May 11, 2018

I have one final question.
is there a way to use the older style of the stats box?

This is how it used to be:
sa-mp-005

That's how it is now, see how the clock is overlapping the item box?
sa-mp-006

The older self felt nice with the rest of the HUD.

Thanks again!

@ThirteenAG
Copy link
Owner

No.

@Lion4K
Copy link

Lion4K commented May 11, 2018

Thanks!

@Lion4K
Copy link

Lion4K commented Jun 6, 2018

Is there a way to change the Brightness? while in window mode the game is too dark.

@ThirteenAG
Copy link
Owner

No, that's exclusive fullscreen feature.

@LSRP155
Copy link

LSRP155 commented May 14, 2020

In case anybody is looking here trying to find out how to run SAMP alt-tabbed without pausing, https://forum.ls-rp.com/viewtopic.php?f=222&t=425390 Has an excellent tutorial. If you were like me and confused as Fuck about what the hell an ASI even is. Download cleo 4 and it'll install the silent ASI loader for you, then just follow the directions for Widescreen HOR+ Support and
ThirteenAG's Widescreen Fix, then go to the forum post and it's simple. Now you can AFK to your hearts desires.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants