First thing to try would be to delete the RPYC files.
.rpyc
files..rpyc
files..rpyc
file, it's AST data is rebuilt from scratch. It will look nothing like the original version - and so save files won't work.I want to play NFSW Deluxe, but I can't because there is an error in the file, can anyone help me?
.rpa
files. Whatever is corrupted within the .rpa
is fixed by doing this. Ideally, someone should do this and then rebuild the game for redistribution... but not me.The problem is deeper than that.Your basic problem seems to a duplicated line in two separate script files.
_( )
), therefore strings without the magic number.1) None of the files are in the "game/tl", what is really strange for a translation.
/game/tl/
folder is empty when the .rpa
files are unpacked..rpa
files were somehow corrupted.Okay. An update.
I've downloaded the compressed file from this thread:
https://f95zone.to/threads/nsfw-nat...-nsfw-gamer.88342/post-12937923#post-12880219
... and it's broken.
I can see why someone would compress it, when the original version is 11.5GB. The compressed version if 3.25GB and the android specific version is around 3.2GB too.
You don't have permission to view the spoiler content. Log in or register now.
You might want to try the specific Android ported version:
https://f95zone.to/threads/nsfw-nat...g-final-deluxe-nsfw-gamer.88342/post-10494050
I don't know whether it works or not, as I don't use an android device for RenPy.
I did get it working on PC by unpacking the game's archives using UnRen, then deleting the now unnecessary.rpa
files. Whatever is corrupted within the.rpa
is fixed by doing this. Ideally, someone should do this and then rebuild the game for redistribution... but not me.
You might try doing the same unpack and delete, then transfer the (now unpacked) game to wherever it is that JoiPlay picks the files up from. The resulting game will be slightly bigger, but at least it works.
Good luck.
Yeah I use Compressed versionErm... As a general rule of thumb, I would recommend never ever deleting.rpyc
files.
Doing so may solve an immediate problem - but will definitely cause bigger problems.
RenPy stores the cumulative updates to any game script within the.rpyc
files.
It creates a cross reference of every line of code of the game within something called an Abstract Syntax Tree. It's why a developer can change the code and save files are still able to find the correct line despite it having moved around due to the edits.
More details here:You must be registered to see the links
If you delete a.rpyc
file, it's AST data is rebuilt from scratch. It will look nothing like the original version - and so save files won't work.
Your basic problem seems to a duplicated line in two separate script files. If not the main scripts, it could also be a problem with the translation files (which is mentioned in the log).
You seem to be using an android app called "JoiPlay" to launch the game. No clue if that is contributing.
Additionally, you're playing the "compressed" version of NSFW Deluxe - which implies someone has modified the original game to make it small enough to fit on smaller devices (like phones). Maybe whoever compressed it, screwed something up.
I'd guess you're talking about Natural Selection Female Wrestling [Final Deluxe]?
Are you using the compressed version from the thread?
https://f95zone.to/threads/nsfw-nat...-nsfw-gamer.88342/post-12937923#post-12880219
... or a different compressed version from somewhere else?
scripts.rpa
archive contains a file called .rpyc
. No first part of the name, just the extension.something.rpyc
and converted it back to something.rpy
.script.rpy
file.script.rpy
is 141KB, whereas something.rpy
is only 131KB..rpyc
file is probably a older version of script.rpyc
.scripts.rpa
archive is beyond me..rpyc
is within the scripts.rpa
archive again - but now causes all the same problems as when the files are unpacked..rpa
archive without using UnRen. So the file could be there already, or it could be some bug in UnRen that seemingly only happens with this game..rpyc
, rebuild the distribution and then repost it back to the forums.It must be because of the lack of path.Why it runs whilst within thescripts.rpa
archive is beyond me.
you can find the indexes of the rpa files inI am unsure if it's possible to see the contents of an.rpa
archive without using UnRen.
renpy.loader.archives
. But be careful, it's really big (the game I use to check have more than 1 millions characters for it).( archive_name, index_dict )
, with "index_dict" having the fully qualified file name as key, and a tuple pointing to the file into the rpa archive as value.for atom in renpy.loader.archives:
if atom[0] == "scripts.rpa":
for k in atom[1].keys():
if k == ".rpyc":
[do something]
Works fine for me like it did the time when I compressed and tested it (like every game I compress now I tested this game on two machines and on non of them I get errors), getting no errors when starting the game.Well, it's more complicated than I thought.
The original version of the game (the 10.5GB) version works just fine when run.
However, when you unpack it using UnRen, thescripts.rpa
archive contains a file called.rpyc
. No first part of the name, just the extension.
I renamed it tosomething.rpyc
and converted it back tosomething.rpy
.
It turns out that it's a non-identical copy of thescript.rpy
file.
script.rpy
is 141KB, whereassomething.rpy
is only 131KB.
Comparing them, it looks like the bogus.rpyc
file is probably a older version ofscript.rpyc
.
The unpacked version of the game fails... unsurprisingly due to all the duplicate code that exists in both files.
Why it runs whilst within thescripts.rpa
archive is beyond me.
And why it runs when the compressed versions is unpacked again also has me scratching my head.
So then I assume that Bob69 comes along, UnRen's the game, compresses it and rebuilds it. All perfectly normal for any other game. No mistakes made. But now the bogus file called.rpyc
is within thescripts.rpa
archive again - but now causes all the same problems as when the files are unpacked.
I am unsure if it's possible to see the contents of an.rpa
archive without using UnRen. So the file could be there already, or it could be some bug in UnRen that seemingly only happens with this game.
The solution is for someone like Bob69 to unpack their compressed version of the game again, remove the file named only.rpyc
, rebuild the distribution and then repost it back to the forums.
Of course the better solution would be for the original author to remove the bogus file from the original game.
And without like you checking every script itself how should I even guess something could be wrong, if the game is running fine for me.
I build the scripts.rpa again and attached it to my compression post. But I'll let the full game be as it is.
Also as a rule of thumb as long as the rpyc files have rpy files you can safely delete all rpycs as they get generated new every start anyways.
.rpyc
files and letting RenPy recreate them will lead to a lot of problems with save game files (already mentioned earlier in this same thread). Historically mismatched .rpyc
files are the #1 cause of release notes like "Save files from before version xx.xx are not compatible with this release".Well anybody could have fixed it. As its just the scripts.rpa. So no need specifically for me to unpack the rpa and repack it.You couldn't and nor should you ever have to. I tagged you because you can fix it - but it's not your problem and not your mistake. Hence why I specifically added "All perfectly normal for any other game. No mistakes made."
The original files are at fault - and clearly "working" and "not working" are somewhat dependant upon circumstance and bad luck. That you double check things like this is commendable.
Thanks. I hoped you might for the OP's sake. It's not a game I'll ever play.
I just delved into it because of the OP's post here on the Dev sub-forums as an exercise in fault finding.
I'd caution against that. It might be fine on Android, as I assume there isn't a shared saves folder across multiple releases (I don't play android games). But on PC, Mac and Linux, deleting the.rpyc
files and letting RenPy recreate them will lead to a lot of problems with save game files (already mentioned earlier in this same thread). Historically mismatched.rpyc
files are the #1 cause of release notes like "Save files from before version xx.xx are not compatible with this release".