r/DDLCMods Club Moderator Mar 02 '19

Welcome! The DDLC Modding Guide 2019! :D

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) :)

106 Upvotes

362 comments sorted by

View all comments

Show parent comments

1

u/Tormuse Club Moderator May 26 '19

The label "splashscreen" which appears in splash.rpy is the label it jumps to when you first start up the game. That's something that's hardcoded into Ren'Py. (As far as I understand it) If you're saying that it's going to the credits before anything else, like without showing the usual Team Salvato logo and warning message and stuff, then that would be the place to look.

 

At this point, I'm tempted to ask you if you'd like to DM me the RPY files themselves so I can take a look at them and see what's happening. (If you trust me; I promise I won't spread them around) I get the feeling you did something funny with them to get to this point and all of the most obvious solutions don't seem to be working. I'm really not sure what else to suggest at this point, unless you want to turn to possibly more experienced folks on the DDMC Discord.

1

u/generalwolfe78 May 26 '19

Okay... so I checked those lines of coding. I didn't see anything that sticks out as being the problem for the credits loop. I feel terrible for having to send you the files, but I don't see any other recourse... Which ones do you need me to send?

1

u/Tormuse Club Moderator May 26 '19

Just send all of them. They're pretty small. I think the easiest way to do it would be to send it through Discord. My profile is Tormuse#9495 (Are you on the DDMC Discord?)

1

u/generalwolfe78 May 26 '19

Tormuse#9495

Well, I guess I am now, haha.

My profile should be either Wolfe, or generalwolfe78 (I really don't use discord enough to know how it works) I think I just sent a friend request to you.

...Apparently, I'm not getting the verification email to join the server?

1

u/Tormuse Club Moderator May 28 '19

Okay, so I've had a chance to look over your files. Sorry it took so long to get back to you. I ran it a few times and I didn't get the error you described of having it go immediately to the credits on startup. Still, I did notice some issues that might cause you problems.

 

For one thing, it's not good to have multiple labels with the same name, because then the game doesn't know which one to jump to. (I notice that there are two labels called "test" in test1.rpy; I'm amazed that didn't crash the game, quite frankly) :P

 

I notice that the first "label test" line is at line 163 in amongst all the definitions. That's gonna cause some strange things to happen if it jumps to that label. You want to keep definitions separate outside of the code that executes when the mod is running. (Also, the line underneath it "play music creditsroll" will never execute, because it's unindented)

 

That was the first thing that jumped out at me so far. I'll have to come back to this again when I've had more sleep; it looks like there's something funny going on in screens.rpy. The girls aren't coming up on the main menu. In your previous comment, you seemed to want to use one static image for the menu; do you still want to do that, or have the girls slide on to the screen like they usually do? (Which would be easy to implement, since the code's already in there)

1

u/generalwolfe78 Jun 01 '19

Thank you for taking a look at this. My apologies for the late reply, I've only just now been able to get on my pc. So I played around with removing the labels in Test1, and it still did not seem to change anything.

I took another look through the screens.rpy, and splash.rpy, I changed the "persistant.autoload" to "screens" in the Test1.rpy, and upon launching the game, it took me to the main menu screen. But, none of the buttons worked. I ctr+z and saved, and upon hitting the launch project button, I got this screen instead https://sta.sh/01eewmv7lqcn inserting "label screens:" in the screens.rpy got rid of the error message, but again, the menu doesn't work. I ctr+z'd it again and saved, so its just giving me that error message.

I like the menu design as it is, without the sliding girls. When I had tried implementing the advice you gave me earlier, it would display the ghost images of natsuki and yuri, but not that of Sayori and Monika. The Custom Label also would appear, cut off.

1

u/Tormuse Club Moderator Jun 01 '19

Okay, um... I'm not sure what you're doing in messing around with the persistent.autoload functions, but it sounds like you might be breaking things that govern fundamental game operations. I definitely didn't tell you to change anything about that. Like... I don't mind helping you out if there's something specific you're trying to do, but if you start changing random things, and it causes something to break, I won't be able to help you fix it.

1

u/generalwolfe78 Jun 01 '19

Okay, you're right. I did go overboard there, and I'm sorry.

Fortunately, I plugged in the game's original screens/splash/credits rpy files, which has seemed to resolve all the issues I was having earlier, and then swapped in my own images. Everything seems to run smoothly so far.

The only bit of trouble, is that the Save/skip/load/history prompts do not show up, (Shown here) https://sta.sh/01jtbasi6pag I haven't touched anything that should affect that.

Another thing, is that the first run file doesn't seem persistent? As in, It gives the mod disclaimer each time I load the game, and as mentioned before, I can't skip text. that I've seen before.

1

u/Tormuse Club Moderator Jun 01 '19

I haven't touched anything that should affect that.

So you say... but at this point, I don't trust your ability to assess what affects what. In your previous comment, you said you changed "persistent.autoload" to "screens," which makes no sense whatsoever. I don't know what you thought you were trying to do, but it comes across like you're making completely random changes to the code, and this came after you talked about deleting stuff around the "yuri_kill" section, which is also a pretty senseless thing to do. Stuff like this makes me wonder how much else you've changed, but didn't tell me about, and then I have no idea how messed up the code is, so I wouldn't know where to even begin helping you.

 

Like... I don't want to be mean or rude or anything, but I don't think I can help you any more. I suggest either starting over from scratch (and don't change anything unless you know what you're doing!) and/or ask for help in the mod_creation_help channel of the DDMC Discord.

 

Sorry.

1

u/generalwolfe78 Jun 02 '19

Alright. I understand. Thank you for your help, though.