本人是老滚迷,稍懂点编程皮毛(只会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.