Skip to content

feat: Add linux-arm64 support - #10

Open
Lego-Fan9 wants to merge 2 commits into
swgoh-utils:mainfrom
Lego-Fan9:arm64-support
Open

feat: Add linux-arm64 support#10
Lego-Fan9 wants to merge 2 commits into
swgoh-utils:mainfrom
Lego-Fan9:arm64-support

Conversation

@Lego-Fan9

@Lego-Fan9 Lego-Fan9 commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

This PR does 3 things.

  1. Updates the version of AssetStudio used, adding the binaries needed for linux-arm64
  2. Changes the logic of how it checks that Texture2DDecoderNative exists. Instead of checking for the file to exist, it loads the library then disposes it. This matches what AssetStudio does at runtime.
  3. Removes 3 copies of Texture2DDecoderNative that were in the x64 and x86 folders (linux-x64, win-x64, win-x32). These binaries should never have been loaded at runtime. The binaries that it loads for portable builds are at runtimes/<rid>/native, for platform specific it is placed at the project root. This is handled by AssetStudioUtility and it pulls the binaries from NuGet.

@Lego-Fan9

Copy link
Copy Markdown
Contributor Author

I made that second commit to get rid of the function that checks if the texture decoder lib exists. It is kinda unnecessary because it is done later on in Texture2DDecoderWrapper (part of AssetStudio) and throws the same exceptions

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant