SA_MH4U

How to manually add a card to EDOPro

Jan 9th, 2023 (edited)
759
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. NOTE: whenever a /folder is mentioned, you can find it in the same folder your EDOPro executable is in.
  2. 1) grab the lua script on https://github.com/ProjectIgnis/IGNIS-Greenlight (click on the file -> "Raw" -> Ctrl+S) and save it in a new folder inside /script. if you're not sure which script is the right one, look for the most recently edited/added ones, and check the card name inside. making a new folder is optional, but this way it's easier to find and delete the scripts when they're properly added to the game and you don't need them anymore.
  3. 2) grab the png on yugipedia, and save it in /pics (you cannot put it in a custom folder this time). if the script filename was c000.lua, you need to save the image as 000.png
  4. 3a) if there's a .cbs file in the same directory you found the scripts on, download that and put it inside /expansions. otherwise:
  5. 3b) you need to add the new cards in a card database. inside /expansions, make a copy of cards.cdb, the name of the file doesn't matter. Open the new copy with sqlite (https://sqlitebrowser.org/dl/) and go to "Browse Data". Delete all records in both "datas" and "texts" (you can navigate between these two using the "Table" drop window), with Ctrl+A -> "Delete the current record", one of the symbols in the same row as "Table". Now create a new record in both sections (do not write inside the "Filter" spaces, they are used for searching) and fill them with the card's information:
  6. datas
  7. - id: the list of numbers you used for the png filename.
  8. - ot: https://custom-ygo-rp.jimdofree.com/ot/
  9. - alias: 0
  10. - setcode: the id of the archetype this card belongs to. if it's a new one I guess you can make one up, just be sure that you're not using an existing one, otherwise you can look it up in the official database, cards.cdb: go to the "texts" table, search for a card name in the same archetype, copy the id, and look up the id's setcode in "datas".
  11. - type: https://custom-ygo-rp.jimdofree.com/type
  12. - race: https://custom-ygo-rp.jimdofree.com/race
  13. - category: leave as 0
  14. texts
  15. - desc: the card's effect, copypaste it from yugipedia
  16. - str1, str2 etc: this is what is written the prompts that the game gives you when you can activate some effect of that new card. they're not necessary for the card to work, but for completeness' sake you can test which is which when testing the card and fill them accordingly.
  17. sqlitebrowser doesn't always save everything perfectly on the first try, so once you've saved once and you're not seeing the card in the game, double check your entries.
Advertisement
Add Comment
Please, Sign In to add comment