-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added fix for Forza Horizon 5 (See request #1 )
- Added ForzaHorizon5.bat - Added ForzaHorizon5_light.bat - Remade README file with Markdown and new info
- Loading branch information
Showing
5 changed files
with
93 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@echo off | ||
|
||
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" | ||
|
||
if '%errorlevel%' NEQ '0' ( | ||
echo Requesting administrative privileges... | ||
goto UACPrompt | ||
) else ( goto gotAdmin ) | ||
|
||
:UACPrompt | ||
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" | ||
set params = %*:"="" | ||
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" | ||
|
||
"%temp%\getadmin.vbs" | ||
del "%temp%\getadmin.vbs" | ||
exit /B | ||
:gotAdmin | ||
pushd "%CD%" | ||
CD /D "%~dp0" | ||
|
||
echo Executing ForzaHorizonFix (v2.5) by @paxanddos. | ||
echo If you have any issues please address them to https://github.com/PAXANDDOS/ForzaHorizonFix/issues | ||
echo Waiting for Forza Horizon 5 to finally launch and then killing explorer.exe. | ||
|
||
net start XboxNetApiSvc | ||
net start XboxGipSvc | ||
net start XblAuthManager | ||
net start XblGameSave | ||
timeout /T 1 /NOBREAK | ||
|
||
start /high explorer.exe shell:appsFolder\Microsoft.624F8B84B80_8wekyb3d8bbwe!Forzahorizon5 | ||
SetLocal EnableExtensions | ||
SetLocal ENABLEDELAYEDEXPANSION | ||
Set game=ForzaHorizon5.exe | ||
timeout /T 60 /NOBREAK | ||
taskkill /f /im explorer.exe | ||
|
||
:loop | ||
tasklist | Find /i "%game%" || (goto Else) | ||
:THEN | ||
timeout /T 5 /NOBREAK | ||
goto loop | ||
:ELSE | ||
start explorer.exe | ||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@echo off | ||
|
||
echo Executing ForzaHorizonFix (v2.5) by @paxanddos. | ||
echo If you have any issues please address them to https://github.com/PAXANDDOS/ForzaHorizonFix/issues | ||
echo Waiting for Forza Horizon 5 to finally launch and then killing explorer.exe. | ||
|
||
start /high explorer.exe shell:appsFolder\Microsoft.624F8B84B80_8wekyb3d8bbwe!Forzahorizon5 | ||
SetLocal EnableExtensions | ||
SetLocal ENABLEDELAYEDEXPANSION | ||
Set app=ForzaHorizon5.exe | ||
timeout /T 60 /NOBREAK | ||
taskkill /f /im explorer.exe | ||
|
||
:loop | ||
tasklist | Find /i "%app%" || (goto Else) | ||
:THEN | ||
timeout /T 5 /NOBREAK | ||
goto loop | ||
:ELSE | ||
start explorer.exe | ||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,31 @@ | ||
<p align="center"><img src="https://static.wikia.nocookie.net/logopedia/images/f/f8/Forza_Horizon_4_logo.svg/revision/latest/scale-to-width-down/512?cb=20191202151349" height="70"/></p> | ||
<p align="center"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Forza_Horizon_logo.svg/1249px-Forza_Horizon_logo.svg.png" height="180"/> | ||
<p align="center"> | ||
<img alt="windows" src="https://img.shields.io/badge/Windows-blue.svg?style=flat-square&logo=windows&logoColor=white" /> | ||
<img alt="release" src="https://img.shields.io/github/v/release/PAXANDDOS/ForzaHorizon4Fix?style=flat-square" /> | ||
<img alt="downloads" src="https://img.shields.io/github/downloads/PAXANDDOS/ForzaHorizon4Fix/v2.0/total?style=flat-square" /> | ||
<img alt="downloads" src="https://img.shields.io/github/downloads/PAXANDDOS/ForzaHorizon4Fix/total?style=flat-square" /> | ||
</p> | ||
<h2 align="center">Fix for the Forza Horizon 4 Crashes</h2> | ||
<h2 align="center">Fix for the Forza Horizon crashes</h2> | ||
|
||
<p>Hey! Forza Horizon 4 is not a perfect game and you may experience some unexpected game crashes. In most cases, this happens due to a running explorer.exe process. (Game from Microsoft crashing because of software from Microsoft, funny, right?)<br>This fix should help you to overcome this issue! <a href="#grey_question-how-does-it-work">See details.</a> | ||
</p> | ||
Hey there! :wave: Forza Horizon series turned out not to be a perfect and you may experience some unexpected game crashes. In most cases, this happens due to a running explorer.exe process. (Game from Microsoft crashing because of software from Microsoft, funny, right?) | ||
This fix should help you to overcome this issue! [See below.](#grey_question-how-does-it-work) | ||
|
||
<h2>:inbox_tray: Downloads</h2> | ||
<b>Preferred version — <a href="https://github.com/PAXANDDOS/ForzaHorizon4Fix/releases/download/v2.0/ForzaHorizon4.bat">Download</b></a><br> | ||
Light version — <a href="https://github.com/PAXANDDOS/ForzaHorizon4Fix/releases/download/v2.0/ForzaHorizon4_light.bat"><b>Download</b></a> | ||
## :inbox_tray: Downloads | ||
***Forza Horizon 5*** | ||
- **Preferred version** — [Download](https://github.com/PAXANDDOS/ForzaHorizon4Fix/releases/download/v2.5/ForzaHorizon5.bat) | ||
- Light version — [Download](https://github.com/PAXANDDOS/ForzaHorizon4Fix/releases/download/v2.5/ForzaHorizon5_light.bat) | ||
|
||
<h2>:grey_question: How does it work?</h2> | ||
<p> | ||
Download the <b>preferred</b> version above and run the batch file. This version is compatible with Windows 10 Home and Pro editions and should run correctly. If you experienced some difficulties, you may download the light version, it will run the game without requesting admin rights and without services check.<br> | ||
After the batch file starts, it will request admin rights for further operations. It will check for required Xbox services and start them if they're disabled. Then your game will start and after some time explorer.exe process will be killed, it starts again as soon as you exit the game. | ||
</p> | ||
<p> | ||
<b>Warning!</b><br> | ||
This fix is only for the Microsoft Store version of Forza Horizon 4.<br> | ||
Once exlorer.exe is killed, you are not able to switch between different windows (Shift+Tab) and even adjust the volume. If you want to adjust the volume or something else, enter the Ctrl+Alt+Del screen, everything works fine there. | ||
</p> | ||
***Forza Horizon 4*** | ||
- **Preferred version** — [Download](https://github.com/PAXANDDOS/ForzaHorizon4Fix/releases/download/v2.0/ForzaHorizon4.bat) | ||
- Light version — [Download](https://github.com/PAXANDDOS/ForzaHorizon4Fix/releases/download/v2.0/ForzaHorizon4_light.bat) | ||
|
||
## :grey_question: How does it work? | ||
Download the **preferred** version for your game above and run the batch file. This version is compatible with Windows 10 Home and Pro editions and should run correctly. Also, it is compatible with Windows 11 Home and Pro editions, but so far Windows 11 has no such problems with the Forza Horizon series. If you experienced some difficulties, you may download the *light* version for your game, it will run without requesting admin rights and without a services check. | ||
After the batch file starts, it will request admin rights for further operations. It will check for required Xbox services and start them if they're disabled. Then your game will start and after some time explorer.exe process will be killed, it starts again as soon as you exit the game. | ||
|
||
**Warning!** | ||
This fix is only for the Microsoft Store version of the Forza Horizon series. | ||
Once exlorer.exe is killed, you are not able to switch between different windows (Alt+Tab) and even adjust the volume. If you want to adjust the volume or something else, enter the Ctrl+Alt+Del screen, everything works fine there. | ||
|
||
<h2>:fox_face: Have a great day!</h2> | ||
If you are intrested in my other works, please <a href="https://paxanddos.github.io">visit my website</a>! | ||
## :fox_face: Have a great day! | ||
Feel free to leave a feedback or ask something by creating an [issue](https://github.com/PAXANDDOS/ForzaHorizon4Fix/issues/new)! | ||
And if you are intrested in my other works, please [visit my website](https://paxanddos.github.io)! |