I really wanted to avoid installing visual studio but gave up because no idea how to get cmake to cooperate with vcpgk
$ cmake . -DCMAKE_TOOLCHAIN_FILE=/c/dev/vcpkg/scripts/buildsystems/vcpkg.cmake
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045.
CMake Error at CMakeLists.txt:24 (find_package):
By not providing "FindSFML.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "SFML", but
CMake did not find one.
Could not find a package configuration file provided by "SFML" (requested
version 2.5) with any of the following names:
SFMLConfig.cmake
sfml-config.cmake
Add the installation prefix of "SFML" to CMAKE_PREFIX_PATH or set
"SFML_DIR" to a directory containing one of the above files. If "SFML"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
It then built in visual studio, which worked great.
The exe runs but I was unable to build dat-unpacker and used fallout2 dat explorer 1.43 to export the maps. This did not lowercase them but shouldn't matter on windows I hope
I was able to pick the data folder but immediately after:
Assertion failed: (0) && "Could not load font file!",
copying the font folder into all sorts of places didnt help, so I commented out all font configuration in geckmapeditor, which helped. I reached the second selection window (map) but after picking a map it crashes:
Failed to activate OpenGL context: The handle is invalid.
An internal OpenGL call failed in Texture.cpp(117).
Expression:
glDeleteTextures(1, &texture)
Error description:
GL_INVALID_OPERATION
The specified operation is not allowed in the current state.
Maybe my fault for removing the fonts?
Or maybe it's just that dat unpacker extracts a different format......?
I tried running debug in visual studio (not sure if that does anything) but:
I have win11 sdk installed though, visualstudio installer only offers win10/win11 sdk, no win8 so no idea what the fallout to do.
I was able to attach to a process though, that one pointed me to
std::unique_ptr<T> openFile(const std::filesystem::path& path, std::ios_base::openmode mode = std::ifstream::in | std::ifstream::binary) {
I'll try getting dat-unpacker to compile some more.
I really wanted to avoid installing visual studio but gave up because no idea how to get cmake to cooperate with vcpgk
It then built in visual studio, which worked great.
The exe runs but I was unable to build dat-unpacker and used fallout2 dat explorer 1.43 to export the maps. This did not lowercase them but shouldn't matter on windows I hope
I was able to pick the data folder but immediately after:
Assertion failed: (0) && "Could not load font file!",
copying the font folder into all sorts of places didnt help, so I commented out all font configuration in geckmapeditor, which helped. I reached the second selection window (map) but after picking a map it crashes:
Maybe my fault for removing the fonts?
Or maybe it's just that dat unpacker extracts a different format......?
I tried running debug in visual studio (not sure if that does anything) but:
<VCMessage Code="MSB8036" Type="Error" Arguments="$(TargetPlatformVersion)" Condition="'$(WindowsSDKInstalled)' != 'true'" />
I have win11 sdk installed though, visualstudio installer only offers win10/win11 sdk, no win8 so no idea what the fallout to do.
I was able to attach to a process though, that one pointed me to
std::unique_ptr<T> openFile(const std::filesystem::path& path, std::ios_base::openmode mode = std::ifstream::in | std::ifstream::binary) {
I'll try getting dat-unpacker to compile some more.