Tool Ren'Py UnRen.bat v1.0.11d - RPA Extractor, RPYC Decompiler, Console/Developer Menu Enabler

5.00 star(s) 9 Votes

Baddog-11

Member
Jul 6, 2017
123
248
Sorry, but I think there is a misunderstanding I didn't have something so complicated in mind.
It was just supposed to be a minimalistic change for the line 349 & 350 to display the actual keys that have been set through the integrated Configuration of UnRen at the very beginning of the script, %quicksavekey% & %quickloadkey% are already defined through that.
Line 348: echo Default hotkeys:
Line 349: echo + Quick Save: F5
Line 350: echo + Quick Load: F9
Line 348: echo Set hotkeys:
Line 349: echo + Quick Save: %quicksavekey%
Line 350: echo + Quick Load: %quickloadkey%
Code:
@echo off
REM --------------------------------------------------------------------------------
REM Configuration:
REM   Set a Quick Save and Quick Load hotkey - http://www.pygame.org/docs/ref/key.html
REM --------------------------------------------------------------------------------
set "quicksavekey=K_F5"
set "quickloadkey=K_F9"
REM --------------------------------------------------------------------------------
REM !! END CONFIG !!
REM --------------------------------------------------------------------------------
Here you can change the hotkeys to something else for example to F10 & F12
Code:
set "quicksavekey=K_F10"
set "quickloadkey=K_F12"
But the console will still return that the hotkeys are the defaults F5 & F9


With the little change that I suggested it would then output the keys that have been really set in the config.


I tested the change myself and even though it displays the new defined keys as they are beginning with "K_" I can now Quick Save & Quick Load with the new set hotkeys F10 & F12.

I suppose that the unren-quick.rpy which UnRen.bat creates overrides the default hotkeys if such have even existed before.
 
Last edited:

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,366
Sorry, but I think there is a misunderstanding I didn't have something so complicated in mind.
It was just supposed to be a minimalistic change for the line 349 & 350 to display the actual keys that have been set through the integrated Configuration of UnRen at the very beginning of the script, %quicksavekey% & %quickloadkey% are already defined through that.
Line 348: echo Default hotkeys:
Line 349: echo + Quick Save: F5
Line 350: echo + Quick Load: F9
Line 348: echo Set hotkeys:
Line 349: echo + Quick Save: %quicksavekey%
Line 350: echo + Quick Load: %quickloadkey%
Code:
@echo off
REM --------------------------------------------------------------------------------
REM Configuration:
REM   Set a Quick Save and Quick Load hotkey - http://www.pygame.org/docs/ref/key.html
REM --------------------------------------------------------------------------------
set "quicksavekey=K_F5"
set "quickloadkey=K_F9"
REM --------------------------------------------------------------------------------
REM !! END CONFIG !!
REM --------------------------------------------------------------------------------
Here you can change the hotkeys to something else for example to F10 & F12
Code:
set "quicksavekey=K_F10"
set "quickloadkey=K_F12"
But the console will still return that the hotkeys are the defaults F5 & F9


With the little change that I suggested it would then output the keys that have been really set in the config.


I tested the change myself and even though it displays the new defined keys as they are beginning with "K_" I can now Quick Save & Quick Load with the new set hotkeys F10 & F12.

I suppose that the unren-quick.rpy which UnRen.bat creates overrides the default hotkeys if such have even existed before.
It began to output with the letter K because initially static text was used for output in console, where the key values are presented in the standard form, and in your version the value written in the RenPy format is output. And then either learn how to work with strings and trim this letter when displayed on the screen, or leave it in the classic format in the variable, and add this prefix when writing to the file.
But I, like everyone else, also did not understand why all this was happening. :D
 

srksrk 68

Forum Fanatic
Modder
Sep 17, 2018
4,394
5,611
I found a small thing that could be changed but it's not really that important.

When running the Quick Save/Load Option the Console returns that the Default hotkeys are F5 & F9 but since you can change them in the Configuration, I thought it would be nice if the console would show the keys that have actually been set.
(Even though I don't think that many people even change those keys hence why I don't see it as important.)

