Tool Ren'Py rpycCorrector 1.04 - RPYC signature corrector [formerly "sigCorrector"]

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,978
16,234
Overview:
Lately, some authors started to mess with RPYC files, making un.rpyc and unrpyc.py not working. This tool simply mess with them and revert their changes to make the RPYC file compatible again with un.rpyc and unrpyc.py.​

Updated: 20 December 2020
Author: anne O'nymous
Tool Version: 1.04
Language: English


Features :
Revert the changes made with RPYC files' signature, and encoding, to turn them back to regular RPYC files.


Instruction :
Extract the content of the archive in the game root directory. Then launch rpycCorrector.bat, either from the console or directly from windows files explorer.


Know issues :
Having non-ASCII characters in your folder path may cause issues.
It will also, and obviously, not works with new ways to mess with the RPYC files. If you encounter such case, don't hesitate to warn me.


Supported RPYC alternate encoding :
You don't have permission to view the spoiler content. Log in or register now.


Alternately supported :
Some games can not be fully proceeded automatically and need a dedicated version.
You don't have permission to view the spoiler content. Log in or register now.


Change-log :
You don't have permission to view the spoiler content. Log in or register now.

To prevent any loose, the original files are keep under their name + the '.ORIGINAL' extension.


Download: rpycCorrector 1.04

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.
 
Last edited:

ademov12

Newbie
Jan 10, 2020
18
1
but still can't extract rpyc files " Error -3 while decompressing data: incorrect header check "
Please help :)
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,978
16,234
but still can't extract rpyc files " Error -3 while decompressing data: incorrect header check "
Please help :)
Well, without knowing the name of the game, it will be difficult to help you.
 
  • Like
Reactions: ademov12

ademov12

Newbie
Jan 10, 2020
18
1
Well, without knowing the name of the game, it will be difficult to help you.
Yeah sorry game's name "Mike's_Obsession-1.0"


Code:
 Creating _unrpyc.cab...

  Extracting _unrpyc.cab...
  Searching for rpyc files...
   + Decompiling "Bathroom.rpyc" - 18299 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\Bathroom.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "Bedroom.rpyc" - 93483 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\Bedroom.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "Functions.rpyc" - 2444 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\Functions.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "gui.rpyc" - 20192 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\gui.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "Jenny.rpyc" - 108912 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\Jenny.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "Kitchen.rpyc" - 30682 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\Kitchen.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "LivingRoom.rpyc" - 25063 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\LivingRoom.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "Mary.rpyc" - 135533 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\Mary.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "MaryHouse.rpyc" - 10400 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\MaryHouse.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "Office.rpyc" - 39825 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\Office.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "options.rpyc" - 5032 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\options.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "screens.rpyc" - 81752 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\screens.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "script.rpyc" - 61068 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\script.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "Smartphone.rpyc" - 27284 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\Smartphone.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "splashscreen.rpyc" - 5570 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\splashscreen.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "y_outline.rpyc" - 65994 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\y_outline.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "bathroom.rpyc" - 4064 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\tl\turkish\bathroom.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "bedroom.rpyc" - 55360 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\tl\turkish\bedroom.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "common.rpyc" - 30254 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\tl\turkish\common.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "jenny.rpyc" - 53998 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\tl\turkish\jenny.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "kitchen.rpyc" - 13152 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\tl\turkish\kitchen.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "livingroom.rpyc" - 6638 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\tl\turkish\livingroom.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "mary.rpyc" - 65904 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\tl\turkish\mary.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "maryhouse.rpyc" - 7154 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\tl\turkish\maryhouse.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "office.rpyc" - 3268 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\tl\turkish\office.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "options.rpyc" - 874 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\tl\turkish\options.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "screens.rpyc" - 8278 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\tl\turkish\screens.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful
   + Decompiling "script.rpyc" - 30088 bytes
