CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

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

5.00 star(s) 9 Votes

goobdoob

Conversation Conqueror
Modder
Respected User
Dec 17, 2017
7,426
9,695
I assumed "Four Element Trainer".




There's worse, way worse. I'll not name the game, but there's one with around 1600 "hide screen" for a total around 9600 lines of code ; almost 1 out of 5 line is a "hide screen". Most on block of 5 or more ; one goes up to 36 "hide screen" in a row. It officially became the worse I've seen.
If you are curious, search in my recent activity, I wrote twice on the thread last week, not on the same day...
Oh wow. My favorite parts were (paraphrased):

  1. I have a software degree
  2. I'm using globals because I don't want to pass locals around
  3. I don't have the structure planned out

Perhaps his software game design degree should have actually included some software ENGINEERING? Design, THEN code.

Oh, yeah, and "Ren'Py is not object oriented". Sometimes it's a bit too object oriented.
 

Maid Lain

Well-Known Member
Modder
Game Developer
Apr 4, 2018
1,888
16,567
Oh, yeah, and "Ren'Py is not object oriented". Sometimes it's a bit too object oriented.
Classes are the worst part about Python and I'd probably use Python if doing OOP with it wasn't so annoying. I'll make a simple class but then notice every single line starts with "self.", every function verbosely has "self" passed to itself, and that every other word in the class is "self".

It drives me crazy.
 

goobdoob

Conversation Conqueror
Modder
Respected User
Dec 17, 2017
7,426
9,695
Classes are the worst part about Python and I'd probably use Python if doing OOP with it wasn't so annoying. I'll make a simple class but then notice every single line starts with "self.", every function verbosely has "self" passed to itself, and that every other word in the class is "self".

It drives me crazy.
My pet peeve is printing. You print out an instantiation of a class and it doesn't print the member variables, just the object reference. I don't care about the object reference, I want to see the data. Don't make me write a custom function to dump it; the language should handle it.
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
11,006
16,292
I'll make a simple class but then notice every single line starts with "self.", every function verbosely has "self" passed to itself, and that every other word in the class is "self".
Coming from Perl, it don't bother me this much ; what bother me is its rigidity. This said, the presence of the self parameter is mandatory since class can also contain methods that are linked/bounded to the class, not to the object ; they have no first parameter, neither the object nor the class.
You don't have permission to view the spoiler content. Log in or register now.
It can be handy when the code is related to the class, but not to an object. By example with Ren'py user defined statement, you can use this way to link the parser/execute code directly to the class used by the said statement. No function that wander alone on the store, no need to find a name, and you'll always know where to find them. If you also use the auto documentation of Python, their doc will be displayed in the same time than the object doc.

And obviously there's the methods that works before __init__, so before the object creation. For them it's the class which will be the first parameter, not the object.
You don't have permission to view the spoiler content. Log in or register now.
Way less useful with Ren'py, but strictly duck typing spirit, especially the first example.
Note: perhaps I made typos in the examples, I'm not fully awake.


Don't make me write a custom function to dump it; the language should handle it.
It handle it, obj.__dict__, or have I misunderstood what you said (which is a possibility).
 

3xpurt

Well-Known Member
Feb 25, 2017
1,214
787
im new to this kind of stuff how do i use this lol im trying to adjust a lust in a game but cant find how to do it
You run UnRen once, before you start the game, choosing the option for activating the in-game console. When in game, I think the key is shift-D for dev console. There is a variable viewer there, which if you're lucky will show you the variable you need to adjust lust. You then need to type the new value in the console in the same format as shown in the variable viewer. That's the general gist of it, but it can be a bit more complex than that, depending on the variables.
 

mandomedo

Newbie
Apr 29, 2017
57
13
some games when i extract the images it cant be opened showing this "it looks like we don't support this file format"
 

TCMS

Quote my posts if you want an answer
Donor
Former Staff
Aug 5, 2016
5,797
30,934
some games when i extract the images it cant be opened showing this "it looks like we don't support this file format"
probably because they are using webp and you don't have the codecs installed
 
  • Like
Reactions: bas

bas

retired
Donor
Respected User
Former Staff
May 6, 2017
3,988
30,560
some games when i extract the images it cant be opened showing this "it looks like we don't support this file format"
If you're on Windows, download and install this:
 

mike234

New Member
Oct 7, 2017
4
3
i'v got an error using the script :
something about permission denied, and error 13 ,could not extract files
please asisst
 

bas

retired
Donor
Respected User
Former Staff
May 6, 2017
3,988
30,560
i'v got an error using the script :
something about permission denied, and error 13 ,could not extract files
please asisst
Please post the exact error message - preferably a screenshot - and please also note the game and version you're trying to extract.
 

Back

