commit
bd4ac6f374
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "fmt"]
|
||||
path = fmt
|
||||
url = https://github.com/fmtlib/fmt
|
3
BottlEye/.gitignore
vendored
Normal file
3
BottlEye/.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
*.o
|
||||
*.dll
|
||||
*.dll.a
|
19
BottlEye/Makefile
Normal file
19
BottlEye/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
IDIR=../fmt/include
|
||||
CXX=x86_64-w64-mingw32-g++
|
||||
CFLAGS=-I$(IDIR) -std=c++17 -D ADD_EXPORTS
|
||||
OBJ=entry.o emulator.o delegate.o singleton.o format.o
|
||||
|
||||
BEClient_x64.dll: $(OBJ)
|
||||
$(CXX) -shared -o BEClient_x64.dll $(OBJ) -Wl,--out-implib,BEClient_x64.dll.a
|
||||
|
||||
%.o: %.cpp
|
||||
$(CXX) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
format.o: ../fmt/src/format.cc
|
||||
$(CXX) -c -o $@ $< $(CFLAGS)
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
rm -f *.o *.dll *.dll.a
|
|
@ -2,7 +2,7 @@
|
|||
#include <windows.h>
|
||||
#include <iostream>
|
||||
#include <chrono>
|
||||
#include <fmt\core.h>
|
||||
#include <fmt/core.h>
|
||||
|
||||
class loggr
|
||||
{
|
||||
|
|
|
@ -9,3 +9,11 @@ BottlEye is a usermode emulator for the commercial anti-cheat [BattlEye](battley
|
|||
First you need to set up a man-in-the-middle environment that allows you to capture the responses sent by the real BEClient. When those are logged, implement them into BottlEye and compile it. Replace the BEClient_x64.dll module on disk with your BottlEye build and launch the game.
|
||||
|
||||
If you are having issues figuring out the ip address and port to monitor with Wireshark (or whatever tool you choose to use), build BottlEye without the responses and launch the game with it. BottlEye will print the ip and port, which you can later use to filter traffic with.
|
||||
|
||||
|
||||
### Linux
|
||||
```bash
|
||||
git submodule update --init
|
||||
cd BottlEye
|
||||
make
|
||||
```
|
||||
|
|
1
fmt
Submodule
1
fmt
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 638db5ca5e47066b0b9ac297bdcfcae69ccd0276
|
Loading…
Reference in New Issue
Block a user