mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
Rename ewext dll, because there is one guy who has an old version of a dll being loaded for some reason.
This commit is contained in:
parent
8543a0a3e9
commit
cc43dd1dfc
4 changed files with 4 additions and 4 deletions
4
Justfile
4
Justfile
|
@ -24,11 +24,11 @@ build_luajit:
|
|||
# `rustup target add i686-pc-windows-gnu` first
|
||||
build_ext:
|
||||
cd ewext && cargo build --release --target=i686-pc-windows-gnu
|
||||
cp ewext/target/i686-pc-windows-gnu/release/ewext.dll quant.ew/ewext.dll
|
||||
cp ewext/target/i686-pc-windows-gnu/release/ewext.dll quant.ew/ewext0.dll
|
||||
|
||||
build_ext_debug:
|
||||
cd ewext && cargo build --target=i686-pc-windows-gnu
|
||||
cp ewext/target/i686-pc-windows-gnu/debug/ewext.dll quant.ew/ewext.dll
|
||||
cp ewext/target/i686-pc-windows-gnu/debug/ewext.dll quant.ew/ewext0.dll
|
||||
|
||||
##
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ unsafe extern "C" fn encode_area(lua: *mut lua_State) -> c_int {
|
|||
///
|
||||
/// Only gets called by lua when loading a module.
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn luaopen_ewext(lua: *mut lua_State) -> c_int {
|
||||
pub unsafe extern "C" fn luaopen_ewext0(lua: *mut lua_State) -> c_int {
|
||||
println!("Initializing ewext");
|
||||
unsafe {
|
||||
LUA.lua_createtable(lua, 0, 0);
|
||||
|
|
BIN
quant.ew/ewext0.dll
Executable file
BIN
quant.ew/ewext0.dll
Executable file
Binary file not shown.
|
@ -14,7 +14,7 @@ np.EnableGameSimulatePausing(false)
|
|||
np.InstallDamageDetailsPatch()
|
||||
np.SilenceLogs("Warning - streaming didn\'t find any chunks it could stream away...\n")
|
||||
|
||||
ewext = require("ewext")
|
||||
ewext = require("ewext0")
|
||||
|
||||
-- Make some stuff global, as it's way too annoying to import each time.
|
||||
ctx = dofile_once("mods/quant.ew/files/core/ctx.lua")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue