simle
New Member
Posts: 5
|
Post by simle on Jul 17, 2019 17:49:23 GMT -5
I created a script in Unity to generate palette data as text from an image only to find that the .. in the .s4spalette files are not actually periods; In hex they are 0D0A and if you put normal periods over they turn into 2E2E which breaks the file and causes S4S to crash when opening them. I compared the files side by side and the .. were the only change coming from copy pasting from text. :(
Does anyone have a better solution for large palette editing from an image?,
If not I just wasted copy-pasting time trying to skip it, lol.
|
|
simle
New Member
Posts: 5
|
Post by simle on Jul 17, 2019 19:35:28 GMT -5
I found a solution! Replacing the .. with two spaces and the file still works! I can now make a palette in a png file and import it quickly into S4S no matter the size :D
|
|