|
1 |
| -# aid-wb2 |
| 1 | +# AI Dungeon World Info Builder |
2 | 2 |
|
3 |
| -## Project setup |
| 3 | +The world info section on the game are (as of 10/2020) difficult for a user to use. It would be really great if you didn't have to add them 1 by one. |
| 4 | + |
| 5 | +And even though you can download the **worldEntries.json** file and upload it on another game, wouldn't it be great if you could just have a tool that helps you author these files offline? |
| 6 | + |
| 7 | +Yeah - so did I. So, I built one! (You're welcome! ;) ) |
| 8 | + |
| 9 | +## First things first |
| 10 | +MAD PROPS to Nick Walton and the team at [Latitude](https://latitude.io/) |
| 11 | + |
| 12 | +**Disclaimers**: |
| 13 | +1. I wrote this on a PC so I know it works on a PC. If you have a MAC or Linux box, then you are more than welcome to try to have your machine build an executable from the code. It should work - but I don't guarantee anything. I built this for me, I'm sharing it with you. |
| 14 | +1. This software is offered **as-is**. I'm reatively certian that it will not fry your machine or anything like that. I personally use this app and it works fine for me. It may not work for you. |
| 15 | +1. You are free to work with me if you want to improve the app, but it is NEVER FOR SALE. I offer it open source and FREE. So if you paid money for it, I'm sorry - you got hosed. |
| 16 | +1. This is unofficial. I am not an employee of Latitude, nor do I have working knowledge of how AI-Dungeon works. This is just my stab at making something useful. |
| 17 | +---- |
| 18 | + |
| 19 | +## Building the App: |
| 20 | + |
| 21 | +This is a JavaScript, Electron app using Vue as the front end. **YOU MUST** have [NodeJS](https://nodejs.org/en/) installed. |
| 22 | + |
| 23 | +After that, there are two more things you have to do. (technically one, but whatever) |
| 24 | + |
| 25 | +1. Run the **install.bat** file (windows) |
| 26 | +OR (for you console savvy types) |
4 | 27 | ```
|
5 | 28 | npm install
|
6 | 29 | ```
|
| 30 | +Once the packages install, you can go to the next step... ...or... ...not. (It's your life, shut-up.) |
7 | 31 |
|
8 |
| -### Compiles and hot-reloads for development |
9 |
| -``` |
10 |
| -npm run serve |
11 |
| -``` |
| 32 | +(It can be run in dev mode from here if you want by typing "npm run electron:serve") |
12 | 33 |
|
13 |
| -### Compiles and minifies for production |
14 |
| -``` |
15 |
| -npm run build |
16 |
| -``` |
17 | 34 |
|
18 |
| -### Lints and fixes files |
| 35 | +2. Run the **build.bat** file |
| 36 | +OR (if you're still turning your nose up at my batch files...) |
19 | 37 | ```
|
20 |
| -npm run lint |
| 38 | +npm run electron:build |
21 | 39 | ```
|
| 40 | +This will compile it into an executable in a folder called **dist_electron** |
| 41 | + |
| 42 | +It also makes and installer, which is pretty cool. |
| 43 | + |
| 44 | +From there, install it and have fun. |
| 45 | + |
| 46 | +--- |
| 47 | + |
| 48 | +## Using the App: |
| 49 | + |
| 50 | +Here is a shot of the app with some Entries Loaded. When you first open it, it will not have anything listed. |
| 51 | + |
| 52 | +<img src="https://raw.githubusercontent.com/gimzani/ai-dungeon-worldbuilder/main/screenshots/Screenshot.png" style="width:400px;height:auto"> |
| 53 | + |
| 54 | +To get items into the app, use the File Tools. (Roll over the buttons for tooltips) |
| 55 | + |
| 56 | +But what they essentially do is: |
| 57 | +* Create a New File |
| 58 | +* Open and existing file |
| 59 | +* Merge a file in with an existing list |
| 60 | +* Export the current list |
| 61 | +* Save the current list (to whatever file you have open.) |
| 62 | + |
| 63 | +<img src="https://raw.githubusercontent.com/gimzani/ai-dungeon-worldbuilder/main/screenshots/FileTools.png" style="width:400px;height:auto"> |
| 64 | + |
| 65 | +So - If you have a new file and no list, enter a Key into the "New Entry" box and click the "Add" (plus) button. You should see it in the list. |
| 66 | + |
| 67 | +<img src="https://raw.githubusercontent.com/gimzani/ai-dungeon-worldbuilder/main/screenshots/NewEntry.png" style="width:400px;height:auto"> |
| 68 | + |
| 69 | +Use the "blue chevron" to expand each item and edit the entry. |
| 70 | + |
| 71 | +<img src="https://raw.githubusercontent.com/gimzani/ai-dungeon-worldbuilder/main/screenshots/ExpandedEntry.png" style="width:400px;height:auto"> |
| 72 | + |
| 73 | +If things get to hecktic in the file, you can delete entries one at a time or in a batch by checking the checkbox and clicking the "Remove Selected" button. |
| 74 | + |
| 75 | +You can also use the filter box to show only the items related to a keyword in the entry. (Like sword, or dragon or whatever) |
| 76 | + |
| 77 | +<img src="https://raw.githubusercontent.com/gimzani/ai-dungeon-worldbuilder/main/screenshots/filtered.png" style="width:400px;height:auto"> |
| 78 | + |
| 79 | +And that's it. |
| 80 | + |
| 81 | +Now you can library your World Infos and mix and match to your heart's content. |
| 82 | + |
| 83 | + |
| 84 | +--- |
| 85 | +And to the devs at Latitude. If you want or need help, you have my email. I'm on your forums as 'gimzani'. |
| 86 | + |
| 87 | +Enjoy! |
| 88 | + |
22 | 89 |
|
23 |
| -### Customize configuration |
24 |
| -See [Configuration Reference](https://cli.vuejs.org/config/). |
| 90 | +--- |
| 91 | +Shout-out to Lex-DRL for keeping me on my toes with a quick patch. ;) Thanks! |
0 commit comments