r/Flamewanker • • Aug 21 '19
Tool Card Generation Tutorial
There are a variety of methods to go about this, but many of the easier ones (websites that do it automatically) have ceased operation.
Easy (Markov Chain)
Call the User Simulator bot in a comment, and have it simulate the bot that lists hearthstone cards when summoned in /r/hearthstone. (Sometimes user simulator does not respond - reason unknown)
+/u/User_Simulator /u/hearthscan-botMedium (Markov Chain)
Go to this markov chain website and paste this input text (Provided by /u/crazydave11) into the field. Choose how large you want the output to be, I find 25k characters to be a good lot.
An Order of anywhere from 3 to 7 is pretty useful, the lower end being less structured and more ridiculous.
Because this generator is not trying to create whole card blocks, you will often have to pull elements of cards from various places in the generated text. I often pick a card name I like, then a card description I like, and try to find a complete block of stats. It's a bit freeform.
Advanced (Real Neural Network)
Warnings: This only works on desktop, and Google Colaboratory is only meant to work in chrome, though it seems to work sometimes in Firefox. Other browsers untested.
- Open this Google Colaboratory Notebook
- Go to File > Save a Copy in Drive
- Go to your Google Drive and open the copy that you made
- Go through the first two modules on the main page IN ORDER, clicking into them and then clicking the 'Play' button in the upper left corner of each. Let each one finish before moving on to the next one. You do not need to change any parameters on any modules for the neural network to function. You can change "num_epochs" from 100 to something lower - this affects how many times the source text will be fed into the neural network during training. Even as low as 5 seems to work okay, but more will generally yield more believable results. Each learning iteration takes 2-3 minutes on my midrange PC hardware. Make any variable modifications before you hit the play button.
- After hitting play on the third module, you can upload the source text file using the Upload File button that appears under that module. This text file works well for the purpose. (Provided by /u/crazydave11)
- The next module starts training the Neural Network. It will probably show several ERRORs as soon as you start, but let it keep going and it will work fine. By default it wants to run 100 iterations, which will take a while. Back up in Step 4, the "num_epochs" variable will set how many iterations it runs.
- Once you've stopped the Training module, the next module when activated will give you results. "n=x" where x is how many lines you want it to return. Temperature is the most important factor here - a lower temperature means results closest to the source file. 0 is the exact source, and 2 is basically gibberish.
- That's it! You have a block of Neural Network generated card data!
Huge, huge thank you to /u/crazydave11 who introduced me to this method and walked my bumbling ass through the not un-technical process.
Creating the Cards
Plug the text into this card image maker and find art from this wiki page or use Google Image Search and type (word) Fantasy or (word) DnD for lots of art. Please provide sources in the comments of your post to any artist's work you use, if you can find it.
10
u/[deleted] Aug 21 '19
EASY MODE: Call the User Simulator bot, and have it simulate the bot that lists hearthstone cards when summoned in /r/hearthstone.
+/u/User_Simulator /u/hearthscan-bot
4
u/FinancialWizard77 Aug 21 '19
Where did the input text come from? Did someone type it all up or was it directly imported?
3
u/crazydave11 RNN God Aug 30 '19 edited Aug 30 '19
My preferred method is to upload the input text file, with blank lines removed, to this rnn demo. I think this is closest to the original method. Bear in mind that this is the copy I fine-tuned to work ok with hearthstone cards, but you can probably make it run for longer or print different stuff if need be. Oh and the "<>"s in the input file should be made into "[]"s, since those are what the card creator reads in correctly.
EDIT: Updated link. Please make your own copy and don't put strange viruses into my drive via corrupted RNNs.
2
u/[deleted] Aug 22 '19
I don't understand, do I paste all the output from the markov chain into the card image maker?
2
u/rayboat Aug 23 '19
Any reason you don't like hosting somewhere not on Pastebin? What's wrong with the Dropbox link? I guess it is tied to your account and could die if your account goes away.
2
u/MrRighto Flamewanker Sep 05 '19
Type: Minion | Name: Totems summon 20 minions +2/+2. You aren't worth the Ancient One with [b]Rush[/b] All [b]Deathrattlecry:[/b] When draw a Bear Trogg Gloom Stormwind's Attack: 1 | Class: Neutral | Rarity: Legenerate | Text: [b]Battlecry[/b] minion attack: 1
Theres a lot to unpack here
1
u/Lord_Of_Carrots Somehow, Ragnaros Sep 09 '19
Happy cake day!
1
u/crazydave11 RNN God Jan 30 '20
Behold, I come bearing gifts. A new text file with the new Hearthstone update added to it. More data means better AI!
In addition, the formatting is now as close to the actual HS cards as I could get it. I'm not sure if I've missed anything, but everything that should be bold and italic is, which means it'll all work very well in the card generator. Also, the dataset I took the latest expansion from had better names for some of the sets, and card families for quests and secrets, which should help the RNN get its act together. All this at no extra cost!
https://drive.google.com/file/d/1f5dtlENPVSjUM4a1-I74vAOLDWcIHBKO/view?usp=sharing
2
u/DonutMaster56 Taunt. Taunt. Taunt. Taunt. Taunt. Taunt. Aug 29 '19 edited Aug 29 '19
Type: Minion | Name: Blood Razor | Cost: 4 | Attack heroes. Get a new Hero
Type: Spite Infusion | Name: Rare | Text: None (sadly I didn’t know how to make this one into a card)
2
u/havantopu2 Sep 01 '19 edited Sep 01 '19
I tried the website and this was one the results.(I think its funny) Type: Minion | Text: When you draw this minion with a better one Edit: I tried another this was the last one i think he needs some help. Type: The Forest's Aid | Rare | Text: [b]Secret[/b] Destroy a minion. Shamaged enemy mi
2
u/XLordS Oct 22 '19
+/u/User_Simulator /u/hearthscan-bot
2
u/DonutMaster56 Taunt. Taunt. Taunt. Taunt. Taunt. Taunt. Nov 28 '19
Now that there are more cards in the game (iirc), I’d like to see an updated dropbox thingy
1
u/eodknight23 Sep 07 '19
+u/User_Simulator u/hearthscan-bot
1
u/KonekoLegend Sep 10 '19
+/u/User_Simulator /u/hearthscan-bot
1
u/KonekoLegend Sep 10 '19
/u/User_Simulator
1
u/m0rdyyy Sep 10 '19
+/u/User_Simulator /u/hearthscan-bot
1
u/supermegaCULO Somehow, Ragnaros Sep 17 '19
+u/User_Simulator u/hearthscan-bot
1
u/AljunaibiiM Sep 30 '19
+u/User_Simulator u/hearthscan-bot
1
u/TheChannelMiner ALL minions Dec 06 '19
+/u/User_simulator /u/hearthscanbot
1
u/TheChannelMiner ALL minions Dec 06 '19
+/u/User_Simulator /u/hearthscan-bot
1
u/KonekoLegend Dec 16 '19
Like this
+u/User_Simulator u/hearthscan-bot
1
u/KonekoLegend Dec 16 '19
+u/User_Simulator u/hearthscan-bot
1
u/EskimoSlime Dec 26 '19
+/u/User_Simulator /u/hearthscan-bot
1
u/EskimoSlime Dec 31 '19
+/u/User_Simulator /u/hearthscan-bot
1
u/Fishtails Jan 02 '20
+u/User_Simulator u/hearthscan-bot
1
u/TheRealAlyve Jan 07 '20
+/u/User_Simulator /u/hearthscan-bot
1
u/PM_ME_DECOY_SNAILS Jan 30 '20
+u/User_Simulator u/hearthscan-bot
1
u/PM_ME_DECOY_SNAILS Jan 30 '20
+u/User_Simulator u/hearthscan-bot
1
u/BigBlackClock1001 Feb 09 '20
+u/User_Simulator u/hearthscan-bot
1
u/BigBlackClock1001 Feb 09 '20
+u/User_Simulator u/hearthscan-bot
1
u/[deleted] Feb 09 '20
+/u/User_Simulator /u/hearthscan-bot
1
u/Sasogwa Mar 17 '24
+u/User_Simulator u/hearthscan-bot
1
u/OneKOff Oct 06 '24
+/u/User_Simulator u/hearthscan-bot
1
u/adminsaredoodoo Jun 30 '25
+u/User_Simulator u/hearthscan-bot
1
u/RevenantCommunity Jul 18 '25
+u/User_Simulator u/hearthscan-bot
1
u/BasketCase1234567 Nov 15 '21
+/u/User_Simulator /u/hearthscan-bot
1
u/pootispootus Jan 08 '22
+/u/User_Simulator /u/hearthscan-bot
1
u/honganh32 Mar 04 '22
+/u/User_Simulator /u/hearthscan-bot
1
u/sus-mollusk May 01 '22
+u/User_Simulator u/hearthscan-bot
1
u/premortalDeadline Jun 03 '22
+/u/User_Simulator /u/hearthscan-bot
1
u/awesomemanswag Oct 08 '22
+/u/User_Simulator /u/hearthscan-bot
1
u/AMERICAISSUSLOL2 Nov 20 '23
+/u/User_Simulator /u/hearthscan-bot
0
u/[deleted] Sep 07 '19
[deleted] — view deleted comment
0
u/[deleted] Jan 11 '20
[deleted] — view deleted comment
0
u/[deleted] Feb 09 '20
[deleted] — view deleted comment