OpenJKDF2 icon indicating copy to clipboard operation
OpenJKDF2 copied to clipboard

Getting an error while loading program

Open jedijos opened this issue 2 years ago • 6 comments

Program doesn't launch at all, I'm getting an error while resources are being loaded: Parse shader 'resource/shaders/default_f.glsl' ERROR: (0) : error c7011: implicit cast from "int" to "ivec2"

After that, it closes. I've tried with a clean installation, with first and last releases, same error happens. I'm on windows 10, original jk cd release.

jedijos avatar Oct 30 '22 20:10 jedijos

I’m also running Win 10 with original assets. I didn’t have the same issue, but I assume this is the GLSL shader issue he was aware of in the instructions. “ When running on SDL2-based builds (Linux/MacOS/Win64), be sure to have copied the GLSL shaders from resource/shaders/* to <JK.EXE base folder>/resource/shaders/*, as shown above.” Are your shaders in the right directory?

shimstock22 avatar Oct 30 '22 22:10 shimstock22

Yes I put all files in that path, but in this case I receive another error while loading the very first file default_v.glsl.

jedijos avatar Oct 30 '22 23:10 jedijos

For me, it looks like my shaders folder is in “jkgm” since I had gfxmod installed. It works for me, so I never bothered to change it. Have you tried this?

shimstock22 avatar Oct 31 '22 01:10 shimstock22

I can try, could you please share the exact path?

jedijos avatar Oct 31 '22 03:10 jedijos

Download this if you don’t have gfxmod yet: https://www.moddb.com/mods/jedi-knight-remastered/downloads/jedi-knight-remastered-20

It sets everything up for you. It should also create a folder called jkgm inside the main folder that has your shader folder and its contents that OpenJKDF2 might be looking for.

shimstock22 avatar Oct 31 '22 04:10 shimstock22

Hello, I've tried installing the gfxmod but still have the same issue....

jedijos avatar Nov 20 '22 02:11 jedijos