Tool Ren'Py UnRenGUI, UnRen-forall(v9.4), UnRen-Powershell-forall(v9.4), UnRen-old

5.00 star(s) 3 Votes

Tacito

Forum Fanatic
Jul 15, 2017
5,645
48,250
I am running into an issue trying to decompile the latest version of The Tyrant 0.95. I was able to unpack it with UnRen1.0.11d
Ren'Py 7.7.1.24030407
The Tyrant
0.95
Built at 2024-09-25 20:15:41 UTC

---------------------------------------------
Try with
 

S A Z

Well-Known Member
Modder
Jun 29, 2017
1,472
11,501
Ren'Py 7.7.1.24030407
The Tyrant
0.95
Built at 2024-09-25 20:15:41 UTC

---------------------------------------------
Try with
Thank you very much! That worked!
 
  • Like
Reactions: Tacito

vivaloveyou

Active Member
Jul 22, 2021
559
586
Ren'Py 7.7.1.24030407
The Tyrant
0.95
Built at 2024-09-25 20:15:41 UTC

---------------------------------------------
Try with

I never knew how to use this?:ROFLMAO:
 

Madeddy

Active Member
Dec 17, 2017
897
548
... with un.rpy and you have all rpy files properly decoded
A possibility. In my experience this does with modified engines mostly not work and people come then running with their runtime errors. Thats why i did not mention it.

But nice if this works for you. Greets
 

trauts

Active Member
Aug 12, 2018
750
573
extract & decomplie LustBound-v0.4.1-pc.
UnRen-forall(v9.4) works fine on LustBound-v0.3.7-pc & v0.4.0
while Extract RPA packages works fine, but trying to decompile *.rpyc using UnRen-forall(v9.4) but getting errors

Code:
Extracting _decomp.cab...
Searching for rpyc files...
   + Searching for rpyc files in F:\LustBound-v0.4.1-pc\game\