One would just need to replace F5 & F9 with %quicksavekey% & %quickloadkey%.
echo Default hotkeys:
echo + Quick Save: F5
echo + Quick Load: F9
echo.
echo Hotkeys:
echo + Quick Save: %quicksavekey%
echo + Quick Load: %quickloadkey%
echo.
Why not adding a serial letter functionality, an anti virus, and a toaster, while you're at it?
 

Madeddy

Active Member
Dec 17, 2017
814
468
If I get a "the given file is not a valid Ren'Py archive, or an unsupported version" error when trying to extract RPA packages...
You need to give us more, more, more...moooorrreee INFO's. :illuminati: Which game?
Could have many reasons, but i am going to say it smells like modified rpa format trickery. You can try and unpack with my , if it's nothing totally new or another problem it should do.
Well, there are versions 1, 2, 3 and the latest like 3.2, but I saw information about some unofficial 4, so that's it.
Everything beside RPA1-3.0 is unofficial, besides the infamous short-lived (half-official)"ALT-1.0". Perhaps a personal wish from some renpy fan/dev whatever but did just make problems with people.
There are also "RPI-3.0", "RPA-3.1", "RPA-3.2", "RPA-4.0", 'ZiX-12A', 'ZiX-12B'. All unofficial. And picked.

Sorry, yea I meant decompiling...
No prob at all. :)
 
  • Like
Reactions: yoyomistro

GreenGobbo

Member
Oct 18, 2018
453
1,225
Even for just unpacking it will fail on a lot of games made since late 2019, I'm surprised you were still able to use .6 with no issues.
Oh yeah, it totally broke a bunch of stuff. But I always make sure to c&p any game before I run it so if something does break I can just delete it, and go back to the original that wasn't unrenned then just play "as intended". lol
Kinda feeling dumb now for not knowing this was still being worked on/updated. :ROFLMAO:
 
  • Like
Reactions: yoyomistro

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Respected User
Donor
Jun 10, 2017
10,290
15,149
But the fact that he used version 0.6 is surprising. I got acquainted with this tool when it was already 0.8, and possibly 0.9 although it was a year and a half or two ago, I'm afraid to imagine since when 0.6 was used:eek: :BootyTime:
It's not necessarily this old, the 0.7 is dated from 13 august 2018. I don't know for the 0.6, I don't have it, or lost in a even more obscure part of one of my hard disks.
Oh, by the way, thanks to you I just made some cleaning and removed totally useless archives ;)
 

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,366
It's not necessarily this old, the 0.7 is dated from 13 august 2018. I don't know for the 0.6, I don't have it, or lost in a even more obscure part of one of my hard disks.
Oh, by the way, thanks to you I just made some cleaning and removed totally useless archives ;)
You're welcome ;)
 

cold_arctus

Devoted Member
Sep 25, 2018
8,945
10,823
Yes. There is no need.
The user has two ways (basically 2 with 2 variants each) to run it:
  • Put it in the games ../base directory or in ../base/game
  • Start it with your target directory as argument passed (again these 2 dirs possible) like in the screenshot up there
Isn't this nice and convenient?
Mmmh... Goobdoob's unren version allows me to store it wherever I want and all I have to do is drag and drop the target game into unren's terminal.

Not sure which approach is cleaner or more convenient for users. Having unren stored in every single game folder (or copy and paste/move it from one game to another) or simply have one copy saved in your general game folder together with all your other RenPy games. :unsure:
 

Chrisdarock19

Well-Known Member
Oct 15, 2018
1,056
1,412
Have one copy saved in your general game folder together with all your other RenPy games. :unsure:
I thank you all for continually updating this wonderful tool. I take the above approach and store one version of Unren in my general games folder and copy/move it into the games as and when required, as not all games require its features.
 
  • Like
Reactions: Walter Victor

J2400

