Results 1 to 4 of 4

Thread: Where is Warscapes shader files (.hlsl) located?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Slashas's Avatar Miles
    Join Date
    Dec 2012
    Location
    Northern Sweden
    Posts
    306

    Default Where is Warscapes shader files (.hlsl) located?

    Hello! I'm digging around in Rome 2s data and experimenting with warscapes particle system (so far no luck at all ). But I found that in some files, in the data.pack's vfx folder, seems to share a shader library called particle_vfx_library.hlsl. But I can't locate that file. Only lead I got is the filepath in these files saying <shader_library file="fx/particle_vfx_library.hlsl"...>

    So anyone got any idea about where to find it? Or how to open it if I find it?

  2. #2
    Inevitability won
    Patrician Citizen

    Join Date
    Mar 2010
    Posts
    9,594

    Default Re: Where is Warscapes shader files (.hlsl) located?

    data_rome2.pack -> fxc folder

    I wanted to edit some stuff a while back, however they are not in .hlsl format, I couldn't really be bothered to go much further after that.

  3. #3
    Slashas's Avatar Miles
    Join Date
    Dec 2012
    Location
    Northern Sweden
    Posts
    306

    Default Re: Where is Warscapes shader files (.hlsl) located?

    Thank you .Mitch! I was hoping to be able to find something to change the lifetime of particles (i.e arrows/rocks). I'll keep looking for something to open it with

  4. #4
    Kurisu Paifuaa's Avatar Biarchus
    Join Date
    Mar 2009
    Location
    Pennsylvania, US
    Posts
    621

    Default Re: Where is Warscapes shader files (.hlsl) located?

    Shogun included (non-compiled) hlsl routines in distinct shader packs. You could edit and pack those and the game would compile at run time. Then the compiled .fxc files would output to /fxcache in the user directory for future runs. I presume you could also pack up the compiled routines as a mod.

    Like .Mitch said, the only familiar thing with Rome are the pre-compiled fxc files... no sign of shader packs with hlsl source. Best thing to do at this point would be to unpack everything and search the contents for non-compiled text. It looks a little different with Rome2... worst case scenario is that they've decided to only release pre-compiled routines.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •