AdrianoDiDio / Medal-Of-Honor-PSX-File-Viewer

A set of tools to open and view files from the PSX games Medal Of Honor And Medal Of Honor:Underground.
GNU General Public License v3.0
28 stars 1 forks source link

Need help. #9

Open OneRegularUser opened 1 week ago

OneRegularUser commented 1 week ago

Hi. Your tools looks great, but it doesn't work for me. I've tried everything I know and it keeps giving me compilation errors. Visual Studio, CMake, cmd, nothing works. Please make step by step tutorial on how this should work. P.S. I use Google translator, sorry.

AdrianoDiDio commented 1 week ago

Hello, the instructions to build are quite simple since it is all handled by cmake and there should not be anything else to install (beside the basic build tools). If you can write the errors you got, then I could try to help and see what's missing.

OneRegularUser commented 1 week ago

cd /d D:\Files\GameStuff\PSX\Medal of Honor\Medal-Of-Honor-PSX-File-Viewer-master

D:\Files\GameStuff\PSX\Medal of Honor\Medal-Of-Honor-PSX-File-Viewer-master>mkdir Build && cd Build && cmake .. && cmake --build . -- Building for: Visual Studio 17 2022 -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045. -- The C compiler identification is MSVC 19.40.33811.0 -- The CXX compiler identification is MSVC 19.40.33811.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: D:/Progs/Visual Studio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: D:/Progs/Visual Studio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenGL: opengl32 CMake Deprecation Warning at libs/libsamplerate/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Looking for stdbool.h -- Looking for stdbool.h - found -- Looking for unistd.h -- Looking for unistd.h - not found -- Looking for immintrin.h -- Looking for immintrin.h - found -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Could NOT find SndFile (missing: SndFile_LIBRARY SndFile_INCLUDE_DIR) -- Checking processor clipping capabilities... -- Performing Test CPU_CLIPS_POSITIVE -- Performing Test CPU_CLIPS_POSITIVE - Failed -- Performing Test CPU_CLIPS_NEGATIVE -- Performing Test CPU_CLIPS_NEGATIVE - Failed -- Checking processor clipping capabilities... none -- Performing Test HAVE_VISIBILITY -- Performing Test HAVE_VISIBILITY - Failed -- Looking for sys/times.h -- Looking for sys/times.h - not found -- Looking for alarm -- Looking for alarm - not found -- Looking for signal -- Looking for signal - found -- Looking for SIGALRM -- Looking for SIGALRM - not found -- Could NOT find FFTW3 (missing: FFTW3_LIBRARY FFTW3_INCLUDE_DIR) -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Detecting Target CPU Architecture -- Detecting Target CPU Architecture - X64 -- The ASM_MASM compiler identification is MSVC -- Found assembler: D:/Progs/Visual Studio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/ml64.exe -- Performing Test COMPILER_SUPPORTS_MMX -- Performing Test COMPILER_SUPPORTS_MMX - Failed -- Performing Test COMPILER_SUPPORTS_SSE -- Performing Test COMPILER_SUPPORTS_SSE - Success -- Performing Test COMPILER_SUPPORTS_SSE2 -- Performing Test COMPILER_SUPPORTS_SSE2 - Success -- Performing Test COMPILER_SUPPORTS_SSE3 -- Performing Test COMPILER_SUPPORTS_SSE3 - Success -- Performing Test COMPILER_SUPPORTS_SSE4_1 -- Performing Test COMPILER_SUPPORTS_SSE4_1 - Success -- Performing Test COMPILER_SUPPORTS_SSE4_2 -- Performing Test COMPILER_SUPPORTS_SSE4_2 - Success -- Performing Test COMPILER_SUPPORTS_AVX -- Performing Test COMPILER_SUPPORTS_AVX - Success -- Performing Test COMPILER_SUPPORTS_AVX2 -- Performing Test COMPILER_SUPPORTS_AVX2 - Success -- Performing Test COMPILER_SUPPORTS_AVX512F -- Performing Test COMPILER_SUPPORTS_AVX512F - Success -- Looking for dxgi1_6.h -- Looking for dxgi1_6.h - found -- Performing Test HAVE_MFAPI_H -- Performing Test HAVE_MFAPI_H - Success -- Could NOT find LibUSB (missing: LibUSB_LIBRARY LibUSB_INCLUDE_PATH) (found version "LibUSB_VERSION-NOTFOUND")

-- SDL3 was configured with the following options:

-- Platform: Windows-10.0.19045 -- 64-bit: TRUE -- Compiler: D:/Progs/Visual Studio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe -- Revision: SDL-3.1.2-no-vcs -- Vendor:

-- Subsystems: -- Audio: ON -- Video: ON -- Render: ON -- Camera: ON -- Joystick: ON -- Haptic: ON -- Hidapi: ON -- Power: ON -- Sensor: ON -- Dialog: ON

-- Options: -- SDL_ALSA (Wanted: OFF): OFF -- SDL_ALSA_SHARED (Wanted: OFF): OFF -- SDL_ALTIVEC (Wanted: OFF): OFF -- SDL_ARMNEON (Wanted: OFF): OFF -- SDL_ARMNEON_BLITTERS (Wanted: OFF): OFF -- SDL_ARMSIMD (Wanted: OFF): OFF -- SDL_ASAN (Wanted: OFF): OFF -- SDL_ASSEMBLY (Wanted: ON): ON -- SDL_ASSERTIONS (Wanted: auto): auto -- SDL_AVX (Wanted: ON): ON -- SDL_AVX2 (Wanted: ON): ON -- SDL_AVX512F (Wanted: ON): ON -- SDL_BACKGROUNDING_SIGNAL (Wanted: OFF): OFF -- SDL_CCACHE (Wanted: OFF): OFF -- SDL_CLANG_TIDY (Wanted: OFF): OFF -- SDL_CLOCK_GETTIME (Wanted: OFF): OFF -- SDL_COCOA (Wanted: OFF): OFF -- SDL_DBUS (Wanted: OFF): OFF -- SDL_DIRECTX (Wanted: ON): ON -- SDL_DISABLE_INSTALL (Wanted: ON): OFF -- SDL_DISABLE_UNINSTALL (Wanted: OFF): OFF -- SDL_DISKAUDIO (Wanted: ON): ON -- SDL_DUMMYAUDIO (Wanted: ON): ON -- SDL_DUMMYCAMERA (Wanted: ON): ON -- SDL_DUMMYVIDEO (Wanted: ON): ON -- SDL_FOREGROUNDING_SIGNAL (Wanted: OFF): OFF -- SDL_GCC_ATOMICS (Wanted: OFF): OFF -- SDL_HIDAPI (Wanted: ON): ON -- SDL_HIDAPI_JOYSTICK (Wanted: ON): ON -- SDL_HIDAPI_LIBUSB (Wanted: ON): OFF -- SDL_HIDAPI_LIBUSB_SHARED (Wanted: ON): OFF -- SDL_IBUS (Wanted: OFF): OFF -- SDL_INSTALL_TESTS (Wanted: OFF): OFF -- SDL_JACK (Wanted: OFF): OFF -- SDL_JACK_SHARED (Wanted: OFF): OFF -- SDL_KMSDRM (Wanted: OFF): OFF -- SDL_KMSDRM_SHARED (Wanted: OFF): OFF -- SDL_LASX (Wanted: OFF): OFF -- SDL_LIBC (Wanted: ON): ON -- SDL_LIBICONV (Wanted: OFF): OFF -- SDL_LIBUDEV (Wanted: ON): OFF -- SDL_LSX (Wanted: OFF): OFF -- SDL_METAL (Wanted: OFF): OFF -- SDL_MMX (Wanted: ON): OFF -- SDL_OFFSCREEN (Wanted: ON): ON -- SDL_OPENGL (Wanted: ON): ON -- SDL_OPENGLES (Wanted: ON): ON -- SDL_OSS (Wanted: OFF): OFF -- SDL_PIPEWIRE (Wanted: OFF): OFF -- SDL_PIPEWIRE_SHARED (Wanted: OFF): OFF -- SDL_PTHREADS (Wanted: OFF): OFF -- SDL_PTHREADS_SEM (Wanted: OFF): OFF -- SDL_PULSEAUDIO (Wanted: OFF): OFF -- SDL_PULSEAUDIO_SHARED (Wanted: OFF): OFF -- SDL_RENDER_D3D (Wanted: ON): ON -- SDL_RENDER_METAL (Wanted: ON): OFF -- SDL_RENDER_VULKAN (Wanted: ON): ON -- SDL_ROCKCHIP (Wanted: OFF): OFF -- SDL_RPATH (Wanted: OFF): OFF -- SDL_RPI (Wanted: OFF): OFF -- SDL_SNDIO (Wanted: OFF): OFF -- SDL_SNDIO_SHARED (Wanted: OFF): OFF -- SDL_SSE (Wanted: ON): ON -- SDL_SSE2 (Wanted: ON): ON -- SDL_SSE3 (Wanted: ON): ON -- SDL_SSE4_1 (Wanted: ON): ON -- SDL_SSE4_2 (Wanted: ON): ON -- SDL_STATIC_VCRT (Wanted: ON): OFF -- SDL_SYSTEM_ICONV (Wanted: OFF): OFF -- SDL_TESTS (Wanted: OFF): OFF -- SDL_TESTS_LINK_SHARED (Wanted: ON): OFF -- SDL_VIRTUAL_JOYSTICK (Wanted: ON): ON -- SDL_VIVANTE (Wanted: OFF): OFF -- SDL_VULKAN (Wanted: ON): ON -- SDL_WASAPI (Wanted: ON): ON -- SDL_WAYLAND (Wanted: OFF): OFF -- SDL_WAYLAND_LIBDECOR (Wanted: OFF): OFF -- SDL_WAYLAND_LIBDECOR_SHARED (Wanted: OFF): OFF -- SDL_WAYLAND_SHARED (Wanted: OFF): OFF -- SDL_X11 (Wanted: OFF): OFF -- SDL_X11_SHARED (Wanted: OFF): OFF -- SDL_X11_XCURSOR (Wanted: OFF): OFF -- SDL_X11_XDBE (Wanted: OFF): OFF -- SDL_X11_XFIXES (Wanted: OFF): OFF -- SDL_X11_XINPUT (Wanted: OFF): OFF -- SDL_X11_XRANDR (Wanted: OFF): OFF -- SDL_X11_XSCRNSAVER (Wanted: OFF): OFF -- SDL_X11_XSHAPE (Wanted: OFF): OFF -- SDL_XINPUT (Wanted: ON): ON

-- Build Shared Library: ON -- Build Static Library: OFF

-- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of off64_t -- Check size of off64_t - failed -- Looking for fseeko -- Looking for fseeko - not found -- Looking for unistd.h -- Looking for unistd.h - not found -- The ASM compiler identification is MSVC -- Found assembler: D:/Progs/Visual Studio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe CMake Deprecation Warning at libs/libpng/CMakeLists.txt:81 (message): The option PNG_EXECUTABLES has been deprecated in favour of PNG_TOOLS

CMake Warning (dev) at libs/libpng/CMakeLists.txt:83 (message): Setting PNG_TOOLS to OFF, to stay compatible with PNG_EXECUTABLES This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at D:/Progs/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message): Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR) Call Stack (most recent call first): D:/Progs/CMake/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE) D:/Progs/CMake/share/cmake-3.30/Modules/FindZLIB.cmake:202 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) libs/libpng/CMakeLists.txt:99 (find_package)

-- Configuring incomplete, errors occurred!

D:\Files\GameStuff\PSX\Medal of Honor\Medal-Of-Honor-PSX-File-Viewer-master\Build>

AdrianoDiDio commented 1 week ago

Thanks for the log, there was a missing variable in the lib's CMakeList that was preventing it from configuring properly. Let me know, by pulling the latest changes to the branch, if the problem is fixed. However note that this project uses mingw suite on windows to compile...I don't have a windows machine to test MSVC support, so I can't fully guarantee that this fixes the issues you have.

OneRegularUser commented 6 days ago

Little further) Now I got this error.

-- The ASM compiler identification is MSVC -- Found assembler: D:/Progs/Visual Studio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe -- Found ZLIB: zlib -- Performing Test HAVE_LD_VERSION_SCRIPT -- Performing Test HAVE_LD_VERSION_SCRIPT - Failed -- Performing Test HAVE_SOLARIS_LD_VERSION_SCRIPT -- Performing Test HAVE_SOLARIS_LD_VERSION_SCRIPT - Failed CMake Error at Build/_deps/pvs_cmakemodule-src/PVS-Studio.cmake:383 (message): pvs-studio-analyzer is not found Call Stack (most recent call first): src/Common/CMakeLists.txt:12 (pvs_studio_add_target)

