pxd2046 2021-06-30 03:42 采纳率: 100%
浏览 164
已采纳

谁能帮我GitHub下载完整的源程序?

本人是老滚迷,稍懂点编程皮毛(只会vs2019改改别人的程序),想下载一个完整的项目SkyrimSE-SmoothCam( https://github.com/mwilsnd/SkyrimSE-SmoothCam ),该作者把这搞得很复杂(又是repo又是lua),我都不知道怎么组合成完整的项目。 看介绍,我都搞晕了。 求大神帮忙组合成可运行的项目并提供下载。谢谢

To build the project, clone the repo (remember to include --recurse-submodules), then run make_vs2019.bat or make_vs2017.bat. The build scripts require premake5 and 7-Zip to be installed and available on the system PATH. Currently only Visual Studio Community 2017 and 2019 are supported for building. Once premake has finished, open the generated Visual Studio solution, select Debug or Release and select Build Solution from the build dropdown. Built files are placed in SmoothCam/bin//SmoothCam. To build the papyrus script, you'll need lua on the system path. To run the code generation just run MCM/run_preprocess.bat which will generate SmoothCamMCM.psc. From there just compile the generated code like any normal papyrus script. To generate the offset map, run lua run.lua "path/to/skse/src" from the directory CodeGen/gen_addrmap. You will need offsets.txt in the same folder, which can be exported from address library. To generate crosshair model file headers, navigate to CodeGen/ModelBaker and run `ModelBaker "path/to/input.ply" "output_name". To build the model baker, you will need dub, DMD or LDC, a copy of assimp which you have compiled as a static library and optionally VSCode with the code-d extension. Make a folder in ModelBaker named compiled_libs (or compiled_libs_debug if making a debug build) and copy all assimp libraries to that location.

  • 写回答

5条回答 默认 最新

  • 爱晚乏客游 2021-06-30 05:54
    关注

    首先要保证要有 SKSE64,Address Library。 vs2017或者vs2019, 然后安装好premake5,去官网下载.exe然后丢到系统的system32下面去,安装7-zip直接安装用来解压缩。

    img

    img

    然后在生成的文件里面找下.sln后缀的文件双击打开,选择debug模式,

    img

    点击生成,选择重新生成解决方案就是完成整个项目的生成了,后面的就是一些具体的操作,一般就是路径的问题了

    img

    编译还需要还有这个mapbox才行。所以这个需要在自己的电脑上面操作,会生成一些东西的,让别人打包好不太可能,而且一旦环境变了很可能也不能运行了。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
    pxd2046 2021-06-30 21:38

    谢谢,要clone the repo,直接下载的不完整。已经解决了,非常感谢。

    回复
查看更多回答(4条)
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部