Sam
Sysadmin
Staff member
Administrator
- Dec 22, 2016
- 2,653
- 18,477
Jun 3, 2017
- #1
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 in
You must be registered to see the links
), decompile RPYC files (using built in
You must be registered to see the links
), enable the console and developer menu for Ren'Py games and more. The intent of this tool is to remain a simple, no-nonsense utility for accessing Ren'Py game content, current and past.
No dependencies, no internet connection required. You can right click->edit to see the source! Works on Windows 7, 8 and 10, but XP and Vista can be supported too (see "Known Issues" section.)
There are other tools which do similar things, for your consideration:
- UnRen Ultrahack+GUI (for Windows)
- UnRen for MacOS and Linux
Thread updated: 2023-06-14
Instructions:
You don't have permission to view the spoiler content. Log in or register now.
Known Issues - Feel free to report in the thread if you encounter any issues or bugs:
You don't have permission to view the spoiler content. Log in or register now.
Contributions:
You don't have permission to view the spoiler content. Log in or register now.
Change Log:
You don't have permission to view the spoiler content. Log in or register now.
Download
Unren-1.0.11d
Last edited by a moderator:
Reactions:
Radian_47, yamadakun, gmaximus585 and 1,627 others
3xpurt
Well-Known Member
- Feb 25, 2017
- 1,211
- 781
Jun 3, 2017
- #2
Thanks for this. I've been using several tools to do this until now.
Reactions:
monk_56, Lorens O, Imborrrrrred and 6 others
RedKing
The Sea Claims All in the End
Donor
Former Staff
- Aug 6, 2016
- 530
- 20,662
Jun 3, 2017
- #3
Clean
Krull
Retired
GFX Designer
Donor
Respected User
- Feb 1, 2017
- 2,892
- 29,713
Jun 3, 2017
- #4
Awesome , can always use more tech-ish stuff like this.
Thanks!
ace_boogie
Professional Asshole
Respected User
Former Staff
- Aug 5, 2016
- 1,993
- 4,470
Jun 4, 2017
- #5
I receive this error when I try to run it
Sam
Sysadmin
Staff member
Administrator
- Dec 22, 2016
- 2,653
- 18,477
Jun 4, 2017
- #6
ace_boogie said:
I receive this error when I try to run it
View attachment 5802
Uploaded v0.2, it should handle paths with brackets and some other special characters better
gue5t
Active Member
- Sep 11, 2016
- 594
- 1,033
Jun 4, 2017
- #7
Can you make a version where the external files are not incorporated in the bat file but the path to them is set?
P.S. Embedding executable content in bat files is bad because it can't be updated by the end user and it's easy to replace it and send the file as new/updated version in order to infect unsuspecting user systems.
Reactions:
trutru, inshaderwetrust and rafae khan
Sam
Sysadmin
Staff member
Administrator
- Dec 22, 2016
- 2,653
- 18,477
Jun 4, 2017
- #8
gue5t said:
Can you make a version where the external files are not incorporated in the bat file but the path to them is set?
P.S. Embedding executable content in bat files is bad because it can't be updated by the end user and it's easy to replace it and send the file as new/updated version in order to infect unsuspecting user systems.
That is the same for any executable, any exe can have malicious code in it or be easily binded with another. At least with a .bat script the source is viewable and the base64 encoded strings can be easily decoded. As with anything; if you don't trust the source, don't run it.
This script is intended to be a simple 1 click option, having multiple files, users having to copy different things, having to update the libraries by themselves etc doesn't fit in with the tools intended scope.
Reactions:
inshaderwetrust, Fuhdsji2, asker23 and 3 others
gue5t
Active Member
- Sep 11, 2016
- 594
- 1,033
Jun 4, 2017
- #9
My suggestion was to have 2 versions: one with everything embedded and one where the external files are linked to by the user.
P.S. The problem arrives when people start trusting you and someone else gives them a link to a modified version of the file.
Reactions:
inshaderwetrust, User #19006 and unknown78
Sam
Sysadmin
Staff member
Administrator
- Dec 22, 2016
- 2,653
- 18,477
Jun 4, 2017
- #10
gue5t said:
My suggestion was to have 2 versions: one with everything embedded and one where the external files are linked to by the user.
P.S. The problem arrives when people start trusting you and someone else gives them a link to a modified version of the file.
In v0.3 I can add a variable to define your own path, and if it isn't set it can use the built in version, best of both worlds.
I understand what you meant, however I'm saying that isn't unique to a .bat script, anyone could do that with any exe that is shared anywhere on the internet. It is the users own fault if they decide to trust a random 3rd party.
Reactions:
gue5t
LeopoldWilliamReynolds
Member
- Aug 5, 2016
- 453
- 823
Jun 4, 2017
- #11
So what is supposed to be the end result of all of this? I'm looking in my /game/ folder after running the .bat and there doesn't seem to be any change other than the addition of an un.rpyc file. I'm also seeing an ImportError: no module named site on the app when I run it, is that something that should not be happening?
Sam
Sysadmin
Staff member
Administrator
- Dec 22, 2016
- 2,653
- 18,477
Jun 4, 2017
- #12
LeopoldWilliamReynolds said:
So what is supposed to be the end result of all of this? I'm looking in my /game/ folder after running the .bat and there doesn't seem to be any change other than the addition of an un.rpyc file. I'm also seeing an ImportError: no module named site on the app when I run it, is that something that should not be happening?
Just updated to v0.3, which sets PYTHONPATH which should fix your issue, link in OP
I'll add the optional configuration gue5t requested in 0.4.
Reactions:
EreelKryeg, Lt. Aldo Raine, gue5t and 1 other person
sherlockhomes
Member
- Apr 19, 2017
- 105
- 60
Jun 4, 2017
- #13
Thank you .
Great tool!
Lt. Aldo Raine
Sharing Is Caring
Donor
Former Staff
- Mar 24, 2017
- 840
- 4,977
Jun 6, 2017
- #14
Sam said:
Just updated to v0.3, which sets PYTHONPATH which should fix your issue, link in OP
I'll add the optional configuration gue5t requested in 0.4.
You have completely changed all my plans I had today just by this tools creation. You've made a Happy Perv today......his friends not so much.
Reactions:
nightmoods, happyweapons and eeyeemkY
yolostar
New Member
- May 2, 2017
- 6
- 1
Jun 7, 2017
- #15
What is the purpose of Extracting RPA packages and decompile RPYC file?
Reactions:
Tarter
Sam
Sysadmin
Staff member
Administrator
- Dec 22, 2016
- 2,653
- 18,477
Jun 7, 2017
- #16
yolostar said:
What is the purpose of Extracting RPA packages and decompile RPYC file?
All the images used in renpy games are usually packaged in an RPA file, by extracting them you'll be able to easily see all images contained in the game.
Sometimes a developer will only distribute the RPYC files, which are compiled RPY files, meaning they cannot be viewed in a text editor. Decompiling them will allow you to view the games source code.
Reactions:
Sliverevils and abc6969Y
yolostar
New Member
- May 2, 2017
- 6
- 1
Jun 7, 2017
- #17
Sam said:
All the images used in renpy games are usually packaged in an RPA file, by extracting them you'll be able to easily see all images contained in the game.
Sometimes a developer will only distribute the RPYC files, which are compiled RPY files, meaning they cannot be viewed in a text editor. Decompiling them will allow you to view the games source code.
K thnx for the info.
riddikk91
Well-Known Member
- Apr 22, 2017
- 1,048
- 1,658
Jun 12, 2017
- #18
Many thanks for this - nice work!!
Glaoui
Member
Donor
- Apr 8, 2017
- 139
- 205
Jun 15, 2017
- #19
An impressive job. Thanks a lot!
ikaruga
Well-Known Member
Modder
Donor
Respected User
- Aug 11, 2016
- 1,192
- 2,526
Jun 17, 2017
- #20
It's amazing work !
Reactions:
ekpptnetShow hidden low quality content
You must log in or register to reply here.