ryan-rsm-mckenzie / commonlibf4 Goto Github PK
View Code? Open in Web Editor NEWA reverse-engineered resource for Fallout 4
License: MIT License
A reverse-engineered resource for Fallout 4
License: MIT License
When I try to build with the vs-2022-vcpkg preset, the build fails with the following error repeating multiple times
D:\Projects\fallout4\CommonLibF4\CommonLibF4\include\F4SE/Logger.h(35,2): error C7595: 'fmt::v8::basic_format_string<char,std::string_view &>::basic_format_string': call to immediate function is not a constant expression (compiling source file D:\Projects\fallout4\CommonLibF4\CommonLibF4\src\F4SE\API.cpp) [D:\Projects\fallout4\CommonLibF4\build\CommonLibF4\CommonLibF4.vcxproj]
D:\Projects\fallout4\CommonLibF4\CommonLibF4\include\F4SE/Logger.h(35,2): message : failure was caused by a read of a variable outside its lifetime (compiling source file D:\Projects\fallout4\CommonLibF4\CommonLibF4\src\F4SE\API.cpp) [D:\Projects\fallout4\CommonLibF4\build\CommonLibF4\CommonLibF4.vcxproj]
D:\Projects\fallout4\CommonLibF4\CommonLibF4\include\F4SE/Logger.h(35,2): error C7595: 'fmt::v8::basic_format_string<char,const char *>::basic_format_string': call to immediate function is not a constant expression (compiling source file D:\Projects\fallout4\CommonLibF4\CommonLibF4\src\F4SE\Interfaces.cpp) [D:\Projects\fallout4\CommonLibF4\build\CommonLibF4\CommonLibF4.vcxproj]
D:\Projects\fallout4\CommonLibF4\CommonLibF4\include\F4SE/Logger.h(35,2): message : see usage of 'a_fmt' (compiling source file D:\Projects\fallout4\CommonLibF4\CommonLibF4\src\F4SE\API.cpp) [D:\Projects\fallout4\CommonLibF4\build\CommonLibF4\CommonLibF4.vcxproj]
D:\Projects\fallout4\CommonLibF4\CommonLibF4\include\F4SE/Logger.h(35,2): message : failure was caused by a read of a variable outside its lifetime (compiling source file D:\Projects\fallout4\CommonLibF4\CommonLibF4\src\F4SE\Interfaces.cpp) [D:\Projects\fallout4\CommonLibF4\build\CommonLibF4\CommonLibF4.vcxproj]
D:\Projects\fallout4\CommonLibF4\CommonLibF4\src\F4SE\API.cpp(112): message : see reference to function template instantiation 'F4SE::log::warn<F4SE::stl::zstring &>::warn<F4SE::GetPluginInfo::<lambda_1>::()::FMT_COMPILE_STRING>(T &&,F4SE::stl::zstring &,std::source_location)' being compiled [D:\Projects\fallout4\CommonLibF4\build\CommonLibF4\CommonLibF4.vcxproj]
I'm a little familiar with C++, but getting into F4SE/CommonLib modding seems like wizardry to me. There's pretty much zero tutorials or documentation for any of this (i did find this, but it's been inactive for 7 months and is meant for the Skyrim version).
F4SEPlugin_Load
, is this the function that F4SE calls?Hi, I am 100% sure that I have done something wrong here but I have no clue what do anymore. I managed to build the Example Project into a DLL file in release x64 but F4SE refuses to load it. I don't have much experience with CMake and c++ package managers. I just kept following instructions until I got the project to build really. Address Lib installed at Data/F4SE/Plugins/
CMake Pretty sure I did something wrong here too.
Extremely sorry for bothering you with a stupid question and thanks for your time!
What is analogue of LookupFormByID function in your framework?
I guess it is GetFormByID but I'm not sure. Could you clarify?
I'm writing UI plugin and trying to display UI widget near to actor's head position.
I've tried to use TESObjectREFR::Get3D() and TESObjectREFR::GetFaceNodeSkinned. Both returns NiAVObject that points to "feets" of actor's model when actor is staying, but points to the center (approximately) of model when actor is lying down.
Do you have any idea how to obtain actor's head world position?
Is calloc supposed to call malloc? -> link
When I try to allocate memory using calloc, it returns memory blocks with random data, which is not ideal since there are other functions like this one which make use of calloc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.