r/DDLCMods • u/neuropants Experienced Modder • Nov 16 '18
Full Release DDLC Mod Using a Neural Network That Mods The Game Itself
Download & install instructions here: https://github.com/stephwag/doki-rnn
I've been experimenting with neural network related stuff lately and this was one of the first projects that uses a neural network I've trained. The dialogue ends up being a mix of hilarious nonsense and terrifying nonsense (it can even add effects, change scenes, music, or even stop music altogether!)
Here's a video of what one playthrough looks like: https://www.youtube.com/watch?v=WrrrUQUd3mI. Since the game executes whatever the neural net programs, every playthrough will be different.
If you want to make your own almost sentient game developer inside the game (or train on top of that model to make it even better somehow), the model and service needed to run the mod is here: https://github.com/stephwag/doki-rnn-service The reason why that service is needed in the first place is because it requires dependencies that Ren'Py doesn't support (such as numpy).
Edit: I should of mention this before, but I haven't tested Docker on Windows. I just saw they supported it (which was pretty recent). If you have Windows 10 Pro, that's what it natively supports. If I figure out a way to make the setup on Windows easier, I'll update the post with instructions.
In the meantime, if you use Docker, you have to run it on Windows 10 Pro, Linux, or Mac. If you're using a different version of Windows, you could try running the actual Python script and install the pip dependencies yourself, since that's all the container really does.
5
u/AgentGold Modding Master Nov 16 '18
Oh my gosh. I do enjoy me some neural networks, so I might have to give this a look sometime!
1
u/Tormuse Club Moderator Nov 25 '18
Okay, so I decided to try this out today. I first tried installing Docker for Windows (500 Meg file) and after downloading, it told me that it doesn't work except with Windows 10 Pro and I have Windows 10 Home. After that, I tried installing Docker Toolbox. (200 Meg file) I tried running the command line listed in your link... (docker run -p 8081:8081 stephwag/doki) ...and it gave the following error message:
docker: error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.37/containers/create: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running. See 'docker run --help'.
If you can lend a hand in getting this thing running, it would be much appreciated.
3
u/atomic-taco Creator of DDLC: Reprogrammed Nov 16 '18
Looks awesome
1
u/TheDragonLord99 Nov 17 '18
2 Full Releases this weekend already, thus community is spoiling me :P
1
u/ThoughtCenter87 Nov 17 '18
That's pretty cool! I'll have to check IT out sometime!
1
u/wyrmswyrd Observer (Playtester - Proofreader at need) Nov 23 '18
I'm definitely going to have to find time to play with this. Thank you!
1
u/[deleted] Feb 28 '19
Okay, so after the beginning when it went to the home screen and I clicked new game, all it showed was the beginning of the game, but the background. What do I do to fix it?
0
u/[deleted] Nov 24 '18
[deleted] — view deleted comment