# IntroducingPVRTools help.

**URL:** <https://forums.imgtec.com/t/introducingpvrtools-help/1723>\
**Category:** PowerVR Insider\
**Created:** [March 24, 2013, 1:38pm UTC](https://forums.imgtec.com/t/introducingpvrtools-help/1723 "2013-03-24T13:38:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![john-lam](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@john-lam](https://forums.imgtec.com/u/john-lam)\
**Post date:** [March 24, 2013, 1:38pm UTC](https://forums.imgtec.com/t/introducingpvrtools-help/1723/1 "2013-03-24T13:38:16Z")

</div>

I was looking at the IntroductiontoPVRTools example and in this code I saw fsc and vsc files.  
  
  
  
`const char c_szFragShaderSrcFile[]	= “FragShader.fsh”;
const char c_szFragShaderBinFile[]	= “FragShader.fsc”;
const char c_szVertShaderSrcFile[]	= “VertShader.vsh”;
const char c_szVertShaderBinFile[]	= “VertShader.vsc”;`  
  
  
  
However I could not seem to locate them within any of the directories. Also I am not sure how the FragShader,cpp, VertShader.cpp and Image.cpp files are generated. Are the actual shader files and image passed into the filewrap in order to generate these?  
  
  
  
Thanks guys.

---

<div class="post-metadata">

**Author:** ![dgu](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@dgu](https://forums.imgtec.com/u/dgu)\
**Post date:** [March 24, 2013, 5:18pm UTC](https://forums.imgtec.com/t/introducingpvrtools-help/1723/2 "2013-03-24T17:18:15Z")

</div>

this file are generated using Filewrap tool.  
  
look at the directory : GraphicsSDK/SDK\_3.1/Utilities/Filewrap/Documentation  
  
and in the demo you are talking about , a file call content.mak do the magik 🙂  
  
example :  
  
$(CONTENTDIR)/VertShader.cpp: $(CONTENTDIR)  
  
$(FILEWRAP) -s -o $@ VertShader.vsh  
  
-$(FILEWRAP) -oa $@ VertShader.vsc

---

<div class="post-metadata">

**Author:** ![john-lam](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@john-lam](https://forums.imgtec.com/u/john-lam)\
**Post date:** [March 25, 2013, 11:33am UTC](https://forums.imgtec.com/t/introducingpvrtools-help/1723/3 "2013-03-25T11:33:24Z")

</div>

Hi DGU, I was wondering where the .vsc and .fsc files are stored. I can’t seem to find them

---

<div class="post-metadata">

**Author:** ![dgu](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@dgu](https://forums.imgtec.com/u/dgu)\
**Post date:** [March 25, 2013, 11:55am UTC](https://forums.imgtec.com/t/introducingpvrtools-help/1723/4 "2013-03-25T11:55:10Z")

</div>

Hello John,  
  
  
  
there are compile in memory and provide information for your gpu tp process it .if you want to serialize then on disk , have a look to the sample :/GraphicsSDK/SDK\_3.1/Examples/Advanced/ **BinaryShader**  
  
  
  
regards  
  
david

---

<div class="post-metadata">

**Author:** ![john-lam](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@john-lam](https://forums.imgtec.com/u/john-lam)\
**Post date:** [March 25, 2013, 12:33pm UTC](https://forums.imgtec.com/t/introducingpvrtools-help/1723/5 "2013-03-25T12:33:10Z")

</div>

Are these produced automatically?

---

<div class="post-metadata">

**Author:** ![dgu](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@dgu](https://forums.imgtec.com/u/dgu)\
**Post date:** [March 25, 2013, 1:07pm UTC](https://forums.imgtec.com/t/introducingpvrtools-help/1723/6 "2013-03-25T13:07:16Z")

</div>

you have to program yourself depending of what effect you need to achieve using your fragment , vertext and primitve, this SDK provide aswell PFX you should have a look at it , it s really superbe , there is a lof of documentation in the sdk , of course , knowlege of how work the GPU is mandatory .  
  
  
  
david
