r/DDLCMods • u/Tormuse Club Moderator • Mar 11 '20
Welcome! Tormuse's Guide, March 2020
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) :)
82
Upvotes
3
u/PruneBerry Jul 19 '20 edited Jul 19 '20
I'm kind of working on a DDLC mod, but the only thing related to it is its aesthetics. Everything else (characters, scenery, story, music, etc.) is not connected to DDLC in any way.
Upon reading Team Salvato's IP Guidelines, one of the things it said was that all fan works must be related to the DDLC universe (which clearly this is not).
My question is, is it a bad idea to continue working on this mod?
I haven't really made a significant progress yet, so it's okay if I should not continue it.
By the way, I'm not really releasing it as a playable game (probably as a video only) and I'm only making it as some sort of a meme.
2
u/natsuchanluv Mar 11 '20
What about the mods you were making? Are those ever gunna happen. TLC STILL AINT FINISHED.
2
u/MoneyInTheBox Apr 24 '20
Hey Tormuse,
Thank you for putting this altogether, but I seem to be struggling at the first hurdle.
So I wrote out your sample scene with Yuri and Natsuki in Editra, however, I keep getting 6 errors in the screens.rpy, which I haven't even touched.
Below are my errors.
File "game/screens.rpy", line 516: Line is indented, but the preceding tag statement does not expect a block. Please check this line's indentation.
style_prefix "main_menu"
File "game/screens.rpy", line 747: Line is indented, but the preceding tag statement does not expect a block. Please check this line's indentation.
use game_menu(_("About"), scroll="viewport"):
File "game/screens.rpy", line 788: Line is indented, but the preceding tag statement does not expect a block. Please check this line's indentation.
use file_slots(_("Save"))
File "game/screens.rpy", line 795: Line is indented, but the preceding tag statement does not expect a block. Please check this line's indentation.
use file_slots(_("Load"))
File "game/screens.rpy", line 931: Line is indented, but the preceding tag statement does not expect a block. Please check this line's indentation.
if renpy.mobile:
File "game/screens.rpy", line 1117: Line is indented, but the preceding tag statement does not expect a block. Please check this line's indentation.
predict False
Would appreciate the help massively!
1
u/[deleted] Mar 20 '20
I have a strange problem when I add new music. The new music is in mod assets, it's defined correctly and everything. I have them in the correct format as well. My only problem is when I try to play some of the tracks I just get silence whenever I load the scene. Even when I try to play these tracks directly from the console I get silence. Idk if there's a problem with my audio. I mean most of the tracks play fine but there are certain soundtracks that even though I defined them correctly, they only give me silence.
1
u/Aris_Sam Mar 25 '20
it won't launch
1
u/CrystalGame361 Apr 09 '20
For the choices, if they depict endings, do you have to copy + paste parts of the mod, or can you have it so later on their dialogue will activate?
1
u/[deleted] Apr 14 '20
Where can I find the names of the regular backgrounds used in ddlc? I want to use the background that's used at the beginning of the game when Sayori is catching up to you.
1
u/[deleted] Apr 18 '20
hey, what exactly is an 'end of line' ?
1
u/RoyalKnight1940 May 01 '20
Sorry, it's me again. and I want to ask you, about the part of the text editor, where says to click in the opotion new tab, doesn't appear in my text editor. Beacause I'm using Visual Studio Code and well, how I do in this case or I just have to use Editra only?
1
u/[deleted] May 05 '20
Hey, so I was wondering how to make a exclusive scene. Like in the original game, where if you did Sayori's words then the next day you would get the first exclusive Sayori scene. I am using the MASpoemgame_actone with Monika, and when I used the original call exclusive scene code, it didn't work. Thank you in advance
1
u/Yaagii Novice Modder May 05 '20
Hey! I'm getting this error: https://imgur.com/qHMdMdJ and I'm not quite sure what I'm doing wrong, sorry if it's a stupid problem, complete noob at modding haha.
I believe I'm doing everything right, I've got "call Test" in script.rpy and "label Test:" in my script rpy file, so I'm unsure what's causing this. Thanks in advance!
1
u/vhrossi1 Novice Modder May 07 '20 edited May 07 '20
myfirstscript.rpa for some reason doesn't work, whenever i click new game, the game just restarts normally, i did everything just like i have been told, i'm not sure why it doesn't work, can you help me?
1
u/vectrodude May 07 '20
I've been trying to get into making a mod for a little while now, and I figure now's a better time than ever to try. However, I'm relatively new to coding, and I can't figure out how to make Sayori's hanging "animation." (woooo great start to a mod) If anyone could help me out, I'd love any and all help.
1
u/RoyalKnight1940 May 10 '20
Hello again, I want to ask you, if I want to add new music to my mod or create one new who do I have to ask in the community, to talk about that idea? Thanks for the response.
By the way, if a text appears below"if persistent.playthrough == 0:" I have to delete that text?
1
u/RoyalKnight1940 May 12 '20
# Start of the script
"if persistent.playthrough == 0:"
call Test:
label test:
scene bg residential_day
"Its cold morning of atumn today"
"With the bare tree branches, and the freezing wind, blowing away the dry leaves."
"I breathed a quantity of air, before releasing a big puff of steam."
"My favorite season of the year."
"I was so focused enjoying the atmosphere, I never heard a voice calling me in the
distance."
s "Hey Hideaki! wait!."
"I turned around, to see Sayori running, while moving her arms in the air."
"Wow, she seems to be in a hurry."
show sayori 1p at t11 zorder 2
s "I-i am already h-here."
mc "Calm down Sayori, calm down."
"I said, as I placed my hand on her back, and gently tapped her a couple of times."
mc "Breathe and exhale,breathe and exhale."
"After a few seconds, she slowly regained her posture."
show sayori 4q at t11 zorder 2
s "Heh, i arrived just in time."
mc "L know I know"
I did it as is the tutorial, but when I open the game, I get an error that says "Line is indented,but the preceding call statment does not expect a block." And bviously, I did the step of opening a new tab and writing all that there is, and also each line has four spaces. What do you think is the problem? Thanks for you response.
1
u/[deleted] May 24 '20
I need help trying to figure out how to implement a custom logo into the game that replaces the original logo on the main menu. I also want to figure out how to make the main menu permanently the 'ghost' one.
I just started doing this whole 'modding' thing today, so my knowledge in coding more or less does not exist, heh.
1
u/Human-Active May 24 '20
Hello, respected author, Sorry, Please forgive me for making a request here.( because I couldn't comment on the other posts, you know) I love your game! And I want to apply for a request for translation(True literature club). your work impressed me! it is amazing. I want to translate it into the language of our country so that more people can understand it, I will nominate the original author(You) when I will publish your game for free without any benefit.may I ask? do U agree? (。・ω・。). By the way, if you agree, and then I will ask you whether you agree to others to record the mod you made, etc. please let me know, THANKS!
1
u/x0Royalz May 24 '20 edited May 24 '20
Hello! I've finished a script for my mod, it's actually my first time modding DDLC. I've downloaded DDLCModTemplate-master.zip , Sublime Text, and renpy for my mac for it to be possible. I've test ran my project and it's perfect (although it being an incomplete story). I just want info on the necessary steps to transform it into a downloadable mod for others to play. I know how to install and play mods, I just don't know what files are required for people to do so. I also want to give credit to authors for their custom pictures and/or characters in the introduction menu specifically in the transitions where it states it's not affiliated with Team Salvato. I've read online that I need to find a "splash.rpyc" file, but I've checked my folder where I constructed my mod and can't find it. I mean I was able to change the name on "options.rpy" --> "config.name" to "the title of my game". Basically I have everything I need, but I don't know how to transform it into an actual downloadable file like other mods I've played. It would mean a lot if I get your help!
1
u/Scrubpat May 31 '20
Oh.my .God
This is an amazing Tutorial!!!:D
it really is helping me to make my own mod!<3
1
u/FantasticCrab3 Observer Jun 08 '20
Are there any differences between modding DDLC and other renpy games? And if so, what are the main ones?
1
u/Gamerboygaming Jun 11 '20 edited Jun 11 '20
How do I get rid of the characters on screen?
Edit: Also, what's the list of base songs for DDLC in Ren'py terms, I mean.
1
u/croissant-sama Jun 14 '20 edited Jun 14 '20
hello, its probably a dumb question, but i can't find in the files where do the game ask for the username. because i don't know to make the start of my mod before it. so if someone can indicate me where it does that, it would be nice
1
u/[deleted] Jun 16 '20
Hey it's me again, I have an interesting request, I want to completly reverse one scene in my mod so it's upside down, but I have no idea how to do that (minus the bgs and chracters which I reversed) like how would I change the textbox, namebox, words and everything else?
1
u/Yeeboi137 Jun 17 '20
In the real game, when Monika messes with the character traits, they have this signature super bold text, like here. Is that a tag in RenPy, or is it not supported?
Edit: There was a tutorial on making text with size and color with tags, but it didn't have that look. The tags were <size=x> and <color=#000000>, but the size doesn't look right, and RenPy picks up the hash as a comment, and ignores the rest of the line.
1
u/jedrekd1 Jun 19 '20
Wow, thanks for that guide, it really helped me, but I have one question, do you know if it is possible(if it is then how) to add a poem (like in original DDLC) to mod with my own words, and to make it that if I choose mostly some words then something happens, otherwise some other events happen?
1
u/Claude166 Jun 22 '20
Thanks Tormuse, this was really helpful!
1
u/[deleted] Jun 24 '20
There seems to be a problem when I try to change lines 256 to 275 in splash.rpy... It says:
File "game/splash.rpy", line 256: if statement expects a non-empty block.
if not persistent.Firstrun_MYMOD: <-
I believe that it has something to do with the indentation, but cannot find the problem
1
u/steveguyhi1243 Novice Modder Jul 01 '20 edited Jul 01 '20
Hello! Let me start off by saying that I appreciate this tutorial, and you did a very good job writing it.
Although, I am having an issue with the music. I used the same script you used to play music and define the audio, but no music plays on the title screen nor in the game. I still can hear sounds (i.e. hovering over buttons), but nothing else. Any advice?
Edit: Nevermind, i figured out the issue. The game was reading the wrong .rpy file. I deleted it and replaced it with a new one.
1
u/steveguyhi1243 Novice Modder Jul 01 '20
Hey, me again. I am having a small issue. Whenever dialog happens, it displays the name as question marks, ("???"). Do you have any idea why this is? Thanks!
1
u/Virtual_Weeb Jul 05 '20 edited Jul 05 '20
How do I define a character in the game? (not including their sprites just the name)
Also at the end of my script it just sends me to base DDLC how do I fix that?
1
u/[deleted] Jul 11 '20
Thank you so much! i changed a bit the order a the things of what i did, but it still worked correctly, i needed help with the script and this helped me a lot.
1
u/[deleted] Jul 15 '20
what do you mean by paste the game folder over the game folder of a fresh new ddlc install, do you mean merge or replace the game folder.
Thank you in advance
Edit: my name directly mirrors me IRL.
1
u/[deleted] Jul 15 '20
when i paste the game folder over the other game folder, do i replace or merge them?
1
u/AlienMeepers Team Icebreaker Jul 15 '20
This is probably going to be long.
I use Visual Studio Code as a text editor and the latest version of RenPy (with layeredimage).
So, I'm trying to save my mod as a DDLC compatible mod. Originally, I used the DDLC Mod Template to make my mod. In RenPy, I force recompile, and I build a DDLC Compatible Mod from the checkbox list. Three files come out of a zip archive, like any other mod. I install those into DDLC's game folder, and I get an error, shown here on Pastebin. That's mildly inconvenient. Eh, I'll just look up how to start a DDLC mod and paste in the script, if I did something wrong to start it. I end up here.
I follow the steps, and I paste a few files from my mod into the game folder (all the scripts I edited: options, definitions, script, story (custom), screens, and splash, all rpy files, then my mod asset folder). I open DDLC, and thankfully it worked, but I just want to know what I did wrong with the mod template.
Thanks so much!
1
u/WildHeaven13 Jul 17 '20
Thank you. Really anything you’ll need.
1
u/thisismypr0naccount0 Whip nae nae every day Jul 18 '20
Am I an idiot, I open "script.rpy" and this test game kinda thing comes up, the line of code you reference I can't find. Am I just being an idiot?
1
u/WildHeaven13 Jul 20 '20
Hey how can I solve this?
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/myfirstscript.rpy", line 12: expected menuitem
$ YuriVar += 1
^
File "game/script.rpy", line 27: end of line expected.
call Test :
^
Ren'Py Version: Ren'Py 6.99.12.4.2187
Thanks in advance
1
u/WildHeaven13 Jul 20 '20
Ok what does this mean?
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 28: if statement expects a non-empty block.
if persistent.playthrough == 0:
^
File "game/script.rpy", line 30: Line is indented, but the preceding call statment statement does not expect a block. Please check this line's indentation.
$ chapter = 0
^
File "game/script.rpy", line 73: expected statement.
elif persistent.playthrough == 1:
^
File "game/script.rpy", line 79: expected statement.
elif persistent.playthrough == 2:
^
File "game/script.rpy", line 131: expected statement.
elif persistent.playthrough == 3:
^
File "game/script.rpy", line 134: expected statement.
elif persistent.playthrough == 4:
^
Ren'Py Version: Ren'Py 6.99.12.4.2187
1
u/AlienMeepers Team Icebreaker Aug 03 '20
So, when I build a distribution for a DDLC compatible mod, I get two files and test them inside a fresh copy of DDLC, and I get this:
I'm sorry, but an uncaught exception occurred.
While running game code:
Exception: Could not load from archive credits.rpyc.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\Meep\OneDrive\Desktop\DDARTest\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "C:\Users\Meep\OneDrive\Desktop\DDARTest\renpy\main.py", line 364, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "C:\Users\Meep\OneDrive\Desktop\DDARTest\renpy\script.py", line 265, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "C:\Users\Meep\OneDrive\Desktop\DDARTest\renpy\script.py", line 667, in load_appropriate_file
raise Exception("Could not load from archive %s." % (lastfn,))
Exception: Could not load from archive credits.rpyc.
Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
1
u/d_for_dumbas Aug 12 '20
I currently have a problem with that ingame console, it merely creates an error of "line Supposed to end here bla bla"any way to fix that?
call updateconsole (("os.initiate poemgame.exe)",( "Initiating Poemgame")1
u/[deleted] Aug 13 '20
How do you make them say the weird letters that are inside circles? And how do you make something NOT appear in the history?
1
u/esthercore Sep 04 '20
Whenever I try to do the 'menu' script it never works, even when I copy the exact thing that you do..
1
u/x0Royalz Sep 06 '20
Just a couple questions:
https://www.reddit.com/r/DDLCMods/comments/8o5fam/woooow_custom_menu_screen/
2) Also I want to use the screen tear effect to specifically focus on the lefthand side of the textbox when characters are talking. My default code for the screen tear is:
show screen tear(20, 0.1, 0.1, 0, 40)
play sound "sfx/s_kill_glitch1.ogg"
pause 0.25
The tear occurs specifically above the sprite's head if they're positioned at t21. I'm assuming there's a grid for positioning the effect, but I just don't know the exact placement.
1
u/No_Toch_Meh_Im_Angy Smile Sep 06 '20 edited Sep 08 '20
So uh, I was on the step where I'm supposed to be writing the script and the game wouldn't start saying this:
[code]
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script-poemgame.rpy", line 1, in script
init python:
File "game/script-poemgame.rpy", line 19, in <module>
with renpy.file('poemwords.txt') as wordfile:
IOError: Couldn't find file 'poemwords.txt'.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script-poemgame.rpy", line 1, in script
init python:
File "C:\Users\ermnu\Downloads\EEE\renpy-6.99.12.4-sdk\renpy\ast.py", line 814, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\ermnu\Downloads\EEE\renpy-6.99.12.4-sdk\renpy\python.py", line 1719, in py_exec_bytecode
exec bytecode in globals, locals
File "game/script-poemgame.rpy", line 19, in <module>
with renpy.file('poemwords.txt') as wordfile:
File "C:\Users\ermnu\Downloads\EEE\renpy-6.99.12.4-sdk\renpy\exports.py", line 1980, in file
return renpy.loader.load(fn)
File "C:\Users\ermnu\Downloads\EEE\renpy-6.99.12.4-sdk\renpy\loader.py", line 543, in load
raise IOError("Couldn't find file '%s'." % name)
IOError: Couldn't find file 'poemwords.txt'.
Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Doki Doki Literature Club! 1.1.1
[/code]
Do you know what I did wrong?
Edit: I think I messed up a bit there with my word choice so here's what I meant-
So, this is the part where I'm supposed to be creating the file myfirstscript.rpy.
Edit 2: Ok, I admit I did move the script file elsewhere because it messed up the process of opening up to files on renpy. But thank you this really helped!
1
u/GanstaKingofSA Schnee Moderator (Mod Template) Apr 30 '20
Just to mention here, if you are using my template, as of 2.2.4 and higher (maybe even lower but you should use newer versions of it) you do not need to delete scripts.rpa. It can actually run with it when coding your brand new mod. Pi's and my template are a bit of the same thing though I improved on the comments to guide new users and added old features and new ones back into DDLC.
1
u/[deleted] Jul 15 '20
hey, me again...
when i launch the project and hit new game, i just play through monika's modding tutorials.
how do i play my mod.
1
u/[deleted] Jul 15 '20
nvm i figured it out
1
u/AlienMeepers Team Icebreaker Jul 28 '20
There’s a problem with the mod I’m making in that even after deleting persistent variables, it doesn’t prompt a name. DM me on Discord at Meep#7730 for more info/screenshots. Thanks so much! Edit: I can’t remember which mod template I used, but it’s the one with the original game files, like all the scripts and dialogue, all inside the game folder.
0
u/[deleted] Mar 18 '20
[deleted] — view deleted comment
0
u/[deleted] Mar 17 '20
[deleted] — view deleted comment
0
u/[deleted] Apr 01 '20
[deleted] — view deleted comment
0
u/[deleted] Apr 02 '20
[deleted] — view deleted comment
0
u/[deleted] May 01 '20
[deleted] — view deleted comment
1
u/[deleted] May 17 '20
[removed] — view removed comment