dreamguxiang / PreLoaderTest

Library preloader for LiteLoaderBDS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PreLoader

Part of LeviLamina

What is this?

This is a PreLoader for LeviLamina. It will load LeviLamina before the BDS starts.

Why do we need this?

LeviLamina requires to use MCAPI, which is magically provided by PreLoader.

How does it work?

We uses windows delay load to expose and remap original bds symbol to our own symbol, and then we will provide them to plugins.

How to use?

As a end user

Put the PreLoader.dll into the same folder of bedrock_server.exe, and run PeEditor to patch the bedrock_server.exe.

As a developer

You should use SymbolProvider and delay load option of linker to use the symbols. Besides, to link the BDS's symbols, you should use the libs generated by PeEditor

About

Library preloader for LiteLoaderBDS

License:GNU Lesser General Public License v3.0


Languages

Language:C++ 95.8%Language:Lua 3.1%Language:C 1.1%