Newbie
Aug 27, 2018
52
46
You need to give us more, more, more...moooorrreee INFO's. :illuminati: Which game?
Could have many reasons, but i am going to say it smells like modified rpa format trickery. You can try and unpack with my , if it's nothing totally new or another problem it should do.
It's Heroes Rise: Prison Break. The art-style seems interesting, but the game itself is completely busted code-wise. There's a single archive.rda file, but UnRen doesn't trouble with that with some other games.
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Respected User
Donor
Jun 10, 2017
10,290
15,149
Not sure which approach is cleaner or more convenient for users. Having unren stored in every single game folder (or copy and paste/move it from one game to another) or simply have one copy saved in your general game folder together with all your other RenPy games. :unsure:
The three should be able to be put together. Both for the traditional BAT approach and for Madeddy Python rewriting.
If the script have arguments, take the base directory from this argument (drag&drop), and if there's no arguments, look if there's a sub directory named "renpy" (base directory) or not (game directory).
 
  • Like
Reactions: cold_arctus

letheru

New Member
Sep 16, 2017
11
4
Thanks for the Program

I want to make a suggestion for the next version. That the program inserts the "HIDE" button on the screen that many developers do not usually put.
 

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,366
Thanks for the Program

I want to make a suggestion for the next version. That the program inserts the "HIDE" button on the screen that many developers do not usually put.
What do you want to hide?:sneaky:
 

Walter Victor

Forum Fanatic
Dec 27, 2017
5,648
19,536
Thanks for the Program

I want to make a suggestion for the next version. That the program inserts the "HIDE" button on the screen that many developers do not usually put.
Hide button? :unsure:
What do you want to hide?:sneaky:
I suspect he wants to be able to 'hide' the text boxes or the texts themselves. That function can usually be accomplished by pressing the 'H' key or the Middle button on the mouse.

When I want to, I get rid of the text boxes completely by using Ren'Py Transparent Text Box Mod, developed by Penfold Mole. You can find that here: Ren'Py Trasparent Text
 

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,366
I suspect he wants to be able to 'hide' the text boxes or the texts themselves. That function can usually be accomplished by pressing the 'H' key or the Middle button on the mouse.

When I want to, I get rid of the text boxes completely by using Ren'Py Transparent Text Box Mod, developed by Penfold Mole. You can find that here: Ren'Py Trasparent Text
I'm just using the middle mouse button aka the scroll wheel :unsure:
 

cold_arctus

Devoted Member
Sep 25, 2018
8,945
10,823
I think he means the 'H' button that hides the textbox in RenPy games
I suspect he wants to be able to 'hide' the text boxes or the texts themselves. That function can usually be accomplished by pressing the 'H' key or the Middle button on the mouse.

When I want to, I get rid of the text boxes completely by using Ren'Py Transparent Text Box Mod, developed by Penfold Mole. You can find that here: Ren'Py Trasparent Text
I wasn't sure if he meant the "H" key or the transparent text box. But in my opinion both goes beyond unren's purpose and into a "universal renpy toolkit" approach.

So, what comes next? Add coffee brewing function for my espresso machine or connect my home smart system to lower my blinds as soon as I start playing a porn game?
 
Last edited:

Madeddy

Active Member
Dec 17, 2017
814
468
...
Oh, by the way, thanks to you I just made some cleaning and removed totally useless archives
I know this. Every time a surprise what we find. But that's always soooo cumbersome and time consuming. Let's "format c:" is so much cooler. :whistle:
UnRen.bat v0.8 is still the best one
Sure, sure. Totally. If we forget the fact decompiling is broken for over 1½ years in "<= v0.8" . :rolleyes:
Mmmh... Goobdoob's unren version allows me to store it wherever I want...
Huh? Store unren or output of unpacking/decompiling everywhere?
... and all I have to do is drag and drop the target game into unren's terminal.
What's next? Build-in ability to w(h)ip users asses? Bring coffee to the bed? Massages? Snob!

carrey_angry.gif

...Not sure which approach is cleaner or more convenient for users. Having unren stored in every single game folder (or copy and paste/move it from one game to another) or simply have one copy saved in your general game folder together with all your other RenPy games. :unsure:
I take "Gate 2". The other is nonsense IMO.

EDIT: Oops... This happens if i begin my answer two hours back, do some stuff on the side(coffee) and send it just now, while some hyperactive users added in the meantime 7(!) posts. Why did cold_arctus have the same ideas about coffee maker ability in unren? :oops: Edit2: Lowering blinds sounds interesting. Didn think of it.
 
Last edited:
5.00 star(s) 9 Votes