A downloadable tool for Windows

This was more a learning experience into what goes into creating random word generators without the use of ChatGPT or some other LLM.

I didn't get round to making a proper UI, so the console window will have to do but, that also fits the theme.

This item lore generator uses Markov Chains trained by the text files provided in the zip (you can edit these and add your own training data).

The trained Markov model then uses templates found in the ItemTemplates text file (which you can also modify and add your own templates) to come up with 1 or 2 sentence lore descriptions.

Sometimes it doesn't quite make sense as the model currently has no context. Also, I had to lower it's order (how many words/tokens it remembers) to get it to create more "random" stuff. There isn't enough data in the text files to train it fully, so anything higher than an order of 1 returns what is written in the text file.

This was created in C++. You can find the code here, feel free to mess about with it:

https://github.com/l-paz91/LoreGenerator/tree/main/Console/V5

Also, I have a full blog post on how I made it and the steps I took if you're interested.

https://lptcp.blogspot.com/2025/05/dev-diary-tool-jam-5-creating-random.html

This was a fun jam!


Published 2 days ago
StatusIn development
CategoryTool
PlatformsWindows
AuthorlongPointer
Tagslore, lore-generator

Download

Download
ItemLoreGenerator.zip 36 kB

Leave a comment

Log in with itch.io to leave a comment.