Night Hacker

Forum Fanatic
Jul 3, 2021
4,341
21,419
Guys the lewdpatcher... is it safe? It says on the download that there is a virus detected.
The Lewdpatched file is literally just a TEXT file and is impossible to have a virus. take the PatchSG.rpy and open it up in any text editor and you'll see. It is a scripting language, RenPY/Python that is compiled by the game when it loads it.
 
  • Like
Reactions: kratos1234

Night Hacker

Forum Fanatic
Jul 3, 2021
4,341
21,419
The lewdpatches mostly aren't exe/dll files, so not really virus material. More like windows defender not like 7z or so (patch.7z). It seems they cannot read the contents of 7z files, so they just call it a virus.
I use Windows Defender and never had it complain about this, and I use 7Z files all the time.
 
  • Like
Reactions: sava75

Night Hacker

Forum Fanatic
Jul 3, 2021
4,341
21,419
Yeah I know its ridiculous, but its weird this one, usually it just warns me but its fully stopped me from installing it and then pin pointed some weird file that looks sketchy ngl
The ONLY file you need from that zip is PatchSG.rpy. That's it. It's a text file. Copy it into your game folder and you're good to go. if you're uncertain, as I said, load it into a text editor, you'll see it is all text, just a script. Impossible to be infected with anything.
 
  • Like
Reactions: kratos1234

yossa999

Well-Known Member
Dec 5, 2020
1,601
10,485
The Lewdpatched file is literally just a TEXT file and is impossible to have a virus. take the PatchSG.rpy and open it up in any text editor and you'll see. It is a scripting language, RenPY/Python that is compiled by the game when it loads it.
Although I am also almost sure that this is a false positive detection of the antivirus, it's not just a TEXT file. It is the source code written in python language that will be executed by the python interpreter bundled with the game when the patched game is launched. And it's absolutely possible to write malicious code in python.
 

Night Hacker

Forum Fanatic
Jul 3, 2021
4,341
21,419
Although I am also almost sure that this is a false positive detection of the antivirus, it's not just a TEXT file. It is the source code written in python language that will be executed by the python interpreter bundled with the game when the patched game is launched. And it's absolutely possible to write malicious code in python.
<sigh> Than don't use it. But "malicious code" is not a "virus". It is a compiled scripting language that will only do as much as the language allows, which is very limited, like most scripting languages. It is not a low level language like C that can do worse. As I said, it is literally a TEXT FILE until such time as it is compiled and as such, IT... IS... NOT... A... VIRUS! It's a FALSE POSITIVE. But as I said, don't use the fucking thing then, but quit whining about it in here! I used the exact same file from the exact same site with ZERO PROBLEMS so it is not the file, it is not the site, it is YOU and whatever you use falsely flagging this file. PERIOD!
 
  • Like
Reactions: sava75

yossa999

Well-Known Member
Dec 5, 2020
1,601
10,485
<sigh> Than don't use it.
I don't use it. I'm good with the "classic" vanilla version.

But "malicious code" is not a "virus". It is a compiled scripting language that will only do as much as the language allows, which is very limited, like most scripting languages. It is not a low level language like C that can do worse. As I said, it is literally a TEXT FILE until such time as it is compiled and as such, IT... IS... NOT... A... VIRUS! It's a FALSE POSITIVE.
Why do you think that virus has to be a compiled executable? Have you ever heard of macro viruses? Yeah, those harmless Visual Basic scripts that were run by MS Office applications like Excel and did pretty well their virus thingies? You think a script can't download shit on your system, when you'll execute it? You know, you can, for example, launch an external program from the renpy code, right? For example if it's Windows system, then add to your beloved PatchSG.rpy something like this:
Python:
init python:
    # Add these two lines below
    import os
    os.system('C:\\Windows\\system32\\cmd.exe')
But as I said, don't use the fucking thing then, but quit whining about it in here! I used the exact same file from the exact same site with ZERO PROBLEMS so it is not the file, it is not the site, it is YOU and whatever you use falsely flagging this file. PERIOD!
That's rude, bud. I'm not "whining" about anything, I'm stating that .rpy file is not just a text file, but a python script that supposed to be executed when the game starts. And I suggest everyone to always check them with the antivirus you trust.
 
Last edited:

Meushi

