找回密码
 register
搜索
查看: 42|回复: 0

[游戏攻略] VMP 可编译源码 vs 2019 + QT 5.60 + Windows SDK 8.1 + .net4.8

[复制链接]
  • 打卡等级:本地老炮
  • 打卡总天数:584
  • 打卡月天数:20
  • 打卡总奖励:581
  • 最近打卡:2026-08-29 14:32:15
Waylee 发表于 2026-8-25 07:12 | 显示全部楼层 |阅读模式 | Google Chrome | Windows 10

马上注册,查看网站隐藏内容!!

您需要 登录 才可以下载或查看,没有账号?register

×

VMP 源码编译所需环境如下:

vs 2019 + QT 5.60 + Windows SDK 8.1 + .net4.8

vs 2019: vs2015 C++⼯具集、vs2017 xp 支持组件、.net4.8

SDK 8.1: https://developer.microsoft.com/ ... nloads/sdk-archive/

QT 5.60: qt-opensource-windows-x86-msvc2015_64-5.6.0.exe, https://download.qt.io/new_archive/qt/5.6/5.6.0/

vs 的 QT 插件: https://mirrors.tuna.tsinghua.edu.cn/qt/archive/vsaddin/2.4.3/

修改包含的 QT 头文件路径:
VMProtect 项目 - VC++ Directories : include 目录 和 library 目录 的路径为安装路径

修改 res.bat 的路径:
文件位于:vmp\VMProtect 目录,将 C:/Users/lenovo/Documents/Qt5.6.0/5.6/msvc2015_64/bin/rcc.exe 的路径改为正确路径

其他的无需修改,x64 Debug 模式编译即可。
运行时将 Qt5.6.0\5.6\msvc2015_64\bin 目录下的所有 dll 拷贝到 VMProtect.exe 同目录,即 vmp\bin\64\Debug 目录
运行 VMProtect.exe,正常执行。

PS:1. 编译环境按照当前环境进行安装,没有的进行补充,可以替换到已经安装好的版本,可能会编译成功。

  1. 最后会遗留一个 “Your project does not reference ".NETFramework,Version=v4.8" framework. Add a reference to ".NETFramework,Version=v4.8" in the "TargetFrameworks" property of your project file and then re-run NuGet restore. VMProtect.Runtime” 错误,但是看起来好像不影响最后使用。

链接:[kkpay=1]https://pan.quark.cn/s/afd72ad6b5b0[/kkpay]

付费看帖
剩余 0% 内容需要支付 1.00 金币 后可完整阅读
支持付费阅读,激励作者创作更好的作品。
您需要登录后才可以回帖 登录 | register

本版积分规则

QQ|手机版|雪舞知识库 ( 浙ICP备15015590号-1 | 萌ICP备20232229号|浙公网安备33048102000118号 )|天天打卡

GMT+8, 2026-8-30 17:58 , Processed in 0.062601 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表