Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Nymphodora, Quad), 923 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 4 of 15 1 2 3 4 5 6 14 15
Re: ShadeCEVO simple grass (OVERLAY) ? [Re: 3run] #460506
07/03/16 00:05
07/03/16 00:05

M
Malice
Unregistered
Malice
Unregistered
M



line 13 sc_defferedLighting
if(!sc_deferredLighting_texBRDFLUT) sc_deferredLighting_texBRDFLUT = sc_volumeTexture_create(sc_deferredLighting_sBRDFLUT);

LOL ok - Like the old days

Re: ShadeCEVO simple grass (OVERLAY) ? [Re: rayp] #460507
07/03/16 00:05
07/03/16 00:05
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
I fixed the problem, yay grin I just changed the file name from sc_deferredLighting_LUT.dds to sc_deferredLighting_LUT.png, and overwritted it with blank white texture 8x8, and recreated all those folders in the compiled project's folder (shadec/tex/FILE!) and it worked! We tracked the error down!

Edit: this means, that you'll have to go throw all shade-c files and change those string, sounds, bmap and all resources you'll find, so they don't have folders, but only names!
Here is an example of what I mean:

WRONG!
Code:
STRING* sc_deferredLighting_sBRDFLUT = "shadec/tex/sc_deferredLighting_LUT.dds";


CORRECT!
Code:
STRING* sc_deferredLighting_sBRDFLUT = "sc_deferredLighting_LUT.dds";

It's needed so you don't have to recreate each folder after publishing the project.


Edit2:
Originally Posted By: rayp
Photoshop 6 opens that file, but its gigantic.
Maybe that's the reason it was giving the error? Probably one of those errors:
Quote:
D3DERR_OUTOFVIDEOMEMORY
or
Quote:
E_OUTOFMEMORY


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: ShadeCEVO simple grass (OVERLAY) ? [Re: 3run] #460508
07/03/16 00:14
07/03/16 00:14
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,107
Germany
You guys rock hard !!! I wanna suck your d*'s ! grin

I just copyed the complete shadeC folder into published folder, all works fine!
3run youre Genius!

So Boh never published a Project ^^

Last edited by rayp; 07/03/16 00:17.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: ShadeCEVO simple grass (OVERLAY) ? [Re: 3run] #460509
07/03/16 00:14
07/03/16 00:14

M
Malice
Unregistered
Malice
Unregistered
M



Google never fails
That error code is not undefined. Simply looking it up in DirectX Error Lookup shows:

HRESULT: 0x88760b59 (2289437529)
Name: D3DXERR_INVALIDDATA
Description: Invalid data
Severity code: Failed
Facility Code: FACILITY_D3D (2166)
Error Code: 0x0b59 (2905)

Such an error is usually accompanied by a helpful message from D3DX in the debug output window. Make sure you link against the debug version of D3DX first, and watch what is logged to the output window right as you step over that function.

Re: ShadeCEVO simple grass (OVERLAY) ? [Re: ] #460510
07/03/16 00:16
07/03/16 00:16
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,107
Germany
So does that mean, besides the folder structure, the file is corrupt/too big/whatever ?

I mean should i overwrite it like 3run said with a blank file ?

edit: I mean Google translator failed btw ^^

Last edited by rayp; 07/03/16 00:18.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: ShadeCEVO simple grass (OVERLAY) ? [Re: rayp] #460511
07/03/16 00:18
07/03/16 00:18
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: rayp
You guys rock hard !!! I wanna suck your d*'s ! grin
Naahhh, simple 'thank you' + playable demo in near future will do grin

Originally Posted By: Malice
HRESULT: 0x88760b59 (2289437529)
Name: D3DXERR_INVALIDDATA
Description: Invalid data
Severity code: Failed
Facility Code: FACILITY_D3D (2166)
Error Code: 0x0b59 (2905)
This means that I guessed wrong grin Useful info! Thank you, Malice.

Best regards!

Edit:
Originally Posted By: rayp
So does that mean, besides the folder structure, the file is corrupt/too big/whatever ?

I mean should i overwrite it like 3run said with a blank file ?
Well if this error message says that it's INVALID, you probably should.. But asking about this some shader gurus won't hurt I guess (txesmi or Kartofel).


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: ShadeCEVO simple grass (OVERLAY) ? [Re: 3run] #460513
07/03/16 00:21
07/03/16 00:21
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,107
Germany
Maybe invalid is same as not found.


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: ShadeCEVO simple grass (OVERLAY) ? [Re: 3run] #460514
07/03/16 00:23
07/03/16 00:23

M
Malice
Unregistered
Malice
Unregistered
M



^ nope @3run you are right -> stackoverflow
Quote:

environment:
i5 750
DDR3 4G Win7 pro x64 sp1
DXSDK 9.0c June 2010
GeForce GT240(driver 275.33) 512MB
MSVC 2008 sp1

project:
a game project that uses character sprite images that is DXT5(A8R8G8B8) dds format.
A sprite is 512*512 size per each frame, and each frame is each other files.
(we uses rendered 3dsmax cartoon shader modeling animation. and 3dsmax render each frame onto each other files.)
and load that way :

HRESULT hr = D3DXCreateTextureFromFileEx( m_pd3dDevice //LPDIRECT3DDEVICE9 m_pd3dDevice
,filename_upper.c_str() //std::wstring filename_upper
,D3DX_DEFAULT_NONPOW2
,D3DX_DEFAULT_NONPOW2
,1
,0
,D3DFMT_A8R8G8B8
,D3DPOOL_MANAGED
,D3DX_FILTER_NONE
,D3DX_FILTER_NONE
,NULL
,&info // D3DXIMAGE_INFO info
,NULL
,&rsTexture //LPDIRECT3DTEXTURE9 rsTexture
);
problem:
the hr is almost S_OK. when many files are loaded, sometimes it outs D3DXERR_INVALIDDATA.
i was googling and i found it is not means reached out of Memory. (out of memory is D3DERR_OUTOFVIDEOMEMORY or E_OUTOFMEMORY)
many answer says "file corrupted or abnormally format", but i don't think so because the error occurs in load random file. (the 'load failed file' is load successfully when next time, or the opposite case randomly).

what's the problem and what can i do?
i'm really in panic help me!


I thought changing the nexus might be the answer - but no go

EDIT - link to thread https://social.msdn.microsoft.com/Forums...ogiesdirectx101

EDIT http://stackoverflow.com/questions/10980659/d3dxerr-invaliddata-occur

Last edited by Malice; 07/03/16 00:31.
Re: ShadeCEVO simple grass (OVERLAY) ? [Re: rayp] #460515
07/03/16 00:24
07/03/16 00:24
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: rayp
Maybe invalid is same as not found.
My image viewer says 'decode error'. So I guess there are some troubles with the file itself. Try to 'resave' it (change it's size, make smaller etc... experiment a little bit)! I couldn't even open it. But to make things sure, better to ask shader gurus as I advised previously.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: ShadeCEVO simple grass (OVERLAY) ? [Re: 3run] #460516
07/03/16 00:27
07/03/16 00:27
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,107
Germany
Tryed another app besides Photoshop. Same result as u guys say. Cant open bla blah.

Two bugs found! Not bad. Starship Troopers like ^^


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Page 4 of 15 1 2 3 4 5 6 14 15

Moderated by  Blink, Hummel, Superku 

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