Skip to content

Run shader .exe files with WINE on non-Windows platforms#60

Open
InfinaMii wants to merge 3 commits intoMapStudioProject:mainfrom
InfinaMii:hotfix
Open

Run shader .exe files with WINE on non-Windows platforms#60
InfinaMii wants to merge 3 commits intoMapStudioProject:mainfrom
InfinaMii:hotfix

Conversation

@InfinaMii
Copy link
Contributor

  • Execute gx2shader-decompiler.exe and spirv-cross.exe with WINE if the platform isnt Windows to avoid crashes when trying to open Wii U files

- Execute gx2shader-decompiler.exe and spirv-cross.exe with WINE if the platform isnt Windows to avoid crashes when trying to open Wii U files
@InfinaMii InfinaMii closed this Mar 3, 2026
@InfinaMii
Copy link
Contributor Author

update: still has issues

Correctly specify executable path for wine
- Update exe path argument to include quotes rather than apostrophes (Process.Start splits lines at space unless they are contained within quotes)
- Prevent exe path argument from being replaced by spirv arguments
- Remove debug WriteLine call
@InfinaMii InfinaMii reopened this Mar 3, 2026
@InfinaMii
Copy link
Contributor Author

InfinaMii commented Mar 3, 2026

the default bgenv settings for wii u files seem to be broken as it makes all objects appear lime green - this is outside of the scope of this pr however i thought it ought to be mentioned
opening a course byaml file makes the objects appear as normal

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