Skip to content

Custom Cardsets

StackZ edited this page Jul 26, 2020 · 3 revisions

Information about custom cardset creation

  • The Cardsize MUST be 55x55. Larger or smaller will break the app logic.
  • The format MUST be PNG.
  • You need an "empty back" card for the last index.
  • With the next version v0.2.0 it will be possible to have up to 345 CardPairs. v0.1.0 only supports 10.

What you need

To be able to create custom cardsets, you need:

  • devkitARM and Tex3DS.
  • A Computer, it does not work through a Phone or 3DS itself.

Preparing...

First of all - git clone this repository by doing git clone --recursive https://github.com/SuperSaiyajinStackZ/3DZwei.git. You will find a folder called card_generator, that's the thing we will be using for that.

If you are on Windows, you can easilly get devkitARM & Tex3DS using the devkitPro-Installer.

Creating Custom Cardset Graphics

At the gfx/cards/ folder you will find all available graphics. Also important is the cards.t3s file at the gfx/ folder. It contains every card path for Tex3DS, so it can generate the SpriteSheet.

This file is also important, because it contains the index of the Card Graphics. The most important thing though is, the empty card MUST be at the end of the t3s file.

If you add a new image, you just have to edit the cards.t3s file and include the file to it.

Building SpriteSheet

When you're done doing your Graphic changes, go back to the card_generator folder and simply run make. Your SpriteSheet should be inside the out folder then called cards.t3x.

Using the Cardset

After you properly build your cardset, create your setname folder inside sdmc:/3ds/3DZwei/sets/. Include the cards.t3x file inside that folder as well!

You can load your cardset by going to UI Settings -> CardSets and it will show up a filebrowse, where you can select your set. Select your set folder and it will show a "preview" of the cards. If you like it, just press A and it's loaded!