mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
b487cf2bcf
## Description of change When the game library fails to load, recursively iterate its import table to narrow down the missing library. If the dependency is a commonly missing one, give the user a hint on where to find it. ## Testing System with an AMD GPU and LDJ-010 IIDX: ``` [2025/10/01 00:32:41] M:dependencies: bm2dx.dll [2025/10/01 00:32:41] M:dependencies: |-- nvEncodeAPI64.dll [2025/10/01 00:32:41] W:dependencies: | |-- [!] NVIDIA Graphics Driver [2025/10/01 00:32:41] W:dependencies: | |-- For non-NVIDIA GPUs, copy the stub file from the spice2x release .zip. [2025/10/01 00:32:41] F:libutils: DLL failed to load - this is a common error. Please carefully read ALL of the following steps for a fix: ``` Same system, but with SDVX: ``` [2025/10/01 00:33:53] M:dependencies: soundvoltex.dll [2025/10/01 00:33:53] M:dependencies: |-- nvcuda.dll [2025/10/01 00:33:53] W:dependencies: | |-- [!] NVIDIA Graphics Driver [2025/10/01 00:33:53] W:dependencies: | |-- For non-NVIDIA GPUs, copy the stub file from the spice2x release .zip. [2025/10/01 00:33:53] M:dependencies: |-- nvcuvid.dll [2025/10/01 00:33:53] W:dependencies: | |-- [!] NVIDIA Graphics Driver [2025/10/01 00:33:53] W:dependencies: | |-- For non-NVIDIA GPUs, copy the stub file from the spice2x release .zip. [2025/10/01 00:33:53] F:libutils: DLL failed to load - this is a common error. Please carefully read ALL of the following steps for a fix: ``` Contrived example of a missing dependency of a dependency: ``` [2025/10/01 00:30:59] M:dependencies: bm2dx.dll [2025/10/01 00:30:59] M:dependencies: |-- libaio.dll [2025/10/01 00:30:59] W:dependencies: | |-- [!] The library could not be loaded. (126) [2025/10/01 00:30:59] M:dependencies: |-- libaio-iob.dll [2025/10/01 00:30:59] M:dependencies: | |-- libaio.dll [2025/10/01 00:30:59] M:dependencies: |-- libaio-iob2_video.dll [2025/10/01 00:30:59] M:dependencies: | |-- libaio.dll [2025/10/01 00:30:59] M:dependencies: | |-- libaio-iob.dll [2025/10/01 00:30:59] F:libutils: DLL failed to load - this is a common error. Please carefully read ALL of the following steps for a fix: ``` Another example of a missing file, but with 32-bit IIDX 24: ``` [2025/10/01 00:42:13] M:dependencies: bm2dx.dll [2025/10/01 00:42:13] M:dependencies: |-- libafp-win32.dll [2025/10/01 00:42:13] W:dependencies: | |-- [!] The library could not be loaded. (126) [2025/10/01 00:42:13] M:dependencies: |-- libafputils-win32.dll [2025/10/01 00:42:13] M:dependencies: | |-- libafp-win32.dll [2025/10/01 00:42:13] F:libutils: DLL failed to load - this is a common error. Please carefully read ALL of the following steps for a fix: ``` --------- Co-authored-by: aixxe <me@aixxe.net>
8 lines
171 B
C++
8 lines
171 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <filesystem>
|
|
|
|
namespace dependencies {
|
|
auto walk(const std::filesystem::path& path, const std::string& prefix = "") -> bool;
|
|
} |