-- Configuring incomplete, errors occurred!

AdrianoDiDio commented 6 days ago

I'm still not sure that the build will succeed since the project uses Mingw dependencies, however, for that error, you just need to run cmake and pass the following define ENABLE_PVS_STUDIO=OFF. E.G: cmake -DENABLE_PVS_STUDIO_ANALYZER=OFF -- build .

OneRegularUser commented 5 days ago

Now it on building stage. Got new errors.

-- The ASM compiler identification is MSVC

-- Found assembler: D:/Progs/Visual Studio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe -- Found ZLIB: zlib -- Performing Test HAVE_LD_VERSION_SCRIPT -- Performing Test HAVE_LD_VERSION_SCRIPT - Failed -- Performing Test HAVE_SOLARIS_LD_VERSION_SCRIPT -- Performing Test HAVE_SOLARIS_LD_VERSION_SCRIPT - Failed -- Configuring done (113.1s) -- Generating done (0.8s) -- Build files have been written to: D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/Build MSBuild version 17.10.4+10fbfbf2e for .NET Framework

1>Checking Build System Generating include/SDL.h Generating include/SDL_assert.h Generating include/SDL_atomic.h Generating include/SDL_audio.h Generating include/SDL_bits.h Generating include/SDL_blendmode.h Generating include/SDL_clipboard.h Generating include/SDL_copying.h Generating include/SDL_cpuinfo.h Generating include/SDL_egl.h Generating include/SDL_endian.h Generating include/SDL_error.h Generating include/SDL_events.h Generating include/SDL_filesystem.h Generating include/SDL_gamecontroller.h Generating include/SDL_gesture.h Generating include/SDL_guid.h Generating include/SDL_haptic.h Generating include/SDL_hidapi.h Generating include/SDL_hints.h Generating include/SDL_joystick.h Generating include/SDL_keyboard.h Generating include/SDL_keycode.h Generating include/SDL_loadso.h Generating include/SDL_locale.h Generating include/SDL_log.h Generating include/SDL_main.h Generating include/SDL_messagebox.h Generating include/SDL_metal.h Generating include/SDL_misc.h Generating include/SDL_mouse.h Generating include/SDL_mutex.h Generating include/SDL_name.h Generating include/SDL_opengl.h Generating include/SDL_opengl_glext.h Generating include/SDL_opengles.h Generating include/SDL_opengles2.h Generating include/SDL_opengles2_gl2.h Generating include/SDL_opengles2_gl2ext.h Generating include/SDL_opengles2_gl2platform.h Generating include/SDL_opengles2_khrplatform.h Generating include/SDL_pixels.h Generating include/SDL_platform.h Generating include/SDL_power.h Generating include/SDL_quit.h Generating include/SDL_rect.h Generating include/SDL_render.h Generating include/SDL_rwops.h Generating include/SDL_scancode.h Generating include/SDL_sensor.h Generating include/SDL_shape.h Generating include/SDL_stdinc.h Generating include/SDL_surface.h Generating include/SDL_system.h Generating include/SDL_syswm.h Generating include/SDL_test.h Generating include/SDL_test_assert.h Generating include/SDL_test_common.h Generating include/SDL_test_compare.h Generating include/SDL_test_crc32.h Generating include/SDL_test_font.h Generating include/SDL_test_fuzzer.h Generating include/SDL_test_harness.h Generating include/SDL_test_images.h Generating include/SDL_test_log.h Generating include/SDL_test_md5.h Generating include/SDL_test_memory.h Generating include/SDL_test_random.h Generating include/SDL_thread.h Generating include/SDL_timer.h Generating include/SDL_touch.h Generating include/SDL_types.h Generating include/SDL_version.h Generating include/SDL_video.h Generating include/SDL_vulkan.h Generating include/begin_code.h Generating include/close_code.h Building Custom Rule D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/libs/SDL/CMakeLists .txt Building Custom Rule D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/libs/SDL/CMakeLists .txt SDL.c SDL_assert.c SDL_dataqueue.c SDL_error.c SDL_guid.c SDL_hints.c SDL_list.c SDL_log.c SDL_utils.c SDL_atomic.c SDL_spinlock.c SDL_audio.c SDL_audiocvt.c SDL_audiodev.c SDL_audiotypecvt.c SDL_mixer.c SDL_wave.c SDL_cpuinfo.c SDL_dynapi.c SDL_clipboardevents.c SDL_displayevents.c SDL_dropevents.c SDL_events.c SDL_gesture.c SDL_keyboard.c SDL_keysym_to_scancode.c SDL_mouse.c SDL_quit.c SDL_scancode_tables.c SDL_touch.c SDL_windowevents.c imKStoUCS.c SDL_rwops.c SDL_haptic.c SDL_hidapi.c SDL_gamecontroller.c SDL_joystick.c controller_type.c e_atan2.c e_exp.c e_fmod.c e_log.c e_log10.c e_pow.c e_rem_pio2.c e_sqrt.c k_cos.c k_rem_pio2.c k_sin.c k_tan.c s_atan.c s_copysign.c s_cos.c s_fabs.c s_floor.c s_scalbn.c s_sin.c s_tan.c SDL_locale.c SDL_url.c SDL_power.c SDL_d3dmath.c SDL_render.c SDL_yuv_sw.c SDL_render_d3d.c SDL_shaders_d3d.c SDL_render_d3d11.c SDL_shaders_d3d11.c SDL_render_d3d12.c SDL_shaders_d3d12.c SDL_render_gl.c SDL_shaders_gl.c SDL_render_gles.c SDL_render_gles2.c SDL_shaders_gles2.c SDL_render_ps2.c SDL_render_psp.c SDL_blendfillrect.c SDL_blendline.c SDL_blendpoint.c SDL_drawline.c SDL_drawpoint.c SDL_render_sw.c SDL_rotate.c SDL_triangle.c SDL_render_vita_gxm.c SDL_render_vita_gxm_memory.c SDL_render _vita_gxm_tools.c SDL_sensor.c SDL_crc16.c SDL_crc32.c SDL_getenv.c SDL_iconv.c SDL_malloc.c SDL_qsort.c SDL_stdlib.c SDL_string.c SDL_strtokr.c SDL_thread.c SDL_timer.c SDL_RLEaccel.c SDL_blit.c SDL_blit_0.c SDL_blit_1.c SDL_blit_A.c SDL_blit_N.c SDL_blit_auto.c SDL_blit_copy.c SDL_blit_slow.c SDL_bmp.c SDL_clipboard.c SDL_egl.c SDL_fillrect.c SDL_pixels.c SDL_rect.c SDL_shape.c SDL_stretch.c SDL_surface.c SDL_video.c SDL_vulkan_utils.c SDL_yuv.c yuv_rgb.c SDL_dummyaudio.c SDL_diskaudio.c SDL_virtualjoystick.c SDL_nullevents.c SDL_nullframebuffer.c SDL_nullvideo.c SDL_offscreenevents.c SDL_offscreenframebuffer.c SDL_offscreenopengles.c SDL_offscreenvideo.c SDL_offscreenwindow.c SDL_hid.c SDL_immdevice.c SDL_windows.c SDL_xinput.c SDL_sysurl.c SDL_winmm.c SDL_directsound.c SDL_wasapi.c SDL_wasapi_win32.c SDL_windowsclipboard.c SDL_windowsevents.c SDL_windowsframebuffer.c SDL_windowskeyboard.c SDL_windowsmessagebox.c SDL_windowsmodes.c SDL_windowsmouse.c SDL_windowsopengl.c SDL_windowsopengles.c SDL_windowsshape.c SDL_windowsvideo.c SDL_windowsvulkan.c SDL_windowswindow.c SDL_syscond.c SDL_syscond_cv.c SDL_sysmutex.c SDL_syssem.c SDL_systhread.c SDL_systls.c SDL_windowssensor.c SDL_syspower.c SDL_syslocale.c SDL_sysfilesystem.c SDL_systimer.c SDL_sysloadso.c SDL_hidapi_combined.c SDL_hidapi_gamecube.c SDL_hidapi_luna.c SDL_hidapi_ps3.c SDL_hidapi_ps4.c SDL_hidapi_ps5.c SDL_hidapi_rumble.c SDL_hidapi_shield.c SDL_hidapi_stadia.c SDL_hidapi_steam.c SDL_hidapi_switch.c SDL_hidapi_wii.c SDL_hidapi_xbox360.c SDL_hidapi_xbox360w.c SDL_hidapi_xboxone.c SDL_hidapijoystick.c SDL_dinputjoystick.c SDL_rawinputjoystick.c SDL_windows_gaming_input.c SDL_windowsjoystick.c SDL_xinputjoystick.c SDL_dinputhaptic.c SDL_windowshaptic.c SDL_xinputhaptic.c SDL_mslibc.c Creating library D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/Build/Debug/SDL2 d.lib and object D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/Build/Debug/SDL2d.exp SDL2.vcxproj -> D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\SharedLibraries\De bug\SDL2d.dll Building Custom Rule D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/libs/CMakeLists.txt cimgui.cpp imgui.cpp imgui_draw.cpp imgui_demo.cpp imgui_widgets.cpp imgui_tables.cpp imgui_impl_opengl3.cpp imgui_impl_sdl2.cpp ImGuiFileDialog.cpp Generating code... cimgui.vcxproj -> D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\Debug\cimgui.lib Building Custom Rule D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/libs/glew-cmake/bui ld/cmake/CMakeLists.txt glew.c glew_s.vcxproj -> D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\Debug\libglew32d .lib Building Custom Rule D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/libs/libpng/CMakeLi sts.txt Building Custom Rule D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/libs/zlib/CMakeList s.txt adler32.c compress.c crc32.c deflate.c gzclose.c gzlib.c gzread.c gzwrite.c inflate.c infback.c inftrees.c inffast.c trees.c uncompr.c zutil.c Generating code... Creating library D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/Build/Debug/zlib d.lib and object D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/Build/Debug/zlibd.exp zlib.vcxproj -> D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\SharedLibraries\De bug\zlibd1.dll Building Custom Rule D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/libs/libpng/CMakeLi sts.txt png.c pngerror.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Cannot open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] pngget.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Cannot open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Unable to open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] pngmem.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Cannot open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] pngpread.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Cannot open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] pngread.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Unable to open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] pngrio.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Cannot open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] pngrtran.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Cannot open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] pngrutil.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Unable to open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] pngset.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Cannot open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] pngtrans.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Cannot open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] pngwio.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Unable to open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] pngwrite.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Cannot open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] pngwtran.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Cannot open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] pngwutil.c D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\libs\libpng\pngstruct.h(30,10): error C108 3: Unable to open include file: zlib.h: No such file or directory, [D:\Files\GameStuff\PSX\Medal of Honor\Editors \Medal-Of-Honor-PSX-File-Viewer\Build\libs\libpng\png.vcxproj] Generating code... Building Custom Rule D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/libs/libsamplerate/ src/CMakeLists.txt samplerate.c src_linear.c src_sinc.c src_zoh.c Building code... samplerate.vcxproj -> D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\Debug\sample rate.lib Building Custom Rule D:/Files/GameStuff/PSX/Medal of Honor/Editors/Medal-Of-Honor-PSX-File-Viewer/src/RSCExtractor/CM akeLists.txt **cl : command line warning D9002: skipping unknown parameter "-fdiagnostics-color=always" [D:\Files\GameStuff\P SX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] cl : command line warning D9002: Skipping unknown option "-g" [D:\Files\GameStuff\PSX\Medal of Honor\Editor s\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] RSCExtractor.c C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10847,22): warning C4668: "_WIN32_WINNT_WIN10 _TH2" not set as preprocessor macro definition, replace with "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10853,22): warning C4668: "_WIN32_WINNT_WIN10 _RS1" not defined as preprocessor macro, replacing "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10858,22): warning C4668: "_WIN32_WINNT_WIN10 _TH2" is not defined as a preprocessor macro, replacing "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10863,22): warning C4668: "_WIN32_WINNT_WIN10 _TH2" is not defined as a preprocessor macro, replacing "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10870,22): warning C4668: "_WIN32_WINNT_WIN10 _RS1" not defined as preprocessor macro, replacing "#if/#elif" with "0" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10875,22): warning C4668: "_WIN32_WINNT_WIN10 _RS2" not defined as preprocessor macro, replacing "#if/#elif" with "0" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10886,22): warning C4668: "_WIN32_WINNT_WIN10 _RS2" not defined as preprocessor macro definition, replacing with "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10891,22): warning C4668: "_WIN32_WINNT_WIN10 _TH2" is not defined as a preprocessor macro definition, replacing with "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10897,22): warning C4668: "_WIN32_WINNT_WIN10 _RS3" not defined as preprocessor macro, replacing "#if/#elif" with "0" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10905,22): warning C4668: "_WIN32_WINNT_WIN10 _RS4" not defined as preprocessor macro, replacing "#if/#elif" with "0" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10909,22): warning C4668: "_WIN32_WINNT_WIN10 _RS1" not defined as preprocessor macro definition, replacing with "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10913,22): warning C4668: "_WIN32_WINNT_WIN10 _RS4" is not defined as a preprocessor macro definition, replacing with "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10918,22): warning C4668: "_WIN32_WINNT_WIN10 _RS1" not defined as preprocessor macro, replacing "#if/#elif" with "0" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10921,22): warning C4668: "_WIN32_WINNT_WIN10 _RS5" is not defined as a preprocessor macro, replacing "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10970,23): warning C4668: "NTDDI_WIN10_CU" is not defined as a preprocessor macro, replacing to "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor\Editor s\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(10974,23): warning C4668: "NTDDI_WIN10_CU" is not defined as a preprocessor macro definition, replacing with "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor\Editor s\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(11171,22): warning C4668: "_WIN32_WINNT_WIN10 _RS2" is not defined as a preprocessor macro, replacing "0" with "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(11195,22): warning C4668: "_WIN32_WINNT_WIN10 _RS5" is not defined as a preprocessor macro, replacing "0" with "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(14754,22): warning C4668: "_WIN32_WINNT_WIN10 _RS5" not defined as preprocessor macro, replacing "#if/#elif" with "0" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(14956,22): warning C4668: "_WIN32_WINNT_WIN10 _RS5" not defined as preprocessor macro, replacing "#if/#elif" with "0" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(15059,22): warning C4668: "_WIN32_WINNT_WIN10 _RS5" not defined as preprocessor macro definition, replacing with "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(15155,21): warning C4668: "_WIN32_WINNT_WIN10 _RS5" is not defined as a preprocessor macro definition, replacing with "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(15259,22): warning C4668: "_WIN32_WINNT_WIN10 _RS5" not defined as preprocessor macro, replacing "#if/#elif" with "0" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(16004,23): warning C4668: "_WIN32_WINNT_WIN10 _RS2" not defined as preprocessor macro, replacing "#if/#elif" with "0" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(16092,22): warning C4668: "_WIN32_WINNT_WIN10 _RS2" not defined as preprocessor macro definition, replacing with "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(16218,22): warning C4668: "_WIN32_WINNT_WIN10 _RS3" is not defined as a preprocessor macro definition, replacing with "0" for "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(16367,22): warning C4668: "_WIN32_WINNT_WIN10 _RS4" not defined as preprocessor macro, replacing "#if/#elif" with "0" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(16380,22): warning C4668: "_WIN32_WINNT_WIN10 _RS4" not defined as preprocessor macro, replacing "#if/#elif" with "0" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winioctl.h(16609,22): warning C4668: "_WIN32_WINNT_WIN10 _RS1" not defined as preprocessor macro definition, replacing "0" with "#if/#elif" [D:\Files\GameStuff\PSX\Medal of Honor r\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\src\RSCExtractor\RSCExtractor.c(55,9): war ning C4013: mkdir: not defined; expected "extern" with return type "int" [D:\Files\GameStuff\PSX\Medal of Honor or\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\src\RSCExtractor\RSCExtractor.c(104,15): w arning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Hono r-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\src\RSCExtractor\RSCExtractor.c(148,12): w arning C4477:"printf": format string "%li" requires argument of type "long", but variadic argument "2" has type "size_t" [D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor -PSX-File-Viewer\Build\src\RSCExtractor\RSCE xtractor.vcxproj] D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\src\RSCExtractor\RSCExtractor .c(137,16): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Hono r-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\src\RSCExtractor\RSCExtractor.c(158): warn ing C5045: Compiler will insert Spectre mitigation component to load memory if /Qspectre option is specified [ D:\ Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxpro j] D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\src\RSCExtractor\RSCExtractor.c(154) : P note: The range of index "i" checked by comparison is at this line D:\Files\GameStuff \PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\src\RSCExtractor\RSCExtractor.c(158) : P note: Calling web feeds on this line LINK : warning LNK4044: unrecognized parameter " /static-libgcc"; ignored [D:\Files\GameStuff\PSX\Medal of Honor\E ditors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj] LINK : warning LNK4044: unrecognized option "/mwindows "; ignored [D:\Files\GameStuff\PSX\Medal of Honor\Editor s\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj]**

