Coder Social home page Coder Social logo

lyauao / blacksun-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cs1ime/blacksun-framework

0.0 0.0 0.0 39.08 MB

blacksun framework for QEMU/KVM game cheat development

License: MIT License

Shell 0.24% C++ 69.36% Python 0.01% Perl 0.04% C 26.39% Objective-C 0.18% Lua 0.01% PowerShell 0.01% Kotlin 0.01% CSS 0.01% Objective-C++ 1.17% Makefile 0.24% HTML 0.02% QML 1.30% QMake 0.24% CMake 0.35% GLSL 0.02% Batchfile 0.20% M4 0.19% HLSL 0.02%

blacksun-framework's Introduction

English | 简体中文

blacksun framework for QEMU/KVM game cheat development

Already done

  • Memory access and rendering both run outside the virtual machine, it is possible to bypass all anti-cheating detections, because cloud gaming service providers often use KVM.
  • Modify Moonlight source code to render with imgui, compatible with vaapi(opengl), vdpau(sdlrender).
  • Achieve ultra-low latency Moonlight game streaming with NAT network mode.
  • Simulate keyboard and mouse input by sending SDL_Event to Moonlight.
  • Simulate a mouse with a 100Hz polling rate to achieve more realistic aiming.
  • Block side mouse button (the button that triggers aiming) inputs to the virtual machine to avoid some aim detection.

Instructions:

Environment: Ubuntu 22.04.2 LTS

Prepare

Ubuntu needs a cpu integrated graphics or a discrete graphics card to decode video for moonlight. In addition, another powerful graphics card is needed to passthrough directly into the KVM virtual machine to run games.

A laptop with a discrete graphics card can meet this requirement. Change the graphics device of the laptop to integrated graphics, and then connect the EDID Spoofer or a monitor to the HDMI port of the discrete graphics card to meet the requirements.

If you're using a desktop computer and the CPU's integrated graphics can work with a discrete graphics card, you'll need an EDID Spoofer. You should connect your monitor to the CPU's integrated graphics, and connect the EDID Spoofer to the discrete graphics card.

If you're using a desktop computer and your CPU doesn't have integrated graphics, you need to ensure that your computer motherboard has two PCIe x16 slots. You'll need an EDID Spoofer, a GT1030 graphics card, and make sure your power supply is sufficient. Take off the original graphics card from your computer, install the GT1030 into the first PCIe x16 slot on the motherboard, and place your original graphics card into the second PCIe x16 slot. This is done so that Ubuntu will treat the GT1030 as the Boot VGA device. Connect the monitor to the GT1030, and connect the EDID Spoofer to your original graphics card. Additionally, you need to install the NVIDIA graphics driver for Ubuntu.

Installation

Install Ubuntu 22.04.2 LTS

Install the environment required for compiling and running

./setup-build-env.sh

Reboot

reboot

Disable Wayland

sudo apt install -y vim
sudo vim /etc/gdm3/custom.conf

Uncomment #WaylandEnable=false in /etc/gdm3/custom.conf

Run the script to setup vfio-pci

cd gpu-passthrough
chmod +x *
sudo bash gpu_passthrough.sh

Reboot

reboot

Open virt-manager

Create a virtual machine named win10. Be aware, you need to reserve at least 4GB of memory and 2 CPU cores for Ubuntu.

Change the virtual network card to virtio mode, change the virtual disk to virtio mode, and add the discrete graphics card to the virtual machine

Install Windows10 21h2 in the virtual machine

Run Windows Update, manually download and install the graphics card driver

Install Sunshine in the virtual machine

Compile

./build.sh

Run

cd build/apex
./runcheat.sh

The cheat will launch a Moonlight client, use this to control the virtual machine

Download Apex and enjoy it.

ToDoList

  • Study computer graphics and try to implement the ray tracing algorithm of the Unreal Engine externally.
  • Add the new feature of Ept breakpoint, implement Hook and CEServer.

ScreenShots

1

Aiming effect

blacksun-framework's People

Contributors

cs1ime avatar

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.