Decompiling F:\LustBound-v0.4.1-pc\game\version.rpyc to F:\LustBound-v0.4.1-pc\game\version.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\version.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\shop.rpyc to F:\LustBound-v0.4.1-pc\game\shop.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\shop.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\script.rpyc to F:\LustBound-v0.4.1-pc\game\script.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\script.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\screens.rpyc to F:\LustBound-v0.4.1-pc\game\screens.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\screens.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\replay_room.rpyc to F:\LustBound-v0.4.1-pc\game\replay_room.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\replay_room.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\options.rpyc to F:\LustBound-v0.4.1-pc\game\options.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\options.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\minigames.rpyc to F:\LustBound-v0.4.1-pc\game\minigames.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\minigames.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\gui.rpyc to F:\LustBound-v0.4.1-pc\game\gui.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\gui.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\gallery.rpyc to F:\LustBound-v0.4.1-pc\game\gallery.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\gallery.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\free_roam_locations.rpyc to F:\LustBound-v0.4.1-pc\game\free_roam_locations.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\free_roam_locations.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\free_roam.rpyc to F:\LustBound-v0.4.1-pc\game\free_roam.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\free_roam.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\ep5.rpyc to F:\LustBound-v0.4.1-pc\game\ep5.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\ep5.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\ep4.rpyc to F:\LustBound-v0.4.1-pc\game\ep4.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\ep4.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\ep3.rpyc to F:\LustBound-v0.4.1-pc\game\ep3.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\ep3.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\ep2.rpyc to F:\LustBound-v0.4.1-pc\game\ep2.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\ep2.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\ep1.rpyc to F:\LustBound-v0.4.1-pc\game\ep1.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\ep1.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\custom_screens.rpyc to F:\LustBound-v0.4.1-pc\game\custom_screens.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\custom_screens.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\custom_atl.rpyc to F:\LustBound-v0.4.1-pc\game\custom_atl.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\custom_atl.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\custom_about.rpyc to F:\LustBound-v0.4.1-pc\game\custom_about.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\custom_about.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\betatest.rpyc to F:\LustBound-v0.4.1-pc\game\betatest.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\betatest.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompiling F:\LustBound-v0.4.1-pc\game\audio.rpyc to F:\LustBound-v0.4.1-pc\game\audio.rpy...
Error while decompiling F:\LustBound-v0.4.1-pc\game\audio.rpyc:
Traceback (most recent call last):
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 350, in worker
    return decompile_rpyc(filename, args.clobber, args.dump, decompile_python=args.decompile_python,
  File "F:\LustBound-v0.4.1-pc\unrpyc.py", line 313, in decompile_rpyc
    raw_contents = script.Script.read_rpyc_data(object, in_file, 1)
  File "F:\LustBound-v0.4.1-pc\renpy\script.py", line 700, in read_rpyc_data
    return self.build_archive_rpyc(random_data, key)
AttributeError: type object 'object' has no attribute 'build_archive_rpyc'

Decompilation of 21 files failed
 
Last edited:

Madeddy

Active Member
Dec 17, 2017
897
548
UnRen-forall(v9.4) works fine on LustBound-v0.3.7-pc & v0.4.0
Possible reasons:
  1. Many times stated since spring this year: Unren is outdated for games on newer Ren'Py versions where decompiling doesn't work anymore. Needs to be done with a recent "unrpyc".
  2. A short look in the "LustBound" thread yields another: The DEV uses some cryptography shit, for whatever thing in this game, so this is a high possibility for problems like yours up there. You should talk to the other fans of this specific game for solutions.
Good luck
 
  • Like
Reactions: Hein Daddel

wm.pghub

Newbie
Feb 6, 2020
22
4
Thot_On_Trial-v0.3.0-pc
Error while decompiling .rpyc
Traceback (most recent call last):
File "lib/python3.9/encodings/zlib_codec.py", line 19, in zlib_decode
TypeError: a bytes-like object is required, not 'dict'

Perhaps you have a solution? Thank you.
 

theMickey_

Engaged Member
Mar 19, 2020
2,271
2,979
Thot_On_Trial-v0.3.0-pc
All the most recent games by Incenton (Thot on Trial, Lust Bound, Lust Theory S3) use some kind of encryption and therefore fail to decompile -- just read the message above your post.

EDIT/UPDATE: If you install the "crack" which is provided for these games, you can use un.rpy version 2.0.2 (not un.rpyc!) to decompile the scripts.
 
Last edited:
  • Hey there
Reactions: Madeddy

devonY7

Well-Known Member
Feb 3, 2020
1,780
2,774
Support for changes to the "AttackOnSurveyCorps" game engine has been added. The game starts. I suggest that people interested in the game check the rest.:BootyTime:
does not work anymore with the latest update . they now use a custom file extention

1738705840485.png
 

Madeddy

Active Member
Dec 17, 2017
897
548
does not work anymore with the latest update
As said three post above yours and before, the Unren variant of user Vepsrp is unmaintained and outdated. He doesnt reply.
Just for info as that would not affect the RPA unpacker inside and there is the problem.
they now use a custom file extention

View attachment 4517180
Yeah, but thats nothing new with the changed suffix and no biggy, if it would be not much more. The real problem is inside their modified Ren'Py.

Its still (basically) a RPA file, but modified with some shit as:
  • changed suffix
  • key is mssing from the RPA header and stored somewhere else... the offsets location is still unclear
  • the archive unpacking code in loader.py is partially unused/fake/distraction
  • possible modified engine files or even the Python executable was "overhauled" renpython.* shared library: inside is now the real archive unpacker code and the key etc. implemented in some C and now Assembly :WutFace:
  • could be the same/similar nonsense as in the game "Hitomi's Sick Pleasure" the last two years (or the same dev)
Summa summarum: Someone with too much time and quit a bit knowledge in Py/Ren'Py stuff wanted to shit on the modders, translators and bugfix-helpers out there.

Edit: updated the bulled points with new info's
 
Last edited:

Jace Me

Newbie
Mar 8, 2024
65
87
I created this topic to simplify updating and maintaining the tool, so that people no longer have to search for the current version among the messages.
I am also ready to present a version of the tool with a graphical interface. Like the main tool, this version comes in two variants.

Here is a link Unren by Sam to the original topic, the tool was not invented by me, I'm just trying to keep it up-to-date as much as possible. You can also see there that for about the last six months I have been trying to keep this tool in operation.
Here is a link to repo if anyone is interested.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
Known Issues:
- Having parentheses and some other special characters in your folder path may cause issues.
Attention. The name of the tool indicates the minimum version of RenPy required for working. The version can be found in the file "game/script_version.txt"
My mod supports only Windows, for Linux and Mac you can go to this thread and search for messages from dikau.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
THANK YOU!
 

333YUHU

New Member
Jul 23, 2023
14
99
Does this not work anymore?
Tried it on a couple newly updated games and


! Error: Cannot locate python directory, unable to continue.
Are you sure we're in the game's root directory?

Press any key to exit...
 
5.00 star(s) 3 Votes