Well-Known Member
Aug 4, 2017
1,146
12,690
The ONLY file you need from that zip is PatchSG.rpy. That's it. It's a text file. Copy it into your game folder and you're good to go. if you're uncertain, as I said, load it into a text editor, you'll see it is all text, just a script. Impossible to be infected with anything.
I agree with the sentiment (it's a false positive), but it's not true that PatchSG.rpy is the only file you need from the patch. The package now includes an RPYC file, which users should definitely use if they want to avoid rollback errors in the future (see section B).
I'm stating that .rpy file is not just a text file, but a python script that supposed to be executed when the game starts. And I suggest everyone to always check them with the antivirus you trust.
Yes a RenPy script could include malicious code, and absolutely people should virus scan them before running them. As you noted the current 'virus' detections are almost certainly false positives, related to a glitch with Windows Defender.

Strictly speaking RenPy games 'execute' the RPYC file, but that doesn't alter the substance of your point.
 

Night Hacker

Forum Fanatic
Jul 3, 2021
4,341
21,419
I agree with the sentiment (it's a false positive), but it's not true that PatchSG.rpy is the only file you need from the patch. The package now includes an RPYC file, which users should definitely use if they want to avoid rollback errors in the future (see section B).

Yes a RenPy script could include malicious code, and absolutely people should virus scan them before running them. As you noted the current 'virus' detections are almost certainly false positives, related to a glitch with Windows Defender.

Strictly speaking RenPy games 'execute' the RPYC file, but that doesn't alter the substance of your point.
The RPYC file is created by the game when you first run it. It is the COMPILED version of that script (hence the "C" on the end). Run the game without the RPYC, then after it loads, quit the game and check the game folder, you will see a new RPYC file there. That's what scripting languages like RenPY/Python are all about. They allow a dev to change things in the script, save it and then the executable game will compile it at runtime. The RPYC file in that zip is simply a compiled version, you can ignore it and let your game compile it yourself. If you edit your PatchSG.rpy file, it will recompile it as a new RPYC version at runtime, incorporating your changes.

In fact, you can go into your GAME folder and delete (or move) all RPYC files out of it (providing you have their RPY files of the same name) and the game will compile all the RPY files all over again and you will see new RPYC files in the game folder. I do it all the time.

Anyhow... it's a false positive. Period. Bye!
 
  • Like
Reactions: Your Dudeness

Meushi

Well-Known Member
Aug 4, 2017
1,146
12,690
The RPYC file is created by the game when you first run it. It is the COMPILED version of that script (hence the "C" on the end). Run the game without the RPYC, then after it loads, quit the game and check the game folder, you will see a new RPYC file there. That's what scripting languages like RenPY/Python are all about. They allow a dev to change things in the script, save it and then the executable game will compile it at runtime. The RPYC file in that zip is simply a compiled version, you can ignore it and let your game compile it yourself. If you edit your PatchSG.rpy file, it will recompile it as a new RPYC version at runtime, incorporating your changes.
Yes the source code is the RPY file, yes the game will build a new RPYC file from the RPY file if one isn't present. The post I linked to explains why the RPYC is important for save compatability. Your posts on the matter are misleading, which is why I clarified.

Now that the patch includes the RPYC file, people using it should also use the included RPYC file. Doing so will help mitigate the regular complaints about saves not working, at least where the patch was involved, and assuming the dev properly maintains the RPYC going forward.

And thanks for the facepalm, reactions to my informative comments are always welcome! :LOL:
 

kratos1234

Member
Dec 27, 2018
481
493
The ONLY file you need from that zip is PatchSG.rpy. That's it. It's a text file. Copy it into your game folder and you're good to go. if you're uncertain, as I said, load it into a text editor, you'll see it is all text, just a script. Impossible to be infected with anything.
The other day I downloaded the compressed version and Windows Defender blocked it for me and I downloaded it again and made Windows not block it for me but the folder where the game was in did not respond, it froze
 

Mr_Mister

Member
Jan 9, 2020
108
248
i was working trying to mod back the fight cinematic into the game , when i notice something funny about the new fight stills from the game , if you carefull look to Sai friend before he hits the MC , that guy is bald !:KEK: and after the hit that guy has a full set of hair !:KEK:
 
  • Haha
Reactions: yossa999

Fun Shaundi

Member
Jun 24, 2021
418
2,347
i was working trying to mod back the fight cinematic into the game , when i notice something funny about the new fight stills from the game , if you carefull look to Sai friend before he hits the MC , that guy is bald !:KEK: and after the hit that guy has a full set of hair !:KEK:
What? Don't tell me you've never lost your wig when joining a fight!
 

Old Man Al

Active Member
Jan 18, 2022
861
5,744
i was working trying to mod back the fight cinematic into the game , when i notice something funny about the new fight stills from the game , if you carefull look to Sai friend before he hits the MC , that guy is bald !:KEK: and after the hit that guy has a full set of hair !:KEK:
That punch did more than just knock sense in him!
 

yossa999

Well-Known Member
Dec 5, 2020
1,601
10,485
i was working trying to mod back the fight cinematic into the game , when i notice something funny about the new fight stills from the game , if you carefull look to Sai friend before he hits the MC , that guy is bald !:KEK: and after the hit that guy has a full set of hair !:KEK:
What an eagle eye you have! It's damn funny, it looks like the bald guy punched MC so hard in the jaw that the chunk of MC's hair jumped onto his bald skull. :LUL:
 

Fun Shaundi

Member
Jun 24, 2021
418
2,347
So, is this game still in the process of being re-work or finished?
There are still some bits of earlier chapters that need to match the quality of the newest renders (If you make the comparison it's gonna be quite obvious that despite looking good, they're inferior to what the dev is producing now).
 
  • Like
Reactions: VeryGG

Hyroo

Newbie
Apr 8, 2020
41
22
I know this question has probably already been answered but when is the rework gonna finish ( meaning at what new ch) because I'd like to play it completely without the story and images changing every new update, it kinda fucks up with my memory of the game.
 
  • Like
Reactions: Don Sucio
4.40 star(s) 481 Votes