From df8fbd7a649bee86045a250b9e8d7491c3d3b945 Mon Sep 17 00:00:00 2001 From: Pk11 Date: Sun, 1 Nov 2020 16:12:10 -0600 Subject: [PATCH] Updated Sprite sheet (markdown) --- Sprite-sheet.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Sprite-sheet.md b/Sprite-sheet.md index dddb79b..41897cb 100644 --- a/Sprite-sheet.md +++ b/Sprite-sheet.md @@ -1,11 +1,16 @@ UniStores can have a sprite sheet to have icons for the apps, this need to be in `.t3x` format which can be generated with devkitPro's `tex3ds`. -To make the `.t3x` file you will need a `.t3s` file and image files. The `.t3s` should contain something like -``` +To make the `.t3x` file you will need a `.t3s` file and image files. The `.t3s` should contain something like: +```t3s --atlas -f rgba -z auto 0.png 1.png ``` -Where `0.png` and `1.png` are app icons in the same directory. The app icons should be up to 48x48 and the order they are in the `.t3s` file will be the order for `icon_index` in their info section. \ No newline at end of file +Where `0.png` and `1.png` are app icons in the same directory. The app icons should be up to 48x48 and the order they are in the `.t3s` file will be the order for `icon_index` in their info section. + +You can then generate the t3x by running: +```bash +tex3ds -i path/to/file.t3x -o path/to/file.t3x +``` \ No newline at end of file