GithubHelp home page GithubHelp logo

liteldev / peeditor Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 333 KB

A tool to inject PreLoader to Minecraft Bedrock Dedicated Server

License: GNU Lesser General Public License v3.0

C++ 97.87% Lua 2.13%

peeditor's People

Contributors

futrime avatar kawaiinahida avatar oeotyan avatar rimuruchan avatar shrbox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

peeditor's Issues

Unable to name, or rename, generated LLBDS executable.

LiteLoader generated executable is locked to the generated name, and cannot be renamed due to library import calls. This makes it difficult to track multiple running servers on a single machine, a feature found useful by many. I created a pull request yesterday with what I believe is a flawless answer to such a problem.

A command-line option of: LLPeEditor.exe -o "MyBedrock.exe" will:

     * Name the generated output executable as "MyBedrock.exe".
     * Automatically scan all plugins for imports targeting "bedrock_server_mod.exe", and when found
rebuild them with the import renamed to "MyBedrock.exe". File is unmodified if there are no matching imports.

Lastly, it also occurred to me that plugins are built also targeting a hard-coded "bedrock_server_mod.exe". I understand the nature of this, and so I also ensured that running the command: LLPeEditor.exe -o "MyBedrock.exe" -p will:

 * Turn off all generation of files
 * Quickly process all affected plugins and exit.

My goal is to add the ability for users to one-click build their existing or new server setup into a LL modded server, then take advantage of some new added functionality added via the console. The GUI interface behind this service can also be made responsible for remote management of selected or desired plugins pretty quickly.
The availability of these options will add a great deal of flexibility to LiteLoader, and should be considered!

Thank you all for all of your hard work!

Missing comma from SkipPerfix array causes unwanted exports.

Hello again folks! I spotted a bug today after noticing the executable I built following your formula contained less exports than built with PeEditor. I dumped the PE section and found that exports starting with "?$TSS" were found within the modded executable. After a quick look, I found a comma missing after "?$TSS" within the array. After fixing the comma, building, and running LLPeEditor, the exports directory contains 0x3D99 exports, where it once contained 0x6142 exports.

LibraryBuilder.exe在某些情况下不能正常工作

Describe the bug
在非Tools下级目录(即,LibraryBuilder.exe同级目录)调用LibraryBuilder.exe时,在"Running SymDB2"和"Running LLVM-DLLTool"阶段出现错误。

To Reproduce
(此处以LiteLoaderSDK为例,并假设复现者已克隆LiteLoaderSDK至本地)

  1. 在LiteLoaderSDK的同级目录执行./LiteLoaderSDK/Tools/LibraryBuilder.exe -o ./lib
  2. 选择对应的bds目录。

Expected behavior
出现系统找不到指定的路径。的提示,同时lib生成失败。

Screenshots or log

Environment (please complete the following information):

  • OS: Windows 11
  • LiteLoader Version 2.1.0

Additional content
建议:

  1. 加入参数,使得用户可以自行选择LLVM-DLLTool和SymDB2的目录。
  2. 从LibraryBuilder.exe所在目录的llvm-dlltool-msys2目录下调用llvm-dlltool.exe,而不是从调用LibraryBuilder.exe的目录下的llvm-dlltool-msys2目录下调用llvm-dlltool.exe(即,使用${exe_path}/llvm-dlltool-msys2/llvm-dlltool.exe,而不是./llvm-dlltool-msys2/llvm-dlltool.exe),SymDB2同理。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.