Skip to content

Conversation

azeno
Copy link
Collaborator

@azeno azeno commented Mar 30, 2025

The dlls were built using sources\tools\Stride.TextureConverter.Wrappers\build-deps.bat inside of developer command prompt of VS2022

PR Details

After #2644 dds files did no longer load on win-x64. That PR changed the string marshalling from Auto to Ansi, which is correct if we look at the native call site (

DXT_API HRESULT dxtLoadDDSFile(const char* szFile, DirectX::DDS_FLAGS flags, DirectX::TexMetadata* metadata, DirectX::ScratchImage& image);
) and added DxtWrapper.dll for win-arm64, but it didn't touch the already checked-in versions for win-x64 and win-x86.

This PR fixes that, by re-building those native assets with current compiler (MSVC v143) as well.

Related Issue

#2693

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

The dlls were built using `sources\tools\Stride.TextureConverter.Wrappers\build-deps.bat` inside of developer command prompt of VS2022
@Doprez
Copy link
Contributor

Doprez commented Mar 30, 2025

Thank you Azeno! I can confirm with your branch I am able to now build on win-64 without the texture issues:
{3949D98A-AE95-4681-A608-EEE7A4F47EF3}

I did have to change the Stride.Native.Targets to make the arm setting false but I will redo my PR and try to follow your suggestion of the Stride.Build config changes.

@Eideren Eideren merged commit e4d83e7 into stride3d:master Mar 30, 2025
3 checks passed
@Eideren Eideren changed the title Fixes output directories of DxtWrapper and re-builds with MSVC v143 fix: output directories of DxtWrapper and re-builds with MSVC v143 Mar 30, 2025
@Eideren
Copy link
Collaborator

Eideren commented Mar 30, 2025

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants