
jsa2352
Watcher-
Posts
5 -
Joined
-
Last visited
Everything posted by jsa2352
-
This appears to be a bug with swscanf_s for %zu args somehow, filed a wine bug for it. Might relate to "-m0" bugs also reported by wine users in the past.
-
TexGenx64 from Alpha 35 is also unhappy, with a new error message complaining "-w 512" is invalid. It would be surprising if that were the case. I will try next with the wrapper. [00:00] <Debug: OpenGL: Destination framebuffer complete> [00:00] Invalid value specified with -w (512) [00:00] Microsoft (R) DirectX Texture Converter [DirectXTex] Version 191 (library) [00:00] Copyright (C) Microsoft Corp. All rights reserved. [00:00] Usage: texconv <options> <files> [00:00] -r wildcard filename search is recursive [00:00] -r:flatten flatten the directory structure (default) [00:00] -r:keep keep the directory structure [00:00] -flist <filename> use text file with a list of input files (one per line) [00:00] -w <n> width [00:00] -h <n> height [00:00] -m <n> miplevels [00:00] -f <format> format [00:00] -if <filter> image filtering [00:00] -srgb{i|o} sRGB {input, output} [00:00] -px <string> name prefix [00:00] -sx <string> name suffix [00:01] -o <directory> output directory [00:01] -l force output filename to lower case [00:01] -y overwrite existing output file (if any) [00:01] -ft <filetype> output file type [00:01] -hflip horizonal flip of source image [00:01] -vflip vertical flip of source image [00:01] -sepalpha resize/generate mips alpha channel separately [00:01] from color channels [00:01] -keepcoverage <ref> Preserve alpha coverage in mips for alpha test ref [00:01] -nowic Force non-WIC filtering
-
Oops, thought I had latest. Still highly recommend supporting the -nowic parameter, as it's included as an OS workaround for MS operating systems in texconv. Uncompressed textures might work, didn't try that Now trying Alpha 35 in a fresh directory, some bad things seem to happen: [00:01] <Debug: Processing coast dragonborn.esm LandscapeVolcanicAshTundra01 [TXST:0401BD1C]> [00:01] <Debug: Processing volcanicash dragonborn.esm LandscapeVolcanicAshRocks01 [TXST:0401771C]> [00:01] <Debug: Processing volcanicash dragonborn.esm LandscapeVolcanicAsh05 [TXST:04017EA5]> [00:01] <Debug: Processing volcanicash dragonborn.esm LandscapeVolcanicAsh04 [TXST:0401771A]> [00:01] <Debug: Processing volcanicash dragonborn.esm LandscapeVolcanicAsh03 [TXST:04016E07]> [00:01] <Debug: Processing volcanicash dragonborn.esm LandscapeVolcanicAsh01 [TXST:04016E03]> [00:01] <Debug: Loading C:\dyndolod\Edit Scripts\DynDOLOD\Configs\DynDOLOD_SSE_XESPIgnore.txt> [00:01] <Debug: Processing dunCGOutsideClutterMarker skyrim.esm dunCGOutsideClutterMarker [REFR:000C78EA] (places CW1MeleeCloseDefender [STAT:00030428] in GRUP Cell Persistent Children of [CELL:00000D74] (in Tamriel "Skyrim" [WRLD:0000003C]) at 3,-21)> [00:01] <Debug: Loading C:\dyndolod\Edit Scripts\DynDOLOD\Configs\DynDOLOD_SSE_ErrorIgnore.txt> [00:01] <Debug: Player PlayerRef [PLYR:00000014]> [00:01] Program: C:\dyndolod\DynDOLODx64.exe, Version: 3.0.0.0, Date: 2021-07-27 18:00:00 [00:01] Started by: C:\windows\syswow64\start.exe, Version: 0.0.0.0, Date: 2021-08-06 19:50:32 [00:01] External: C:\dyndolod\Edit Scripts\LODGenx64.exe, Version: 3.0.0.0, Date: 2021-08-06 19:50:32 [00:04] Executing LODGenx64.exe returned error code 259. "C:\dyndolod\Edit Scripts\LODGenx64.exe" --inputfile "C:\dyndolod\Edit Scripts\Export\LODGen_SSE_Test.txt" --logfile "C:\dyndolod\Logs\LODGen_SSE_Test_log.txt". Check the file C:\dyndolod\Logs\LODGen_SSE_Test_log.txt for additional information [00:04] 00000000 ??? 016097a4 DynDOLODx64.exe DynDOLODHelpers 1186 ResourcesChecks 012efee5 DynDOLODx64.exe DynDOLODMain 7720 DynDOLODMainInit 014af0e7 DynDOLODx64.exe xeMainForm 20888 TLODGenThread.Execute 00576d90 DynDOLODx64.exe System.Classes ThreadProc 0042a545 DynDOLODx64.exe BrainMM 2540 BrainMMThreadProxy 00411dea DynDOLODx64.exe System ThreadWrapper 0050dd39 DynDOLODx64.exe madExcept ThreadExceptFrame 7b62c7d7 kernel32.dll BaseThreadInitThunk 7bc58b21 ntdll.dll RtlUserThreadStart I should note that the inputfile passed to LODGen doesn't appear to exist, and LODGen_SSE_Test_log.txt doesn't exist either.
-
"-nowic" fixes this Invalid paramter 80080057 error, which is apparently a wine bug in windowscodecs.dll (specifically, in GenerateMipMapsWIC or its preconditions). I'd hypothesize it's somewhere between this and this (it happens with both DXT1-5 and BC7). Latest texconv or texconvx64.exe doesn't change anything. [00:00:56.852] Creating atlas 4096x4096 with 38 textures [00:00:58.596] reading C:\steam\steamapps\common\skyrim special edition\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees\TamrielTreeLod.dds (4096x4096 B8G8R8A8_UNORM 2D) as FAILED [mipmaps] (80070057: Invalid parameter.) [00:00:58.918] [Tamriel] Trees LOD generation error: Executing TexConv returned error 00000001: "C:\steam\steamapps\common\skyrim special edition\DynDOLOD\Edit Scripts\Texconv.exe" -nologo -y -sepalpha -f BC7_UNORM -bc q -o "C:\steam\steamapps\common\skyrim special edition\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees" "C:\steam\steamapps\common\skyrim special edition\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees\TamrielTreeLod.dds" [00:00:58.963] [00:34] [00:00:58.963] [00:34] Exception in unit userscript line 255: [Tamriel] Trees LOD generation error: Executing TexConv returned error 00000001: "C:\steam\steamapps\common\skyrim special edition\DynDOLOD\Edit Scripts\Texconv.exe" -nologo -y -sepalpha -f BC7_UNORM -bc q -o "C:\steam\steamapps\common\skyrim special edition\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees" "C:\steam\steamapps\common\skyrim special edition\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees\TamrielTreeLod.dds" [00:00:58.963] [00:34] [00:00:58.963] [00:34] Check log lines above the exception for additional hints. Check the FAQ and search official forum https://stepmodifications.org/forum/forum/223-shesons-dyndolod-xlodgen/ for those errors. [00:00:58.963] [00:34] [00:00:58.963] [00:34] If problem persists, post error report with entire contents (not just the last couple lines) of ..\DynDOLOD\bugreport.txt and ..\DynDOLOD\logs\DynDOLOD_SSE_log.txt to official forum https://stepmodifications.org/forum/forum/223-shesons-dyndolod-xlodgen/ [00:00:58.963] [00:34] Error: [Tamriel] Trees LOD generation error: Executing TexConv returned error 00000001: "C:\steam\steamapps\common\skyrim special edition\DynDOLOD\Edit Scripts\Texconv.exe" -nologo -y -sepalpha -f BC7_UNORM -bc q -o "C:\steam\steamapps\common\skyrim special edition\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees" "C:\steam\steamapps\common\skyrim special edition\DynDOLOD\DynDOLOD_Output\Textures\Terrain\Tamriel\Trees\TamrielTreeLod.dds" This class of error still occurs during the run, but seems to be related to IL incompatibilities between normal mono and MS dotnet impl. Most likely this is effectively a wine bug, if it works on windows. This does not disrupt Dyndolod much, but I bet it's not ideal. Error reading meshes\lod\dwemer\dwefacadetowerarch01_lod.nif from BSA/BA2 lz4: Invalid IL code in <Module>:?A0xbaf7a355.XXH32_finalize (uint,void modopt(System.Runtime.CompilerServices.IsConst)*,ulong,XXH_endianess,XXH_alignment): IL_0007: switch (IL_07de, IL_07bf, IL_0798, IL_0771, IL_0173, IL_0325, IL_04f9, IL_06e9, IL_00e2, IL_0294, IL_0468, IL_065d, IL_0051, IL_0203, IL_03d7, IL_05cc)
-
There is a fix for running Dyndolod under wine. Usually, it will crash generated tree billboards with a weird error about mipmaps. This is coming back from wine's implementation of windowscodecs.dll, which apparently has some behavioral difference that causes some misunderstanding about mipmap levels or formats (didn't dig deeper). This bug will not occur if the "-nowic" parameter is also passed to texconvx64, as it seems to bypass this codepath. I am able to run dyndolod successfully by running a fake wrapper EXE in the place of texconvx64.exe that modifies the arguments and calls the real texconvx64.exe; hexediting the command line in the dyndolodx64.exe binary seems to trip some checksums. It's probably safe to enable this flag on windows and wine, but a checkbox or command line switch to enable it would be ideal.