LINK : fatal error LNK1104: cannot open file "mingw32.lib" [D:\Files\GameStuff\PSX\Medal of Honor\Editors\Medal-Of-Honor-PSX-File-Viewer\Build\src\RSCExtractor\RSCExtractor.vcxproj]

AdrianoDiDio commented 4 days ago

As stated before, there is no support for msvc compiler. If you want to compile, then you will need to install mingw. I'll write you the basic step, if you want to try and compile it.
First you will need to install msys2, available at this link:
https://github.com/msys2/msys2-installer/releases/download/2024-05-07/msys2-x86_64-20240507.exe
Once installed, open up a new msys2 shell and type:
pacman -S mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc mingw-w64-x86_64-mesa This will install all the dependencies that are required to compile the project
Once the installation has finished, launch msys2-mingw64 and cd into the project directory: cd D:\Medal-Of-Honor-PSX-File-Viewer
then type:
mkdir Build
cmake -B Build -DENABLE_PVS_STUDIO_ANALYZER=Off
and finally:
cmake --build Build --parallel
once the build is done, you should find the binaries inside the Build/bin folder. Let me know if the above steps works for you or if you encounter any problem.

OneRegularUser commented 3 days ago

I had to manually add libs folders and run mingw64.exe with admin rights. Now I got executables, but they don't work. I tried it with original game img file and extracted with CDmage program. Add to properties in MOHLevelViewer-Release.exe run as administrator and/or compatibility with Win 7, 8 etc. Just couple of seconds thinking and then nothing.

2 3 1

AdrianoDiDio commented 2 days ago

That's odd, it seems to crash right at startup, I think I had a similar issue when trying to run it on a vm machine that had only OpenGL 2 support. If that's the case, the first thing I'd try to do is to check what OpenGL version is supported on your os. You can use this program: https://github.com/gkv311/wglinfo/releases/tag/22_03 MOH tools works using OpenGL 3.1 core profile, if you run that program in a command line can you tell me what OpenGL version it reports? By the way, you don't need to specify anything when running the toolset, since they will ask you, at startup or using a menu entry, the path where to find the game files.

OneRegularUser commented 2 days ago

D:\MOH\Build\bin\MOHLevelViewer>wglinfo64.exe [WGL] WGL extensions: WGL_ARB_buffer_region, WGL_ARB_create_context, WGL_ARB_create_context_no_error, WGL_ARB_create_context_profile, WGL_ARB_create_context_robustness, WGL_ARB_context_flush_control, WGL_ARB_extensions_string, WGL_ARB_make_current_read, WGL_ARB_multisample, WGL_ARB_pbuffer, WGL_ARB_pixel_format, WGL_ARB_pixel_format_float, WGL_ARB_render_texture, WGL_ATI_pixel_format_float, WGL_EXT_colorspace, WGL_EXT_create_context_es_profile, WGL_EXT_create_context_es2_profile, WGL_EXT_extensions_string, WGL_EXT_framebuffer_sRGB, WGL_EXT_pixel_format_packed_float, WGL_EXT_swap_control, WGL_EXT_swap_control_tear, WGL_NVX_DX_interop, WGL_NV_DX_interop, WGL_NV_DX_interop2, WGL_NV_copy_image, WGL_NV_delay_before_swap, WGL_NV_float_buffer, WGL_NV_multisample_coverage, WGL_NV_multigpu_context, WGL_NV_render_depth_texture, WGL_NV_render_texture_rectangle.

