Here's an empty script with no unnecessary codes. Your script starts off with function cXXXX.initial_effect© The file should be named a wherein XXXX is the card number.Ī lot of things in the script ends up with the keyword end. The scripts should have the same card number as your card. Relinquished is assigned the categories, "Control, Change ATK/DEF, Damage LP, and Destroy".Īdding them all together gives you a Hex value of "0x1403000" Which converts to the Decimal value "20983808" in the database. Compulsory Evacuation Device now has the "Send Back to Deck" category assigned.įor cards with multiple categories, you have to add the Hexadecimal values together. Place the value 32 into the Category cell in SQLite. 0x20 in Hexadecimal is the value 32 in Decimal. The Hex value of the "Send Back to Deck" category is 0x20. Compulsory Evacuation Device has the category "Send Back to Deck". Then place the Decimal value of the category into SQLite. To assign a category to a card in SQlite, you need to take the Hexadecimal value of the category and convert it into Decimal. Well if you are going to use SQLite, then I hope you are familiar with Hexadecimal.Įach category is assigned a Hexadecimal value. The numbers below have 0x before the values, disregard those, just copy the numbers after it. Don't be lazy guys, please add this when you make a card.Īnd here's quoted by SGJin who knew how it works:
I want a card that destroys monsters, then you see the "Effect" at the right side full of checkboxes. Like I said, it all starts with the hex.Ĭategories are used when searching a card in the game. How exactly (and basically) these setcodes work. I cannot give you the complete list of archetype but I'll reshow you how it works and to check each setcode that exists. Jackmoonward has explained this in his tutorial but it's all outdated. The setcode is the archetype of your cards. we'll use this the entire time!įirst in my list is the setcode. In order to convert a hex value to decimal, simply copy-paste the sum (if any) of the hex values, then click on dec, now copy-paste that into your SQLite. Now you see the Dec and Hex at the left side? That's where you gonna use the whole time. By opening your Calculator (in Windows, a scientific calculator also works but I think the one in my laptop is easier), go to View and change it to Programmer (Alt+3 in my laptop, Windows 8). SQLite can only read Decimal but its values are solely based on their Hexadecimal counterpart. Decimal is 0-9 which is the one we use and Hexadecimal is 0-F (A-F are equivalent to 10-15).
Plus, even if you update the official YGoPro game, you won't lose your Custom Cards.Īnd I'll only explain some of the things in the data in SQLite since text is easy to understand.įirst of all, the concept in SQLite uses 2 number types. Remember as well that in order to overwrite their contents or to apply changes, YGoPro must be closed. For first timers, these files are to be placed in your expansions folder and rename them to anything to avoid accidental overwriting of files.
zip contains pics and scripts folders where the. NOTE: This Tutorial above is extremely outdated with the setcodes/ archetypes/ card type and doesn't contain about Categories.īasically, I also use SQLite since it's kind of easier for me rather than using a Card Packer.Īnd due to the difficulty for adding an effective expansions format, I decided to include the template here for the ease of reusability.
What I do is still the same as I started, by copy-pasting but I learned how to make the overall easier.įirst, follow the first few instructions to add your card into the game.
I noticed a lot of people want to make their custom cards but a lot of them were unsuccessful.