UnderminersTeam / UndertaleModTool

The most complete tool for modding, decompiling and unpacking Undertale (and other GameMaker games!)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding a new extension via the extension editor crashes the game (bleeding edge)

DT-is-not-available opened this issue · comments

commented

Describe the bug

Hi, I am currently modding a game called circloO using this tool (specifically the bleeding edge version, the stable version fails to open the game) and I am in the process of trying to add a custom DLL to the game (following this tutorial as closely as I can). However, when trying to launch the game via the temp runner with this new extension present, it won't even open, nor show an error message. Below I have attached the setups I have for the extension, as well as the snippet of code I am compiling into the DLL (which compiles just fine with no error messages) in case I'm doing something blatantly wrong that can be pointed out.

Reproducing steps

  1. Create a new C file with the following code:
#include <windows.h>

#define API __declspec(dllexport)

API double add(double one, double two) {
    return one+two;
}

and compile it into a shared library DLL file named gmlua.dll

  1. Move the outputted DLL to the same folder as the game.

  2. Configure the extension as you would normally, my specific setup is as follows:
    image
    image
    image

  3. Try to run the game

Setup Details

  1. I am using the bleeding edge version of UndertaleModTool, though the about page says v:0.5.1.0
  2. I am running Windows 11
  3. The game I am trying to mod is circloO

@DT-is-not-available can you post the logs of the game when it is run? in linux and macos, just posting the stdout and stderr content works, on windows you ahve to launch the game with some special flag.