[WGL] OpenGL vendor string: NVIDIA Corporation [WGL] OpenGL renderer string: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2 [WGL] OpenGL version string: 4.6.0 NVIDIA 556.12 [WGL] OpenGL shading language version string: 4.60 NVIDIA [WGL] OpenGL GPU memory: 3072 MiB [WGL] OpenGL extensions: GL_AMD_multi_draw_indirect, GL_AMD_seamless_cubemap_per_texture, GL_AMD_vertex_shader_viewport_index, GL_AMD_vertex_shader_layer, GL_ARB_arrays_of_arrays, GL_ARB_base_instance, GL_ARB_bindless_texture, GL_ARB_blend_func_extended, GL_ARB_buffer_storage, GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control, GL_ARB_color_buffer_float, GL_ARB_compatibility, GL_ARB_compressed_texture_pixel_storage, GL_ARB_conservative_depth, GL_ARB_compute_shader, GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted, GL_ARB_copy_buffer, GL_ARB_copy_image, GL_ARB_cull_distance, GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_derivative_control, GL_ARB_direct_state_access, GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend, GL_ARB_draw_indirect, GL_ARB_draw_elements_base_vertex, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts, GL_ARB_ES2_compatibility, GL_ARB_ES3_compatibility, GL_ARB_ES3_1_compatibility, GL_ARB_ES3_2_compatibility, GL_ARB_explicit_attrib_location, GL_ARB_explicit_uniform_location, GL_ARB_fragment_coord_conventions, GL_ARB_fragment_layer_viewport, GL_ARB_fragment_program, GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, GL_ARB_fragment_shader_interlock, GL_ARB_framebuffer_no_attachments, GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB, GL_ARB_geometry_shader4, GL_ARB_get_program_binary, GL_ARB_get_texture_sub_image, GL_ARB_gl_spirv, GL_ARB_gpu_shader5, GL_ARB_gpu_shader_fp64, GL_ARB_gpu_shader_int64, GL_ARB_half_float_pixel, GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_indirect_parameters, GL_ARB_instanced_arrays, GL_ARB_internalformat_query, GL_ARB_internalformat_query2, GL_ARB_invalidate_subdata, GL_ARB_map_buffer_alignment, GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_occlusion_query2, GL_ARB_parallel_shader_compile, GL_ARB_pipeline_statistics_query, GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_polygon_offset_clamp, GL_ARB_post_depth_coverage, GL_ARB_program_interface_query, GL_ARB_provoking_vertex, GL_ARB_query_buffer_object, GL_ARB_robust_buffer_access_behavior, GL_ARB_robustness, GL_ARB_sample_locations, GL_ARB_sample_shading, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map, GL_ARB_seamless_cubemap_per_texture, GL_ARB_separate_shader_objects, GL_ARB_shader_atomic_counter_ops, GL_ARB_shader_atomic_counters, GL_ARB_shader_ballot, GL_ARB_shader_bit_encoding, GL_ARB_shader_clock, GL_ARB_shader_draw_parameters, GL_ARB_shader_group_vote, GL_ARB_shader_image_load_store, GL_ARB_shader_image_size, GL_ARB_shader_objects, GL_ARB_shader_precision, GL_ARB_shader_storage_buffer_object, GL_ARB_shader_subroutine, GL_ARB_shader_texture_image_samples, GL_ARB_shader_texture_lod, GL_ARB_shading_language_100, GL_ARB_shader_viewport_layer_array, GL_ARB_shading_language_420pack, GL_ARB_shading_language_include, GL_ARB_shading_language_packing, GL_ARB_shadow, GL_ARB_sparse_buffer, GL_ARB_sparse_texture, GL_ARB_sparse_texture2, GL_ARB_sparse_texture_clamp, GL_ARB_spirv_extensions, GL_ARB_stencil_texturing, GL_ARB_sync, GL_ARB_tessellation_shader, GL_ARB_texture_barrier, GL_ARB_texture_border_clamp, GL_ARB_texture_buffer_object, GL_ARB_texture_buffer_object_rgb32, GL_ARB_texture_buffer_range, GL_ARB_texture_compression, GL_ARB_texture_compression_bptc, GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map, GL_ARB_texture_cube_map_array, GL_ARB_texture_env_add, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, GL_ARB_texture_filter_anisotropic, GL_ARB_texture_filter_minmax, GL_ARB_texture_float, GL_ARB_texture_gather, GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two, GL_ARB_texture_query_levels, GL_ARB_texture_query_lod, GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui, GL_ARB_texture_stencil8, GL_ARB_texture_storage, GL_ARB_texture_storage_multisample, GL_ARB_texture_swizzle, GL_ARB_texture_view, GL_ARB_timer_query, GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced, GL_ARB_transform_feedback_overflow_query, GL_ARB_transpose_matrix, GL_ARB_uniform_buffer_object, GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object, GL_ARB_vertex_attrib_64bit, GL_ARB_vertex_attrib_binding, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_viewport_array, GL_ARB_window_pos, GL_ATI_draw_buffers, GL_ATI_texture_float, GL_ATI_texture_mirror_once, GL_S3_s3tc, GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_bindable_uniform, GL_EXT_blend_color, GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, GL_EXT_Cg_shader, GL_EXT_depth_bounds_test, GL_EXT_direct_state_access, GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample, GL_EXTX_framebuffer_mixed_formats, GL_EXT_framebuffer_multisample_blit_scaled, GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB, GL_EXT_geometry_shader4, GL_EXT_gpu_program_parameters, GL_EXT_gpu_shader4, GL_EXT_multi_draw_arrays, GL_EXT_multiview_texture_multisample, GL_EXT_multiview_timer_query, GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, GL_EXT_polygon_offset_clamp, GL_EXT_post_depth_coverage, GL_EXT_provoking_vertex, GL_EXT_raster_multisample, GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_separate_shader_objects, GL_EXT_separate_specular_color, GL_EXT_shader_image_load_formatted, GL_EXT_shader_image_load_store, GL_EXT_shader_integer_mix, GL_EXT_shadow_funcs, GL_EXT_sparse_texture2, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_texture3D, GL_EXT_texture_array, GL_EXT_texture_buffer_object, GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_latc, GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic, GL_EXT_texture_filter_minmax, GL_EXT_texture_integer, GL_EXT_texture_lod, GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_shadow_lod, GL_EXT_texture_shared_exponent, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_R8, GL_EXT_texture_sRGB_decode, GL_EXT_texture_storage, GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_transform_feedback2, GL_EXT_vertex_array, GL_EXT_vertex_array_bgra, GL_EXT_vertex_attrib_64bit, GL_EXT_window_rectangles, GL_EXT_import_sync_object, GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat, GL_KHR_context_flush_control, GL_KHR_debug, GL_EXT_memory_object, GL_EXT_memory_object_win32, GL_NV_memory_object_sparse, GL_EXT_win32_keyed_mutex, GL_KHR_parallel_shader_compile, GL_KHR_no_error, GL_KHR_robust_buffer_access_behavior, GL_KHR_robustness, GL_EXT_semaphore, GL_EXT_semaphore_win32, GL_NV_timeline_semaphore, GL_KHR_shader_subgroup, GL_KTX_buffer_region, GL_NV_alpha_to_coverage_dither_control, GL_NV_bindless_multi_draw_indirect, GL_NV_bindless_multi_draw_indirect_count, GL_NV_bindless_texture, GL_NV_blend_equation_advanced, GL_NV_blend_equation_advanced_coherent, GL_NVX_blend_equation_advanced_multi_draw_buffers, GL_NV_blend_minmax_factor, GL_NV_blend_square, GL_NV_clip_space_w_scaling, GL_NV_command_list, GL_NV_compute_program5, GL_NV_conditional_render, GL_NV_conservative_raster, GL_NV_conservative_raster_dilate, GL_NV_conservative_raster_pre_snap_triangles, GL_NV_copy_depth_to_color, GL_NV_copy_image, GL_NV_depth_buffer_float, GL_NV_depth_clamp, GL_NV_draw_texture, GL_NV_draw_vulkan_image, GL_NV_ES1_1_compatibility, GL_NV_ES3_1_compatibility, GL_NV_explicit_multisample, GL_NV_feature_query, GL_NV_fence, GL_NV_fill_rectangle, GL_NV_float_buffer, GL_NV_fog_distance, GL_NV_fragment_coverage_to_color, GL_NV_fragment_program, GL_NV_fragment_program_option, GL_NV_fragment_program2, GL_NV_fragment_shader_interlock, GL_NV_framebuffer_mixed_samples, GL_NV_framebuffer_multisample_coverage, GL_NV_geometry_shader4, GL_NV_geometry_shader_passthrough, GL_NV_gpu_program4, GL_NV_internalformat_sample_query, GL_NV_gpu_program4_1, GL_NV_gpu_program5, GL_NV_gpu_program5_mem_extended, GL_NV_gpu_program_fp64, GL_NV_gpu_program_multiview, GL_NV_gpu_shader5, GL_NV_half_float, GL_NV_light_max_exponent, GL_NV_memory_attachment, GL_NV_multisample_coverage, GL_NV_multisample_filter_hint, GL_NV_occlusion_query, GL_NV_packed_depth_stencil, GL_NV_parameter_buffer_object, GL_NV_parameter_buffer_object2, GL_NV_path_rendering, GL_NV_path_rendering_shared_edge, GL_NV_pixel_data_range, GL_NV_point_sprite, GL_NV_primitive_restart, GL_NV_query_resource, GL_NV_query_resource_tag, GL_NV_register_combiners, GL_NV_register_combiners2, GL_NV_sample_locations, GL_NV_sample_mask_override_coverage, GL_NV_shader_atomic_counters, GL_NV_shader_atomic_float, GL_NV_shader_atomic_float64, GL_NV_shader_atomic_fp16_vector, GL_NV_shader_atomic_int64, GL_NV_shader_buffer_load, GL_NV_shader_storage_buffer_object, GL_NV_shader_subgroup_partitioned, GL_NV_stereo_view_rendering, GL_NV_texgen_reflection, GL_NV_texture_barrier, GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4, GL_NV_texture_multisample, GL_NV_texture_rectangle, GL_NV_texture_rectangle_compressed, GL_NV_texture_shader, GL_NV_texture_shader2, GL_NV_texture_shader3, GL_NV_transform_feedback, GL_NV_transform_feedback2, GL_NV_uniform_buffer_unified_memory, GL_NV_uniform_buffer_std430_layout, GL_NV_vertex_array_range, GL_NV_vertex_array_range2, GL_NV_vertex_attrib_integer_64bit, GL_NV_vertex_buffer_unified_memory, GL_NV_vertex_program, GL_NV_vertex_program1_1, GL_NV_vertex_program2, GL_NV_vertex_program2_option, GL_NV_vertex_program3, GL_NV_viewport_array2, GL_NV_viewport_swizzle, GL_NVX_conditional_render, GL_NVX_linked_gpu_multicast, GL_NV_gpu_multicast, GL_NVX_gpu_multicast2, GL_NVX_progress_fence, GL_NVX_gpu_memory_info, GL_NVX_multigpu_info, GL_NVX_nvenc_interop, GL_NV_shader_thread_group, GL_NV_shader_thread_shuffle, GL_KHR_blend_equation_advanced, GL_KHR_blend_equation_advanced_coherent, GL_OVR_multiview, GL_OVR_multiview2, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow, GL_SUN_slice_accum, GL_WIN_swap_hint, WGL_EXT_swap_control.

