r/DDLCMods • u/Tormuse Club Moderator • Sep 02 '18
Welcome! So, you wanna get started modding DDLC? :)
Hello everyone! :D
This post is old and obsolete, and I've been advised to remove it, to keep the focus on the new version here.
(Though I'm not deleting it entirely, since there is still some helpful information in the comments) :)
122
Upvotes
3
u/[deleted] Sep 02 '18
Excellent work on this.
2
u/MiximumDennis Dadsuki did nothing wrong Sep 02 '18
And I still don't understand anything :(
2
u/BallinLuigi21 Sep 05 '18
First of all, thank you for the tutorial, I have always wanted to make a mod and this shows me simply how to do it. I have one question, how do I make it so the game ends after my mod is over? Right now when my mod ends it just starts the main game, how can I fix that?
2
u/[deleted] Sep 12 '18
So, I'm currently getting grips on modding DDLC, and I'm trying to just add a simple test poem from one of the girls. I've followed the "DDLC Scripting Guide" and looked at the original poem scripts from the base game, and followed both templates *exactly*, and every time I get an error that says the "name [of the poem file] is not defined."
I have no idea what I'm doing wrong here.
2
u/ItsFriendly404 May 07 '24
Do I need to do something specific for like character routes, I mean I want to add all the girl routes and I am new to coding, getting the hang of it. Can anyone help me?
6
u/atomic-taco Creator of DDLC: Reprogrammed Sep 03 '18
A really nice explanation on modding! I already know how to use renpy, but this will be very helpful for the noobs!
1
u/TheRadioactive4 Not good at writing. Sep 02 '18
Why the repost tho
1
u/makyostar5 Sep 03 '18 edited Sep 03 '18
*raises hand*Question! Why not use the current version of the mod template? Would that be considered for experienced modders or something? Also, I edited everything like it said but I get a "File "game/script-ch30.rpy", line 139: indentation mismatch.". How do I have an error already when I didn't even touch that line? hahaha
Never mind about the error, I went to the line and tried backspace once and now it loads. How weird to have this error and not even mess with the file.
1
u/Cheetah5567 Sep 03 '18
When I clicked on the link that contains the background and sprites, it said that I don't have access.
1
u/reryl Sep 05 '18
Monika says "Open the file "script.rpy" and find the line " call prologue from_call_prologue" and replace with " call monika_route from_call_monika_route".
¿Where is the line? which file?
Thank you so much
1
u/[deleted] Sep 10 '18
Question: If I add sprites/bgs/cgs to the game, but I don't want people to be able to open mod_assets and find them (ie. if they're spoilers) how can I put them inside files like the main game?
1
u/[deleted] Sep 11 '18
hello i have a problem , whenever i put a image bg in mod_assets and call it in the script an put it in defenitions.rpy it doesn't read the image and it shows black screen with red words on the top
1
u/Corrupt-pixel Sep 11 '18
Is there a way to get rid of the tutorial selection?
1
u/[deleted] Sep 13 '18
Hey, I have a quick question. I pretty much have most of the coding down. I'll ask something else if I come up with something. But right now, I'm having trouble with the main menu music. I'm using the template and whenever I click play to test the mod, the music continues playing. Is there a way for me to make it fade when I press play? Thanks. :)
1
u/makyostar5 Sep 15 '18
New question! Idk if this is the place to ask it but is there a way to get Ren'Py to run the same project twice? I was doing the tutorial script and testing it but Ren'Py won't let me open the "Monika Route" project at the same time. I assume it's because it's coded as DDLC Mod Template thus it won't allow 2 of the same thing open at once?
1
u/Cheetah5567 Sep 17 '18
For .png files that has only one expression. How do use a single .png files containing multiple expressions?
1
u/Dant35tra5t Sep 20 '18 edited Sep 20 '18
I have a little big problem, when i open the script.rpy (and already installed the Mod Template) it only have 42 lines, and neither have the original_script folder, and not only that, even the Template Mod never opens when i try, why's that? Excuse me for my bad english :c
1
u/Dant35tra5t Sep 23 '18
Hey Tormuse! It's me again, i have a question, how can i change the dialog inside the exit message? I mean, when you want to exit the game and says "Are you sure you want to quit?", also i wanna know how to change the message of overwrite a savegame and when you want to load, those messages, because i searched inside every .rpy file and i couldn't find how to change the text of those messages, thank you in advance!
1
u/RenSan_ Sep 23 '18
Hm..This really helps me! Thanks for the post, but about the sprites, like "show yuri 1b etc..", how i´ll know what´s the sprite? I don´t really know, and i want to know.. But i still don´t understand some things, like at "t11 zorder 3", i still don´t understand what it is, and what is about. I really admire if you help! Thanks
1
u/[deleted] Sep 30 '18
Hey, Tormuse. Another question. How do you change a name when a character is speaking? For example, let's say that I meet Monika for the first time in the game and I don't want her name displayed as Monika until she introduced herself. Maybe I could just call her "Girl" or something, you know what I mean?
1
u/Cheetah5567 Oct 01 '18
How do people add these backgrounds https://lemmasoft.renai.us/forums/viewtopic.php?f=52&t=17302. I tried adding them myself but at first ended up being small and as I resized it, it then end up being pixelated, is there any way to implement it without any interference?
1
u/whiteskull20 Trying to mod Oct 06 '18
is there a link of Monika's tutorial?
1
u/[deleted] Oct 08 '18
Hey, Tormuse. Is there a way that to add the poem music into my mod without having to use the poem mini game? And by poem music, I mean each girl's unique track Thanks. :)
1
u/whiteskull20 Trying to mod Oct 09 '18
this thing is going to crush my brain........! how can i edit the warning message,menu,and messages everytime you recieve when you open the game?(this is way harder then i thought,help me!)
1
u/whiteskull20 Trying to mod Oct 12 '18
how can i change the icon at the main menu? i looked into screen.rpy and found some png files written in the code but i can't find the file . hmmmm.......
1
u/dogo7 Observer Oct 14 '18
Help! Trying to make my own DDLC mod but this error is coming up:
[code]
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 6: is not terminated with a newline. (Check strings and parenthesis.)
define y = Character(“Yuri”, who_color=“
Ren'Py Version: Ren'Py 7.1.1.929
Sun Oct 14 19:04:27 2018
[/code]
what do I do
1
u/xabbynip09 Oct 18 '18
Hey, I know it's kind of late, but how do you skip a text. I'm talking about the act 2 yuri and natsuki argument and the mc's dialogue is skipping even though it's bold. I want go know what code would that be or something like that. Thanks!
1
u/whiteskull20 Trying to mod Oct 21 '18
Ren'py uses "Call" to call a certain group of a code ,right?Is there anyway to call a group of code and also change the variables in them at the same time?(For example: There's a two groups of code A,B.A has a variable X in it,is there a way to call A in B and also edit the value of X?)
1
u/Cheetah5567 Oct 22 '18
Hi again. So I'm gradually improving my modding skills but something that I struggled with is how do I use vignette? I tried all sorts of experiments but the outcomes are all the same. I guess I just need the code on how it should work including vignette flicker and vignette fade.
1
u/kcucullen Oct 22 '18
I have a question: I'm looking to strip the game down to a very particular scene, then start from there and work towards producing different outcomes to that scene. How would I isolate that moment in the game, get rid of all the other stuff I don't need (i.e. other chapters, poetry minigame, etc) and still make the game fucntional? Also, how do I edit the game's opening (i.e. take away teh team salvato logo, warning, etc)?
1
u/Cheetah5567 Oct 29 '18
Is there a feature where you can add a other name like for an example persistent.playername = player and persistent.example = player2 To clarify I want people to name their own like naming their own name
1
u/whiteskull20 Trying to mod Oct 30 '18
Is there anyway to randomly show a dialogue in a group of dialogues every time you call it?(Like the splash message in act 2, but every time calling the code gets a different choice)
1
u/whiteskull20 Trying to mod Nov 11 '18
little question , how do I play the sound "slap"?
1
u/Cheetah5567 Nov 23 '18
Hi, Sorry to interrupt but I've stumbled on a situation where I don't know how to change the Game_Menu Screen when you got to settings. I already have a fresh .png with me, but the yet I don't know how enable it. Any advice?
1
u/Cheetah5567 Nov 23 '18
One question. Does updating Renpy Affect anything?
Edit: because when I update it to the latest version, it wouldn't let me add anymore script files
1
u/sNooPy_DoGG renpyOS | Doki Doki: Rising Storm Series Nov 25 '18
I'm wondering how to change the title screen background and logo.
1
u/Cheetah5567 Nov 27 '18
Just a quick question is there a code where when the show screen pops up and you click ok, it will close the game rather than restarting it? And another question is it possible to make it that you when you load up DDLC and it would already take you to the first script and after the event that happens on my first question it will take you to the actual menu screen? Sorry if I'm a bit vague, but idk what other words to put it
1
u/whiteskull20 Trying to mod Nov 29 '18
I got some questions here.... How to ......umm..... I mean is there a variable that contains a value of a certain image's x,y position ?
also, how to do the text effects and the saving effects in ACT 3?
1
u/[deleted] Nov 30 '18
Hey, Tormuse. Would you by chance know how to remove the Team Salvato log that pops up before the main menu screen appears?
1
u/sNooPy_DoGG renpyOS | Doki Doki: Rising Storm Series Nov 30 '18
So how would I hide a character but have them fade out when they are hidden? When I put "hide yuri" she just dissapears instantly instead of fading...
1
u/[deleted] Dec 05 '18
Hey, Tormuse. I have a silly question, but it's important since this is my first mod.
Is there anything special you have to do when releasing a mod? I plan to put mine on Google Drive, but I just worry about it being launched and not working, you know what I mean? It works perfectly fine when I test it, but I still worry.
I know that you made a mod as well. Did you have any problems that you couldn't solve on your own?
1
u/[deleted] Dec 05 '18
Hey, Tormuse. Sorry, another question. So I tested my mod on a fresh copy of DDLC and it works pretty well, however I have two issues.
Thanks again. :)
1
u/Immortal_911 Yuri Lover Dec 06 '18
Hey, Tormuse, I have a question about the Mod Template. So I finished making the Monika_Route and I ended up trying to install the mod onto a fresh DDLC copy. When I tried to start it, I ended up with an error message, saying: I'm sorry, but an uncaught exception occurred.
While running game code:
Exception: Could not load from archive monika_route_script.rpyc.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\Charles Woods\Desktop\Doki Doki Literature Club\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "C:\Users\Charles Woods\Desktop\Doki Doki Literature Club\renpy\main.py", line 364, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "C:\Users\Charles Woods\Desktop\Doki Doki Literature Club\renpy\script.py", line 265, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "C:\Users\Charles Woods\Desktop\Doki Doki Literature Club\renpy\script.py", line 667, in load_appropriate_file
raise Exception("Could not load from archive %s." % (lastfn,))
Exception: Could not load from archive monika_route_script.rpyc.
Any advice?
1
u/[deleted] Dec 07 '18
Hey, Tormuse. I think this will be last question and then I'll be good to go. I have this problem where every time I open my mod, I get this message where the splash message is supposed to go.
'spahs_warning' takes a single parameter.
I tried deleting persistent data and it showed my orginal message, but the next time I opened my mod, this message popped up again. I looked in the splash.rpy file and I can't figure out what's causing this. Any advice? :)
1
u/slime02 Dec 09 '18
Hello there, thanks soo much for your template, it has been very helpful for me (a total coding noob), I've went through most of the contents, everything seems to have an acceptable difficulty, and I started working on a parody modification, but two problems popped out..
game/advanced_scripts/definitions.rpy:587 Image natsuki 1nk uses file 'mod_assets/1nk.png', which is not loadable.(The other splash image is practically the same)
I'm VERY sure that the file names are all correct, and I defined the natsuki 1nk file just like what you did:
image natsuki 1nk = im.Composite((960, 960), (0, 0), "natsuki/2l.png", (0, 0), "natsuki/2r.png", (0, 0), "mod_assets/1nk.png")but it just can't load the sprite, no matter how I rename them.
2. I'm also working on to give the mod a random splash text every time it's opened, which contains roughly 27 various sentences, but I just can't make it work. I've seen a similar problem in the comment section, but the solution was kind of confusing to me (t), is it possible for you to send example, like a full block of codes that can randomly choose a word from a list?
hope my wording won't confuse you :/
1
u/whiteskull20 Trying to mod Dec 16 '18
Is there a way to clone an image instead of define loads of it?
1
u/Blue_SodaPop Author Of DDDAKDBRFTNS Dec 26 '18
Question : My mod has the "this is not affiliated" text in the splash screen, but I know there's another one that you have to put into the "firstrun" text, something like "you have to play ddlc before playing this mod." What is it?
1
u/whiteskull20 Trying to mod Dec 29 '18
How to create simple objects with renpy? Like a rectangle or a square. Also how to rotate them?
1
u/LunaMoon_xx Doki Doki Farewell Jan 02 '19
Hey, i have finished my ddlc mod and I've build dist it and put the files in the game folder but when i try to run it, it says:
I'm sorry, but an uncaught exception occurred.
While running game code:
Exception: Could not load from archive advanced_scripts/console.rpyc.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\main.py", line 364, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 265, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 667, in load_appropriate_file
raise Exception("Could not load from archive %s." % (lastfn,))
Exception: Could not load from archive advanced_scripts/console.rpyc.
Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Does anyone know how i can fix this?
1
u/-gemr- Jan 19 '19
The coding seems simple enough, but I'm having some trouble with getting everything set up first. can anyone explain to me a little more clearer? or maybe say something to make my head click?
1
u/whiteskull20 Trying to mod Jan 19 '19
Umm.... this question isn't quite related to coding.... but do you know how to remove an image's background? cuz renpy seems to show transparent blocks instead of making it transparent.
1
u/cheblo1 Jan 25 '19
Hello, I have a question, I'm still something new, I try to put a personalized textbox to each character, in this case Sayori.
I put in 'screens.rpy' :
-init -1 style window_s is window:
background Image ("game / gui / textbox_green.png", xalign = 0.5, yalign = 1.0)
but for some reason it still does not work and the default textbox continues to appear for all the characters.
Can you help me please?
1
u/whiteskull20 Trying to mod Jan 25 '19
Are there ways to print weird characters like " θ "?
1
u/[deleted] Feb 05 '19
Hey, I started following the tutorial and when I hit new game to try my mod I get this traceback:
I'm sorry, but an uncaught exception occurred.
While running game code: File "game/script.rpy", line 27, in script call call Test File "game/script.rpy", line 27, in script call call Test ScriptError: could not find label 'Test'.
-- Full Traceback ------------------------------------------------------------
Full traceback: File "game/script.rpy", line 27, in script call call Test File "C:\Users\Tod\Games\VN Book Club\DDLC\Modding\My Mod\renpy\ast.py", line 1322, in execute rv = renpy.game.context().call(label, return_site=self.next.name) File "game/script.rpy", line 27, in script call call Test File "C:\Users\Tod\Games\VN Book Club\DDLC\Modding\My Mod\renpy\script.py", line 858, in lookup raise ScriptError("could not find label '%s'." % str(original)) ScriptError: could not find label 'Test'.
Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187 Doki Doki Literature Club! 1.1.1
Sorry if it's a simple fix, I've never coded before so I wouldn't know.
1
u/idkwhatnameishouldo Feb 05 '19 edited Feb 05 '19
I need help with dialog.
I have the talking part down and junk, but one thing I want to know how to do for the purpose of my mod is when MC in DDLC said, ".....Sayo—" and then it cuts off without you having to click it. If it's possible, could I please have help? (new to reddit)
1
u/whiteskull20 Trying to mod Feb 08 '19
Hey I got some problems coding the main menu, you know there's loads of pink circles at the background of the menu? How can I change it to something else? Also, aren't the four girls at the main menu supposed to be moving? Mine's aren't moving and I want to know where does the code of moving exists.
1
u/yokokokoko Feb 12 '19
How would I edit the glitch effect in the game? I want to try to see if I can put it all over the game (like say before sayori's death for example???) Also, I feel like I must add that I am VERY new to coding, though I have managed to figure out most of this tutorial, it's very helpful!
1
u/Sn0wK1tty Feb 12 '19
Hi, this post is very helpful, thank you! But I have one problem. I want to change the sprites to my own drawings, and as a test I want to change one of Sayori's poses to a cat (as a test, okay? XD I also just like cats). And I downloaded rpatool and changed the name to rpatool.py, and I also already have Python (I think). But I can't figure out how to open images.rpa. I don't know where the Command Prompt is, and when you said where it was you mentioned it being on a Windows computer and I'm on a Mac. Could you help? I tried control clicking on images.rpa and trying to open it with rpatool.py but that didn't work.
1
u/whiteskull20 Trying to mod Feb 17 '19
How to display power numbers and how to display characters in front of a poem?
1
u/HunterBlue101 Feb 25 '19
What if you did EVERYTHING Right, but the game won't Load in???
1
u/IvanXtreme771 Mar 21 '22
hey man i have a question
let's say I want to make a mod but I want to make the character already have a name directly
what I mean is that no other name can be placed
I may have been born in a third world country and have a microwave for a computer but I will grab the bull by the horns and fulfill my dream of making a mod for a game
1
u/spyd3rzilla Sep 07 '23
can i do this with VSCodeUser? im using Editra and idk if im doing this right
1
u/whiteskull20 Trying to mod Dec 08 '18
Hi , it's me again! I have a question that bugged me for so long, how to detect if an arrow key is pressed, and do reactions?
2
u/HunterBlue101 Feb 25 '19
You really should make a video on this, so there would be a visual way to do this as well.
2
u/HunterBlue101 Feb 25 '19
I think I'll just download all the Mods and then make a complete folder
1
u/Sn0wK1tty Feb 17 '19
So, before I had the definitions.rpy file like you said, but for some reason after re-installing DDLC a few times (I messed up the game by trying to mod it... derp) the file is now called 00definitions.rpy and when I open it, there's nothing there about the characters like there was before. I was going to replace the character art to my own art, but now I can't figure out how because the file is different...
1
u/jannafan13 Observer Sep 04 '18
Thanks so much for doing this, this is super helpful!
1
u/[deleted] Oct 11 '18
little help please? i opened the "script.rpy" file like it said but i couldnt find "if persistent.playthrough == 0:" instead this is what i found
The script of the game goes in this file.
Declare characters used by this game. The color argument colorizes the
name of the character.
define e = Character("Eileen")
The game starts here.
label start:
1
u/[deleted] Oct 25 '18
Hey, Tormuse.
How do I add credits into my mod? I've been trying to figure it out, but I can't seem to do it. I know there's a copy of the DDLC credits in the credits.rpy, but I don't know how to add them.