Create and Fuck your AI Slut -70% OFF
x

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

5.00 star(s) 9 Votes

srfsmrf_

Active Member
May 24, 2024
782
718
179
Thanks!
Some stuff of i did not add, because i never encountered a use case/error.
I got curious, merged the stuff you left out (took yours as base), and compared a decompile I did the other day with your branch of My Bimbo Dream S1 v1.0.3a.

Identical outcome, apart from some lines where whitespace was stripped from the end of the line (mostly 1 space, sometimes 4). Those were mostly play sound / stop music statements, some say statements and some that use a custom statement. So that must be related to that added strip(' ') call I reckon.

Seems to make sense / be correct behavior(?), as it does make it consistent with the surrounding lines that consistently don't have appended whitespace (identical to the decompile w/ your version).
 
Last edited:

Damnboio

Newbie
Feb 4, 2020
77
187
198
I have no idea what the hell happened. I tried to use UnRen-1.0.11d on the newest version of Devoted Wife 0.48. Clicked the first option and it was stuck on the first line (tried multiple times), it was progressively filling more and more space, eventually the folder had like 500gb reserved. Would be worth checking out.
 

joelurmel

Engaged Member
Nov 3, 2022
2,672
4,723
397
I have no idea what the hell happened. I tried to use UnRen-1.0.11d on the newest version of Devoted Wife 0.48. Clicked the first option and it was stuck on the first line (tried multiple times), it was progressively filling more and more space, eventually the folder had like 500gb reserved. Would be worth checking out.
This version of UnRen is obsolete with new games. Use my version. See my sig
 

joelurmel

Engaged Member
Nov 3, 2022
2,672
4,723
397
Tried yours, did the same thing. Just kept extracting. Stopped it at 30 gigs this time.
Extract attached files to the root of DevotedWife0.48-0.48-pc and and run extract_rpa_DW.bat :cool:

EDIT: Sorry, does not work properly

The only thing I can extract correctly are the audio files.
The images and videos are encrypted differently, and I can't figure it out.
 
Last edited:

srfsmrf_

Active Member
May 24, 2024
782
718
179
The current situation for which version to use is (luckely) way simpler:
Btw, I noticed the v1.3.2 tag == v2.0.2 == master, while, I reckon, it should point to .

Update: ignore the following, seems I used altered (due to my own source edits :p) .rpyc files.
You don't have permission to view the spoiler content. Log in or register now.
 
Last edited:

Madeddy

Well-Known Member
Dec 17, 2017
1,016
735
244
Btw, I noticed the v1.3.2 tag == v2.0.2 == master, while, I reckon, it should point to .
Sorry, i don't understand this line or the meaning of it. o_O Could you please clarify/simplify?
I did a test with a 7.4.5 game (MOS: Last Summer HD [4PadGames] [VN][Ren'Py][Completed]) the other day.

Decompiled fine with 2.0.2/'1.3.2' (did throw version warnings)
Whoa! You did put a lot of homework on you own table. Nice test experiment!

But lets just say, any Ren'Py app with version below 8, needs just be decompiled with legacy respective "unrpyc v1.x". That said, i looks anyway wrong to me in your legacy examples and my fix branch.
  • Legacy: The \n is a death give away something must be wrong. (Hm, did you try to use here the option "--init-offset"? ;))
  • 8.4 fixes: These repeat inits and the numbers are also nonsense, but this could also be from the changes i made for the new v8.4 Ren'Py.
Anyway, you should make a new issue on GH for this and maybe just reuse you text from this post here. I am relatively sure you found some strange bug.
 
Last edited:

srfsmrf_

Active Member
May 24, 2024
782
718
179
Could you please clarify/simplify
They're all pointing to the same commit (e16a767) (so there's no difference).

The \n is a death give away something must be wrong. (Hm, did you try to use here the option "--init-offset"? ;))
No, and oops, lol, sorry for the misunderstanding, since leading newlines caused formatting issues, I put \n to indicate there's a newline there ;)

That -501 I find interesting. It's documented that image statements have an init offset reference point of 500. So do screens have -500 as reference point? (Not sure where to look for it in the code.)

Update: okay, apparently I messed up :rolleyes:

So did a final compare, making sure using game's original .rpyc files :p. 2.0.2 yields same result as madeddy 8.4 fixes. Compared to 1.3.2 legacy, the gui.rpy difference is as shown in 1st table of my previous post. The screens.rpy difference is as shown in 2nd table, except madeddy is no different than 2.0.2
 