[WGL] OpenGL (core profile) vendor string: NVIDIA Corporation [WGL] OpenGL (core profile) renderer string: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2 [WGL] OpenGL (core profile) version string: 4.6.0 NVIDIA 556.12 [WGL] OpenGL (core profile) shading language version string: 4.60 NVIDIA [WGL] OpenGL (core profile) extensions: GL_AMD_multi_draw_indirect, GL_AMD_seamless_cubemap_per_texture, GL_AMD_vertex_shader_viewport_index, GL_AMD_vertex_shader_layer, GL_ARB_arrays_of_arrays, GL_ARB_base_instance, GL_ARB_bindless_texture, GL_ARB_blend_func_extended, GL_ARB_buffer_storage, GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control, GL_ARB_color_buffer_float, GL_ARB_compressed_texture_pixel_storage, GL_ARB_conservative_depth, GL_ARB_compute_shader, GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted, GL_ARB_copy_buffer, GL_ARB_copy_image, GL_ARB_cull_distance, GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_derivative_control, GL_ARB_direct_state_access, GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend, GL_ARB_draw_indirect, GL_ARB_draw_elements_base_vertex, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts, GL_ARB_ES2_compatibility, GL_ARB_ES3_compatibility, GL_ARB_ES3_1_compatibility, GL_ARB_ES3_2_compatibility, GL_ARB_explicit_attrib_location, GL_ARB_explicit_uniform_location, GL_ARB_fragment_coord_conventions, GL_ARB_fragment_layer_viewport, GL_ARB_fragment_program, GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, GL_ARB_fragment_shader_interlock, GL_ARB_framebuffer_no_attachments, GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB, GL_ARB_geometry_shader4, GL_ARB_get_program_binary, GL_ARB_get_texture_sub_image, GL_ARB_gl_spirv, GL_ARB_gpu_shader5, GL_ARB_gpu_shader_fp64, GL_ARB_gpu_shader_int64, GL_ARB_half_float_pixel, GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_indirect_parameters, GL_ARB_instanced_arrays, GL_ARB_internalformat_query, GL_ARB_internalformat_query2, GL_ARB_invalidate_subdata, GL_ARB_map_buffer_alignment, GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_occlusion_query2, GL_ARB_parallel_shader_compile, GL_ARB_pipeline_statistics_query, GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_polygon_offset_clamp, GL_ARB_post_depth_coverage, GL_ARB_program_interface_query, GL_ARB_provoking_vertex, GL_ARB_query_buffer_object, GL_ARB_robust_buffer_access_behavior, GL_ARB_robustness, GL_ARB_sample_locations, GL_ARB_sample_shading, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map, GL_ARB_seamless_cubemap_per_texture, GL_ARB_separate_shader_objects, GL_ARB_shader_atomic_counter_ops, GL_ARB_shader_atomic_counters, GL_ARB_shader_ballot, GL_ARB_shader_bit_encoding, GL_ARB_shader_clock, GL_ARB_shader_draw_parameters, GL_ARB_shader_group_vote, GL_ARB_shader_image_load_store, GL_ARB_shader_image_size, GL_ARB_shader_objects, GL_ARB_shader_precision, GL_ARB_shader_storage_buffer_object, GL_ARB_shader_subroutine, GL_ARB_shader_texture_image_samples, GL_ARB_shader_texture_lod, GL_ARB_shading_language_100, GL_ARB_shader_viewport_layer_array, GL_ARB_shading_language_420pack, GL_ARB_shading_language_include, GL_ARB_shading_language_packing, GL_ARB_shadow, GL_ARB_sparse_buffer, GL_ARB_sparse_texture, GL_ARB_sparse_texture2, GL_ARB_sparse_texture_clamp, GL_ARB_spirv_extensions, GL_ARB_stencil_texturing, GL_ARB_sync, GL_ARB_tessellation_shader, GL_ARB_texture_barrier, GL_ARB_texture_border_clamp, GL_ARB_texture_buffer_object, GL_ARB_texture_buffer_object_rgb32, GL_ARB_texture_buffer_range, GL_ARB_texture_compression, GL_ARB_texture_compression_bptc, GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map, GL_ARB_texture_cube_map_array, GL_ARB_texture_env_add, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, GL_ARB_texture_filter_anisotropic, GL_ARB_texture_filter_minmax, GL_ARB_texture_float, GL_ARB_texture_gather, GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two, GL_ARB_texture_query_levels, GL_ARB_texture_query_lod, GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui, GL_ARB_texture_stencil8, GL_ARB_texture_storage, GL_ARB_texture_storage_multisample, GL_ARB_texture_swizzle, GL_ARB_texture_view, GL_ARB_timer_query, GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced, GL_ARB_transform_feedback_overflow_query, GL_ARB_transpose_matrix, GL_ARB_uniform_buffer_object, GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object, GL_ARB_vertex_attrib_64bit, GL_ARB_vertex_attrib_binding, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_viewport_array, GL_ARB_window_pos, GL_ATI_draw_buffers, GL_ATI_texture_float, GL_ATI_texture_mirror_once, GL_S3_s3tc, GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_bindable_uniform, GL_EXT_blend_color, GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, GL_EXT_Cg_shader, GL_EXT_depth_bounds_test, GL_EXT_direct_state_access, GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample, GL_EXTX_framebuffer_mixed_formats, GL_EXT_framebuffer_multisample_blit_scaled, GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB, GL_EXT_geometry_shader4, GL_EXT_gpu_program_parameters, GL_EXT_gpu_shader4, GL_EXT_multi_draw_arrays, GL_EXT_multiview_texture_multisample, GL_EXT_multiview_timer_query, GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, GL_EXT_polygon_offset_clamp, GL_EXT_post_depth_coverage, GL_EXT_provoking_vertex, GL_EXT_raster_multisample, GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_separate_shader_objects, GL_EXT_separate_specular_color, GL_EXT_shader_image_load_formatted, GL_EXT_shader_image_load_store, GL_EXT_shader_integer_mix, GL_EXT_shadow_funcs, GL_EXT_sparse_texture2, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_texture3D, GL_EXT_texture_array, GL_EXT_texture_buffer_object, GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_latc, GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic, GL_EXT_texture_filter_minmax, GL_EXT_texture_integer, GL_EXT_texture_lod, GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_shadow_lod, GL_EXT_texture_shared_exponent, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_R8, GL_EXT_texture_sRGB_decode, GL_EXT_texture_storage, GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_transform_feedback2, GL_EXT_vertex_array, GL_EXT_vertex_array_bgra, GL_EXT_vertex_attrib_64bit, GL_EXT_window_rectangles, GL_EXT_import_sync_object, GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat, GL_KHR_context_flush_control, GL_KHR_debug, GL_EXT_memory_object, GL_EXT_memory_object_win32, GL_NV_memory_object_sparse, GL_EXT_win32_keyed_mutex, GL_KHR_parallel_shader_compile, GL_KHR_no_error, GL_KHR_robust_buffer_access_behavior, GL_KHR_robustness, GL_EXT_semaphore, GL_EXT_semaphore_win32, GL_NV_timeline_semaphore, GL_KHR_shader_subgroup, GL_KTX_buffer_region, GL_NV_alpha_to_coverage_dither_control, GL_NV_bindless_multi_draw_indirect, GL_NV_bindless_multi_draw_indirect_count, GL_NV_bindless_texture, GL_NV_blend_equation_advanced, GL_NV_blend_equation_advanced_coherent, GL_NVX_blend_equation_advanced_multi_draw_buffers, GL_NV_blend_minmax_factor, GL_NV_blend_square, GL_NV_clip_space_w_scaling, GL_NV_command_list, GL_NV_compute_program5, GL_NV_conditional_render, GL_NV_conservative_raster, GL_NV_conservative_raster_dilate, GL_NV_conservative_raster_pre_snap_triangles, GL_NV_copy_depth_to_color, GL_NV_copy_image, GL_NV_depth_buffer_float, GL_NV_depth_clamp, GL_NV_draw_texture, GL_NV_draw_vulkan_image, GL_NV_ES1_1_compatibility, GL_NV_ES3_1_compatibility, GL_NV_explicit_multisample, GL_NV_feature_query, GL_NV_fence, GL_NV_fill_rectangle, GL_NV_float_buffer, GL_NV_fog_distance, GL_NV_fragment_coverage_to_color, GL_NV_fragment_program, GL_NV_fragment_program_option, GL_NV_fragment_program2, GL_NV_fragment_shader_interlock, GL_NV_framebuffer_mixed_samples, GL_NV_framebuffer_multisample_coverage, GL_NV_geometry_shader4, GL_NV_geometry_shader_passthrough, GL_NV_gpu_program4, GL_NV_internalformat_sample_query, GL_NV_gpu_program4_1, GL_NV_gpu_program5, GL_NV_gpu_program5_mem_extended, GL_NV_gpu_program_fp64, GL_NV_gpu_program_multiview, GL_NV_gpu_shader5, GL_NV_half_float, GL_NV_light_max_exponent, GL_NV_memory_attachment, GL_NV_multisample_coverage, GL_NV_multisample_filter_hint, GL_NV_occlusion_query, GL_NV_packed_depth_stencil, GL_NV_parameter_buffer_object, GL_NV_parameter_buffer_object2, GL_NV_path_rendering, GL_NV_path_rendering_shared_edge, GL_NV_pixel_data_range, GL_NV_point_sprite, GL_NV_primitive_restart, GL_NV_query_resource, GL_NV_query_resource_tag, GL_NV_register_combiners, GL_NV_register_combiners2, GL_NV_sample_locations, GL_NV_sample_mask_override_coverage, GL_NV_shader_atomic_counters, GL_NV_shader_atomic_float, GL_NV_shader_atomic_float64, GL_NV_shader_atomic_fp16_vector, GL_NV_shader_atomic_int64, GL_NV_shader_buffer_load, GL_NV_shader_storage_buffer_object, GL_NV_shader_subgroup_partitioned, GL_NV_stereo_view_rendering, GL_NV_texgen_reflection, GL_NV_texture_barrier, GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4, GL_NV_texture_multisample, GL_NV_texture_rectangle, GL_NV_texture_rectangle_compressed, GL_NV_texture_shader, GL_NV_texture_shader2, GL_NV_texture_shader3, GL_NV_transform_feedback, GL_NV_transform_feedback2, GL_NV_uniform_buffer_unified_memory, GL_NV_uniform_buffer_std430_layout, GL_NV_vertex_array_range, GL_NV_vertex_array_range2, GL_NV_vertex_attrib_integer_64bit, GL_NV_vertex_buffer_unified_memory, GL_NV_vertex_program, GL_NV_vertex_program1_1, GL_NV_vertex_program2, GL_NV_vertex_program2_option, GL_NV_vertex_program3, GL_NV_viewport_array2, GL_NV_viewport_swizzle, GL_NVX_conditional_render, GL_NVX_linked_gpu_multicast, GL_NV_gpu_multicast, GL_NVX_gpu_multicast2, GL_NVX_progress_fence, GL_NVX_gpu_memory_info, GL_NVX_multigpu_info, GL_NVX_nvenc_interop, GL_NV_shader_thread_group, GL_NV_shader_thread_shuffle, GL_KHR_blend_equation_advanced, GL_KHR_blend_equation_advanced_coherent, GL_OVR_multiview, GL_OVR_multiview2, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow, GL_SUN_slice_accum, GL_WIN_swap_hint, WGL_EXT_swap_control.

[WGL] OpenGL (software) vendor string: Microsoft Corporation [WGL] OpenGL (software) renderer string: GDI Generic [WGL] OpenGL (software) version string: 1.1.0 [WGL] OpenGL (software) extensions: GL_WIN_swap_hint, GL_EXT_bgra, GL_EXT_paletted_texture.

[WGL] 220 WGL Visuals visual x bf lv rg d st r g b a ax dp st accum buffs ms id dep cl sp sz l ci b ro sz sz sz sz bf th cl r g b a ns b

0x001 32 wn . 32 . r . . 8 8 8 . 4 24 . 16 16 16 16 . . 0x002 32 wn . 32 . r . . 8 8 8 8 4 24 . 16 16 16 16 . . 0x003 32 wn . 32 . r . . 8 8 8 . 4 24 8 16 16 16 16 . . 0x004 32 wn . 32 . r . . 8 8 8 8 4 24 8 16 16 16 16 . . 0x005 32 wn . 32 . r . . 8 8 8 . 4 . . 16 16 16 16 . . 0x006 32 wn . 32 . r . . 8 8 8 8 4 . . 16 16 16 16 . . 0x007 32 wn . 32 . r . . 8 8 8 . 4 . 8 16 16 16 16 . . 0x008 32 wn . 32 . r . . 8 8 8 8 4 . 8 16 16 16 16 . . 0x009 32 wn . 32 . r y . 8 8 8 . 4 24 . 16 16 16 16 . . 0x00a 32 wn . 32 . r y . 8 8 8 8 4 24 . 16 16 16 16 . . 0x00b 32 wn . 32 . r y . 8 8 8 . 4 24 8 16 16 16 16 . . 0x00c 32 wn . 32 . r y . 8 8 8 8 4 24 8 16 16 16 16 . . 0x00d 32 wn . 32 . r y . 8 8 8 . 4 . . 16 16 16 16 . . 0x00e 32 wn . 32 . r y . 8 8 8 8 4 . . 16 16 16 16 . . 0x00f 32 wn . 32 . r y . 8 8 8 . 4 . 8 16 16 16 16 . . 0x010 32 wn . 32 . r y . 8 8 8 8 4 . 8 16 16 16 16 . . 0x011 32 wn . 32 . r y . 8 8 8 . 4 24 . 16 16 16 16 . . 0x012 32 wn . 32 . r y . 8 8 8 8 4 24 . 16 16 16 16 . . 0x013 32 wn . 32 . r y . 8 8 8 . 4 24 8 16 16 16 16 . . 0x014 32 wn . 32 . r y . 8 8 8 8 4 24 8 16 16 16 16 . . 0x015 32 wn . 32 . r y . 8 8 8 . 4 . . 16 16 16 16 . . 0x016 32 wn . 32 . r y . 8 8 8 8 4 . . 16 16 16 16 . . 0x017 32 wn . 32 . r y . 8 8 8 . 4 . 8 16 16 16 16 . . 0x018 32 wn . 32 . r y . 8 8 8 8 4 . 8 16 16 16 16 . . 0x059 64 wn . 64 . r y . 16 16 16 16 4 24 . . . . . . . 0x05a 64 wn . 64 . r y . 16 16 16 16 4 24 8 . . . . . . 0x05b 64 wn . 64 . r y . 16 16 16 16 4 . . . . . . . . 0x05c 64 wn . 64 . r y . 16 16 16 16 4 . 8 . . . . . . 0x05d 64 wn . 64 . r y . 16 16 16 16 4 24 . . . . . . . 0x05e 64 wn . 64 . r y . 16 16 16 16 4 24 8 . . . . . . 0x05f 64 wn . 64 . r y . 16 16 16 16 4 . . . . . . . . 0x060 64 wn . 64 . r y . 16 16 16 16 4 . 8 . . . . . . 0x061 32 wn . 32 . r . . 8 8 8 . 4 24 . 16 16 16 16 . . 0x062 32 wn . 32 . r . . 8 8 8 8 4 24 . 16 16 16 16 . . 0x063 32 wn . 32 . r . . 8 8 8 . 4 24 8 16 16 16 16 . . 0x064 32 wn . 32 . r . . 8 8 8 8 4 24 8 16 16 16 16 . . 0x065 32 wn . 32 . r . . 8 8 8 . 4 . . 16 16 16 16 . . 0x066 32 wn . 32 . r . . 8 8 8 8 4 . . 16 16 16 16 . . 0x067 32 wn . 32 . r . . 8 8 8 . 4 . 8 16 16 16 16 . . 0x068 32 wn . 32 . r . . 8 8 8 8 4 . 8 16 16 16 16 . . 0x069 32 wn . 32 . r y . 8 8 8 . 4 24 . 16 16 16 16 . . 0x06a 32 wn . 32 . r y . 8 8 8 8 4 24 . 16 16 16 16 . . 0x06b 32 wn . 32 . r y . 8 8 8 . 4 24 8 16 16 16 16 . . 0x06c 32 wn . 32 . r y . 8 8 8 8 4 24 8 16 16 16 16 . . 0x06d 32 wn . 32 . r y . 8 8 8 . 4 . . 16 16 16 16 . . 0x06e 32 wn . 32 . r y . 8 8 8 8 4 . . 16 16 16 16 . . 0x06f 32 wn . 32 . r y . 8 8 8 . 4 . 8 16 16 16 16 . . 0x070 32 wn . 32 . r y . 8 8 8 8 4 . 8 16 16 16 16 . . 0x071 32 wn . 32 . r y . 8 8 8 . 4 24 . 16 16 16 16 . . 0x072 32 wn . 32 . r y . 8 8 8 8 4 24 . 16 16 16 16 . . 0x073 32 wn . 32 . r y . 8 8 8 . 4 24 8 16 16 16 16 . . 0x074 32 wn . 32 . r y . 8 8 8 8 4 24 8 16 16 16 16 . . 0x075 32 wn . 32 . r y . 8 8 8 . 4 . . 16 16 16 16 . . 0x076 32 wn . 32 . r y . 8 8 8 8 4 . . 16 16 16 16 . . 0x077 32 wn . 32 . r y . 8 8 8 . 4 . 8 16 16 16 16 . . 0x078 32 wn . 32 . r y . 8 8 8 8 4 . 8 16 16 16 16 . . 0x0b9 32 wn . 32 . r . . 8 8 8 . . 32 8 16 16 16 . . . 0x0ba 32 wn . 32 . r . . 8 8 8 . . 16 8 16 16 16 . . . 0x0bb 32 wn . 32 . r y . 8 8 8 . . 32 8 16 16 16 . . . 0x0bc 32 wn . 32 . r y . 8 8 8 . . 16 8 16 16 16 . . . 0x0bd 32 wn . 32 . r . . 8 8 8 8 . 32 8 16 16 16 16 . . 0x0be 32 wn . 32 . r . . 8 8 8 8 . 16 8 16 16 16 16 . . 0x0bf 32 wn . 32 . r y . 8 8 8 8 . 32 8 16 16 16 16 . . 0x0c0 32 wn . 32 . r y . 8 8 8 8 . 16 8 16 16 16 16 . . 0x0c1 32 wn . 32 . c . . . . . . . 32 8 . . . . . . 0x0c2 32 wn . 32 . c . . . . . . . 16 8 . . . . . . 0x0c3 32 wn . 32 . c y . . . . . . 32 8 . . . . . . 0x0c4 32 wn . 32 . c y . . . . . . 16 8 . . . . . . 0x0c5 24 bm . 24 . r . . 8 8 8 . . 32 8 16 16 16 . . . 0x0c6 24 bm . 24 . r . . 8 8 8 . . 16 8 16 16 16 . . . 0x0c7 24 bm . 24 . r . . 8 8 8 8 . 32 8 16 16 16 16 . . 0x0c8 24 bm . 24 . r . . 8 8 8 8 . 16 8 16 16 16 16 . . 0x0c9 24 bm . 24 . c . . . . . . . 32 8 . . . . . . 0x0ca 24 bm . 24 . c . . . . . . . 16 8 . . . . . . 0x0cb 16 bm . 16 . r . . 5 5 5 . . 32 8 11 11 10 . . . 0x0cc 16 bm . 16 . r . . 5 5 5 . . 16 8 11 11 10 . . . 0x0cd 16 bm . 16 . r . . 5 5 5 8 . 32 8 8 8 8 8 . . 0x0ce 16 bm . 16 . r . . 5 5 5 8 . 16 8 8 8 8 8 . . 0x0cf 16 bm . 16 . c . . . . . . . 32 8 . . . . . . 0x0d0 16 bm . 16 . c . . . . . . . 16 8 . . . . . . 0x0d1 8 bm . 8 . r . . 3 3 2 . . 32 8 11 11 10 . . . 0x0d2 8 bm . 8 . r . . 3 3 2 . . 16 8 11 11 10 . . . 0x0d3 8 bm . 8 . r . . 3 3 2 8 . 32 8 8 8 8 8 . . 0x0d4 8 bm . 8 . r . . 3 3 2 8 . 16 8 8 8 8 8 . . 0x0d5 8 bm . 8 . c . . . . . . . 32 8 . . . . . . 0x0d6 8 bm . 8 . c . . . . . . . 16 8 . . . . . . 0x0d7 4 bm . 4 . r . . 1 1 1 . . 32 8 5 6 5 . . . 0x0d8 4 bm . 4 . r . . 1 1 1 . . 16 8 5 6 5 . . . 0x0d9 4 bm . 4 . r . . 1 1 1 8 . 32 8 4 4 4 4 . . 0x0da 4 bm . 4 . r . . 1 1 1 8 . 16 8 4 4 4 4 . . 0x0db 4 bm . 4 . c . . . . . . . 32 8 . . . . . . 0x0dc 4 bm . 4 . c . . . . . . . 16 8 . . . . . .