Error while decompiling C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\tl\turkish\script.rpyc:
Traceback (most recent call last):
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 139, in worker
    no_pyexpr=args.no_pyexpr, comparable=args.comparable, translator=translator, init_offset=args.init_offset)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 105, in decompile_rpyc
    ast = read_ast_from_file(in_file)
  File "C:\Users\ADM\Desktop\Mike's_Obsession-1.0-pc\game\..\unrpyc.py", line 85, in read_ast_from_file
    raw_contents = raw_contents.decode('zlib')
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

      Decompilation of 0 script file successful

  Cleaning up temporary files...

 ----------------------------------------------------

   Finished!

   Enter "1" to go back to the menu, or any other
   key to exit:
 
Last edited:

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,978
16,234
Yeah sorry game's name "Mike's_Obsession-1.0"
You mean, this Mike's obsession ?

From where have you downloaded it ? I have tested only the nopy links, but both the Win/linux and Mac version come with the rpy files.
But the logs you included show that unrpyc is trying to decompress them, which it shouldn't do in this case.

Anyway, the rpyc signatures aren't altered, so it's normal that this tools don't fix the error, because it don't come from there.

Edit:
Just tested with the 0.9-dev version of unren, and it works as expected, without throwing an error :/
 
  • Like
Reactions: ademov12

ademov12

Newbie
Jan 10, 2020
18
1
You mean, this Mike's obsession ?

From where have you downloaded it ? I have tested only the nopy links, but both the Win/linux and Mac version come with the rpy files.
But the logs you included show that unrpyc is trying to decompress them, which it shouldn't do in this case.

Anyway, the rpyc signatures aren't altered, so it's normal that this tools don't fix the error, because it don't come from there.

Edit:
Just tested with the 0.9-dev version of unren, and it works as expected, without throwing an error :/
I downloaded this game another turkish city and ı want edit this rpyc files
 

Trminator

Member
May 3, 2017
268
617
Nvm, just lost interest after reading game's latest comments, dev trying to be an ass towards players, forcing ntr, without mentioning it in the post etc...
 
Last edited:

ademov12

Newbie
Jan 10, 2020
18
1
This tool i try other games but it makes a .rpyc file 19gb :)
Is something wrong happening? Could you help ?
 

JumPin

Newbie
May 14, 2020
55
76
did not work in the game Never Back Down, the same errors still appear when trying to decompile the .rpyc files
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,978
16,234
This tool i try other games but it makes a .rpyc file 19gb :)
Is something wrong happening? Could you help ?
With what game ?
It's really strange since the tool is supposed to just copy the content of the original "protected" file without changing anything else than the file signature. But I'm just human, so it's not impossible that there's an implied loop somewhere.


did not work in the game Never Back Down, the same errors still appear when trying to decompile the .rpyc files
Yeah, I know about this game, many people have had problem with it, but I haven't had the free time needed to look at it.
Today having been slow at works, I'll look at it now and try to understand what's the problem.
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,978
16,234
did not work in the game Never Back Down, the same errors still appear when trying to decompile the .rpyc files
Now it works.

They weren't changing the file signature (what this tool was initially for) but the way the file is encoded. I changed the behavior of the tool, renamed it because of that, and now it can correct both the signature problem, and any known encoding change.
 

Antidote Lab.

ABRAXAS
Donor
Game Developer
Oct 5, 2019
173
514
This is a simple and beautiful tool, thanks to u, my game has been translated to Italian. But, I have a question, and I wonder that, if you are obsessed with setting encryption, why didn't you decompiler for the66?:)
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,978
16,234
But, I have a question, and I wonder that, if you are obsessed with setting encryption, why didn't you decompiler for the66?:)
I'm not obsessed by encryption, I'm annoyed when people try to obfuscate what have no reason to be hidden.
It mess with the scene and good will ; I included the "reverse encoding" feature because someone wasn't able to translate a game. It also always make me wonder what they are trying so hard to hide. Most of the time it's their poor codding capabilities, but few times it's code that shouldn't be there, like remote connection by example. When the games are as sensible as those ones (some players are facing jail in their country if they play games with porn content), remote connection are things you want to know before playing the game. Plus, if the code behind it is poorly handled, anyone that would compromise their server could use it to compromise your computer.
This obviously apply to all indie games, but at least with the ones made with Ren'py it's (relatively speaking) easy to revert the protection and take a look to ensure that there's effectively no additional risks.
 
  • Like
Reactions: gue5t