diff --git a/README.md b/README.md index f4f1ab1..d3aeb26 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # PeEditor -_part of LiteLoaderBDS Toolchain_ +_part of LeviLamina Toolchain_ ## Features -1. Generate modified BDS executable file for LiteLoaderBDS -2. Generate import library files for LiteLoaderBDS and Plugins +1. Generate modified BDS executable file for LeviLamina +2. Generate import library files for LeviLamina and Plugins 3. Generate .def files and a symbol list for looking up symbol names with corresponding RVA ## Usages @@ -18,12 +18,13 @@ This will automatically load the bedrock_server.exe and bedrock_server.pdb files ### 2. Use a Command Line ``` +LeviLamina ToolChain PeEditor v3.4.1 Usage: PeEditor [OPTION...] -m, --mod Generate bedrock_server_mod.exe (will be true if no arg passed) -p, --pause Pause before exit (will be true if no arg passed) - -n, --new Use LiteLoader v3 preview mode + -O, --old Use old mode for LiteLoaderBDS -b, --bak Add a suffix ".bak" to original server exe (will be true if no arg passed) -d, --def Generate def files for develop propose -l, --lib Generate lib files for develop propose @@ -40,5 +41,4 @@ Usage: ## What's New 1. Merged LibraryBuilder into PeEditor 2. Added more options -3. Added support for upcoming LiteLoader v3 -4. Improve process speed +3. Improve process speed diff --git a/src/pe_editor/PeEditor.cpp b/src/pe_editor/PeEditor.cpp index de534a8..3114212 100644 --- a/src/pe_editor/PeEditor.cpp +++ b/src/pe_editor/PeEditor.cpp @@ -36,7 +36,7 @@ void parseArgs(int argc, char** argv) { using cxxopts::value; using std::string; - cxxopts::Options options("PeEditor", "LiteLoaderBDS ToolChain PeEditor " PE_EDITOR_VERSION); + cxxopts::Options options("PeEditor", "LeviLamina ToolChain PeEditor " PE_EDITOR_VERSION); options.allow_unrecognised_options(); options.set_width(-1); @@ -47,7 +47,7 @@ void parseArgs(int argc, char** argv) { value()->default_value("false") ) .add("p,pause", "Pause before exit (will be true if no arg passed)", value()->default_value("false")) - .add("O,old", "Use old mode for LiteLoaderBDS", value()->default_value("false")) + .add("O,old", "Use old mode for LeviLamina", value()->default_value("false")) .add( "b,bak", "Add a suffix \".bak\" to original server exe (will be true if no arg passed)", @@ -80,7 +80,7 @@ void parseArgs(int argc, char** argv) { } if (optionsResult.count("version")) { - logger->info("LiteLoaderBDS ToolChain PeEditor"); + logger->info("LeviLamina ToolChain PeEditor"); logger->info("Build Date CST " __TIMESTAMP__); exit(0); } @@ -370,7 +370,7 @@ int main(int argc, char** argv) { config::shouldPause = true; } - logger->info("LiteLoaderBDS ToolChain PeEditor " PE_EDITOR_VERSION); + logger->info("LeviLamina ToolChain PeEditor " PE_EDITOR_VERSION); logger->info("Build Date CST " __TIMESTAMP__); // exit if no work to do diff --git a/xmake.lua b/xmake.lua index 3cc5de8..5f1975d 100644 --- a/xmake.lua +++ b/xmake.lua @@ -23,6 +23,6 @@ target("PeEditor") add_files("src/**.cpp") add_includedirs("src") add_cxflags("/utf-8") - add_defines("UNICODE", "PE_EDITOR_VERSION=\"v3.4.0\"") + add_defines("UNICODE", "PE_EDITOR_VERSION=\"v3.4.1\"") add_syslinks("user32", "comdlg32") add_packages("llvm-prebuilt", "raw_pdb", "pe_bliss", "cxxopts", "fmt", "spdlog", "ctre", "demangler")