Mod Ren'Py The Null Hypothesis - Summoner v1.5 [pepplez]

pepplez

Well-Known Member
Jun 7, 2020
1,049
1,417
307
I had uploaded the wrong version (due to copy and paste mistake) uploaded the correct version. :FacePalm:
 
  • Haha
Reactions: SuperMaxo

SuperMaxo

Well-Known Member
Nov 3, 2017
1,261
1,058
379
pepplez
I think I figured out why your mod is not fully loading on my Mac (not shown on splash screen, no independent options menu)

It's this line, I think:
It checks for TNHUXmod.rpyc, correct?

Thing is, neither Freddy's mod nor yours ever install a .rpyc on my Mac: only .rpy (I know some games automatically create a .rpyc based on the .rpy, and apparently it's happening here for Windows, but not on my machine)

Could that be it?
 

pepplez

Well-Known Member
Jun 7, 2020
1,049
1,417
307
In case you want to see

Only .rpy, no .rpyc, for neither your mod or Freddy's
Ren'Py engine also creates .rpyc files on macOS or Linux when a non-compiled .rpy file is present (It compiles it to .rpyc where the last c stands for compiled), you could also delete the .rpy file if this file is present.
Why do I don't post compiled mod-versions? I prefer to keep my code open, so everybody can see what I did).

Your file explorer probably does not display .rpyc file extensions because this feature is disabled. You may want to check your file explorer options to show/hide file extensions.
 

SuperMaxo

Well-Known Member
Nov 3, 2017
1,261
1,058
379
Ren'Py engine also creates .rpyc files on macOS or Linux when a non-compiled .rpy file is present (It compiles it to .rpyc where the last c stands for compiled), you could also delete the .rpy file if this file is present.
Why do I don't post compiled mod-versions? I prefer to keep my code open, so everybody can see what I did).

Your file explorer probably does not display .rpyc file extensions because this feature is disabled. You may want to check your file explorer options to show/hide file extensions.
I don't think that's it: here are the files for another game, The Fiery Scion (another Renpy game, made a point of choosing that)

How can my file explorer show .rpyc for a game, and not for another?
 
  • Thinking Face
Reactions: pepplez

pepplez

Well-Known Member
Jun 7, 2020
1,049
1,417
307
I don't think that's it: here are the files for another game, The Fiery Scion (another Renpy game, made a point of choosing that)

How can my file explorer show .rpyc for a game, and not for another?
I don't have a clue, tbh. Changed the script to check only if a filename contains the word "TNHUXMod" in the game folder, mind to test it?
Remove all other pepplez_summoner files in the folder before, or you stack a lot of shit and maybe break the game.
 

SuperMaxo

Well-Known Member
Nov 3, 2017
1,261
1,058
379
Fixed it. I changed rpyc to rpy in Freddy's mod, and also in your mod (only one instance each): now, both mods appear on the splash screen, and complete Options menus too. All good!
 
  • Like
Reactions: pepplez

pepplez

Well-Known Member
Jun 7, 2020
1,049
1,417
307
Fixed it. I changed rpyc to rpy in Freddy's mod, and also in your mod (only one instance each): now, both mods appear on the splash screen, and complete Options menus too. All good!
Nevertheless, I would check where the .rpyc files are going, because in the other game they are placed (like usual) in the "game" folder. That's mysterious, imho.
edit: But as said before, check the options in your file-explorer, maybe you have enabled them for only 1 game, make sure to show these files everywhere.
 

SuperMaxo

Well-Known Member
Nov 3, 2017
1,261
1,058
379
I did check when you first suggested it. Can’t find anything between this game and that. Also searched for hidden files, no luck
 
  • Thinking Face
Reactions: pepplez

pepplez

Well-Known Member
Jun 7, 2020
1,049
1,417
307
Uploaded V1.5 - changed the mod detection, thanks SuperMaxo for pointing this out.
Please read the changelog and as always, uninstall older versions first.
 

pepplez

Well-Known Member
Jun 7, 2020
1,049
1,417
307
I did check when you first suggested it. Can’t find anything between this game and that. Also searched for hidden files, no luck
Mystery solved.
Your game folder appears to be set to read-only, so the Ren'Py engine cannot save .rpyc files and compiles them in RAM every time it starts (it shouldn't use much RAM as these are scripts also the log.txt file cannot be created either due to the lack of writing rights), which delays loading but does not affect gameplay.
 

SuperMaxo

Well-Known Member
Nov 3, 2017
1,261
1,058
379
Mystery solved.
Your game folder appears to be set to read-only, so the Ren'Py engine cannot save .rpyc files and compiles them in RAM every time it starts (it shouldn't use much RAM as these are scripts also the log.txt file cannot be created either due to the lack of writing rights), which delays loading but does not affect gameplay.
Nope. That was one of the things I checked
(Sorry, it's in French, my default (and my computer's default) language)