invite the bot: https://discord.com/oauth2/authorize?client_id=961824443653574687&permissions=0&scope=bot
- download the latest version of my fork of modded spire exporter
- launch ModTheSpire with BaseMod, my SpireExporter, and the mod(s) you'd like to add/update
- in SpireExporter's mod config, disable "export vanilla items", and enable "export images"
- make sure your game is on a profile with no beta art enabled
- download the latest version of sts2-exporter
- launch the game with the mod
- in the exporter config, disable "Export items from basegame", enable "Export images", set "Base card art type" to Regular, set "Upgraded card art type" to Beta, and disable "Include full texture dump"
-
first time? clone this repo with
git clone https://github.com/OceanUwU/slaytabase --depth=1(so that you don't download the entire commit history). otherwise justgit pull -
create a directory called
gamedatain this repo -
create an export using the mod from your corresponding game version
-
move the
exportdirectory the mod creates intogamedatain this repo (delete/rename the oldexportif there's already an existing one) -
if you want to add additional information that's not directly found in item descriptions you may add it to
extraItems.js(there is a template at the bottom, copy and paste that) -
(requires node.js v16+) run
npm installthennode alterExport.js(this can take a while depending on how many files there are)- if the mod has a gigantic amount of art or if it has AI-generated art or it has art taken from external sources run the script with the
--no-imagesflag i.e.node alterExport.js --no-images. if youre not sure whether you should do this or not just ask me
- if the mod has a gigantic amount of art or if it has AI-generated art or it has art taken from external sources run the script with the
-
if you want your custom keywords to have emoji icons, add them to
emojis.js -
if the mod contains a character or a custom card colour, add data about them to
characters-1.jsorcharacters-2.jsdepending on the game version (the number is a hex code converted to decimal) -
make a pull request (make sure you aren't editing any of files of any other mods)
one of the following must be true:
- it's on the steam workshop
- you are the mod's author
- you have permission from the mod's author for it to be on slaytabase
also, all of the following must be true:
- the mod's author hasn't said something along the lines of "dont put my mod on there please"
- no extreme nsfw
npm ci- install GraphicsMagick
- create
cfg.jsand paste the following in:export default {"token":"jsdakfhajksdfh", "exportURL": "https://slay.ocean.lol", websitePort: 8622, "overriders": ["106068236000329728"], "mkswtKey": null, "feedbackChannel": "???", "workshopReleasesChannel": null, "packDiscussions": null}and settokenas your discord bot token and setfeedbackChannelas the channel ID of a channel where you want the bot to send feedback messages (can be a thread channel) npx sequelize-cli db:migratenpm start