Skip to content

Commit

Permalink
chore: replace LiteLoaderBDS to LeviLamina
Browse files Browse the repository at this point in the history
  • Loading branch information
RimuruChan committed Dec 6, 2023
1 parent 973901a commit 71c3cd4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
8 changes: 4 additions & 4 deletions src/pe_editor/PeEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -47,7 +47,7 @@ void parseArgs(int argc, char** argv) {
value<bool>()->default_value("false")
)
.add("p,pause", "Pause before exit (will be true if no arg passed)", value<bool>()->default_value("false"))
.add("O,old", "Use old mode for LiteLoaderBDS", value<bool>()->default_value("false"))
.add("O,old", "Use old mode for LeviLamina", value<bool>()->default_value("false"))
.add(
"b,bak",
"Add a suffix \".bak\" to original server exe (will be true if no arg passed)",
Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit 71c3cd4

Please sign in to comment.