Well-Known Member
Aug 3, 2017
1,586
6,123
Hello. I've been away from dedicated computers for a few months. (Shocking in this age, I know.) Got myself a laptop and came by the site specifically for this wonderful tool; though, I'm sure I'll make further visits soon, lol. However, I'm running into issues I've never encountered before while using UnRen v0.7 when compared to previous versions. I did make a mental note of the known issues as listed in the OP.

Does anyone have the link to v0.6 of UnRen handy? Due to RL circumstances, I no longer have access to any of my old files and I would like to give UnRen v0.6 a try to get around some of these issues especially around the decompiling errors that I'm currently running into. Y'know, just to check things out. Alright guys, I'd appreciate that; thanks in advance!
 

TCMS

Quote my posts if you want an answer
Donor
Former Staff
Aug 5, 2016
5,797
30,934
Hello. I've been away from dedicated computers for a few months. (Shocking in this age, I know.) Got myself a laptop and came by the site specifically for this wonderful tool; though, I'm sure I'll make further visits soon, lol. However, I'm running into issues I've never encountered before while using UnRen v0.7 when compared to previous versions. I did make a mental note of the known issues as listed in the OP.

Does anyone have the link to v0.6 of UnRen handy? Due to RL circumstances, I no longer have access to any of my old files and I would like to give UnRen v0.6 a try to get around some of these issues especially around the decompiling errors that I'm currently running into. Y'know, just to check things out. Alright guys, I'd appreciate that; thanks in advance!
Uh... You didn't specify your errors but from what I've understood your problems are related to the ones mentioned in the OP? i.e these:
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 new feature will not decompile correctly
?
If so going back to unren 0.6 won't do anything. The ascii characters was a problem from before 0.7, and unrpyc wasn't downgraded, so the version that was in 0.6 still won't handle this.
 

wurg

Active Member
Modder
Apr 19, 2018
705
1,655
Hello. I've been away from dedicated computers for a few months. (Shocking in this age, I know.) Got myself a laptop and came by the site specifically for this wonderful tool; though, I'm sure I'll make further visits soon, lol. However, I'm running into issues I've never encountered before while using UnRen v0.7 when compared to previous versions. I did make a mental note of the known issues as listed in the OP.

Does anyone have the link to v0.6 of UnRen handy? Due to RL circumstances, I no longer have access to any of my old files and I would like to give UnRen v0.6 a try to get around some of these issues especially around the decompiling errors that I'm currently running into. Y'know, just to check things out. Alright guys, I'd appreciate that; thanks in advance!
Here's .6
 
  • Like
Reactions: Back

Back

Well-Known Member
Aug 3, 2017
1,586
6,123
Reporting back! Thanks Wurg and TCMS.

So I messed around a little bit with UnRen v0.7 and UnRen v0.6. Sure enough, for me, I had much more success with v0.6 of UnRen. I don't know if this feedback helps with the future development of UnRen as I could not zero in why I ran across some issues, but here's my observations nonetheless (of what I recalled anyway).

For both versions, I did not use any other options other than the first two which were extracting RPAs and decompiling files. I am using the 64-bit version of Win10 and used "Kingdom of Deception" of Hreinn Games for most of the testing. Other than normal OS processes, no other programs were running besides an internet browser.

While using v0.7 of UnRen, it was able to successfully extract most of the files within RPAs. A few files came out "dead". To root out if I had a corrupted archive to begin with, I made sure to get fresh downloads directly from the developers' links. As far as I am able to tell, these weren't Ren'Py v7 games so the known issue with layering should not be affecting anything. In addition, UnRen v0.7 either could not locate files to decompile (which happened most frequently) or just garbled it up when it did find files. I can only surmise that something is going sideways with its new feature of being able to decompile things within itself. Also notably, the last time I tried to use UnRen v0.7 (and the only time this occurred), Windows Defender at first stopped UnRen from running and then asked if I wished to continue. I don't know if that last bit is relevant to anything or not.

I ran into none of these issues while using UnRen v0.6 provided by Wurg in the post above. UnRen v0.6 was able to extract RPA files, and was able to locate and decompile rpyc files without any problems--just as I remembered.

Again, this is a wonderful tool and I hope this bit of feedback regarding UnRen v0.7 helps to make it better. Okay, I'm off to play my first game on this new laptop! Woo~!
 

Tea1980

Member
Feb 23, 2018
283
658
Sorry, I'm still confuse.
After unzip put .UnRen.bat in game folder (file game.exe) and double click and select option and play game like this?
And How to open console?
Anyone know shortcut button to open console?
 

Fission Mailed

Active Member
Modder
Nov 27, 2017
631
673
Sorry, I'm still confuse.
After unzip put .UnRen.bat in game folder (file game.exe) and double click and select option and play game like this?
And How to open console?
Anyone know shortcut button to open console?
Command Console = Shift O
Developer Console = Shift D
 
  • Like
Reactions: Tea1980
5.00 star(s) 9 Votes