Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Is this still an active and functional download?

A topic by Megadib created Dec 08, 2023 Views: 177 Replies: 5
Viewing posts 1 to 6

I have been trying to get a better solution for working with shaders and decided to purchase this. So far I tried only to open and run the shader_replace_simple_demo (for GMS2.3+).yyz

But, after selecting the compiler (HLSLCompiler.exe with runtime-2023.11.0.157), at this point;

var ex = execute_program_pipe(cmd, 0

| program_pipe_flags_hide_window

| program_pipe_flags_capture_stdout

| program_pipe_flags_capture_stderr

);

It exits with an error at the point;

if (ex[1] != 0) { // errored out

trace(ex[2]);

show_message("Error compiling the shader:\n" + ex[2]);


The error is simply a "Shader Loading Error".

Any ideas how to solve this?

Developer

Hard to tell, seems to work fine for me on 2023.8. I re-uploaded the test project just to be sure.

I just uninstalled runtime 2023-11 and reverted to 2023-8 and it works. So I guess it is just something to do with the latest version of Gamemaker.

Developer

Ah, trouble - I probably wouldn’t make so many extensions if I knew that a time would come when each update will break several of them.

Indeed. I had installed the latest version to check if some of my trouble reports for an earlier version had been fixed (I think so). Then ran into this issue. But I decided for my shader development to do things in a way where I make the shader in SHADERed in as common a way as possible between SHADERed and Gamemaker shader. There seem only a few differences to account for, but am nothing too drastic. 

Developer

The issue turned out to be, once again, a GameMaker bug - buffer_save[_ext] no longer automatically creates a save directory, so you have to add

if (!directory_exists(game_save_id)) directory_create(game_save_id);

to Create or Step (before saving temp.shader) for the example project to work.