

The location starts at 0 and increments by 1 as you move left to each higher place. Multiply digits by 16 raised to the power of digit location starting from the right and moving to the left. (To check if you did it correctly, undo the process as shown below)Ģ. Arrange the remainders from left to right in order of receiving (including the final integer quotient you get ) + read right to left (like in manga) Repeat step 3 (whatever integer you get) until you get a quotient less than 16.ĪLWAYS write remainders in hex format, and keep track of the order you get them in.ĥ. Take the integer part from (1) and divide it further by 16.Ĥ. In other words, just do 4th/5th grade long division.ģ. Make sure you have a remainder no need for decimals. Hexadecimal uses base 16 format, and decimal uses a base 10 format.Ġ - 9 are themselves, whereas 10-15 are A - F respectively.

To save any changes you have made to it, click the “Commit Transaction” button (4th from the left).īefore starting, I should give you the conversion guide between hexadecimal and decimal.Īs mentioned in the intro, it's a lot easier to use a converter, especially with bigger numbers, but you should know how to do it by hand. To delete a card, click the “Remove Row” button (to its right) To add a new card, click the “New Row” button (first button on your left). I will divide this part of the tutorial as such. You will notice that files are divided into two parts DATAS and TEXTS. Make sure you change the name of the file though.ĭo NOT add your cards to the one in main folder (marked as cards.cdb). They are easier to edit due to their size. I advise using one of YGOHack's SQL files and editing it to fit your own needs. The SQL program should be free to download.

I have included a step-by-step at the bottom of this guide if you wish/need to do it manually.Īll of your card's basic information goes into an SQLite file (which stays in the "expansions" folder). Please note that it is advisable that you use an online converter (or one that is installed on your computer) for hexadecimal/decimal conversions, to make it less tedious on you.

Second half (next post down) deals with coding in Lua, which card data is scripted in, This guide is meant to help you learn how to add your cards to YGOPro.įirst half of this guide (the post you are reading now) deals with SQL, which is programming the basic information into the game.
