Open Artipep opened 5 months ago
sounds good, did you test it?
Yes, I'm testing it right now. Everything seems to be working.
Well, I have added your instructions on my project: https://github.com/zhaodice/proxmox-ve-anti-detection/blob/main/readme-8.1.5-3.md Thanks your contribution!
I've been fighting with this for days as well. I have automated the build for 8.1.5 here https://github.com/Chocrates/qemu-build/releases/tag/v0.1
There is a Dockerfile as well as an action that builds and patches it. As of this morning the one EAC game that refused to boot because I was in a VM, boots with this patch. I haven't started a match yet to see if I get kicked out mid match though.
I have some code that took @zhaodice's patch and converts it to a JSON object that I am hoping I can use to make it relatively version independent, but I haven't checked that in or tested it yet, and very likely it is going to be as fragile as a patch file.
Made minor edits to the manual, slightly corrected points 4 and 6.
Do you know why we need to add sources from UTSC? Unless you have latency issues that may not be necessary.
I did it on the basis of the instruction from here: https://github.com/zhaodice/proxmox-ve-anti-detection/issues/11 , so I used everything that is described in it.
Do you know why we need to add sources from UTSC? Unless you have latency issues that may not be necessary.
I come from China so I chose UTSC, you can change the source server to help your download speed.
Do you know why we need to add sources from UTSC? Unless you have latency issues that may not be necessary.
I come from China so I chose UTSC, you can change the source server to help your download speed.
Of course, that makes sense. My apologies I am over here in North America and forget that latency exists sometimes. Anyhow thank you for the patch. I will ping you if I come up with a more automated solution to get the patch applied across versions. I was able to play a game that uses EAC last night!
New instructions with which I was able to build a patch for pve-qemu 8.1.5-3
Written on the basis of the instructions from here: https://github.com/zhaodice/proxmox-ve-anti-detection/issues/11 (many thanks to all for the instructions and hints and to the author for the original instructions and patch).
Immediately wanted to apologize if there are any errors in the instructions, I am a beginner.
!!! Create Proxmox VE Virtual Machine as compile enviromnet. !!!
!!! If you have an error while installing mk-build-deps
mk-build-deps: Unable to install pve-qemu-kvm-build-deps at /usr/bin/mk-build-deps line 459. mk-build-deps: Unable to install all build-dep packages
add a link to your /etc/apt/sources.list or uncomment the following
deb https://mirrors.ustc.edu.cn/proxmox/debian/ceph-quincy bookworm main
!!!
!!! If you have a build error
fatal: clone of 'git://git.proxmox.com/git/mirror_qemu' into submodule path '/root/pve-qemu/qemu' failed Failed to clone 'qemu' a second time, aborting make: *** [Makefile:21: submodule] Error 1
run in the pve-qemu folder
rm qemu -r git submodule update
and continue from step 7
!!!
1.Login System
2.Remove the old one:
mv /etc/apt/sources.list /etc/apt/sources.list.deleted mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.deleted
3.1.nano /etc/apt/sources.list
deb https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware deb https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free non-free-firmware deb https://mirrors.ustc.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware
pve源
deb https://mirrors.ustc.edu.cn/proxmox/debian bookworm pve-no-subscription
ceph源
deb https://mirrors.ustc.edu.cn/proxmox/debian/ceph-quincy bookworm main
开发源,必须
deb https://mirrors.ustc.edu.cn/proxmox/debian/devel bookworm main
3.2 nano /etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
3.3 nano /etc/apt/sources.list.d/ceph.list
deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise
deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
3.4 nano /etc/apt/sources.list.d/pve-no-subscription.list deb https://mirrors.ustc.edu.cn/proxmox/debian/pve bookworm pve-no-subscription
3.5 update & upgrade your systtem apt update -y && apt dist-upgrade -y
5.nano debian/rules FIND LINE:
# guest-agent is only required for guest systems
Inject a line :
6.nano debian/rules FIND LINE:
Delete the --disable-download \ line.
7.Open your webbrowser, visit https://github.com/zhaodice/qemu-anti-detection/ and find the patch version you need. (for 8.1.5-3 - https://github.com/zhaodice/qemu-anti-detection/blob/main/qemu-8.1.0.patch ), download raw file, rename the file to 001-anti-detection.patch, connect to your server via SFTP, go to root/pve-qemu/qemu and copy the file.
8.Current folder is git's root path and make it make clean make
9.install deb apt install librbd-dev dpkg -i --force-all pve-qemu-kvm_X.X.X.X_amd64.deb (for 8.1.5-3 - dpkg -i --force-all pve-qemu-kvm_8.1.5-3_amd64.deb)
(if you need to move the file to another server, connect to your server via SFTP, go to root/pve-qemu and download your pve-qemu-kvm_X.X.X.X_amd64.deb and on the other server put the file into root/pve-qemu and run the above command)