-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mot integrated with the installer yet
- Loading branch information
prodea2
committed
Feb 24, 2017
1 parent
fdb743c
commit bf9e24e
Showing
4 changed files
with
63 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@echo Mesa3D local deployment utility | ||
@echo ------------------------------- | ||
@echo By default Mesa 3D for Windows is installed system wide. But under certain circumstances the GPU(s) might get used | ||
@echo even if it's not intended: | ||
@echo - the GPU suports the required Core profile demanded by the application but lacks certain extensions; | ||
@echo - the application that needs mesa due to GPU limitations has issues on systems with multiple OpenGL drivers | ||
@echo resulting in selection of a wrong driver. Local deployment of mesa solves this problem by forcing itself to be used | ||
@echo by the aplication. | ||
@echo. | ||
@pause | ||
:deploy | ||
@cls | ||
@echo Mesa3D local deployment utility | ||
@echo ------------------------------- | ||
@echo Please provide the path to the folder that contains the application launcher executable, that needs local deployment | ||
@echo of Mesa. It is recommended to copy-paste it from Windows Explorer using CTRL+V. The right click paste introduced in | ||
@echo Windows 10 may lead to unexpected double paste. | ||
@echo. | ||
@set /p dir=Path to folder holding application executable: | ||
@echo. | ||
@set mesadll=syswow64 | ||
@set /p ABI=This is a 64-bit application (y=yes): | ||
@if /I %ABI%==y @set mesadll=system32 | ||
@cd /d "%dir%" | ||
@echo. | ||
@mklink opengl32.dll %windir%\%mesadll%\opengl32sw.dll | ||
@echo. | ||
@set /p rerun=More local deployment? (y=yes): | ||
@if /I %rerun%==y GOTO deploy |
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,25 @@ | ||
@echo Mesa3D local deployment utility | ||
@echo ------------------------------- | ||
@echo By default Mesa 3D for Windows is installed system wide. But under certain circumstances the GPU(s) might get used | ||
@echo even if it's not intended: | ||
@echo - the GPU suports the required Core profile demanded by the application but lacks certain extensions; | ||
@echo - the application that needs mesa due to GPU limitations has issues on systems with multiple OpenGL drivers | ||
@echo resulting in selection of a wrong driver. Local deployment of mesa solves this problem by forcing itself to be used | ||
@echo by the aplication. | ||
@echo. | ||
@pause | ||
:deploy | ||
@cls | ||
@echo Mesa3D local deployment utility | ||
@echo ------------------------------- | ||
@echo Please provide the path to the folder that contains the application launcher executable, that needs local deployment | ||
@echo of Mesa. It is recommended to copy-paste it from Windows Explorer using CTRL+V. The right click paste introduced in | ||
@echo Windows 10 may lead to unexpected double paste. | ||
@echo. | ||
@set /p dir=Path to folder holding application executable: | ||
@echo. | ||
@cd /d "%dir%" | ||
@mklink opengl32.dll %windir%\system32\opengl32sw.dll | ||
@echo. | ||
@set /p rerun=More local deployment? (y=yes): | ||
@if /I %rerun%==y GOTO deploy |
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