- Dec 17, 2017
- 7,426
- 9,693
That doesn't look like a Ren'Py game.Hello. When I start it gives me this message. What to do?
That doesn't look like a Ren'Py game.Hello. When I start it gives me this message. What to do?
Find an equivalent tool for the engine used by this game ? Because unren works only with games using Ren'py, which isn't the case of this game. I don't even know what engine it can be, it's not Ren'py, nor RPG Maker, Tyrano builder, Twine, Unity or Unreal. It also don't look like a RAG game, not a QSP one, and it's definitively not a Flash one.What to do?
Seems to me that the antivirus simply doesn't like that unren wants to launch the command prompt. Which is a legit concern from a general point of view, but doesn't take into consideration that unren doesn't do anything malicious with it.When I run the UnRen batch file Bitdefender opens up with first a "Disinfecting" pop-up and then a "Threat Removed - Malware" pop-up. The following information is give upon clicking on the "Threat Removed" pop-up:
Potentially malicious application blocked
2 minutes ago
Feature:Advanced Threat Defense
Application cmd.exe has been detected as potentially malicious and blocked. Application path: C:\Windows\System32\cmd.exe
Anyone else encounter this? I am new around here and I apologize if this issue is addressed earlier in the thread, I don't want to read through 29 pages but I will if this topic has been addressed and that's the etiquette.
I took a look a the batch file in Notepad++ and all I can discern from it is that I know absolutely nothing about basic programming.
Seems to me that the antivirus simply doesn't like that unren wants to launch the command prompt. Which is a legit concern from a general point of view, but doesn't take into consideration that unren doesn't do anything malicious with it.
how do i know when the program is finishedView attachment 138006
I had originally created this script for myself, but I've decided to clean it up a bit and release it for everyone. You can extract RPA archives (using built inYou must be registered to see the links), decompile RPYC files (using a fork ofYou must be registered to see the linksby @amanapanama ) and enable the console and developer menu for Ren'Py games.
No dependencies, no internet connection required. You can right click->edit to see the source. Works on Windows 7, 8 and 10. XP and Vista users might need this PowerShell update from Microsoft:You must be registered to see the links
Instructions:
1. Copy UnRen.bat to either the game's root directory (where the exe is) or the /game/ folder
2. Double click on UnRen.bat to execute
3. Select the option you require
Both RPA and RPYC files will be extracted/decompiled to the same path as the original files.
Known Issues:
- Having non-ASCII characters in your folder path may cause issues
- Unrpyc hasn't been updated for RenPy v7 yet, games which make use of the newYou must be registered to see the linksfeature will not decompile correctly
Let me know if you encounter any issues or bugs.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
Are you sure you're putting it in the right place? You're using it with a Ren'Py game?I've been having a lot of trouble with UnRen saying it can't locate files, it says nothing about the directory, just after I try to extract packages it fails to find them.
Are you sure you're putting it in the right place? You're using it with a Ren'Py game?
What is the exact error message?
That's bizarre. The script unpacks unrpyc.py and runs that.I'm also getting similar errors.
It's unable to find unrpyc.py.
Exact error message
+ Decompiling "script.rpyc" - 1892772 bytes
D:\<gamedir>\lib\windows-i686\python.exe: can't open file 'D:\<gamedir>\game\..\unrpyc.py': [Errno 2] No such file or directory
Cleaning up temporary files...
Could Not Find D:\<gamedir>\unrpyc.py
I've tried putting unrpyc.py from amanapanama's repo in the root but it will still fail and then end up deleting it afterwards.
When the rpy files are compiled to rpyc, comments are removed. Probably. The documentation doesn't talk about this, but that's how .py->.pyc works (and compilers in general).I have a general question :
I used UnRen to extract the script files of a game. The *.rpy-script files seem to not contain any comments from the dev. Does that mean that the developer did not use comments or are the comments removed from script files when scripts are packed und UnRen/unrpyc so cannot restore the comments in script files?
_gui.rpy might exist in the archive already, so unrpyc would not decompile _gui.rpyc and overwrite it, unless told to. You should check to see if that's the case.I have special questions :
I used UnRen on CureMyAddiction 0.3.3.
The script file CureMyAddiction-0.3.3-win\game\scripts\!init\_gui.rpy does not have the line "# Decompiled by unrpyc:..." for me. This probably means that extracting the script was incomplete. Is this a hint that the original script code contained a coding error or are there codings which are unsupported by unrpyc? Is there a log file from UnRen/unrpyc giving details why the script could not be unpacked?
You can remove your "probably".When the rpy files are compiled to rpyc, comments are removed. Probably.
Or at the opposite too much of them and totally useless ones.But...many devs of these kinds of games are not programmers; they don't know the importance of comments. So there might not have been comments in the first place.
The result will be incomplete (and so unusable) .rpy files. Basically if the game have user defined statements defined as block, you'll have something like this :There are things that the unrpyc used in UnRen 0.7 don't support (specifically, blocks and layered images). I don't know what happens if it tries to decompile a file that uses those.
label blablabla:
myUserDefinedBlock blibli:
pause 1
This error log is created by Ren'Py, not by unrpyc.Dunn why, but sometimes it breaks the game.
As example the gameYou must be registered to see the links
After the executions of all function on Unren, the game don't start.
There is an error log
You don't have permission to view the spoiler content. Log in or register now.
I really hate this error, because the effective problem have absolutely nothing to do with the error message ; and I never remember what's exactly the problem, which probably mean that there's more than one cause for this.There is an error log
[...]
NameError: global name '_menu' is not defined
[...]
config.developer = True
by config.developer = False
is sometime enough to correct the problem. Else, remove (or move them outside of the game) all the .rpy and .rpyc files (warning, keep the .rpa files) and it should works.Usually, to fix those errors i was manually jumping to those lines of code and solved themI really hate this error, because the effective problem have absolutely nothing to do with the error message ; and I never remember what's exactly the problem, which probably mean that there's more than one cause for this.
Editing "[path to the game]/game/unren-dev.rpy" and changing
config.developer = True
byconfig.developer = False
is sometime enough to correct the problem. Else, remove (or move them outside of the game) all the .rpy and .rpyc files (warning, keep the .rpa files) and it should works.
UnRen is the tool that enables things; for console commands for specific games you should ask in the respective game threads.Hi, Does anyone have some commands to use in Mythic Manor? For ex set Love levels or jump to scenes. New to UnRen tool. Thanks