No effect compilier

Posted By: Redoine

No effect compilier - 02/21/13 14:01

hello guys in my fps game i used the "mtlView.c" library

and the blure effect (

function main()
{
fps_max = 60;
freeze_mode = 1;
video_set(800,600,32,0);
level_load("contryside.wmb");
wait(5);
shadow_stencil = 4;
shadow_lod = 2;
stencil_blur(1);
fog();
freeze_mode = 0;
pp_set(camera,mtl_blur);
while(1)
{
mtl_blur.skill1 = floatv(mouse_force.x*25+mouse_force.y*25);

wait(1);
}
}

it works fine but when i tried to publish it i get this message that say "no effect compilier"

https://www.dropbox.com/s/pt31hqtyq2fi3yf/Fps.jpg

https://www.dropbox.com/s/b6fr5sxp76mvd87/er.jpg

https://www.dropbox.com/s/h8rf7lybpmxsykl/er2.jpg



help please and thank you in advince
Posted By: Uhrwerk

Re: No effect compilier - 02/21/13 14:09

You either forgot to include the .fx files from the gamestudio folder or forgot to include d3dcompiler_42.dll in your project.
Posted By: 3run

Re: No effect compilier - 02/21/13 14:17

Find "default.fx" from the root folder of the GameStudio, and copy it into the compiled folder of your project. The thing in GameStudio that sucks, is that you need to copy .dll/.fx and other (in most cases not native) resources into the compiled project yourself (publishing doesn't make this itself), sometimes even you need to recreate the folder structure in order to get it working.
Posted By: Redoine

Re: No effect compilier - 02/21/13 15:02

Thank you guys very much
i copied the "default.fx" file to to the project folder
and i added this line (#include "default.fx") to the main script and it works

thanx a lot
Posted By: Superku

Re: No effect compilier - 02/21/13 15:59

The publish process respectively the data types of interest are listed in the options.scr text file that is located in the data folder of your Gamestudio installation. They can be changed as you please.

Originally Posted By: options.scr
; file extensions to exclude from publish or from resources
EXCLUDE_PUBLISH = "TMP;LOG"
EXCLUDE_RESOURCE = "WRS;TMP;AVI;MPG;MOV;DLL;C;H;XML;LOG"

; additional files to be bound to the game on Publish
AUTOBIND = "%work%\acknex.wdf"
AUTOBIND = "d3dx9_42.dll"
© 2024 lite-C Forums