Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Ayumi, AndrewAMD, howardR), 1,095 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
No effect compilier #418132
02/21/13 14:01
02/21/13 14:01
Joined: Jan 2013
Posts: 41
Redoine Offline OP
Newbie
Redoine  Offline OP
Newbie

Joined: Jan 2013
Posts: 41
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

Re: No effect compilier [Re: Redoine] #418136
02/21/13 14:09
02/21/13 14:09
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
You either forgot to include the .fx files from the gamestudio folder or forgot to include d3dcompiler_42.dll in your project.


Always learn from history, to be sure you make the same mistakes again...
Re: No effect compilier [Re: Uhrwerk] #418139
02/21/13 14:17
02/21/13 14:17
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
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.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: No effect compilier [Re: 3run] #418151
02/21/13 15:02
02/21/13 15:02
Joined: Jan 2013
Posts: 41
Redoine Offline OP
Newbie
Redoine  Offline OP
Newbie

Joined: Jan 2013
Posts: 41
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

Re: No effect compilier [Re: Redoine] #418157
02/21/13 15:59
02/21/13 15:59
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
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"


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1