Semondemon

Engaged Member
Mar 9, 2018
2,864
8,612
I may have figured out why performance tanks; Press release version, if you play 0.994a then move to 0.994d chances are some leftover script nonsense does it. I may be insane but hear me out, I'd like anyone to start a totally new game if you got the D and see if your performance is still shit.
I think it's just leftover bullshit that causes interactions to tank; If I'm wrong well my shit theory was bad and I should feel bad. Image posted to illustrate how I feel atm, not just related to my shit theory but my life overall.
 

Fedora Man

Newbie
Jun 19, 2017
32
50
I may have figured out why performance tanks; Press release version, if you play 0.994a then move to 0.994d chances are some leftover script nonsense does it. I may be insane but hear me out, I'd like anyone to start a totally new game if you got the D and see if your performance is still shit.
I think it's just leftover bullshit that causes interactions to tank; If I'm wrong well my shit theory was bad and I should feel bad. Image posted to illustrate how I feel atm, not just related to my shit theory but my life overall.
I just downloaded 0.994d and launched a new game. I haven't downloaded any previous versions of 0.994x, but I have had (and still have on my drive) previous versions of the game. I've only just gotten through the intro scene at this point, so I'll keep an eye out for slowdown - but, since I didn't play 0.994a, I don't have a good base of comparison.

Relevant to cleanfeel discussing the pink +1s a few posts up - I haven't met any of the other girls yet, I finished the intro scene at night in my room, chose to sleep, and saw the +1s. I don't know if that's new information to either of you, but I'm feeling methodical and scientific with my parody porn this morning.

Edit: Having spent a whopping 5 minutes more with the game, I can report that I'm confident that I AM seeing the slowdown with a totally new version of 0.994d. Exactly what cleanfeel mentioned, it's at time-pass transitions and is associated with a bunch of pink +1s. That doesn't mean there isn't some old leftover script hanging around from previous versions of the game, but it does seem to suggest that it's not a leftover from 0.994a specifically interfering with 0.994d.

Kitty Edit: The mystery +1s are not Kitty. Her lust does not increment with the mystery +1s, and there was a separate +1 during a time-pass transition that DID correspond to Kitty's lust increasing by +1. Rogue's lust has also not been incrementing with the mystery +1s.
 
Last edited:

cleanfeel

Active Member
Jun 16, 2017
683
1,914
Wow...title still compiled in old RenPy v6.99... I'll convert it to 7.44, thanks.
Did you manage to do it? I tried to do it and I had some compilation error. The link for Windows d- version still is 6.99 from what I can see in the .log file. I am confused about your message.

I played the -d version of the game and it's still having that +1 lust bug. I am unable to find out what is causing it. After I unlock all 6 girls, the +1s go away but it's still laggy as shit. I'm sure it's some sort of bug in the Pass Time label. The function chain is too deep and I gave up.

I also looked for ways to allocate more resources to the game to make it brute force through the shit code, also unsuccessful.

Last night I looked into the code to try to see all values that increments 1 to lust. I couldn't find anything that would seem to be triggered.

Here's instructions to decompile the game and look through yourself:

1. Get a software to extract the archive.rpa in the /game folder. I used rpaExtract.exe. There's a few variations feel free to use whatever.
2. The end result should be a bunch of .rpy files, such as RogueScenes.rpy.
3. I used a regex to look specifically for any incrementation of Lust stat by 1. (.Statup\("Lust", \d*, 1\))
4. I manually looked at the 36 results to see what function it was part of
5. I failed to see anything

Feel free to have a go at it.

Edit:
I did a regex replace of all Lust +1s, with this regex: (.Statup\("Lust", \d*, 1\)), with +10 instead. Still getting pink +1s. This means to be it's not done via the .Statup function.

Edit2:
It's label GirlWaitUp function call that's causing the lag. I found it lol. Line 600 in script Functions.rpy.

Edit3:
It's part of the slowdown. Not calling GirlWaitUp makes it a bit playable, still some slowdown.

This n^2 loop, with 6 elements each is part of the problem.

Python:
while BOA:

            #loops through the girls in an outer loop

            $ BOB = TotalGirls[:]

            while BOB:

                    #loops through the girls in an inner loop

                    if BOA[0] != BOB[0] and BOA[0].Loc == BOB[0].Loc:                              

                            #if the two girls are not identical, and are in the same location. . .

                            if BOA[0].Loc == "bg classroom":

                                            $ BOA[0].GLG(BOB[0],700,1,1)

                                            #R_LikeKitty += 1

                            elif BOA[0].Loc == "bg dangerroom":

                                            $ BOA[0].GLG(BOB[0],700,(1+D20),1)

                                            #R_LikeKitty += 1+D20

                            elif BOA[0].Loc == "bg showerroom":                          

                                    if BOA[0] == EmmaX:

                                            #if it's EmmaX. . .              

                                            $ BOA[0].GLG(BOB[0],900,3,1)

                                            #EmmaX.LikeKitty += 3

                                    elif BOB[0] in (EmmaX,StormX) and BOA[0] != LauraX:

                                            #If it's anyone other than Laura seeing Emma's body. . .                  

                                            $ BOA[0].GLG(BOB[0],900,3,1)

                                            #RogueX.LikeEmma += 3

                                    else:                                                              

                                            $ BOA[0].GLG(BOB[0],900,2,1)

                                            #RogueX.LikeKitty += 2                                                        

                            else:                                          

                                    $ BOA[0].GLG(BOB[0],Check, D20,1)

                                    #RogueX.LikeKitty += D20

                         

                            #RogueX.LikeKitty += (int(KittyX.Shame/5)) #Rogue likes Kitty based on how slutty Kitty looks      

                            if BOA[0] == EmmaX:

                                    #if it's Emma. . .      

                                    #raise Emma's like by 1/4 other girl's shame

                                    $ BOA[0].GLG(BOB[0],1000,(int(BOB[0].Shame/4)),1)

                            elif BOB[0] in (EmmaX,StormX) and BOA[0] != LauraX:

                                    #If it's anyone other than Laura seeing Emma's body. . .  

                                    #raise girl's like by 1/4 other girl's shame

                                    $ BOA[0].GLG(BOB[0],1000, (int(BOB[0].Shame/4)),1)

                            else:                                        

                                    #raise girls's like by 1/5 other girl's shame

                                    $ BOA[0].GLG(BOB[0],1000, (int(BOB[0].Shame/5)),1)

                         

                    $ BOB.remove(BOB[0])

            $ BOA.remove(BOA[0])

         

        if Teach == 2:

                $ StormX.Loc = "bg teacher" #Sets Storm to being a teacher again

        elif Teach:

                $ EmmaX.Loc = "bg teacher" #Sets Emma to being a teacher again      

        return
 
Last edited:

Sancho1969

Message Maven
Modder
Donor
Jan 19, 2020
12,349
47,639
Did you manage to do it? I tried to do it and I had some compilation error. The link for Windows d- version still is 6.99 from what I can see in the .log file. I am confused about your message.

I played the -d version of the game and it's still having that +1 lust bug. I am unable to find out what is causing it. After I unlock all 6 girls, the +1s go away but it's still laggy as shit. I'm sure it's some sort of bug in the Pass Time label. The function chain is too deep and I gave up.

I also looked for ways to allocate more resources to the game to make it brute force through the shit code, also unsuccessful.

Last night I looked into the code to try to see all values that increments 1 to lust. I couldn't find anything that would seem to be triggered.

Here's instructions to decompile the game and look through yourself:

1. Get a software to extract the archive.rpa in the /game folder. I used rpaExtract.exe. There's a few variations feel free to use whatever.
2. The end result should be a bunch of .rpy files, such as RogueScenes.rpy.
3. I used a regex to look specifically for any incrementation of Lust stat by 1. (.Statup\("Lust", \d*, 1\))
4. I manually looked at the 36 results to see what function it was part of
5. I failed to see anything

Feel free to have a go at it.
Yes, I was able to compile to updated RenPy with no compile errors but not without it's faults. During play some background images aren't be called correctly. I'm digging into this as the code may be so fubar'd that my attempts at a walkthrough mod may only get folks so far. Statement math doesn't bother me but this is far from organized code. Ain't givin' up yet....chugging along.
 

Sancho1969

Message Maven
Modder
Donor
Jan 19, 2020
12,349
47,639
Interesting idea. A few things.

1. The blue should be brighter, As is it's hard to read.
2. Oni constantly changes the interaction system so it could get broken pretty often.
3. There is already a cheat mod for players who want to just skip to the sex.
1. that pic is a lighter blue than the games "+(number)" default is, but the eye candy is easily fixed after getting the mod statement conditionals and variables planned efficiently.
2. changes won't matter, WTs are for certain versions, updates will always have to be made...par for the course, it is what it is.
3. cheat mod and walkthrough are two separate things for an end user's experience. that being said, I've not made up my mind proceding though, still sorting through the mess of game code.

Regards.
 

cleanfeel

Active Member
Jun 16, 2017
683
1,914
I have a fix for that +1 shit.

Replace
Line 4373 in Functions.rpy
Python:
$ BOA = TotalGirls
With
Python:
$ BOA = [x for x in TotalGirls[:] if x.Loc  != "hold"]
The previous iteration was in a function call that triggers calculation for girl on girl stat change. For example, there's code that raise Emma's like by 1/4 other girl's shame.
However, when the girls are not introduced yet, their Location or .Loc is "hold".

So the code is running as if all 5 girls that I have not yet met in the same place.

And it's also why once I meet them, the number of +1s go down because they're no longer in the same location.

Somebody send that to Oni.
 
Last edited:

Fedora Man

Newbie
Jun 19, 2017
32
50
I have a fix for that +1 shit.

Replace
Line 4373 in Functions.rpy
Python:
$ BOA = TotalGirls
With
Python:
$ BOA = [x for x in TotalGirls[:] if x.Loc == "hold"]
The previous iteration was in a function call that triggers calculation for girl on girl stat change. For example, there's code that raise Emma's like by 1/4 other girl's shame.
However, when the girls are not introduced yet, their Location or .Loc is "hold".

So the code is running as if all 5 girls that I have not yet met in the same place.

And it's also why once I meet them, the number of +1s go down because they're no longer in the same location.

Somebody send that to Oni.
Nice work, cleanfeel

If anyone else is as dumb as me: to implement this fix, you first have to extract the .rpy files, I used UnRen. Next, the file that needs the line change is "script Functions.rpy", so it's not under "F" when you sort alphabetically. That took an embarrassingly long time to suss out.
 
4.40 star(s) 147 Votes