Hanashi Posted November 21, 2023 Group: Members Topic Count: 42 Topics Per Day: 0.01 Content Count: 113 Reputation: 40 Joined: 10/23/13 Last Seen: Friday at 03:54 PM Share Posted November 21, 2023 does anyone know how to save as palette in act editor via script? Quote Link to comment Share on other sites More sharing options...
0 Hanashi Posted November 21, 2023 Group: Members Topic Count: 42 Topics Per Day: 0.01 Content Count: 113 Reputation: 40 Joined: 10/23/13 Last Seen: Friday at 03:54 PM Author Share Posted November 21, 2023 foreach(var file in Directory.GetFiles(@"C:\test\", "*.spr")) { var spr = new Spr(file); if (spr.Palette != null) spr.Palette.Save(@"C:\test\" + Path.GetFileNameWithoutExtension(file) + ".pal"); } credits to @Tokei answered the question via discord 1 Quote Link to comment Share on other sites More sharing options...
Question
Hanashi
does anyone know how to save as palette in act editor via script?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.