HOME | DD

Wampa842 — [MMD] Tutorial: fixing FX files

Published: 2012-10-13 13:59:11 +0000 UTC; Views: 18897; Favourites: 266; Downloads: 0
Redirect to original
Description [WARNING] This tutorial is mainly for people with basic knowledge about programming in general. If you don't know what you are doing, ask me, or don't do it.

This only solves ONE problem, which is "X3014: Incorrect number for numeric-type constuctor". It may or may not work for others.
Sometimes when you try to open an FX file in MMD, it fails to load it. This is how you can fix one of the common problems.

Downloads:
~ PSPad (freeware): [link]
~ PiT's effects: [link]

Special thanks:
Professor Pál Vajdics, my programming teacher
Related content
Comments: 88

chrisnoakumu [2020-07-29 22:02:44 +0000 UTC]

👍: 0 ⏩: 1

chrisnoakumu In reply to chrisnoakumu [2020-08-17 08:03:42 +0000 UTC]

👍: 0 ⏩: 2

KuroSetsuna In reply to chrisnoakumu [2020-12-12 07:38:30 +0000 UTC]

...okay nope, doesn't work for me

👍: 0 ⏩: 0

KuroSetsuna In reply to chrisnoakumu [2020-12-12 07:36:40 +0000 UTC]

I don't have an effect file so I just create one inside the user file ? The point is that the effects are going to work inside the user file no matter what in which file they are in right?

👍: 0 ⏩: 0

FlostafoDrawings [2020-06-08 13:59:50 +0000 UTC]

👍: 0 ⏩: 1

Wampa842 In reply to FlostafoDrawings [2020-06-08 20:30:10 +0000 UTC]

👍: 1 ⏩: 0

Captain-Espana [2019-09-09 09:20:36 +0000 UTC]

CDS Stage file. Reflection file won't load at all. Can't figure out how to fix it 

ZIP No Preview

👍: 0 ⏩: 0

loyda182 [2019-04-19 07:20:59 +0000 UTC]

i think it's a bit too late for reply this but i ask for help
this is what happened when i tried to load ikSweat.x 
 
prnt.sc/ne0xob

RAR No Preview

 
this is the accesory

👍: 0 ⏩: 2

RebeccaSmith14 In reply to loyda182 [2019-06-08 20:22:31 +0000 UTC]

Actually, iksweat requires the 64bit version of MMD to work. You have to have a 64bit computer too.

👍: 0 ⏩: 0

Wampa842 In reply to loyda182 [2019-04-20 11:55:31 +0000 UTC]

DirectX failed to compile the shader. Looks like incompatibility on DirectX's part, not something I can fix.

Make sure MMD, MME and DirectX are all updated to the latest available version.

👍: 0 ⏩: 0

HazyGem [2018-07-02 17:23:50 +0000 UTC]

what if it says Error X3025?

👍: 0 ⏩: 1

Wampa842 In reply to HazyGem [2018-07-02 17:32:54 +0000 UTC]

As far as I can tell, X3025 means the code tried modifying a variable that's not supposed to be modified. Other than that, I've got nothing.

👍: 0 ⏩: 1

HazyGem In reply to Wampa842 [2018-07-02 17:46:02 +0000 UTC]

*inhales* so you're telling me that it's unfixable, right?

👍: 0 ⏩: 1

Wampa842 In reply to HazyGem [2018-07-02 17:59:00 +0000 UTC]

I'm telling you that what I've told you is all I know. I don't know what effect you're trying to load, I don't know what variable it's trying to access and how, I don't know anything about your computer environment.


You gave me very little to work with.

👍: 0 ⏩: 1

HazyGem In reply to Wampa842 [2018-07-02 18:03:03 +0000 UTC]

Ok, here's the error with the effect I'm trying to load [MME] Error X3025
And this is my PC's enviroment:
 

👍: 0 ⏩: 0

duracull [2018-06-12 19:10:24 +0000 UTC]

I have this error. Can you help me? 

👍: 0 ⏩: 0

duracull [2018-06-12 18:35:46 +0000 UTC]

Hidden by Commenter

👍: 0 ⏩: 1

duracull In reply to duracull [2018-06-12 18:51:55 +0000 UTC]

Sorry I fixed.

👍: 0 ⏩: 0

NatashaKrystal [2018-04-25 18:15:26 +0000 UTC]

Hi there, I tried to load the Rainbow Line Effect into MMD and got this error message instead.

 
The two lines of codes in question are these two:
   


This is the first time that this file has ever done this so I am very confused. It can't be my laptop because I've used this effect many times before with no problems. It's strange and I can't figure out why. 

👍: 0 ⏩: 2

MillyCat1123 In reply to NatashaKrystal [2018-08-10 13:35:40 +0000 UTC]

same here

👍: 0 ⏩: 0

Wampa842 In reply to NatashaKrystal [2018-04-25 18:28:38 +0000 UTC]

I'll need access to the file before I can do anything. Even then, I probably won't be able to fix it.

👍: 0 ⏩: 0

animatronic3856 [2018-04-10 05:57:22 +0000 UTC]

I am trying to load up the main file for raycast but when it loads up it says there is an error at (37,10) but when I go to that part of the text it says:
include "main.fxsub" and the character is m

👍: 0 ⏩: 1

Wampa842 In reply to animatronic3856 [2018-04-10 11:05:15 +0000 UTC]

make sure main.fxsub exists

👍: 0 ⏩: 0

animatronic3856 [2018-03-04 18:20:10 +0000 UTC]

Hidden by Owner

👍: 0 ⏩: 1

Wampa842 In reply to animatronic3856 [2018-03-04 19:40:31 +0000 UTC]

I'm not going to debug this. One, this is just one of the files from the effect. It won't run like this and I can't just look at code and sense what breaks at runtime. Two, why did you feel it necessary to copy the ENTIRE content of the file into a comment?

👍: 0 ⏩: 0

Kotochis [2018-03-01 01:44:06 +0000 UTC]

auto luminous 4 fx file wont load... it says it cant specify the post effect

👍: 0 ⏩: 0

66BlackMantis8 [2017-07-07 18:32:08 +0000 UTC]

Hello Guys/Girls.

Im using MDD for the 1st time and all goes well, but now i get a error message when apply a effect ObjectLuminous.fx  when i want to apply OL_SimpleSelect.fx as effect then the error shows up >>  ibb.co/j3Wxcv

👍: 0 ⏩: 1

Wampa842 In reply to 66BlackMantis8 [2017-07-07 18:41:44 +0000 UTC]

Open OL_SimpleSelect.fx in a good text editor (Notepad++ or Sublime Text, but NOT Notepad) and insert the following line:

float Gain = 1.0f;

to the beginning of the file.

👍: 0 ⏩: 1

66BlackMantis8 In reply to Wampa842 [2017-07-07 18:58:47 +0000 UTC]

Ty mate it worked

👍: 0 ⏩: 0

NekoAkashi-Kun [2017-06-28 19:36:37 +0000 UTC]

Umm hope i don't bother you...tell if.. but i have a error message when i load IkSweat effect in MMD ><    ux.getuploader.com/ikeno/downl…

👍: 0 ⏩: 1

EilaKasai In reply to NekoAkashi-Kun [2017-11-18 18:45:07 +0000 UTC]

Did you figure out how to solve it?

👍: 0 ⏩: 0

SoraJakeBlade [2017-06-28 02:17:15 +0000 UTC]

Hidden by Owner

👍: 0 ⏩: 1

Wampa842 In reply to SoraJakeBlade [2017-06-28 08:35:46 +0000 UTC]

Not like this. Describe the problem, copy the error message, send a link to the effect, then maybe I can help.

👍: 0 ⏩: 0

Soulephine [2017-06-23 21:05:24 +0000 UTC]

When I try to load HgSAO, I get the error "failed to create texture". How can I fix that? 

👍: 0 ⏩: 1

Wampa842 In reply to Soulephine [2017-06-23 21:30:37 +0000 UTC]

I don't think you can. That error means that DirectX can't allocate required resources, like memory. If you're using the 32-bit MMD, try switching to 64-bit.

👍: 0 ⏩: 1

Soulephine In reply to Wampa842 [2017-06-23 21:45:38 +0000 UTC]

Ah okay, thank you though.

👍: 0 ⏩: 0

Scoots-Buragi [2017-05-24 02:46:36 +0000 UTC]

Hello, I'm having trouble trying to see if I can fix the coding of one program, I've managed to get pass one of the errors, but another error popped up when I tried applying MME to a model and this was the error message that came up: 

The location of the code: 

What exactly can be done about this?

👍: 0 ⏩: 1

Wampa842 In reply to Scoots-Buragi [2017-05-24 10:08:30 +0000 UTC]

Can you send me the files themselves?

👍: 0 ⏩: 1

Scoots-Buragi In reply to Wampa842 [2017-05-24 16:33:37 +0000 UTC]

Nevermind, I found a work around, turned out what I was using was not compatible with the 64bit version of MMD/MME and need the 32bit of both to function.

👍: 0 ⏩: 0

karmacrazy [2016-08-29 21:42:35 +0000 UTC]

Hello, i'm having another problem, trying to load water effects while using a stage, this happens htt p://puu. sh/qT2to/5bca3c906e.png (delete the spaces, da thinks its spam)
Any help please?

👍: 0 ⏩: 1

Wampa842 In reply to karmacrazy [2016-08-29 22:09:49 +0000 UTC]

You're using a way outdated version of the effect. The newest version of the same effect is 0.4.7: ux.getuploader.com/BeamMan2/do…

If your computer is beefy enough, you can try the new V5 release: www43.atwiki.jp/beamman

The problem is that MainTec, the shading function that is called as soon as the effect is loaded, is defined in MirrorWater.fx, then it's defined again in GetNormals.fx.

👍: 0 ⏩: 1

karmacrazy In reply to Wampa842 [2016-08-30 04:38:29 +0000 UTC]

Thank you! this worked perfectly, many thanks!

👍: 0 ⏩: 0

FishSticksChild21 [2016-05-02 16:31:53 +0000 UTC]

This is the script

texture MovieTex : ANIMATEDTEXTURE <
   // 使用するAPNG(or AGIF)ファイルを指定する。
   //string ResourceName = "cuadros.gif";
   string ResourceName = "cuadros.gif";
>;



// セルフシャドウOFF用
technique MainTec < string MMDPass = "object"; > {
   pass DrawObject {
       // アクセサリ描画時に、本来のテクスチャの代わりに、
       // 上記のアニメーションテクスチャを使用するように設定
       Texture[0] = MovieTex;
   }
}

// セルフシャドウON用
technique MainTec < string MMDPass = "object_ss"; > {
   pass DrawObject {
       Texture[1] = MovieTex;
   }
}

and the number it said was (20,11) But that goes to MainTec not a number value like in the tutorial

👍: 0 ⏩: 1

Wampa842 In reply to FishSticksChild21 [2016-05-02 16:39:46 +0000 UTC]

Let's not jump so far ahead. What effect are you trying to load, and what is the error?

👍: 0 ⏩: 1

FishSticksChild21 In reply to Wampa842 [2016-05-02 20:19:55 +0000 UTC]

it doesn't matter I gave up and did something else

👍: 0 ⏩: 0

3DMG-360 [2015-11-19 04:07:00 +0000 UTC]

how do i fix this? sta.sh/01g9vf5aknws

👍: 0 ⏩: 1

Wampa842 In reply to 3DMG-360 [2015-11-19 07:00:08 +0000 UTC]

It means that a non-existent variable was used. Can you send me the effect in question?

👍: 0 ⏩: 1

3DMG-360 In reply to Wampa842 [2015-11-19 07:06:17 +0000 UTC]

bowlroll.net/file/84977#sthash… here you go kindly send me or even tell me how to if fixed

👍: 0 ⏩: 1

Wampa842 In reply to 3DMG-360 [2015-11-19 09:19:12 +0000 UTC]

You didn't read the readme, did you? This isn't an effect on its own, it's a shader plugin for ikPolishShader. The MaterialMap is supposed to be placed inside the folder of ikPolishShader.

👍: 0 ⏩: 1

3DMG-360 In reply to Wampa842 [2015-11-19 09:48:45 +0000 UTC]

I couldn't it was all gibberish so i couldn't understand it

👍: 0 ⏩: 1


| Next =>