Skip to content

Creating Sets

StackZ edited this page May 18, 2021 · 1 revision

So you are interested to create Sets for Universal-Team Games? That's nice to hear! Follow this page on how to create the Sets and if you want to, contribute them to the Universal-Team Game Sets page and it's UniStore.

What you need

  • A Computer (this doesn't work with a phone).
  • devkitARM
  • Tex3DS

Installing the requirements

You need devkitPro's devkitARM and Tex3DS installed to generate the .t3x spritesheet files for use with the games. To install devkitARM and Tex3DS, follow devkitPro's Getting Started page to install pacman, then run the following command to install everything you need:

(sudo dkp-)pacman -S devkitARM tex3ds

(The sudo dkp- may not be needed depending on your Operating System).

Preparing the Sets

You need to create a t3s which includes the following things:

--atlas -f rgba8888 -z auto

path-to-your-png-graphic.png

The --atlas -f rgba8888 -z auto is important, but you need to list all your PNG files with their path below, such as this example:

--atlas -f rgba8888 -z auto

graphics/card_0.png
graphics/card_1.png
graphics/card_back.png

Generating the Sets

To generate the prepared Set, just run the following command:

tex3ds -i path/to/t3s/file.t3s -o path/to/t3x/file.t3x

Congrats! You just created your first Set. See How to Use for how to use your created Set.

Specific notes for each Set

  • 3DZwei's cards must be 55x55 pixel per card. The back cover must be the last card listed in the t3s file.
  • Characters must be 120x120 pixel.

Contributing your Sets

If you want to contribute your Set to the Universal-Team Game Sets page and the UniStore, you need to do the following things:

  • Create a fork of this repository.
  • Add your Set to the sets/ directory. if you are contributing a 3DZwei Cardset, it must be inside sets/3dzwei/, if you are contributing a character set, it must be inside sets/characters/.
  • Create a directory with the name of your Set. (Example test-set)
  • Create a info.json inside your Set's directory and fill the file like this:
{
	"title": "Name of the Set",
	"author": "Author of the Set",
	"description": "Description of the Set",
	"categories": ["test"],
	"version": "v1.0.0",
	"amount": 10
}

Here the following points explained:

  • title: The title of your Set. If not included, it defaults to the name of the Set directory.

  • author: The author of your Set. If not included, it defaults to "".

  • description: The description of your Set. If not included, it defaults to "".

  • categories: The categories of your Set, such as Mario, you can include multiple by doing "categories": ["test1", "test2"]. If not included, it doesn't use it.

  • version: The version of your Set. Increase it, after you updated your Set. If not included, it defaults to v1.0.0.

  • amount: The amount of character, cards whatever in your Set. If not included, it doesn't use it.

  • Include your t3x file in your Set's directory.

  • Optionally, you can also provide a icon.png in your Set's directory. If it isn't included, it defaults to the default icon. That icon needs to be 48x48 pixels.

  • Optionally, you can also provide screenshots of your Set inside a directory called screenshots in the directory of your Set. Screenshots should be 400x480 (you can use Citra for example to get proper screenshots or Luma3DS' screenshot feature, however you need to combine the top and bottom screen then on your own).

If you are unsure that everything is properly included, check the default sets for their content. If you are done with that, you can create a Pull Request to this Repository and after it's being merged, you will be able to find it on the UniStore and the Universal-Team Game Sets page.

Clone this wiki locally