I'm not going to read through this AI-generated wall of gibberish. If there's an actual issue, post the log, post an apitrace, post/show what the issue is in a few words, but please, for the love of fuck, don't waste our time with this garbage.
Edit, ok, skimming through the actual text it seems like GPT wants us to break Gothic 3 again, not gonna do that.
Ah yes, sorry about that, anyways this can stay here as a guide for future SimCity Societies fans, if they want to get it working with the latest version of DXVK :)
Thanks, and sorry, I cleaned it up quite a bit. Wall of text should be no more.
@GlennMey Does this game even run on modern Windows?
I've run some tests against both Windows XP/ancient drivers and Windows 11/modern drivers (with help from @Blisto91).
Windows 11/modern drivers don't report any depth format support for cube textures in CheckDeviceFormat, nor do they allow creation of depth format cube textures in CreateCubeTexture.
WineD3D reflects Windows 11/modern drivers behavior, much like DXVK at the moment.
Windows XP/ancient drivers on the other hand do both report support and allow the creation of depth cube textures for D3DFMT_D16, D3DFMT_D24X8 and D3DFMT_D24S8.
... which would indicate some ancient loophole some games perhaps abused.
@WinterSnowfall I am checking Windows 11, give me a couple of days. (Don't have Windows installed atm)
Tested game with same SecuROMLoader on Win11 25H2 with 11th Intel and 3060 Laptop. Game won't start with or without DXVK. So I suppose this game cannot run with modern GPU drivers (if someone can also test AMD).
Nothing valuable with log.
SCSDestinations_d3d9.log
Game has anti-debugging so x32dbg cannot debug it properly.
Artifact from https://github.com/doitsujin/dxvk/pull/5634 won't work on Windows at least.
Catched dump file without DXVK.
WERABAF.tmp.zip
Some seems useless or not apitrace file
SimCitySocieties.zip
@GlennMey Windows jank aside, can you confirm that the PR fixes the issue on Wine/Proton for you?
Can confirm that it runs on the PR! 🤓
Can confirm that it runs on the PR! 🤓
Thank you for confirming. I guess it will have to do then.
So I suppose this game cannot run with modern GPU drivers (if someone can also test AMD).
Not all that surprising, because no modern drivers will allow the creation of depth format cube textures these days...
Artifact from [#5634](https://github.com/doitsujin/dxvk/pull/5634) won't work on Windows at least.
... but the PR should fix things even on a (Vulkan capable) toaster OS, so I guess it would work if whatever other issue(s) it has on modern Windows are sorted, assuming that's even possible.
Sorry for asking this in an unrelated issue report but:
@GlennMey How did you manage to make this game run? I'm trying on my end but it only results in a black screen followed by an error dialog.
SimCity Societies: Destinations D3D9 Crash on newer DXVK versions than 2.3.1
AI Disclaimer: GPT 5.4 XHigh was used to debug this together with GhidraMCP
This text was predominately created by GPT 5.4 XHigh as well.
0x00874076.DXVK 2.3.1works.DXVK 2.4is the first known bad version.DXVK 2.7.1fails.Removing two D3D9 checks that reject non-color cubemaps allowed the game to launch successfully.
Software information
SCSDestinations.exe)System information
radv 26.1.0wine-11.82.3.1working2.4failing2.7.1failing60978eb94c9ae51609b155f4f7e4c7f6f2fb6105v2.7.1-591-g60978eb9+/home/glenn/.wine/home/glenn/.wine/drive_c/SIMCITYInvestigation
The failing code path decompiled into a function associated with
texturecube.cpp.Two guards were found that reject non-color cubemap formats:
src/d3d9/d3d9_adapter.cpp, insideD3D9Adapter::CheckDeviceFormatsrc/d3d9/d3d9_common_texture.cpp, insideD3D9CommonTexture::NormalizeTexturePropertiesWorkaround
D3DERR_NOTAVAILABLEfor cubemaps whenmapping.Aspect != VK_IMAGE_ASPECT_COLOR_BITD3DERR_INVALIDCALLfor cubemaps whenmapping.Aspect != VK_IMAGE_ASPECT_COLOR_BITCode changes to fix the crash