visual  x  bf lv rg d st  r  g  b a  ax dp st accum buffs  ms

id dep cl sp sz l ci b ro sz sz sz sz bf th cl r g b a ns b

AdrianoDiDio commented 2 days ago

Thanks for the feedback, I'm sorry but at this point I'm not sure what the problem could be, since the OpenGL version seems correct and supported. I've also tested on a virtual machine, where I managed to obtain the same symptoms but it was due to an old OpenGL version, after updating it (using mesa library) I was able to get it up and running. Out of curiosity I'd build the project by editing just MOHLevelViewer/CmakeList.txt and commenting out line 34 (target_link_options(${PROJECT_NAME} PRIVATE -mwindows)), after building it you can try to launch (MOHLevelViewer.exe) using mingw's command line in order to get some debug logs (remember to configure and compile it in debug mode). To compile it in debug mode run the following commands: mkdir Debug cmake -B Debug -DENABLE_PVS_STUDIO_ANALYZER=Off -DCMAKE_BUILD_TYPE=Debug cmake --build Debg --parallel If, however, the crash is related to any OpenGL function then there is nothing I can do, since I'm not able to replicate it. Let me know.

OneRegularUser commented 1 day ago

I compile it in debug mode and try to run MOHLevelViewer.exe using mingw's command line. It recognised file and try launch, but then nothing and no logs. Maybe it personal problem with my system. I wanted to use these tools to extract and converted characters (enemies, vehicles etc.) and player weapons with animations, textures, sounds from both games in format that can be opened in Blender or Noesis. Maybe you already extracted something. If so, can you upload them in some filehost please?

*Edit. Here log of compile.

*****@DESKTOP-G10CGH9 MINGW64 ~

cd D:\MOH

*****@DESKTOP-G10CGH9 MINGW64 /d/MOH

mkdir Debug

*****@DESKTOP-G10CGH9 MINGW64 /d/MOH

cmake -B Debug -DENABLE_PVS_STUDIO_ANALYZER=Off -DCMAKE_BUILD_TYPE=Debug

-- Building for: Ninja -- The C compiler identification is GNU 13.2.0 -- The CXX compiler identification is GNU 13.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: D:/Progs/Msys2/mingw64/bin/cc.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: D:/Progs/Msys2/mingw64/bin/c++.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenGL: opengl32 CMake Deprecation Warning at libs/libsamplerate/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at libs/libsamplerate/CMakeLists.txt:16 (cmake_policy): The OLD behavior for policy CMP0091 will be removed from a future version of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.

-- Looking for stdbool.h -- Looking for stdbool.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Found PkgConfig: D:/Progs/Msys2/mingw64/bin/pkg-config.exe (found version "2.2.0") -- Checking for module 'sndfile' -- Package 'sndfile' not found -- Checking processor clipping capabilities... -- Performing Test CPU_CLIPS_POSITIVE -- Performing Test CPU_CLIPS_POSITIVE - Failed -- Performing Test CPU_CLIPS_NEGATIVE -- Performing Test CPU_CLIPS_NEGATIVE - Success -- Checking processor clipping capabilities... negative -- Performing Test HAVE_VISIBILITY -- Performing Test HAVE_VISIBILITY - Failed -- Looking for sys/times.h -- Looking for sys/times.h - not found -- Looking for alarm -- Looking for alarm - found -- Looking for signal -- Looking for signal - found -- Looking for SIGALRM -- Looking for SIGALRM - not found -- Checking for module 'fftw3' -- Package 'fftw3' not found CMake Deprecation Warning at libs/SDL/CMakeLists.txt:5 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Looking for GLIBC -- Looking for GLIBC - not found -- Performing Test HAVE_GCC_WALL -- Performing Test HAVE_GCC_WALL - Success -- Performing Test HAVE_GCC_NO_STRICT_ALIASING -- Performing Test HAVE_GCC_NO_STRICT_ALIASING - Success -- Performing Test HAVE_GCC_WDECLARATION_AFTER_STATEMENT -- Performing Test HAVE_GCC_WDECLARATION_AFTER_STATEMENT - Success -- Performing Test HAVE_GCC_ATOMICS -- Performing Test HAVE_GCC_ATOMICS - Success -- Performing Test HAVE_GCC_PREFERRED_STACK_BOUNDARY -- Performing Test HAVE_GCC_PREFERRED_STACK_BOUNDARY - Failed -- Performing Test HAVE_GCC_FVISIBILITY -- Performing Test HAVE_GCC_FVISIBILITY - Success -- Performing Test HAVE_GCC_WSHADOW -- Performing Test HAVE_GCC_WSHADOW - Success -- Performing Test HAVE_NO_UNDEFINED -- Performing Test HAVE_NO_UNDEFINED - Success -- Performing Test HAVE_GDWARF_4 -- Performing Test HAVE_GDWARF_4 - Success -- Performing Test HAVE_MMX -- Performing Test HAVE_MMX - Success -- Performing Test HAVE_3DNOW -- Performing Test HAVE_3DNOW - Success -- Performing Test HAVE_SSE -- Performing Test HAVE_SSE - Success -- Performing Test HAVE_SSE2 -- Performing Test HAVE_SSE2 - Success -- Performing Test HAVE_SSE3 -- Performing Test HAVE_SSE3 - Success -- Looking for immintrin.h -- Looking for immintrin.h - found -- Performing Test HAVE_ALTIVEC_H_HDR -- Performing Test HAVE_ALTIVEC_H_HDR - Failed -- Performing Test HAVE_ALTIVEC -- Performing Test HAVE_ALTIVEC - Failed -- Looking for ctype.h -- Looking for ctype.h - found -- Looking for float.h -- Looking for float.h - found -- Looking for iconv.h -- Looking for iconv.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for math.h -- Looking for math.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stdio.h -- Looking for stdio.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for wchar.h -- Looking for wchar.h - found -- Looking for libunwind.h -- Looking for libunwind.h - not found -- Looking for linux/input.h -- Looking for linux/input.h - not found -- Looking for 7 include files stddef.h, ..., float.h -- Looking for 7 include files stddef.h, ..., float.h - found -- Looking for M_PI -- Looking for M_PI - found -- Performing Test HAVE_MPROTECT -- Performing Test HAVE_MPROTECT - Failed -- Looking for strtod -- Looking for strtod - found -- Looking for malloc -- Looking for malloc - found -- Looking for calloc -- Looking for calloc - found -- Looking for realloc -- Looking for realloc - found -- Looking for free -- Looking for free - found -- Looking for getenv -- Looking for getenv - found -- Looking for setenv -- Looking for setenv - not found -- Looking for putenv -- Looking for putenv - found -- Looking for unsetenv -- Looking for unsetenv - not found -- Looking for bsearch -- Looking for bsearch - found -- Looking for qsort -- Looking for qsort - found -- Looking for abs -- Looking for abs - found -- Looking for bcopy -- Looking for bcopy - not found -- Looking for memset -- Looking for memset - found -- Looking for memcpy -- Looking for memcpy - found -- Looking for memmove -- Looking for memmove - found -- Looking for memcmp -- Looking for memcmp - found -- Looking for strlen -- Looking for strlen - found -- Looking for strlcpy -- Looking for strlcpy - not found -- Looking for strlcat -- Looking for strlcat - not found -- Looking for _strrev -- Looking for _strrev - found -- Looking for _strupr -- Looking for _strupr - found -- Looking for _strlwr -- Looking for _strlwr - found -- Looking for index -- Looking for index - not found -- Looking for rindex -- Looking for rindex - not found -- Looking for strchr -- Looking for strchr - found -- Looking for strrchr -- Looking for strrchr - found -- Looking for strstr -- Looking for strstr - found -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for itoa -- Looking for itoa - found -- Looking for _ltoa -- Looking for _ltoa - found -- Looking for _uitoa -- Looking for _uitoa - not found -- Looking for _ultoa -- Looking for _ultoa - found -- Looking for strtol -- Looking for strtol - found -- Looking for strtoul -- Looking for strtoul - found -- Looking for _i64toa -- Looking for _i64toa - found -- Looking for _ui64toa -- Looking for _ui64toa - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for atoi -- Looking for atoi - not found -- Looking for atof -- Looking for atof - found -- Looking for strcmp -- Looking for strcmp - found -- Looking for strncmp -- Looking for strncmp - found -- Looking for _stricmp -- Looking for _stricmp - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for _strnicmp -- Looking for _strnicmp - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for strcasestr -- Looking for strcasestr - not found -- Looking for wcscmp -- Looking for wcscmp - found -- Looking for _wcsdup -- Looking for _wcsdup - found -- Looking for wcsdup -- Looking for wcsdup - found -- Looking for wcslcat -- Looking for wcslcat - not found -- Looking for wcslcpy -- Looking for wcslcpy - not found -- Looking for wcslen -- Looking for wcslen - found -- Looking for wcsncmp -- Looking for wcsncmp - found -- Looking for wcsstr -- Looking for wcsstr - found -- Looking for wcscasecmp -- Looking for wcscasecmp - not found -- Looking for _wcsicmp -- Looking for _wcsicmp - found -- Looking for wcsncasecmp -- Looking for wcsncasecmp - not found -- Looking for _wcsnicmp -- Looking for _wcsnicmp - found -- Looking for sscanf -- Looking for sscanf - found -- Looking for vsscanf -- Looking for vsscanf - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for fopen64 -- Looking for fopen64 - found -- Looking for fseeko -- Looking for fseeko - found -- Looking for fseeko64 -- Looking for fseeko64 - found -- Looking for _Exit -- Looking for _Exit - found -- Looking for sigaction -- Looking for sigaction - not found -- Looking for setjmp -- Looking for setjmp - found -- Looking for nanosleep -- Looking for nanosleep - found -- Looking for sysconf -- Looking for sysconf - not found -- Looking for sysctlbyname -- Looking for sysctlbyname - not found -- Looking for getauxval -- Looking for getauxval - not found -- Looking for elf_aux_info -- Looking for elf_aux_info - not found -- Looking for poll -- Looking for poll - not found -- Looking for pow in m -- Looking for pow in m - found -- Looking for atan -- Looking for atan - found -- Looking for atan2 -- Looking for atan2 - found -- Looking for atanf -- Looking for atanf - found -- Looking for atan2f -- Looking for atan2f - found -- Looking for ceil -- Looking for ceil - found -- Looking for ceilf -- Looking for ceilf - found -- Looking for copysign -- Looking for copysign - found -- Looking for copysignf -- Looking for copysignf - found -- Looking for cos -- Looking for cos - found -- Looking for cosf -- Looking for cosf - found -- Looking for exp -- Looking for exp - found -- Looking for expf -- Looking for expf - found -- Looking for fabs -- Looking for fabs - found -- Looking for fabsf -- Looking for fabsf - found -- Looking for floor -- Looking for floor - found -- Looking for floorf -- Looking for floorf - found -- Looking for fmod -- Looking for fmod - found -- Looking for fmodf -- Looking for fmodf - found -- Looking for log -- Looking for log - found -- Looking for logf -- Looking for logf - found -- Looking for log10 -- Looking for log10 - found -- Looking for log10f -- Looking for log10f - found -- Looking for lround -- Looking for lround - found -- Looking for lroundf -- Looking for lroundf - found -- Looking for pow -- Looking for pow - found -- Looking for powf -- Looking for powf - found -- Looking for round -- Looking for round - found -- Looking for roundf -- Looking for roundf - found -- Looking for scalbn -- Looking for scalbn - found -- Looking for scalbnf -- Looking for scalbnf - found -- Looking for sin -- Looking for sin - found -- Looking for sinf -- Looking for sinf - found -- Looking for sqrt -- Looking for sqrt - found -- Looking for sqrtf -- Looking for sqrtf - found -- Looking for tan -- Looking for tan - found -- Looking for tanf -- Looking for tanf - found -- Looking for acos -- Looking for acos - found -- Looking for acosf -- Looking for acosf - found -- Looking for asin -- Looking for asin - found -- Looking for asinf -- Looking for asinf - found -- Looking for trunc -- Looking for trunc - found -- Looking for truncf -- Looking for truncf - found -- Looking for iconv_open in iconv -- Looking for iconv_open in iconv - not found -- Looking for iconv_open in c -- Looking for iconv_open in c - not found -- Looking for alloca.h -- Looking for alloca.h - not found -- Looking for alloca -- Looking for alloca - not found -- Looking for alloca -- Looking for alloca - found -- Looking for alloca -- Looking for alloca - found -- Performing Test HAVE_SA_SIGACTION -- Performing Test HAVE_SA_SIGACTION - Failed -- Performing Test HAVE_WIN32_CC -- Performing Test HAVE_WIN32_CC - Success -- Looking for d3d9.h -- Looking for d3d9.h - found -- Looking for d3d11_1.h -- Looking for d3d11_1.h - found -- Performing Test HAVE_D3D12_H -- Performing Test HAVE_D3D12_H - Success -- Looking for ddraw.h -- Looking for ddraw.h - found -- Looking for dsound.h -- Looking for dsound.h - found -- Looking for dinput.h -- Looking for dinput.h - found -- Looking for dxgi.h -- Looking for dxgi.h - found -- Performing Test HAVE_XINPUT_H -- Performing Test HAVE_XINPUT_H - Success -- Performing Test HAVE_XINPUT_GAMEPAD_EX -- Performing Test HAVE_XINPUT_GAMEPAD_EX - Failed -- Performing Test HAVE_XINPUT_STATE_EX -- Performing Test HAVE_XINPUT_STATE_EX - Failed -- Performing Test HAVE_WINDOWS_GAMING_INPUT_H -- Performing Test HAVE_WINDOWS_GAMING_INPUT_H - Success -- Looking for tpcshrd.h -- Looking for tpcshrd.h - found -- Looking for roapi.h -- Looking for roapi.h - found -- Looking for mmdeviceapi.h -- Looking for mmdeviceapi.h - found -- Looking for audioclient.h -- Looking for audioclient.h - found -- Looking for sensorsapi.h -- Looking for sensorsapi.h - found -- Looking for shellscalingapi.h -- Looking for shellscalingapi.h - found -- Could NOT find Git (missing: GIT_EXECUTABLE) CMake Deprecation Warning at libs/SDL/CMakeLists.txt:3147 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- -- SDL2 was configured with the following options:

-- Platform: Windows-10.0.19045 -- 64-bit: TRUE -- Compiler: D:/Progs/Msys2/mingw64/bin/cc.exe -- Revision: SDL-2.26.5-no-vcs

-- Subsystems: -- Atomic: ON -- Audio: ON -- Video: ON -- Render: ON -- Events: ON -- Joystick: ON -- Haptic: ON -- Hidapi: ON -- Power: ON -- Threads: ON -- Timers: ON -- File: ON -- Loadso: ON -- CPUinfo: ON -- Filesystem: ON -- Sensor: ON -- Locale: ON -- Misc: ON

-- Options: -- SDL2_DISABLE_INSTALL (Wanted: ON): OFF -- SDL2_DISABLE_SDL2MAIN (Wanted: OFF): OFF -- SDL2_DISABLE_UNINSTALL (Wanted: ON): OFF -- SDL_3DNOW (Wanted: ON): ON -- SDL_ALSA (Wanted: OFF): OFF -- SDL_ALSA_SHARED (Wanted: OFF): OFF -- SDL_ALTIVEC (Wanted: ON): OFF -- SDL_ARMNEON (Wanted: OFF): OFF -- SDL_ARMSIMD (Wanted: OFF): OFF -- SDL_ARTS (Wanted: OFF): OFF -- SDL_ARTS_SHARED (Wanted: OFF): OFF -- SDL_ASAN (Wanted: OFF): OFF -- SDL_ASSEMBLY (Wanted: ON): ON -- SDL_ASSERTIONS (Wanted: auto): auto -- SDL_BACKGROUNDING_SIGNAL (Wanted: OFF): OFF -- SDL_CCACHE (Wanted: ON): OFF -- SDL_CLOCK_GETTIME (Wanted: OFF): OFF -- SDL_COCOA (Wanted: OFF): OFF -- SDL_DBUS (Wanted: OFF): OFF -- SDL_DIRECTFB (Wanted: OFF): OFF -- SDL_DIRECTFB_SHARED (Wanted: OFF): OFF -- SDL_DIRECTX (Wanted: ON): ON -- SDL_DISKAUDIO (Wanted: ON): ON -- SDL_DUMMYAUDIO (Wanted: ON): ON -- SDL_DUMMYVIDEO (Wanted: ON): ON -- SDL_ESD (Wanted: OFF): OFF -- SDL_ESD_SHARED (Wanted: OFF): OFF -- SDL_FOREGROUNDING_SIGNAL (Wanted: OFF): OFF -- SDL_FUSIONSOUND (Wanted: OFF): OFF -- SDL_FUSIONSOUND_SHARED (Wanted: OFF): OFF -- SDL_GCC_ATOMICS (Wanted: ON): ON -- SDL_HIDAPI (Wanted: ON): ON -- SDL_HIDAPI_JOYSTICK (Wanted: ON): ON -- SDL_HIDAPI_LIBUSB (Wanted: OFF): OFF -- SDL_IBUS (Wanted: OFF): OFF -- SDL_INSTALL_TESTS (Wanted: OFF): OFF -- SDL_JACK (Wanted: OFF): OFF -- SDL_JACK_SHARED (Wanted: OFF): OFF -- SDL_KMSDRM (Wanted: OFF): OFF -- SDL_KMSDRM_SHARED (Wanted: OFF): OFF -- SDL_LIBC (Wanted: ON): ON -- SDL_LIBSAMPLERATE (Wanted: OFF): OFF -- SDL_LIBSAMPLERATE_SHARED (Wanted: OFF): OFF -- SDL_METAL (Wanted: OFF): OFF -- SDL_MMX (Wanted: ON): ON -- SDL_NAS (Wanted: OFF): OFF -- SDL_NAS_SHARED (Wanted: OFF): OFF -- SDL_OFFSCREEN (Wanted: ON): ON -- SDL_OPENGL (Wanted: ON): ON -- SDL_OPENGLES (Wanted: ON): ON -- SDL_OSS (Wanted: OFF): OFF -- SDL_PIPEWIRE (Wanted: OFF): OFF -- SDL_PIPEWIRE_SHARED (Wanted: OFF): OFF -- SDL_PTHREADS (Wanted: OFF): OFF -- SDL_PTHREADS_SEM (Wanted: OFF): OFF -- SDL_PULSEAUDIO (Wanted: OFF): OFF -- SDL_PULSEAUDIO_SHARED (Wanted: OFF): OFF -- SDL_RENDER_D3D (Wanted: ON): ON -- SDL_RENDER_METAL (Wanted: OFF): OFF -- SDL_RPATH (Wanted: OFF): OFF -- SDL_RPI (Wanted: OFF): OFF -- SDL_SNDIO (Wanted: OFF): OFF -- SDL_SNDIO_SHARED (Wanted: OFF): OFF -- SDL_SSE (Wanted: ON): ON -- SDL_SSE2 (Wanted: ON): ON -- SDL_SSE3 (Wanted: ON): ON -- SDL_SSEMATH (Wanted: ON): ON -- SDL_STATIC_PIC (Wanted: OFF): OFF -- SDL_SYSTEM_ICONV (Wanted: ON): OFF -- SDL_TESTS (Wanted: OFF): OFF -- SDL_VENDOR_INFO (Wanted: ): OFF -- SDL_VIRTUAL_JOYSTICK (Wanted: ON): ON -- SDL_VIVANTE (Wanted: OFF): OFF -- SDL_VULKAN (Wanted: ON): ON -- SDL_WASAPI (Wanted: ON): ON -- SDL_WAYLAND (Wanted: OFF): OFF -- SDL_WAYLAND_LIBDECOR (Wanted: OFF): OFF -- SDL_WAYLAND_LIBDECOR_SHARED (Wanted: OFF): OFF -- SDL_WAYLAND_QT_TOUCH (Wanted: OFF): OFF -- SDL_WAYLAND_SHARED (Wanted: OFF): OFF -- SDL_X11 (Wanted: OFF): OFF -- SDL_X11_SHARED (Wanted: OFF): OFF -- SDL_X11_XCURSOR (Wanted: OFF): OFF -- SDL_X11_XDBE (Wanted: OFF): OFF -- SDL_X11_XFIXES (Wanted: OFF): OFF -- SDL_X11_XINPUT (Wanted: OFF): OFF -- SDL_X11_XRANDR (Wanted: OFF): OFF -- SDL_X11_XSCRNSAVER (Wanted: OFF): OFF -- SDL_X11_XSHAPE (Wanted: OFF): OFF -- SDL_XINPUT (Wanted: ON): ON

-- CMAKE_C_FLAGS_DEBUG: -g -gdwarf-4 -- CMAKE_CXX_FLAGS_DEBUG: -g -gdwarf-4

-- CFLAGS: -idirafter "D:/MOH/libs/SDL/src/video/khronos" -- EXTRA_CFLAGS: -Wall -fno-strict-aliasing -Wdeclaration-after-statement -fvisibility=hidden -Ws hadow -fdiagnostics-color=always -mmmx -m3dnow -msse -msse2 -msse3 -- EXTRA_LDFLAGS: -Wl,--no-undefined -- EXTRA_LIBS: m;user32;gdi32;winmm;imm32;ole32;oleaut32;version;uuid;advapi32;setupapi;shell32; dinput8

-- Build Shared Library: ON -- Build Static Library: ON -- Build Static Library with Position Independent Code: OFF

