Didn't end up working for me unfortunately.I had the same issue. Do this to fix it.
1. Extract the unren files to any location.
2. Open UnRen.command in text editor.
3. Go to line 72 (may be different) where rpatool_raw and unrpyc_raw variables are defined. Your last screenshot shows the exact lines I am referring to. Remove space in this text "UnRen Tools"
4. Remove space from the actual UnRen Tools folder
5. This error will now be gone and will likely get python is not defined.
6. If you get python is not defined, find and replace "python " (that is python with space at the end) to "python2 " (that is python2 with space). Select match case option. Replace all.
7. After this it will work and ask you to drag and drop your game directory.
8. It will give an error after you select an option. Repeat step 5 in rpatool file inside UnRenTools folder.
Likely that too. Remove space and try.I think it is because of this space in this dir "UnRen v0.8.2"
Not sure why it is still not working for you.Didn't end up working for me unfortunately. View attachment 1891228
[Desktop Entry]
Encoding=UTF-8
Path= // ← must be empty or all extracted go there
Exec=python2 "/full/path/to/rpa tool/rpatool" -x // ← dont forget "" if there spaces
Icon=
Terminal=true
TerminalOptions=
Type=Application
MimeType=application/rpa;
Name=rpatool -extract
I have used Windows for a long, long time, but recently switched to Linux. I have also programmed a few things, I enjoy it and like the challenge, but I am far from a programmer. As such I thought I would try and convert the UnRen by Sam bat script to a script using the Bash shell as a learning challenge for programming Bash. I have attached my working file, and I have tested on about 15 games. I ran into errors using the UnRen-1.0.5.zip posted in the first post on the Windows UnRen.bat thread with some random RPYC files not de-compiling properly. I then found a new post with UnRen-ultrahack.rar by VepsrP attached for some people who were having de-compile issues. I switched to the changes made in that file, and all errors I was having were now gone. I have also added some changes to the script from the UnRen-Ultrahack version, such as deobfuscating and instead of deleting the RPA file when extracted give the option to rename it instead. I think that is better then deleting.game
You must be registered to see the links
UnRen for Mac and Linux v0.8.2
by goobdoob @ www.f95zone.to
based on the original version by jimmy5 @ www.f95zone.to
and UnRen.bat by sam @ www.f95zone.to
....
fixed by using rpatool directly
Holy shit dude! This is awesome! Thank you so much for doing this. It works just like the windows version.I have used Windows for a long, long time, but recently switched to Linux. I have also programmed a few things, I enjoy it and like the challenge, but I am far from a programmer. As such I thought I would try and convert the UnRen by Sam bat script to a script using the Bash shell as a learning challenge for programming Bash. I have attached my working file, and I have tested on about 15 games. I ran into errors using the UnRen-1.0.5.zip posted in the first post on the Windows UnRen.bat thread with some random RPYC files not de-compiling properly. I then found a new post with UnRen-ultrahack.rar by VepsrP attached for some people who were having de-compile issues. I switched to the changes made in that file, and all errors I was having were now gone. I have also added some changes to the script from the UnRen-Ultrahack version, such as deobfuscating and instead of deleting the RPA file when extracted give the option to rename it instead. I think that is better then deleting.
I tried to credit the creators properly, I credited Sam as the original creator and VepsrP for the Ultrahack changes, and left the previous credits as well. If there is anyone missing I should add, let me know.
I have attached the file below. It is a readable script, so you will need to give it execute permissions (chmod +x <script>). I have tried to optimise the coding as I went, but I am new to Bash scripting and Googled things I did not know how to create. I tried to find a few examples for anything I was looking for incase there was a better, or optimised/preferred/correct way of doing things. As I have tried to recreate the Windows BAT file it may not use the best practices for Linux or Bash, i.e. there may be better ways to do things. If you have any feedback let me know, I enjoy this stuff so am always eager to learn. I made and tested this on Linux Mint 21, so if it doesn't work for you, you can post your error but bear in mind I am two weeks into Linux, so I myself may not have a fix or solution.
FYI, I also tested my script on the game you linked to on Google Drive, Project Redacted, and it worked ok, extracted the archive.rpa file and ran.
Forgot to add, you extract the file in to the Games folder (where the game, lib, and renpy folders are) and run it, just like the Windows BAT.
Thanks for the encouragement.Holy shit dude! This is awesome! Thank you so much for doing this. It works just like the windows version.
You need to create a new thread and post this.
Working great for me!Here is the latest update, version 1.0.9.9. I have named it this based on the 1.0.9 from UnRen.bat, and the .9 from UnRen-Ultrahack. Version numbers will follow this scheme going forward as I am simply making a working script for Linux. The actual software that does the work, UnRpyc and Rpatool, is being maintained by others and gathered from those existing scripts.
UnRen.bat - RPA Extractor, RPYC Decompiler, Console/Developer Menu Enabler: f95zone.to/threads/3083
UnRen-old, UnRen-Ultrahack, UnRen Windowed, UnRen-Powershellhack: f95zone.to/threads/92717
Before I post a new thread I am providing it here for others to use first.
You don't have permission to view the spoiler content. Log in or register now.
You can download it fromYou must be registered to see the links, or attached.
If no issues, I will make a new thread for changes going forward.
I have had a look at the original Mac file, and I have started some integration to the script I already released for Linux to also work for MacOS, and will post it here for you to test as I don't have access to MacOS. The main differences is the folder location and how to launch it, I have already adapted the script to accept drag and drop and to set the folder locations correctly for MacOS in script.Does UnRen work for Mac again? Or is it still broken?
Are you able to test on Mac if it works correctly? I don't have Mac, but it works ok except for a bug I found with game directories that have spaces in the names. I tried to submit to Codeberg but is is giving me a permissions issue, so I will attach it here, with my changes documented below. The changes fix the quoting, folder names were being expanded when passed to trap and as they have a space it was breaking the command. The folders weren't being cleaned up. Tested on Linux Mint 21, not MacOS.EDIT: Fix miss -quote on Quicksave n Quickload key
======
Here is an updated UnRen for Mac and also works for Linux. Based on the latest UnRen-ultrahackv10.
You don't have permission to view the spoiler content. Log in or register now.
Yes, I'm using a mac, and I even installed a Linux vm just to check for compatibility and still miss that quoting bugAre you able to test on Mac if it works correctly? I don't have Mac, but it works ok except for a bug I found with game directories that have spaces in the names. I tried to submit to Codeberg but is is giving me a permissions issue, so I will attach it here, with my changes documented below. The changes fix the quoting, folder names were being expanded when passed to trap and as they have a space it was breaking the command. The folders weren't being cleaned up. Tested on Linux Mint 21, not MacOS.
I also uploaded a new script on the previous pages, mainly to learn Bash scripting having moved to Linux now, and because at a quick glance at the first code I wasn't sure where to start (at the time). While my script has a bug or two I was working on, as well as adding, in theory, support for the Mac drag and drop, I did it mainly as a learning experience. Your update to the original still has a polish to it mine does not yet have, and this works ok for me, I will stop development and contribute to your version instead as it already has a userbase and this thread. I am just unable to test if the changes I make work on Mac.
You don't have permission to view the spoiler content. Log in or register now.
Just used in on up-to-date Manjaro, and at first glance it worked fine as well.Tested on Linux Mint 21, not MacOS.