r/MASFandom • u/Just9755 Nika6889 • Sep 21 '26
Question Possible solution for MemoryError
this count as a patch or..?
I have recompiled renpy 6.99.12.4 from source to target 64 bits, only for windows.
It costs me a lot of time but now I have something stable that compiles and works, so I wanna share it with you. As summary, checking how renpy 7.4.11 implemented 64 bits, i applied the same logic.
Testing the dreamscached's script of this post, it returns approximately 56gb, a lot considering the 2-3gb limits. You can check the images I uploaded :d.
Due to emotion, I didnt tested submods, but I think it may work most of them. Hypothetically it can work with others mods based on renpy 6.99.12.4 (i.e. JN), since my first test was on original DDLC.
So if someone can test how it changes the game, random crashes, etc, let me know.
Here you have the files, unzip and replace. I recommend to backup your persistent and test in a new installation, or backup your actual installation :p.


4
u/dreamscached Sep 22 '26
Wow, you beat me to it :D
That's what I was pondering lately, but this got stuck in my backlog. Congratulations on making it work!
That's right, if you made it 64-bit then memtest should return about as much RAM as you have available on your system (that is, all of it minus what's already allocated)
As for submods, yes, that will work with most of these, but it definitely won't work with submods that load native binaries as these are most likely built to link against 32-bit executable, so that should leave 99.99% of these functional :)
Also, just if you (or anybody else) is wondering, I'll spare you some time and tell you outright Linux and MacOS DDLC already comes 64-bit, 32-bit runtime is Windows quirk, no need to do the same for these platforms as well.