Customize DMD-variables (and more)

Magixian

Active Member
Feb 2, 2017
152
185
#1
You must be registered to see images


Overview
This thread aims to help those who are stuck at certain deadend-routes, want to change a choice way back without starting over, or simply for those who like to customize their playthough to suit their needs. Changing variables manually can result in a balance not intended by the game, so use at your own discretion.

Enabling the console with SHIFT+O ingame. It should look something like this
You must be registered to see images
if not try this guide by muttdoggy .

The console can be used to call variables like 'v_stat_d_friend' and more importantly, alter them. Values can be booleans (True,False), intigers (1,2,3..) or unicode (text). Altering a boolean with =1 will most likely result in a gamecrash. Typing in a variable will show it's current value, if it's currently added to the script (DMD adds them gradually, most start of each day). Then it's just a matter of changing it to your liking. Like this
You must be registered to see images

Here we looked up the variable 'v_day10_d_selfdefense' and found it to have a False statement. That can then be changed by typing 'v_day10_d_selfdefense=True'. Notice that the False/True statement is case-sensitive. You will get an error otherwise.

The most common
variables are the ones connected to your Daughter. They're pretty straight forward, but it goes much deeper than that:
Code:
v_stat_d_friend
v_stat_d_love
v_boobs_points
v_ass_points
v_exhibition_points
v_sharing_points
v_BDSM_points
v_corruption
For each release alot of new variables are added. Some used shortly after, some much later or not at all. Can help out identifying which does what, if you ask in this thread.

Deadend Routes can be annoying, most noticely when Lucas show up if you havn't practiced Selfdefence with the Daughter. The game checks for 'v_day10_d_selfdefense' to be True after Lucas says: "But I’ll be doing a lot more than simply spying on you while I’m here..", and thus the check can be won by using the console
Code:
v_day10_d_selfdefense=True
Are you in the unlucky position of having progressed too far for the rollback to reach that line, there is still ways around a game over. In the console
Code:
v_day10_d_selfdefense=True
jump lb_day13_lucas
This will take you to the start of the scene with selfdefence taught. But you're also able to skip the check entirely with
Code:
jump lb_day13_apt_selfdefence
By skipping the check entirely, you're not altering the fact that Daughter didn't learn selfdefense, but you're still able to progress. Such choices are up to you, how you like to play the game.

For some rewards it can be tricky to figure out what is being checked for, and why they're not working for you. You could download a full unlock file like , but perhaps you want to unlock them yourself but only change a choice far back without replaying the whole ordeal. Like:
This achivement checks for
v_stat_d_love >= 95
v_day5_cafe01_rejectelena=True
v_day10_georginaphotos=False
v_day9_oliviareject=True
v_day13_yoga_compliment_margo=False
v_day13_yoga_perv=False
v_day6_beachhelpher=True
v_day8_condom=False
v_day8_cupid_score >= 46
v_day9_nudistbeach_binoculars=True
v_day9_nudist_towel=False
v_day5_park_photostudio=False
v_day11_georginaphotoshoot=False

For Chapter.2 variables are stored just as endofgame screen appears. These are the choices that matter for the next Chapter. No garantees they're all to be used, but it seems likely.
Variables are stored in 3x persistent files.
- chapter02a.dmdgame contains
beat_ch_1 = True
d_name
y_name
v_stat_d_friend
v_stat_d_love
v_ass_points
v_boobs_points
v_exhibition_points
v_sharing_points
v_BDSM_points
v_corruption
v_day5_cafe01_rejectelena
v_day10_georginaphotos
v_day4_office_daughtersecretary_outfit
v_day5_office01_georginasinvitation
v_day5_cinema01_movie
v_day5_park_photostudio
v_day6_geo_mast
v_day8_cupid_score

- chapter02b.dmdgame
v_day5_georginasap_deleteelenapic
v_day6_dress
v_day8_bikini
v_day9_lingerieset
v_day9_nudistbeach_binoculars
v_day9_nudist_longer
v_day8_condom
v_day9_oliviablow
v_day9_fuckolivia
v_day10_park_picture
v_day10_elena_porn
v_day10_casino_pinchnipple1
v_day10_casino_pinchnipple2
v_day11_xpot_nudepicture
v_day12_elena_kissd
v_day12_elena_showerd
v_day12_elena_touchd

- chapter02c.dmdgame
v_day12_georgina_accept
v_day11_georginaphotoshoot
v_day11_fuckelena
v_day13_carnival_rabbit
v_day13_carnival_duck
v_day13_carnival_bear
v_day13_carnival_shownipples


You must be registered to see images

Made a Custom Script
that's very VERY useful when going from Chapter 1 to 2. Here you are able to craft savedata used for Chapter 2 ingame, and in no time at all. A quick-starter for chapter 2 so-a-say. It includes some default routes for you to choose from, but you're able to make a custom route with the options suplied.


Useful commands for you to mess around with
Code:
dir()                    //shows all stored variables, that's alot
renpy.get_all_labels()   //labels can be used by the 'jump' command like in the examble above

Feel free to ask in this thread if you got specific questions how parts of the game works (within reason, I've only just started learning this yesterday :winkytongue:). If scenes dont trigger, and you're not sure why that is. Maybe people here can help.
 
Sep 30, 2017
15
5
#3
Hi Magixian, do u know how to unlock the last reward catch em all?
i got all other 68 rewards, especially the second last dmd reward.

thanks alot, great work!
 

Magixian

Active Member
Feb 2, 2017
152
185
#4
Hi Magixian, do u know how to unlock the last reward catch em all?
i got all other 68 rewards, especially the second last dmd reward.

thanks alot, great work!
Hi. Mr.Dots rewrote the code in the v.141 patch. The v.14 version checked if you had 68 rewards unlocked, but has been reported not working in some/all cases. In v.141 the game checks if you have SEEN all the other images, like renpy.seen_image("img49") but for all images. So if it doesn't unlock, make sure to have clicked on each image.
The trigger happens on day 14 after the line: "You're welcome Sir. Have a nice day." at the airport. Last jump is
Code:
jump lb_day13_airport
If all else fails, this should manually unlock it:
Code:
$ get_achievement("day13_gottacatchemall", trans=achievement_transform)
$ v_rewards_count  = change_stat(v_rewards_count ,+1)
Hope this helps
 
Likes: franzo

Magixian

Active Member
Feb 2, 2017
152
185
#6
Will add a small extension that will make it super easy to adjust stats ingame, and carry them over to Chapter 2. Got the code working, and will finish it up tomorrow before launch of Chapter 2.
 
Oct 22, 2017
3
0
#7
So for Chapter 2 it appears to get the max payout when you quit your job, the walkthru says "If Georgina didnt masturbate early on Day 7 and you rejected her". This states it's the best route for people on the daughter path. I guess I fucked up and am on the Georgina path and I dont have a save to fix this from Chapter 1.

Does anyone know of a variable I can reset to change Day 7 in Chapter 1?
 
Oct 22, 2017
3
0
#8
So for Chapter 2 it appears to get the max payout when you quit your job, the walkthru says "If Georgina didnt masturbate early on Day 7 and you rejected her". This states it's the best route for people on the daughter path. I guess I fucked up and am on the Georgina path and I dont have a save to fix this from Chapter 1.

Does anyone know of a variable I can reset to change Day 7 in Chapter 1?
I jumped back to Chapter 1 and got to Day 7 and didnt go to Georgina's apartment and didnt have her masturbate in the morning. That triggered the event where she goes into work early.

Saved the game out and tried Chapter 2 again. No luck. :(
 

Magixian

Active Member
Feb 2, 2017
152
185
#9
So for Chapter 2 it appears to get the max payout when you quit your job, the walkthru says "If Georgina didnt masturbate early on Day 7 and you rejected her". This states it's the best route for people on the daughter path. I guess I fucked up and am on the Georgina path and I dont have a save to fix this from Chapter 1.

Does anyone know of a variable I can reset to change Day 7 in Chapter 1?
Yeah. The walkthough can be abit confusing to read on that part. You need to be on a daughter ONLY route to trigger the big payout. Meaning no Elena, No Georgina and no Jennifer.
Code:
v_day6_geo_mast = False
v_day10_georginaphotos = False
v_day5_cafe01_rejectelena = True
v_day0_jennifer_reject = True
This should help you the next time you visit the office.
 

a1fox3

Loving Family Member's
Donor
Respected User
Jr. Uploader
Aug 8, 2017
12,118
6,588
#10
Did not see this and I will start sending everyone here from now on with code questions.
 
Likes: Magixian

menotyou

Active Member
Nov 11, 2017
176
181
#11
Thanks for this useful topic!

Not sure where this was talked about ... is it possible to adjust FP or LP from the game console? Links to info would be good too.
 

Magixian

Active Member
Feb 2, 2017
152
185
#12
Thanks for this useful topic!

Not sure where this was talked about ... is it possible to adjust FP or LP from the game console? Links to info would be good too.
Mornings. You're looking for v_stat_d_friend and v_stat_d_love. The remaining stats tied to D are almost at the top of the first post here.
 
Likes: menotyou

Magixian

Active Member
Feb 2, 2017
152
185
#14
Hey,
Daddy needs a condom to have some fun with Elena (cafe, day 11). Is there any code to make it happen?
If it's just the condom you're missing to be able to have some fun, then set v_day8_condom = True. You also needs to not have fooled around with Olivia to get in on the action with Elena, v_day9_fuckolivia = False.
 
Likes: menotyou
Nov 4, 2017
6
3
#16
Yeah. The walkthough can be abit confusing to read on that part. You need to be on a daughter ONLY route to trigger the big payout. Meaning no Elena, No Georgina...
Ty dear Sir for clearing this up... indeed, confusing.

...and no Jennifer.
/sad Panada mode ON

BUT.
U get message with audio rec before date with Jennifer in your apartment. So u can use it as leverage when quitting job.
Or I'm wrong?
Jen IMO is pretty nice piece of... graphics.

EDIT:
About my "but" ;)
NVM, I found your answer for this question in another thread.
v_day6_geo_mast = False
v_day10_georginaphotos = False
v_day5_cafe01_rejectelena = True
v_day0_jennifer_reject = True
Btw, game should check flags when u get audio message IMO. Not in office.
I assume that the construction of the game forces a "checkpoint" in this place but... it is illogical in my humble opinion.

Once more. Thanks for your work m8.
 
Last edited:

Magixian

Active Member
Feb 2, 2017
152
185
#18
is there a console command to get the big severance package? And does it help you buy the membership?
Yes there is: v_day0_extra_payment=True . Game checks for it when opting for buying the membership, and sets v_day16_photo_membership = True .

For day 16 it only affects if you're able to buy the membership from Cassandra. You're able to Bribe the Employee despite having the smaller payout.
 
Feb 6, 2018
18
33
#19
Hi Magixian,

and thanks a lot for this awesome thread which made me gain incredibly helpful insights!

Maybe you can give me a hint on how to export or send the renpy console output to either Windows Clipboard or to a textfile? For example: is it possible to get the renpy locals() command output into a textfile for later search and find tasks?

Thanks either for this thread and for your answer in advance
 
Likes: Magixian
Aug 9, 2017
13
1
#20
so, for fun i wanted to see how far i could go into minus on save/load pages and i realized that i now can't go back. the buttons seems to be missing. is there any fix for this? like in the console? i have already reinstalled the game multiple times and that doesn't work! please help Skærmbillede 2018-02-15 kl. 03.38.30.png