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

5.00 star(s) 9 Votes

Burma

Member
May 22, 2018
197
130
The game - https://f95zone.to/threads/discreen-vision-game-collection-2022-04-02-discreen-vision.64317/
This version - The Secret of the House (Ch. 1 Day 12)
I put the Unren(0.91).bat file into the Game folder. Select the 8th operation that enables console rollback and skip. After it has finished the job, I run the game Tab or the CTRL does not skip the unseen text, rollback also doesn't work , dev console, however, does work. I tried downloading fresh game again, tried everything and still the same result
Am I doing something wrong?

Edit: I went to the discreen's site and downloaded the game from there, it said that something was fixed, dunno what and if it has anything to do with my problem, but now I can skip, hooray! and go back if I press "Back" at the bottom menu
 
Last edited:

Madeddy

Active Member
Dec 17, 2017
814
468
Force enable rollback not working ... ...I'm guessing this is one of those games where its set to force disable rollback after every line of text?
Maybe.
You can try and use the attached file. I made a small change, but i do not have the game to try, so thats experimental.

DL, unpack and copy the content in your game directory. (.../{Your_Big_Brother_RenPy_install}/game/<- here)
 
  • Like
Reactions: forgotp

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,367
Force enable rollback not working in https://f95zone.to/threads/big-brother-renpy-remake-story-v1-0-fix-10-porngodnoob.108701/

I've tried unren 0.91 and also the 0.12 version by VepsrP

I'm guessing this is one of those games where its set to force disable rollback after every line of text?
I have updated my tool, the SKIP now works, but you need to be careful. Either this game is short, or at some point, if the skip button is pressed, the game ends. Regarding rollback, there is a Back on the menu bar. The game says that they have severely limited the mouse's capabilities, so that's the only way.
 
  • Like
Reactions: forgotp

Regardie

Well-Known Member
Jul 27, 2017
1,454
1,137
Yes, I can manhandle things, but prefer not to.

Would rather come up with clear OPs in either both threads, so that anyone can understand the relationship between them, OR to merge threads. To that point, knowing the direction and goals of the newer thread would be helpful.
Your best path would be to mark the version here as depreciated, as it has not been updated in quite some time and no longer works with many newer games and more recent versions of RenPy and include a link in the OP to VepsrP updated version, which is continuing the work done here and is being actively maintained.
 

mamlas55

Member
May 16, 2018
119
94
I try to unren My_Cute_Roommate_2-0.4.0430-win with UnRen-0.91, but this error occured :

Extracting _decomp.cab...
Searching for rpyc files...
+ Decompiling "CDS.rpyc" - 3076 bytes
Decompiling H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\game\CDS.rpyc to H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\game\CDS.rpy...
Error while decompiling H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\game\CDS.rpyc:
Traceback (most recent call last):
File "H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\unrpyc.py", line 171, in worker
tag_outside_block=args.tag_outside_block, init_offset=args.init_offset, try_harder=args.try_harder)
File "H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\unrpyc.py", line 135, in decompile_rpyc
ast = read_ast_from_file(in_file)
File "H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\unrpyc.py", line 109, in read_ast_from_file
data, stmts = magic.safe_loads(raw_contents, class_factory, {"_ast", "collections"})
File "../decompiler/magic.py", line 599, in safe_loads
encoding=encoding, errors=errors).load()
File "/home/tom/ab/nightly-build/tmp/install.linux-x86_64/lib/python2.7/pickle.py", line 864, in load
File "/home/tom/ab/nightly-build/tmp/install.linux-x86_64/lib/python2.7/pickle.py", line 1223, in load_build
File "H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\unrpyc.py", line 53, in __setstate__
(_, self.source, self.location, self.mode) = state
ValueError: too many values to unpack

Anybody knows what can I do to solve this error ? Thx.
 

Madeddy

Active Member
Dec 17, 2017
814
468
I try to unren ... with UnRen-0.91, but this error occured :
...
Anybody knows what can I do to solve this error ? Thx.
1) How about reading the post DIRECT above yours?
2) Ask the game developer why he releases his game with a nightly version(7.5.0) of renpy? (still in development...possible unstable... incompatible with "some" tools...)

You can try as Regardie mentioned in his post. But, there is no guarantee the UnRen version from VepsrP works with this renpy, so dont get your hopes up.
 
Last edited:

VepsrP

Well-Known Member
Modder
Dec 13, 2017
1,387
1,367
1) How about reading the post DIRECT above yours?
2) Ask the game developer why he releases his game with a nightly version(7.5.0) of renpy? (still in development...possible unstable... incompatible with "some" tools...)

You can try as Regardie mentioned in his post. But, there is no guarantee the UnRen version from VepsrP works with this renpy, so dont get your hopes up.
I have already added a new unrpyc to my version of the tool, everything should work like clockwork.
 

mamlas55

Member
May 16, 2018
119
94
I try to unren My_Cute_Roommate_2-0.4.0430-win with UnRen-0.91, but this error occured :

Extracting _decomp.cab...
Searching for rpyc files...
+ Decompiling "CDS.rpyc" - 3076 bytes
Decompiling H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\game\CDS.rpyc to H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\game\CDS.rpy...
Error while decompiling H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\game\CDS.rpyc:
Traceback (most recent call last):
File "H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\unrpyc.py", line 171, in worker
tag_outside_block=args.tag_outside_block, init_offset=args.init_offset, try_harder=args.try_harder)
File "H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\unrpyc.py", line 135, in decompile_rpyc
ast = read_ast_from_file(in_file)
File "H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\unrpyc.py", line 109, in read_ast_from_file
data, stmts = magic.safe_loads(raw_contents, class_factory, {"_ast", "collections"})
File "../decompiler/magic.py", line 599, in safe_loads
encoding=encoding, errors=errors).load()
File "/home/tom/ab/nightly-build/tmp/install.linux-x86_64/lib/python2.7/pickle.py", line 864, in load
File "/home/tom/ab/nightly-build/tmp/install.linux-x86_64/lib/python2.7/pickle.py", line 1223, in load_build
File "H:\.sysdata\!!ok\My_Cute_Roommate_2-0.4.0430-win\unrpyc.py", line 53, in __setstate__
(_, self.source, self.location, self.mode) = state
ValueError: too many values to unpack

Anybody knows what can I do to solve this error ? Thx.
Good news:
UnRen-v.0.11 work fine on rpyc decompile My_Cute_Roommate_2-0.4.0430-win :cool:
 

Madeddy

Active Member
Dec 17, 2017
814
468
1) Please note the post above yours, so you dont waste time with the wrong unren version if you try to work on RenPy games.

...but instead of an rpa file, it has something else called "data.extra" any idea how to extract that format?
2) Yes, but its not possible for now. There will be some work needed to get this, because the dev did see it fit to waste hours of time to develop his own archiv version. Its way more complex as the usual archive changes of other devs, but not impossible complicated. Even if he try'd to make it so.

The data.extra is just a different archive name. The custom format plays around with unicode, utf, randoms and checksums. What a mess.
VepsrP If you want to take a look, maybe have a laugh - i added the decompiled loader file. :p
 
Last edited:
  • Like
Reactions: gojira667

moskyx

Engaged Member
Jun 17, 2019
3,969
12,778
why does this unpacker remove comments from the code?
Because comments are not saved into the rpyc files. So when trying to generate the rpy from the rpyc, that info is nowhere to be found. If you happen to have both rpy and rpyc and still use unren, those original rpy will be overwritten with the ones created from the rpyc
 
5.00 star(s) 9 Votes