Skip to content

Instantly share code, notes, and snippets.

@PVRDevTech
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PVRDevTech/5350cc69c6e3ee933021 to your computer and use it in GitHub Desktop.
Save PVRDevTech/5350cc69c6e3ee933021 to your computer and use it in GitHub Desktop.
@echo off
set PVRTOOLSPATH=..\..\..\..\..\..\..\PowerVR_Tools
set PVRTRACELIBSPATH=PVRTrace\Recorder\Windows_x86_32
set PVRVFRAMELIBPATH=PVRVFrame\Library\Windows_x86_32
xcopy /Y %PVRTOOLSPATH%\%PVRTRACELIBSPATH%\libEGL.dll .
xcopy /Y %PVRTOOLSPATH%\%PVRTRACELIBSPATH%\libGLES_CM.dll .
xcopy /Y %PVRTOOLSPATH%\%PVRTRACELIBSPATH%\libGLESv1_CM.dll .
xcopy /Y %PVRTOOLSPATH%\%PVRTRACELIBSPATH%\libGLESv2.dll .
xcopy /Y %PVRTOOLSPATH%\%PVRTRACELIBSPATH%\PVRTrace.dll .
mkdir PVRVFrameLibs
xcopy /Y %PVRTOOLSPATH%\%PVRVFRAMELIBPATH%\libEGL.dll PVRVFrameLibs\
xcopy /Y %PVRTOOLSPATH%\%PVRVFRAMELIBPATH%\libGLES_CM.dll PVRVFrameLibs\
xcopy /Y %PVRTOOLSPATH%\%PVRVFRAMELIBPATH%\libGLESv2.dll PVRVFrameLibs\
@echo { > pvrtraceconfig.json
@echo "*": { >> pvrtraceconfig.json
@echo "Tracing": { >> pvrtraceconfig.json
@echo "StartFrame": 0, >> pvrtraceconfig.json
@echo "EndFrame": 9999 >> pvrtraceconfig.json
@echo }, >> pvrtraceconfig.json
@echo "Host": { >> pvrtraceconfig.json
@echo "EglLibraryPath": "PVRVFrameLibs/libEGL.dll", >> pvrtraceconfig.json
@echo "Es1LibraryPath": "PVRVFrameLibs/libGLES_CM.dll", >> pvrtraceconfig.json
@echo "Es2LibraryPath": "PVRVFrameLibs/libGLESv2.dll" >> pvrtraceconfig.json
@echo } >> pvrtraceconfig.json
@echo } >> pvrtraceconfig.json
@echo } >> pvrtraceconfig.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment