- Jun 24, 2017
- 1,094
- 1,323
Well fuck. At least *most* of the mod can still be ported... losing some of the smaller details (especially wet dreams) will still be unfortunate though.I've gotten far enough into the game that I've had to do a deep dive into how the new code works. DC has made it a lot harder to mod his game.
The story is in src.rpa, which contains standard compiled .rpyc files, so modding dialog is still a simple matter of extracting the files from the RPA and then running the latest version of un.rpyc to get .rpy files. Yay!
Some of the stuff that used to be in JSON files is now in compiled .rpymc files in the res folder, which can also be decompiled into .rypm by un.rpyc. Yay!
Text messages, Jenny's diary entries, story progression code, telescope stuff, and all kinds of important variables are in lib.rpa, which is full of compiled .pyc files, which are not decompiled by un.rpyc. There's a program called uncompyle6 which can decompile Python bytecode up to Python 3.8, and decompyle3 can do Python 3.7 and 3.8... so, naturally, the files are compiled with Python 3.9.0. That fucks me good.
It looks like .pyc files don't include a checksum, so you can hex edit anything human-readable that you find inside them, such as text (but not code). Whatever you change will have to be exactly the same length so that the game continues to jump to the right point in the file. That means that I can change Jenny's diary to say that Anon is hung like a MOUSE instead of MOOSE, and say that his dick is TINY instead of HUGE, but I can't do the more significant changes that I did previously unless I can keep the length exactly the same. (I can probably do shorter by padding with trailing spaces, but I can't do longer.)
I don't know if it will be possible to do things like add new women for Anon to think about while masturbating, or allow him to masturbate in the shower, the school washroom, the mall washroom, and the church confessional. It's still possible to mod Summertime Saga for dialog and images, but I don't know how much it's possible to add features and properly mod the game. I suspect that's why there isn't a new version of the Naughty Tribute Mod yet.
Not having access to Anon's variables, I may not be able to do things like keep track of how long it's been since he had an orgasm and then give him a wet dream when he abstains for too long, for instance.
Stay tuned while I figure out what's possible and what's not.
I don't actually follow the main game's development so I'm kinda unclear - what exactly was even the point of the "tech upgrade" (and for that matter what even is it)? Just feels like DC wasting a ton of time and effort having to (going by the vanilla changelogs) now port over all of his own content, and fucking over modders in the process