CMake Deprecation Warning at libs/glew-cmake/build/cmake/CMakeLists.txt:7 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at libs/zlib/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Check size of off64_t -- Check size of off64_t - done -- Looking for unistd.h -- Looking for unistd.h - found CMake Deprecation Warning at libs/libpng/CMakeLists.txt:24 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at libs/libpng/CMakeLists.txt:25 (cmake_policy): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- The ASM compiler identification is GNU -- Found assembler: D:/Progs/Msys2/mingw64/bin/cc.exe -- Found ZLIB: zlib -- Performing Test HAVE_LD_VERSION_SCRIPT -- Performing Test HAVE_LD_VERSION_SCRIPT - Failed -- Performing Test HAVE_SOLARIS_LD_VERSION_SCRIPT -- Performing Test HAVE_SOLARIS_LD_VERSION_SCRIPT - Failed -- Configuring done (90.6s) -- Generating done (0.3s) -- Build files have been written to: D:/MOH/Debug

*****@DESKTOP-G10CGH9 MINGW64 /d/MOH

cmake --build Debug --parallel

[334/386] Building C object src/Common/CMakeFiles/Common.dir/RSC.c.obj D:/MOH/src/Common/RSC.c: In function 'RSCOpen': D:/MOH/src/Common/RSC.c:81:19: warning: assignment discards 'const' qualifier from pointer target ty pe [-Wdiscarded-qualifiers] 81 for( Iterator = RSC; Iterator; Iterator = Iterator->Next ) { ^ D:/MOH/src/Common/RSC.c:82:41: warning: passing argument 2 of 'RSCSearch' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 EntryIndex = RSCSearch(Iterator,FileName); ^~~~ D:/MOH/src/Common/RSC.c:55:32: note: expected 'char ' but argument is of type 'const char ' 55 int RSCSearch(RSC_t RSC,char FileName) ~~^~~~ [343/386] Building C object src/Common/CMakeFiles/Common.dir/TIM.c.obj D:/MOH/src/Common/TIM.c: In function 'TIMLoadImage': D:/MOH/src/Common/TIM.c:597:24: warning: overflow in conversion from 'long long unsigned int' to 'lo ng int' changes value from '18446744073709551612' to '-4' [-Woverflow] 597 fseek(TIMImage,-sizeof(ResultImage->Header.Magic),SEEK_CUR); ^~~~~~~~~~ [352/386] Building C object src/MOHLevelViewer/CMakeFiles/MOHLevelViewer.dir/TSP.c.obj D:/MOH/src/MOHLevelViewer/TSP.c: In function 'TSPReadCollisionChunk': D:/MOH/src/MOHLevelViewer/TSP.c:2017:22: warning: overflow in conversion from 'long long unsigned in t' to 'long int' changes value from '18446744073709551614' to '-2' [-Woverflow] 2017 fseek(InFile,-sizeof(Pad),SEEK_CUR); ^~~~ D:/MOH/src/MOHLevelViewer/TSP.c: In function 'TSPLoad': D:/MOH/src/MOHLevelViewer/TSP.c:2321:36: warning: format '%li' expects argument of type 'long int', but argument 2 has type 'long long unsigned int' [-Wformat=] 2321 DPrintf("Sizeof TSPHeader is %li\n",sizeof(TSPHeader_t)); ^ ~~~~~
long long unsigned int
long int
%lli

[356/386] Building C object src/MOHLevelViewer/CMakeFiles/MOHLevelViewer.dir/BSD.c.obj D:/MOH/src/MOHLevelViewer/BSD.c: In function 'BSDReadPropertySetFile': D:/MOH/src/MOHLevelViewer/BSD.c:2383:51: warning: format '%li' expects argument of type 'long int', but argument 2 has type 'long long unsigned int' [-Wformat=] 2383 | DPrintf("BSDReadPropertySetFile:Reading %li bytes.\n",BSD->PropertySetFile.Property[ i].NumNodes * sizeof(unsigned short)); | ^ ~~~~~~~~

      |                                                   |
            |
      |                                                   long int
            long long unsigned int
      |                                                 %lli
D:/MOH/src/MOHLevelViewer/BSD.c: In function 'BSDLoad':
D:/MOH/src/MOHLevelViewer/BSD.c:2811:19: warning: overflow in conversion from 'long long unsigned in
t' to 'long int' changes value from '18446744073709551614' to '-2' [-Woverflow]
 2811 |     fseek(BSDFile,-sizeof(Number),SEEK_CUR);
      |                   ^~~~~~~~~~~~~~~
[365/386] Building C object src/MOHModelViewer/CMakeFiles/MOHModelViewer.dir/BSD.c.obj
D:/MOH/src/MOHModelViewer/BSD.c: In function 'BSDLoadAnimationData':
D:/MOH/src/MOHModelViewer/BSD.c:1408:74: warning: format '%li' expects argument of type 'long int',
but argument 3 has type 'long long unsigned int' [-Wformat=]
 1408 |             DPrintf("Reading animation definition at %li each entry is %li bytes\n",ftell(BS
DFile),sizeof(BSDAnimationFrame_t));
      |                                                                        ~~^
  |                                                                          |
   |
  |                                                                          long int
   long long unsigned int
  |                                                                        %lli
[366/386] Building C object src/RSCExtractor/CMakeFiles/RSCExtractor.dir/RSCExtractor.c.obj D:/MOH/src/RSCExtractor/RSCExtractor.c: In function 'main': D:/MOH/src/RSCExtractor/RSCExtractor.c:148:39: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'long long unsigned int' [-Wformat=] 148 printf("Dir Contains %i entries %li\n",Pack.NumEntry,sizeof(Pack.NumEntry)); ^ ~~~~~~~
long int long long unsigned int
%lli

[372/386] Building C object src/SSTViewer/CMakeFiles/SSTViewer.dir/GUI.c.obj D:/MOH/src/SSTViewer/GUI.c: In function 'GUIDrawDebugWindow': D:/MOH/src/SSTViewer/GUI.c:116:9: warning: unused variable 'IsSelected' [-Wunused-variable] 116 | int IsSelected; | ^~~~~~ D:/MOH/src/SSTViewer/GUI.c:115:9: warning: unused variable 'i' [-Wunused-variable] 115 | int i; | ^ D:/MOH/src/SSTViewer/GUI.c:114:9: warning: unused variable 'CurrentLengthSeconds' [-Wunused-variabl ] 114 | int CurrentLengthSeconds; | ^~~~~~~~ D:/MOH/src/SSTViewer/GUI.c:113:9: warning: unused variable 'CurrentLengthMinutes' [-Wunused-variabl ] 113 | int CurrentLengthMinutes; | ^~~~~~~~ D:/MOH/src/SSTViewer/GUI.c:112:9: warning: unused variable 'MaxLengthSeconds' [-Wunused-variable] 112 | int MaxLengthSeconds; | ^~~~ D:/MOH/src/SSTViewer/GUI.c:111:9: warning: unused variable 'MaxLengthMinutes' [-Wunused-variable] 111 | int MaxLengthMinutes; | ^~~~ D:/MOH/src/SSTViewer/GUI.c:108:12: warning: variable 'ZeroSize' set but not used [-Wunused-but-set-v ariable] 108 | ImVec2 ZeroSize; | ^~~~ D:/MOH/src/SSTViewer/GUI.c: In function 'GUIDrawDebugOverlay': D:/MOH/src/SSTViewer/GUI.c:202:10: warning: unused variable 'CameraPosition' [-Wunused-variable] 202 | vec3 CameraPosition; | ^~~~~~ D:/MOH/src/SSTViewer/GUI.c: In function 'GUIDrawScriptList': D:/MOH/src/SSTViewer/GUI.c:236:12: warning: variable 'ButtonSize' set but not used [-Wunused-but-set -variable] 236 | ImVec2 ButtonSize; | ^~~~~~ D:/MOH/src/SSTViewer/GUI.c:235:9: warning: variable 'CurrentLevel' set but not used [-Wunused-but-se t-variable] 235 | int CurrentLevel; | ^~~~ D:/MOH/src/SSTViewer/GUI.c:234:9: warning: variable 'CurrentMission' set but not used [-Wunused-but- set-variable] 234 | int CurrentMission; | ^~~~~~ D:/MOH/src/SSTViewer/GUI.c:233:9: warning: unused variable 'DisableNode' [-Wunused-variable] 233 | int DisableNode; | ^~~ D:/MOH/src/SSTViewer/GUI.c:232:9: warning: unused variable 'j' [-Wunused-variable] 232 | int j; | ^ D:/MOH/src/SSTViewer/GUI.c:231:9: warning: unused variable 'i' [-Wunused-variable] 231 | int i; | ^ D:/MOH/src/SSTViewer/GUI.c:228:16: warning: unused variable 'FailedLevelNumber' [-Wunused-variable] 228 | static int FailedLevelNumber = -1; | ^~~~~ D:/MOH/src/SSTViewer/GUI.c:227:16: warning: unused variable 'FailedMissionNumber' [-Wunused-variabl ] 227 | static int FailedMissionNumber = -1; | ^~~~~~~ [374/386] Building C object src/SSTViewer/CMakeFiles/SSTViewer.dir/SSTManager.c.obj D:/MOH/src/SSTViewer/SSTManager.c: In function 'SSTManagerOnAudioUpdate': D:/MOH/src/SSTViewer/SSTManager.c:96:17: warning: unused variable 'CurrentMusicAddress' [-Wunused-va riable] 96 | VBMusic_t *CurrentMusicAddress; | ^~~~~~~ D:/MOH/src/SSTViewer/SSTManager.c:94:19: warning: variable 'SSTManager' set but not used [-Wunused-b ut-set-variable] 94 | SSTManager_t SSTManager; | ^~~~~~ D:/MOH/src/SSTViewer/SSTManager.c:118:32: warning: 'CurrentMusic' is used uninitialized [-Wuninitial ized] 118 | ChunkLength = (CurrentMusic->Size - CurrentMusic->DataPointer); | ~~^~~~ D:/MOH/src/SSTViewer/SSTManager.c:95:16: note: 'CurrentMusic' was declared here 95 | VBMusic_t *CurrentMusic; | ^~~~ [379/386] Building C object src/GFXModelViewer/CMakeFiles/GFXModelViewer.dir/GUI.c.obj D:/MOH/src/GFXModelViewer/GUI.c: In function 'GUIDrawMainWindow': D:/MOH/src/GFXModelViewer/GUI.c:122:24: warning: variable 'TreeNodeFlags' set but not used [-Wunused -but-set-variable] 122 | ImGuiTreeNodeFlags TreeNodeFlags; | ^~~~~ D:/MOH/src/GFXModelViewer/GUI.c:121:25: warning: unused variable 'InputTextFlags' [-Wunused-variabl ] 121 | ImGuiInputTextFlags InputTextFlags; | ^~~~~~ D:/MOH/src/GFXModelViewer/GUI.c:120:21: warning: unused variable 'TableFlags' [-Wunused-variable] 120 | ImGuiTableFlags TableFlags; | ^~~~~~ D:/MOH/src/GFXModelViewer/GUI.c:119:9: warning: unused variable 'Changed' [-Wunused-variable] 119 | int Changed; | ^~~ D:/MOH/src/GFXModelViewer/GUI.c:117:10: warning: unused variable 'DeleteButtonId' [-Wunused-variabl ] 117 | char DeleteButtonId[32]; | ^~~~~~ D:/MOH/src/GFXModelViewer/GUI.c:115:9: warning: unused variable 'DisableNode' [-Wunused-variable] 115 | int DisableNode; | ^~~ [386/386] Linking CXX executable bin\SSTViewer\SSTViewer-Debug.exe

*****@DESKTOP-G10CGH9 MINGW64 /d/MOH

start /D/MOH/Debug/bin/MOHLevelViewer/MOHLevelViewer-Debug.exe

*****@DESKTOP-G10CGH9 MINGW64 /d/MOH

start /D/MOH/Debug/bin/MOHLevelViewer/MOHLevelViewer-Debug.exe

*****@DESKTOP-G10CGH9 MINGW64 /d/MOH

start /D/MOH/Debug/bin/MOHLevelViewer/MOHLevelViewer-Debug.exe

*****@DESKTOP-G10CGH9 MINGW64 /d/MOH #

AdrianoDiDio commented 11 hours ago

I'm sorry but for legal reason I'd rather not upload any asset since it is under copyright (hence the reason why this repository requires you to own the game in order to use it). Regarding your issue, if you want to see any debug output then you will have to remove that line on the MOHLevelViewer/CMakeList.txt (Line 34 - target_link_options(${PROJECT_NAME} PRIVATE -mwindows)),compile it and then run on mingw the following command: ./MOHLevelViewer-Debug.exe However I suspect, as said before, that there is a problem with your system/driver but since I'm not able to replicate it it's quite difficult to debug. I'll keep this issue open in case of any update from you...meanwhile I'll try to check what else could be causing the issue.