You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`failed to write to .nei file: failed to encode string: encoding: rune not supported by encoding.`
174
174
175
175
- About version 1011 of the .tex file
176
-
-__New fields__: Version 1011 adds a `Rects` (texture atlas) array to the binary structure. Its elements are four `float32` values: `x, y, w, h`, representing rectangles in normalized UV space.
177
-
-__When converting an image to `.tex`:
178
-
- If a `.uv.csv` file with the same name exists in the same directory (e.g., `foo.png.uv.csv`), the rectangles in it will be read and the 1011 version of the tex file will be generated.
179
-
- If no `.uv.csv` file exists, the 1010 version (without `Rects`) will be generated.
180
-
-__When converting `.tex` to an image__:
181
-
- If the source `.tex` is 1011 and contains `Rects`, a `.uv.csv` file with the same name will be generated next to the output image (e.g., `output.png.uv.csv`).
182
-
-__.uv.csv format__:
183
-
- Encoding must be: UTF-8 with BOM.
184
-
- Delimiter: English comma `,`.
185
-
- Number of columns: 4 columns per row, in the order `x, y, w, h` (x, y, width, height); values are typically in the range `[0, 1]` (normalized UVs). It is recommended to retain up to 6 decimal places and use `float32` precision.
186
-
Example:
187
-
188
-
```csv
189
-
0.000000,0.000000,0.500000,0.500000
190
-
0.500000,0.000000,0.500000,0.500000
191
-
0.000000,0.500000,0.500000,0.500000
192
-
```
176
+
- New fields:
177
+
- Version 1011 adds a `Rects` (texture atlas) array to the binary structure. Its elements are four `float32` values: `x, y, w, h`, representing rectangles in normalized UV space.
178
+
- When converting an image to `.tex`:
179
+
- If a `.uv.csv` file with the same name exists in the same directory (e.g., `foo.png.uv.csv`), the rectangles in it will be read and the 1011 version of the tex file will be generated.
180
+
- If no `.uv.csv` file exists, the 1010 version (without `Rects`) will be generated.
181
+
- When converting `.tex` to an image:
182
+
- If the source `.tex` is 1011 and contains `Rects`, a `.uv.csv` file with the same name will be generated next to the output image (e.g., `output.png.uv.csv`).
183
+
- .uv.csv format:
184
+
- Encoding must be: UTF-8 with BOM.
185
+
- Delimiter: English comma `,`.
186
+
- Number of columns: 4 columns per row, in the order `x, y, w, h` (x, y, width, height); values are typically in the range `[0, 1]` (normalized UVs). It is recommended to retain up to 6 decimal places and use `float32` precision.
187
+
Example:
188
+
189
+
```csv
190
+
x,y,w,h
191
+
0.000000,0.000000,0.500000,0.500000
192
+
0.500000,0.000000,0.500000,0.500000
193
+
0.000000,0.500000,0.500000,0.500000
194
+
```
193
195
194
196
- About CSV format
195
197
- All CSV files used in this program are encoded using UTF-8-BOM, separated by ',', and follow the [RFC4180](https://datatracker.ietf.org/doc/html/rfc4180) standard.
0 commit comments