Last edited:

Madeddy

Well-Known Member
Dec 17, 2017
1,016
735
244
They're all pointing to the same commit (e16a767) (so there's no difference).
I see, a mistake of the boss and its even worse. There is ATM no DL for the legacy branch. People need to get it directly from the branch.
So do screens have -500 as reference point? (Not sure where to look for it in the code.)
It' s a bit of a miracle where they set this. Most you will find in the parser, and a bit in the lexer and statements files of Ren'Py.
Update: okay, apparently I messed up :rolleyes:
Don't we all do this now and then? :coffee:

And before i again forget it:
I got curious, merged the stuff you left out (took yours as base), and compared a decompile I did the other day with your branch of My Bimbo Dream S1 v1.0.3a.

Identical outcome, apart from some lines where whitespace was stripped from the end of the line...
Yeah, i know. It's only the userstatement and many devs don't even use it. As said, i am not sure its needed. I let the boss decide i f its added.
 
  • Like
Reactions: srfsmrf_

srfsmrf_

Active Member
May 24, 2024
782
718
179
One thing that would be an improvement is to have unrpyc print detailed version info in it's appended comment. Now every version simply prints Decompiled by unrpyc: , telling nothing. Not sure what the best way would be to go about that (and ideally forks & dev braches would have it properly adjusted), so we'll leave that with the boss man as well?
 

Madeddy

Well-Known Member
Dec 17, 2017
1,016
735
244
would be an improvement is to have unrpyc print detailed version info in it's appended comment. Now every version simply prints Decompiled b
I agree. I did try to do this in the last 5 years two times. One time I mentioned it somewhere in a discussion without reaction to it. The other time i had it even in the code in a PR and he integrated only what he wanted. Maybe overlooked or not a priority or why ever.
so we'll leave that with the boss man as well?
I don't have write access to the repo. Also, for the deeper decompiler stuff i have sadly not the ability, so doing my own thing isn't on the table. Only thing i can do, is making PRs and suggestions in discussions. Mostly he has unfortunately no time or sometimes also no interest to work on it.

Maybe if the current stuff sits long enough and the repo pile gets bigger, he finds some time and i will make another try. Last year i pushed already for more info output and better messages and he agreed on the usefulness. We did it together, now we have it in unrpyc, so i see there also a chance.

Greets
 
  • Like
Reactions: srfsmrf_

MarioTurdo

Newbie
Jan 31, 2024
54
30
104
Hello guys

I'm looking for :
- a possibility to skip unseen texts LESS FASTER than the default possibility
- a possibility to reactive the "S-key" to make screenshots (it's de-activate in the game "The awakening" for exemple)

Someone can help me ?

Thanks ;)
 

srfsmrf_

Active Member
May 24, 2024
782
718
179
- a possibility to skip unseen texts LESS FASTER than the default possibility
How much less faster you'd like it? Should be user configurable anyway though. I may have a look. (No promises when ;))
(update: played around a bit, may have something soon enough.. - btw: wouldn't auto-forward with a low value just work for you? Or is it about being able to (momentarily) press a key?)

- a possibility to reactive the "S-key" to make screenshots (it's de-activate in the game "The awakening" for exemple)
Should be possible to overrule/force a key binding, but, looking at the game's script, it seems WASD is used for turning & cam control during free roam? Try Alt+S, that's a Ren'Py default alternative shortcut.

Ur welcome.
 
Last edited:

riadhloch

Member
Jul 1, 2018
374
523
200
This version of UnRen is obsolete with new games. Use my version. See my sig
Appreciate all the hard work, but for some reason the attached file to the link from your sig says "VIRUS" in its filename for some reason. That's a little disconcerting.
 

Nemo56

Forum Fanatic
Jan 7, 2018
5,898
4,873
457
that seems to be common. Standard Unren was also judged as "bad" by my AV software - but only with one game. It was ok for others - and it's the same version I have been using for a long time now without ever facing a problem before that game.

It seems something in these scripts has been reported and not various protection utilities flagged them as dangerous.
 

joelurmel

Engaged Member
Nov 3, 2022
2,672
4,723
397
Appreciate all the hard work, but for some reason the attached file to the link from your sig says "VIRUS" in its filename for some reason. That's a little disconcerting.
It's just because Microsoft's antivirus doesn't like new files. All you have to do is download it and check the three batch scripts included in it with virustotal.com, and you'll see that it's safe.
 
5.00 star(s) 9 Votes